- 08 Oct, 2020 1 commit
-
-
Jérome Perrin authored
So far implementation of slapos proxy was incomplete regarding partition destructions: A partition requested as destroyed was properly destroyed "physically", files were removed from filesystem, services were removed from supervisor, but the partition was still marked as busy in proxy database, so it was never re-used in subsequent requests. To solve this, implement the destroyedComputerPartition endpoint to mark the partition as free. This is straightworfard for root partitions, but the cases of child partitions was a bit more tricky, especially because software releases usually does not implement properly the chain of deletion (it seems this is not properly implemted with softwaretype, only with switch_softwaretype) and generally because we don't want to leave orpheans partitions. In the case of ERP5 implementation of SlapOS master we have an alarm which garbage collect in these cases, so we implement something to reach similar goals. We refuse freeing a partition while their child paritions are not freed - and we request deletion of these partitions so that they are deleted on next slapos node report run. Then after a few runs, the whole partition tree will be completely destroyed and freed, even for software which does not implement deletion properly.
-
- 15 Sep, 2020 1 commit
-
-
Jérome Perrin authored
This way, we can call methods interacting with master on the returned partitions
-
- 10 Sep, 2020 1 commit
-
-
Jérome Perrin authored
Output is already captured on SlapPopen instances and the output is available with output attribute.
-
- 09 Sep, 2020 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
User can view his Cloud Contract and its consumption.
-
- 08 Sep, 2020 1 commit
-
-
Rafael Monnerat authored
-
- 05 Sep, 2020 1 commit
-
-
Rafael Monnerat authored
-
- 02 Sep, 2020 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 01 Sep, 2020 12 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is used to Sales website when a Invitation token is provided and it will be used when request button will be available on logged user website.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This consider Maximum Delay and Maximum Credit a user can have
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is a faster version to later accomodate custom implementation from Cloud Contracts
-
Rafael Monnerat authored
This help us to avoid query outdated catalog, consider that the user is only at transaction for now.
-
Julien Muchembled authored
-
- 29 Aug, 2020 1 commit
-
-
Rafael Monnerat authored
This requires more work before continue.
-
- 28 Aug, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 25 Aug, 2020 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request nexedi/slapos.core!245
-
Jérome Perrin authored
When test machine is busy it happens that running a simple promise takes more than one second and this cause some test to error with "Promise timed out after 1 seconds" in cases where the promise is not supposed to have a timeout, it's just that sometimes it takes more than the default timeout of 1 second.
-
- 24 Aug, 2020 3 commits
-
-
Rafael Monnerat authored
Cover the the update the update of allocation_scope Cover the Computer Network set Reference Cover the bootstrap of Project Cover setRole on Organisation
-
Jérome Perrin authored
Helper function to return the configuration used by a promise plugin.
-
Jérome Perrin authored
Helper class to check crontabs in software release tests
-
- 21 Aug, 2020 1 commit
-
-
Rafael Monnerat authored
This makes a direct edit w/o introspect previous value.
-
- 19 Aug, 2020 6 commits
-
-
Rafael Monnerat authored
We don't need to generate password everywhere
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-