- 30 Mar, 2022 9 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This prevent us rely on SlapTool implementation to search the Software Installation for a given URL
-
Rafael Monnerat authored
Create specific API for status suffixes, since this is a widely used by monitoring system
-
Rafael Monnerat authored
Move to workflow tranistion the duty of reset/set last data, so it work regardless of slaptool.
-
Rafael Monnerat authored
Introduce it as normal API of Software Instance since the structure is well-defined so we can move away from SlapTool
-
Rafael Monnerat authored
This aims to define an kind of export feature used widely on SlapTool, which is eventually used by the node on the proper context. So it would be reusable accross multiples API's.
-
Rafael Monnerat authored
Move away part of SlapTool code into a Mixin specific to fill and get Computer Information cache
-
Thomas Gambier authored
both signature-private-key-file and signature_private_key_file works for slapos.core but only signature-private-key-file works in slapcache and slapos.libnetworkcache
-
- 23 Mar, 2022 1 commit
-
-
Jérome Perrin authored
This fixes a bug when the program output contain some ansi code, like the \e[0;31m ansi code to display text in color on the terminal. These characters are not allowed in XML so if they end up in the XML-RPC messages this cause the underlying expat library to complain that the stream is not well-formed (invalid token). Fortunately, supervisor supports this and has a `strip_ansi` option that we can set in the config to prevent these problems.
-
- 22 Mar, 2022 6 commits
-
-
Thomas Gambier authored
-
Rafael Monnerat authored
It relies on Person_requestSupport now
-
Thomas Gambier authored
We just relax the conditions to have an OS match.
-
Thomas Gambier authored
* consider raspbian as a debian * never set id After the change to distro.linux_distribution() in 425f5bb7, raspbian is correctly detected and id is set, see the execution of both functions on raspbian: >>> platform.linux_distribution('', '', '', platform._supported_dists, 1) ('debian', '10.11', '') >>> distro.linux_distribution(full_distribution_name=False) ('raspbian', '10', 'buster')
-
Thomas Gambier authored
-
Łukasz Nowak authored
slapproxy, just like reference SlapOS Master, has to transmit important partition parameters, in order to really support all features expected by the software releases.
-
- 21 Mar, 2022 2 commits
-
-
Thomas Gambier authored
platform.linux_distribution() is deprecated since Python3.5 and it's removed altogether in Python 3.8. This more or less reverts 75b2d79c. We don't need anymore the patch for Ubuntu as it is correctly supported in distro module.
-
Thomas Gambier authored
-
- 18 Mar, 2022 1 commit
-
-
Thomas Gambier authored
This commit reverts ddd77222. The goal is to fix slapos.buildout!25 (comment 148861) os.environ is a special mapping object that transparently modifies the actual environment and we should never make os.environ make point to something else (see slapos.buildout!25 (comment 149333) and https://docs.python.org/3/library/os.html#os.environ) Instead change the environment only when calling SlapPopen. We will see if the problems fixed by ddd77222 appear again...
-
- 16 Mar, 2022 3 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Łukasz Nowak authored
-
- 15 Mar, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!360
-
Xavier Thompson authored
See merge request nexedi/slapos.core!356
-
- 14 Mar, 2022 8 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This introduce API for request support and add events on Support Requests
-
Rafael Monnerat authored
Used to create support requests to send users notifications.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This creates a Support Request
-
Rafael Monnerat authored
-
Thomas Gambier authored
fixup for a8917a3c
-
- 11 Mar, 2022 2 commits
-
-
Xavier Thompson authored
Check that promises run with the instance's python are logged properly.
-
Xavier Thompson authored
Promises processed using the instance's python in a subprocess were logged to the console but not to the logfile passed by `--logfile`. To fix this the output of the promise is now captured and forwarded to slapgrid's logger in real-time using SlapPopen.
-
- 10 Mar, 2022 5 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
fixup for a8917a3c
-
Thomas Gambier authored
See merge request nexedi/slapos.core!365
-
Thomas Gambier authored
-
Thomas Gambier authored
The option use_unique_local_address was added in de11308a but was already broken because 2 different names were used for the option: * use_unique_local_address_block * use_unique_local_address There was a tentative fix in c09214cb but the option name in slapos.cfg.example was never fixed.
-
- 02 Mar, 2022 1 commit
-
-
Łukasz Nowak authored
The c647aab4 dropped _storeLastData, so follow-up changes here.
-