- 22 Mar, 2022 1 commit
-
-
Ł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 nexedi/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 nexedi/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 !360
-
Xavier Thompson authored
See merge request !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.
-
- 01 Mar, 2022 1 commit
-
-
Łukasz Nowak authored
Wrong object used resulted with non working SupportRequest_recheckMonitoring on Compute Node.
-
- 23 Feb, 2022 2 commits
-
-
Rafael Monnerat authored
It wasn't working properly, let's reintroduce once it better tested.
-
Rafael Monnerat authored
-
- 21 Feb, 2022 1 commit
-
-
Jérome Perrin authored
-
- 17 Feb, 2022 1 commit
-
-
Jérome Perrin authored
-
- 16 Feb, 2022 3 commits
-
-
Jérome Perrin authored
Before slapos commit a184cca8b (Try to reuse existing file to avoid excessive IO on update + other minor optimisations, 2019-06-17), which started to be used in profiles in 65acdca0d (Release slapos.cookbook (1.0.118), 2019-08-13), the promise plugins did not contain import sys sys.path[0:0] = (..., ) but there was an extra import statement: import sys import json sys.path[0:0] = (..., ) slapos.core >= 1.7 was not able to process such promises, because the code introspecting these promises assumed that the second node of the AST was the assignment, which is incorrect in the old promises because it was another import. To accomodate both cases, use the value from the first assignment. We also change to use ast.literal_eval for safety.
-
Jérome Perrin authored
This method returns the class of computer used for the test, then it's easier for test subclasses to use a computer with different classes for software and instances. Use this in TestSlapgridPluginPromiseWithInstancePython, using subclasses instead of monkey patching should make extending this test a bit easier
-
Jérome Perrin authored
-
- 08 Feb, 2022 1 commit
-
-
Rafael Monnerat authored
-
- 04 Feb, 2022 1 commit
-
-
Rafael Monnerat authored
-
- 01 Feb, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!359
-
Rafael Monnerat authored
This API replaces the usage of SlapTool code for handling data stored in memcached. It introduces an New API for it at the context of the objects to handle volatile data used on SlapOS context. Replace Base_getNewsDict by getAccessStatus Drop direct access to memcache, use Cache Plugin instead to load and set information.
-
- 28 Jan, 2022 1 commit
-
-
Rafael Monnerat authored
In case the instance isn't linked to the tree properly (due Garbage Collect unlinked it), stop the instance directly anyway.
-
- 26 Jan, 2022 2 commits
-
-
Rafael Monnerat authored
-
Łukasz Nowak authored
Once per day is not real time monitoring, so drop it to each 5 minutes.
-