- 15 May, 2024 5 commits
-
-
Romain Courteaud authored
It should be an action on an instance node
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 09 May, 2024 1 commit
-
-
Jérome Perrin authored
See merge request nexedi/slapos.core!607
-
- 05 May, 2024 1 commit
-
-
Julien Muchembled authored
This is mainly about error handling, simpler and more useful. - Always warn when a valid SR can't be loaded, with a message that contains the original exception (for example, compared to before this commit, it will tell if a JSON file can't be found, or where JSON has syntax errors). - Same as previous point if serialisation type is invalid or missing. If the caller needs it to transform parameters (parameters file), it will raise with the original exception. Otherwise, it falls back on json-in-xml. In some places, such fallback is a change of behaviour and I have no opinion about it except that at least it's now consistent throughout slapos.core. - Remove warning about RootSoftwareInstance/default: meaningless because contradicted the comment, and useless because the transition to 'default' is already complete for SR schemas. There are still 3 lines of backward compatibility code for the rest of slapos.core. - Don't read the same file several times. Note however that this performance fix is only for the SoftwareReleaseSchema class: the caller should be fixed to not instanciate several times with the same parameters (from do_request & _requestComputerPartition). See merge request nexedi/slapos.core!621
-
- 03 May, 2024 4 commits
-
-
Romain Courteaud authored
See nexedi/slapos.core@01bd2af3
-
Romain Courteaud authored
-
Romain Courteaud authored
- drop Base_getSupportRequestInProgress - drop SupportRequest_getLastEvent
-
Romain Courteaud authored
-
- 02 May, 2024 8 commits
-
-
Romain Courteaud authored
-
Rafael Monnerat authored
This code isnt needed anymore.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is easily doable via portal_templates, so no need to keep ad-hoc scripts here.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
not the agregate.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 30 Apr, 2024 4 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
- when instance url, type and sla are modified - when a Node may match new SLA conditions - when partition changes - when Installation is requested - when allocation supply is modified - when Allocation Cell is checked
-
- 26 Apr, 2024 17 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!623
-
Rafael Monnerat authored
Automatically destroy and invalidate duplicated software installations, in same state. This is helpful if concurrent requests had created multiple supplies.
-
Rafael Monnerat authored
This prevents +2 supplies on the request creates more them one software installation with same url on a compute node.
-
Rafael Monnerat authored
The requestSoftwareRelease don't have proper raise in case 2 supplies are done on the same transaction.
-
Rafael Monnerat authored
hateoas url is the website but it requires ssl authentication (like portal_slap), while the slapos_master_web_url is the website the user is accessing (no ssl authentication required).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It seems that was broken for quite long.
-
Rafael Monnerat authored
Owner is not set, but Project Update typo on field title
-
Rafael Monnerat authored
Remove field that uses internal packing list for display location, since this API was completely dropped. If we want to reintroduce it will done differently.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Configure payable required extra effort, and we should keep default simple.
-
Rafael Monnerat authored
So drop entries in tests or upgrades since it is not considered anyway.
-
Rafael Monnerat authored
Since the Base_getStatusMonitorUrl uses try/except, it didn't detect that the file was missing. Copied from slapos_jio (which was removed).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Only Computer enable/disable the monitoring now.
-
Rafael Monnerat authored
Monitor scope is per computer bases only, so remove the field since it is not applicable anymore.
-
Rafael Monnerat authored
-