- 30 Jun, 2023 3 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
Promise launcher compares current slapgrid version with an old version number to determine if some feature is supported or if it should use a legacy workaround. But the comparison was a simple lexicographic order string comparison, and now that we incremented from 1.9.3 to 1.10.0 it wrongly compared the versions. Fix it with pkg_resources.parse_version.
-
Xavier Thompson authored
-
- 29 Jun, 2023 1 commit
-
-
Xavier Thompson authored
When the range available to allocate a single IPv6 to each partition is too small, wrap around by allocating the same IPs instead of aborting. The wrap around logic loops over the addresses in the range other than 0 and 1 which are reserved for the slapnode, except if the range is so small that there are no other addresses.
-
- 28 Jun, 2023 5 commits
-
-
Xavier Thompson authored
Standalone uses the path of a slapos binary passed as a parameter to run slapos commands with supervisord or as subprocesses, instead of recreating an entry point script into the slapos version currently running standalone. Normally the slapos binary provided is actually the same slapos. One reason to do it this way is that in test nodes, standalone is run with pygolang's gpython which doesn't support running buildout (buildout tries to reexec with -S).
-
Xavier Thompson authored
Store ip/netmask instead of ip/prefixlength in computer definition file generated by standalone because that is what format expects to parse.
-
Xavier Thompson authored
Due to typo, ipv4 address was wrongly used when loading ipv6 range from computer definition file. Also, prefixlength was misleadingly loaded as netmask.
-
Thomas Gambier authored
if ipv6 is a range with prefix length N < 112: => give a unique ipv6 to each partition and a unique /N+16 range if ipv6 is a range with prefix length >= 112 => give a unique ipv6 to each partition if ipv6 is not a range: => give the same ipv6 to each partition Co-authored-by: Xavier Thompson <xavier.thompson@nexedi.com>
-
Xavier Thompson authored
-
- 23 Jun, 2023 16 commits
-
-
Rafael Monnerat authored
See merge request !540
-
Rafael Monnerat authored
This is covered by UI test
-
Rafael Monnerat authored
This ensure that when users access the site, the information is likely to be cached already.
-
Rafael Monnerat authored
Dont fetch the list twice for Network and Organisation We dont use Project anymore Direct call API for getAccessStatus instead call ComputeNode_getNewsDict
-
Rafael Monnerat authored
Similar to getComputeNodeInformation, use caching system to not recalculate status for the related software instances, only acquire from cache if it is updated.
-
Rafael Monnerat authored
There isn't a need for such aggregated monitoring on Project
-
Rafael Monnerat authored
See merge request !546
-
Rafael Monnerat authored
This is mostly covered by UI tests
-
Rafael Monnerat authored
See merge request !545
-
Rafael Monnerat authored
See merge request !543
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!542
-
Rafael Monnerat authored
There are really slow servers running tests, if they fail it cause way too many false positives. On a distributed tests environment, it is OK, since the fast servers may pick all the tests anyway, causing a bad node be ignored.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Non owners cannot transfer the objects across different projects.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 21 Jun, 2023 6 commits
-
-
Rafael Monnerat authored
It is safe to ignore if value is none (it indicates the user sent a raw data).
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Thomas Gambier authored
-
Thomas Gambier authored
See merge request nexedi/slapos.core!515
-
- 15 Jun, 2023 7 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!541
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Priority is set to avoid large accumulation of activities to be queued.
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
Use the format return code to distinguish between failure to format or failure to report to master at the end. Then make boot run format even if the master is unreachable, and: * if format fails to report, wait until master is reachable, and retry * if format fails for another reason, retry after a fixed 15s delay * once format succeeds fully, bang
-
- 07 Jun, 2023 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!537
-
Rafael Monnerat authored
-