- 24 Nov, 2023 1 commit
-
-
Xavier Thompson authored
Previous code matched way too many files as belonging to the current partition and wrongly removed them as obsolete: e.g. when processing slappart1, all the configuration files belonging to slappart10 would systematically be deleted, as if they belonged to slappart1 and were now out-of-date. Same for all partitions starting with 'slappart1', such as slappart11, slappart12, etc. This resulted in all services in slappart1X being stopped and started repeatedly and very often: stopped during processing of slappart1 and started during processing of slappart1X, with potentially several minutes of downtime, and a high percentage of downtime. This is a fixup of db98a521.
-
- 23 Nov, 2023 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This method is important we want to test it
-
- 12 Oct, 2023 1 commit
-
-
Thomas Gambier authored
-
- 11 Oct, 2023 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!577
-
Rafael Monnerat authored
Since we are changing erp5_site_global_id, update cache is mantatory be called often
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 10 Oct, 2023 2 commits
-
-
Jérome Perrin authored
-
Rafael Monnerat authored
-
- 09 Oct, 2023 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!576
-
Xavier Thompson authored
This could cause slapos request to hang forever while fetching the json schema of an SR, and in particular it could cause buildout to hang forever in instance processing when requesting a sub-instance. See merge request nexedi/slapos.core!575
-
- 04 Oct, 2023 6 commits
-
-
Thomas Gambier authored
See nexedi/slapos.package!187
-
Rafael Monnerat authored
This constraint has no impact and you change your environment (ie.: use another memcache server) fix consistency will just break the system. This constaint also contains hardcoded values (which is already the setupped) so it dont make much sense keep this constraint around doing nothing.
-
Rafael Monnerat authored
The user should be able to eventually change the cloudooo configuration after the setup it w/o change zope.conf. Just give some valid default if nothing is set, there is no reason to make things more complex them this, since the cloudooo_url is already setup on site creation.
-
Rafael Monnerat authored
Rely on standard ERP5 implementation is enough
-
Rafael Monnerat authored
Some values are set on testing environment, so no need to rely on IsLiveTest
-
Rafael Monnerat authored
-
- 28 Sep, 2023 2 commits
-
-
Thomas Gambier authored
-
Xavier Thompson authored
-
- 25 Sep, 2023 1 commit
-
-
Rafael Monnerat authored
See merge request !573
-
- 22 Sep, 2023 1 commit
-
-
Rafael Monnerat authored
-
- 14 Sep, 2023 1 commit
-
-
Thomas Gambier authored
Also remove support for very old OSes.
-
- 11 Sep, 2023 1 commit
-
-
Xavier Thompson authored
See merge request nexedi/slapos.core!572
-
- 07 Sep, 2023 1 commit
-
-
Xavier Thompson authored
When upgrading from a version of slapos.core that does not support processing instances without a connection to master to one that does, the following edgecase could occur: 1. some partition is stopped and processed with old version 2. slapos.core is upgraded 3. connection to master is lost 4. offline processing wrongly starts the services of stopped partition This was because the new version removes the supervisord file for a partition when the partition is stopped (in online mode) so that the offline mode can just start all the existing supervisord files. But since the partitions was never processed in online mode with the new version, this file was never removed. To fix this, we use the (now no longer used ) .requested_state file of the previous version to determine the state of the partition in offline mode, then we remove both the .requested_state file and the supervisord file, fixing the discrepancy.
-
- 05 Sep, 2023 1 commit
-
-
Xavier Thompson authored
Connection loss may result in `slap.exception.ConnectionError` being raised during instance processing in addition to `RequestException`.
-
- 04 Sep, 2023 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!571
-
- 01 Sep, 2023 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Reuse status gadget so it has the same information as its displayed to the user.
-
Rafael Monnerat authored
This is a clean up, there seems to be legacy calls from before the form was refactor. This speeds up form rendering by a lot.
-
Rafael Monnerat authored
It is easier to write better tales expressions
-
Rafael Monnerat authored
-
- 30 Aug, 2023 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!569
-
Rafael Monnerat authored
On normal UI, this allow use this UI for edit parameters also.
-
Romain Courteaud authored
-
Romain Courteaud authored
it only confuses users
-
Rafael Monnerat authored
Clean up unrequired code Use domsugar rather them createElement for simplification
-
Rafael Monnerat authored
This also ensure all events are loaded also
-
Rafael Monnerat authored
The form is submitted before the valued input is taken into account due the speed of the robot.
-