- 15 Feb, 2023 2 commits
-
-
Xavier Thompson authored
When forwarding a request to an external master, e.g. frontend request, the master might first answer with status code 408 to indicate the requested resource is not ready. The slap library wraps the answer into a ComputerPartition object, even when the master sends 408: in that case the object only contains the parameters of the original request. Until now, when the external master answered 408, the proxy simply forwarded the ComputerPartition object returned by the slap library with code 200, instead of forwarding code 408. This played against the assumptions of the slap library in the client on the receiving end, resulting in a crash. This was the case even when using `requestoptional` recipe in buildout. Now the proxy detects when the object returned by the slap library is actually the result of a 408 answer, and aborts with code 408.
-
Xavier Thompson authored
-
- 13 Feb, 2023 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!488
-
- 10 Feb, 2023 3 commits
-
-
Rafael Monnerat authored
Most liketly a copy and paste mistake
-
Rafael Monnerat authored
Whenever you define a slave, the option_index inst the software-type but the property of the dict/object.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!487
-
- 09 Feb, 2023 1 commit
-
-
Rafael Monnerat authored
This category is used whenever the user wants disallow allocation for the time been. It do not intend to re-open again after a procedure or do not intend to terminate the machine, just dont want anything be allocated on it.
-
- 07 Feb, 2023 16 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!486
-
Rafael Monnerat authored
category close and not closed, and do not auto cancel upgrades for computers for termination. This should be handled by setting never on upgrade scope.
-
Rafael Monnerat authored
Those actions were dropped from ancient site and forgotten to be removed.
-
Rafael Monnerat authored
Only Monitor Scope should be taken into account.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Whenever allocation scope changes, the capacity is close, and the proper alarm will re-open it later a moment after. This prevents when you change from close to open, to get a miss-updated window, and something is allocated before it capacity is calculated. Do not touch on monitor scope, except when it is None or allocation is "Close Forever", this allow the user to keep monitoring closed computers (Maintenance, termination...), since ONLY allocation is closed, and the computer is supposed to work normally with whatever is inside.
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
... to decide which computers to select for check for upgrades
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 06 Feb, 2023 1 commit
-
-
Łukasz Nowak authored
It's very useful in some deployments to control maximum time of partition processing. This parmater can end up in slapos.cfg configuration file or command line.
-
- 03 Feb, 2023 1 commit
-
-
Thomas Gambier authored
-
- 01 Feb, 2023 4 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!480
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!485
-
Łukasz Nowak authored
-
Rafael Monnerat authored
-
- 31 Jan, 2023 9 commits
-
-
Rafael Monnerat authored
... to make publication_url happy
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Since the accounting workflow introduced Guard on start transition, it is required assignee or assignor to change the state (before Modify Portal content was enough). The script is invoke as Shadow user, and since destination section is set, the User automatically become Auditor (rather them Assignee) so it would imply a deeper change to relax security for the shadow user (not shadow person) just to invoke start. Not to mention HUGE security update to be done. Use Manager proxy role is not ideal, but it doesn't introduce a security issue while solve the problem until a deeper review on the roles for Shadow users takes place.
-
Rafael Monnerat authored
Export last workflow state for Business Processes
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!481
-
Rafael Monnerat authored
Since instances typically only access master once a day, double the cache duration to ensure it wasnt flushed between the runs.
-
Rafael Monnerat authored
The verification is somehow duplicated with the ComputeNode_checkSoftwareInstallationState. The script to check Software Installations already expose problems whenever a new software is requested and not built properly, which is the focus of the verification removed by this commit.
-
Rafael Monnerat authored
Update script to handle also stalled cases
-
Rafael Monnerat authored
-
- 25 Jan, 2023 2 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
See merge request nexedi/slapos.core!477
-