- 08 Apr, 2022 1 commit
-
-
Rafael Monnerat authored
Keep this code would only make things confusing, since this code is mostly an archive
-
- 06 Apr, 2022 2 commits
-
-
Rafael Monnerat authored
If they exist.
-
Łukasz Nowak authored
Since the way of renaming the software_release_url proven to avoid having unexpected results AND it is required in many cases to directly destroy an instance, allow direct destruction of such instances.
-
- 05 Apr, 2022 8 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!374
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This allow user edit the text area to fix the parameters and try to reload the form.
-
Rafael Monnerat authored
This feature isn't used or required anymore.
-
Rafael Monnerat authored
Whenever a user changes the Raw XML them return to the form, the changes on XML are loaded into the form. This allow the user reuse a known xml form as template.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Whenever a parameter is incompatible with the serialization (by the use or not of "_" special parameter) the form should display a textarea as a failover. Whenever the parameter editor fail to render the form, the selection box (with the software type) shouldn't be hidden, so the user can still change to a proper Software type with a proper serialization (as long it allow you to are requesting an instance and not editing).
-
- 04 Apr, 2022 1 commit
-
-
Xavier Thompson authored
See merge request nexedi/slapos.core!373
-
- 01 Apr, 2022 5 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
The promise runner launched in a subprocess with the instance's python redirects stderr to stdout in order to reserve stderr for propagating error messages. However `preexec_fn` is used to run `dropPrivileges` inside the child process, so when `dropPrivileges` calls `logger.debug`, the logger writes to stderr before the redirection is set up. To fix this, the `preexec_fn` function is modified to apply the same redirection first and revert it at the end. Reverting it avoids the need to communicate the new file descriptor for the original stderr stream to runpromise.py.
-
Jérome Perrin authored
The vulnerability that this test was checking was removed from the database, let's use another one that looks more likely to be removed.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!368
-
- 30 Mar, 2022 23 commits
-
-
Thomas Gambier authored
this option was only used in generate-signature-key of slapos.libnetworkcache but it has been removed in nexedi/slapos.libnetworkcache@765d4737
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is same API already present on compute node, the core diference here is that the Software Instance oddly store the value.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This clean up code, and the instance should be be responsable for this conversion as it is all instance related parameters anyway.
-
Rafael Monnerat authored
Help evaluate if the data is actually the last already
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This prevent us rely on SlapTool implementation to search the Software Installation for a given URL
-
Rafael Monnerat authored
Create specific API for status suffixes, since this is a widely used by monitoring system
-
Rafael Monnerat authored
Move to workflow tranistion the duty of reset/set last data, so it work regardless of slaptool.
-
Rafael Monnerat authored
Introduce it as normal API of Software Instance since the structure is well-defined so we can move away from SlapTool
-
Rafael Monnerat authored
This aims to define an kind of export feature used widely on SlapTool, which is eventually used by the node on the proper context. So it would be reusable accross multiples API's.
-
Rafael Monnerat authored
Move away part of SlapTool code into a Mixin specific to fill and get Computer Information cache
-
Thomas Gambier authored
both signature-private-key-file and signature_private_key_file works for slapos.core but only signature-private-key-file works in slapcache and slapos.libnetworkcache
-