- 16 Dec, 2022 9 commits
-
-
Justin authored
-
Justin authored
Co-authored-by: Xavier Thompson <xavier.thompson@nexedi.com>
-
Lisa Casino authored
-
Lisa Casino authored
-
Lisa Casino authored
-
Lisa Casino authored
Thanks to the new options in the software release, it is now possible to have a customizable threshold. Moreover, we can display the 3 biggest partitions if the remaining space is smaller than the threshold. Finally, we can have a prediction of the remaining disk space in 10 days (by default).
-
Lisa Casino authored
We can have pandas and statsmodels/scipy in extra: - to use the monitor_partition_space promise - to use ARIMA in the check_free_disk_space promise
-
Joanne Hugé authored
-
Joanne Hugé authored
Co-authored-by: Xaver Thompson <xavier.thompson@nexedi.com>
-
- 15 Dec, 2022 1 commit
-
-
Joanne Hugé authored
After subclassing JSONPromise, promises can log python objects in JSON format with: ``` self.json_logger.info(message, extra={'data': object}) ``` and retrieve previously logged objects over a time interval with: ``` object_list = self.getJsonLogDataInterval(interval) ``` Co-authored-by: Xavier Thompson <xavier.thompson@nexedi.com>
-
- 25 Aug, 2022 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
urlopen(url).read() returns bytes, this fixes: File "slapos.toolbox-repository/slapos/resiliencytest/suites/resiliencytestsuite.py", line 162, in _waitForCloneToBeReadyForTakeover while "<b>Importer script(s) of backup in progress:</b> True" in takeover_page_content: TypeError: a bytes-like object is required, not 'str' errors with KVM resilience tests
-
- 30 Jun, 2022 2 commits
-
-
Thomas Gambier authored
-
Thomas Leymonerie authored
-
- 05 Jun, 2022 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 12 May, 2022 1 commit
-
-
Jérome Perrin authored
Improved error text for misnamed InvalidSchema and MissingSchema exceptions. https://github.com/psf/requests/blob/v2.27.0/HISTORY.md#2270-2022-01-03
-
- 18 Oct, 2021 2 commits
-
-
Romain Courteaud authored
See merge request nexedi/slapos.toolbox!102
-
Boxiang Sun authored
The test doesn't care about the instance state, just wants an arbitrary instance title.
-
- 04 Oct, 2021 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
This promise relates to resources local on the partition, which are files, and they shall be available fast, thus make it failing immediately in case of failure.
-
Boxiang Sun authored
See merge request nexedi/slapos.toolbox!100
-
- 30 Sep, 2021 3 commits
-
-
Boxiang Sun authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 21 Sep, 2021 1 commit
-
-
Łukasz Nowak authored
If there is no url parameter the promise fails, so simply switch to empty.
-
- 25 Aug, 2021 1 commit
-
-
Xavier Thompson authored
-
- 24 Aug, 2021 1 commit
-
-
Xavier Thompson authored
-
- 23 Jul, 2021 2 commits
-
-
Thomas Gambier authored
-
Eric Zheng authored
The check_url_available promise has been improved with the following changes: - The `http_code` parameter has been renamed `http-code` for consistency. - The `check-secure` parameter has been removed. Users should specify `http-code = 401` instead. - The `username` and `password` parameters have been added to optionally enable HTTP basic authentication. - The logging output has been changed slightly.
-
- 29 Jun, 2021 2 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
Accept unicode value for `port` parameter
-
- 24 Jun, 2021 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
pc.ram key is used for the initial memory, and it can't be removed.
-
- 23 Jun, 2021 1 commit
-
-
Xavier Thompson authored
-
- 22 Jun, 2021 1 commit
-
-
Xavier Thompson authored
This promise generalizes the check_port_listening promise to include AF_UNIX sockets in addition to AF_INET and AF_INET6 host/port sockets. The socket family and address is deduced from the set of arguments: - `host` & `port`: AF_INET or AF_INET6 - `pathname`: filesystem pathname address for AF_UNIX - `abstract`: '\0' is prefixed to build an abstract AF_UNIX address All other combinations of arguments are forbidden. The promise creates a socket accordingly and attempts to connect to the provided address. The promise fails if the connection fails. The check_port_listening promise has been removed. See merge request nexedi/slapos.toolbox!97
-
- 04 Jun, 2021 1 commit
-
-
Nicolas Wavrant authored
This reverts commit 4a992aaa. runpromise takes arguments from command line, but also read some from a config file, so indeed it is mandatory to know partition_folder's value, but it is not mandatory to pass it as an argument from the command line
-
- 07 May, 2021 2 commits
-
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
So instead of a traceback we get a better error message written by argparse. Also , it will print a better help message
-
- 21 Apr, 2021 1 commit
-
-
Jérome Perrin authored
-