An error occurred fetching the project authors.
- 09 Jan, 2020 1 commit
-
-
Łukasz Nowak authored
/reviewed-on nexedi/slapos.core!174
-
- 27 Dec, 2019 1 commit
-
-
Łukasz Nowak authored
Promise can appear and disappear, and pyc or pyo files can stay in the folder, so try hard to remove those stale files. /reviewed-on nexedi/slapos.core!169
-
- 12 Nov, 2019 1 commit
-
-
Rafael Monnerat authored
Save global and public state for further use by monitor. Those files are extended by the monitor with extra parameters (like frontends urls), to compose the final files.
-
- 08 Nov, 2019 1 commit
-
-
Rafael Monnerat authored
This is a port of the code from slapos.toolbox for future replacement.
-
- 30 Oct, 2019 1 commit
-
-
Jérome Perrin authored
This will improve the summary of problems at the end of slapos node instance. /reviewed-on nexedi/slapos.core!144
-
- 03 May, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 06 Mar, 2019 2 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 04 Mar, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 15 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
The reload part is mainly used for tests, module is reloaded if the promise file has changed. Here, __file__ ends with pyc when promise_path ends with py.
-
- 08 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
-
- 06 Feb, 2019 2 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
There is now `EmptyResult` object which is an empty promise result. This result is send if the promise test or anomaly was skiped (if disabled). To prevent raise because `EmptyResult` is unknonwn on old slapos-node with `slapos.core < 1.4.17` we will send an empty TestResult instead.
-
- 05 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase. by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed. Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`. If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
-
- 14 Dec, 2018 1 commit
-
-
Bryton Lacquement authored
-
- 26 Jun, 2018 1 commit
-
-
Alain Takoudjou authored
If a promise anomaly timeout or return no message, we return error if the problem is happening for a second time after a second run or if there was already an error. This will reduce temporary failure.
-
- 27 Apr, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 19 Apr, 2018 2 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 09 Apr, 2018 1 commit
-
-
Alain Takoudjou authored
To allow promises to update thier sys.path and import needed dependencies, module load is now moved to PromiseProcess class. This prevent promises to modify sys.path of parent process.
-
- 29 Mar, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 28 Mar, 2018 2 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 19 Mar, 2018 1 commit
-
-
Alain Takoudjou authored
python promises can define sense, test and anomaly method. test method will be called by slapgrid or when no bang is needed for the promise anomaly method is called when a promise failure required to bang the master, anomaly method can be optional but it's not the case for test method. Slapgrid always run promises and save the result in .slapgrid/promise/result in a JSON format. The result will be used later by monitor When a partition is correctly deployed, slapgrid will only run promise anomaly and will bang if there is an error and if the failed promise can bang check promise anomaly when partition is upto date
-