- 18 Mar, 2024 21 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Make profile dead, so that TODO will be for sure taken
-
Łukasz Nowak authored
-
Łukasz Nowak authored
XXX: fully drop legacy-enable-http3-string lgeacy. not implemented, everything flat
-
Łukasz Nowak authored
Cleanups: * dropped needless definition of aibcc_enabled * renamed master_partition_monitor_monitor_httpd_port to MASTER_PARTITION_MONITOR_HTTPD_PORT * convert buildout comments to Jinja2 comments * strip whitespaces, so that generated file is readable * correctly indent on Jinja2 not on buildout * drop obvious comments * minimize amount of variables, by dropping used only once * pass all modules with _module suffix * avoid passing needless software_type * group definition of all globals into one place * name all globals with UPPERCASE XXX: Clean up until it will be possible to modify it a lot
-
Łukasz Nowak authored
Change how defaults are handled in the cluster: * master instance handles all defaults for all nodes * it is the one place with all defaults * depending on parameter style default is global for the cluster or can be specified per node with -frontend-config-<i>-parameter * kedifa and frontend nodes need everything to be passed, in order to simplify the request * configuration. defaults are dropped, as their scope is too large - they are not only defaulting the value on the master, but on each requested node which leads to extreme complexity of parameter passing * use extra_slave_instance_list only, as instance-slave-list is reserved parameter provided by slapos.cookbook:slapconfiguration, sent by SlapOS Master as slave_instance_list, to the master partition; enforce transmissions of slave list in extra_slave_instance_list and consider it's always present * useless replication_number return value is dropped
-
Łukasz Nowak authored
This is required simplification, as the cluster needs full control over defaults on each level.
-
- 15 Mar, 2024 2 commits
-
-
Thomas Gambier authored
This option will give fixed IP to each SIM card.
-
Thomas Gambier authored
-
- 13 Mar, 2024 1 commit
-
-
Léo-Paul Géneau authored
component/mavsdk: v↑ mavsdk (0.39.0 -> 1.4.13) component/gwsocket: add gwsocket websocket server software/js-drone: add frontend for subscriber software/js-drone: use WebSocket for subscriber slapos/software: run quickjs as a service
-
- 12 Mar, 2024 2 commits
-
-
Łukasz Nowak authored
* the default is already tested so drop TestRe6stVerificationUrlDefaultSlave * use locally provided URL to check re6st-verification-url, to not depend on external resources slapos!1501 did a good job with making default disabled, but during the code review tests changes were not well checked.
-
Titouan Soulard authored
logrotate test for the rapid-cdn SR have been failing for quite some time because of a squid.log file created (and henceforth rotated) on any slave instance of the CDN: ``` Traceback (most recent call last): self.assertEqual( AssertionError: Items in the second set but not the first: 'squid.log_10.0.160.212.20240306.23h57m09s-20240307.00h00m02s.old.xz' ``` Since we do not want to test this file in that specific test, this commit instead loosely check the content of the rotated files directory. In other words, the test now checks for the presence of the two files to be tested, but avoid failing if other files exist. This goes in line with the two following lines of that same test, loosely checking for file absence instead of an empty directory. /cc @tomo @luke /approved-by @luke /reviewed-on !1541
-
- 08 Mar, 2024 3 commits
-
-
Julien Muchembled authored
This saves 380MB, by removing: - bin/mysql_client_test (and the bin/mariadb-client-test symlink) - mysql-test/
-
Ivan Tyagov authored
See merge request nexedi/slapos!1543
-
Ivan Tyagov authored
OPENSSL's libraries in this case SlapOS ones.
-
- 05 Mar, 2024 1 commit
-
-
Thomas Gambier authored
The SR didn't compile without libssl-dev package. Correctly use the openssl lib from slapos.
-
- 01 Mar, 2024 1 commit
-
-
Jérome Perrin authored
Every restricted python code on python2 will be compiled as if it had `from __future__ import print_function`, to ease transition away from python2. To update project code, 2to3 from python2.7 seems to do a good job. Invoking like from the root of a repository rewrite all scripts: 2to3 --write --nobackups --no-diffs --fix=print .
-
- 29 Feb, 2024 3 commits
-
-
Łukasz Nowak authored
When the backend to redirect to uses scheme standard port it's cleaner to redirect to URL without the port. See https://www.rfc-editor.org/rfc/rfc9110.html#name-https-normalization-and-com: "If the port is equal to the default port for a scheme, the normal form is to omit the port subcomponent."
-
Łukasz Nowak authored
-
Titouan Soulard authored
I forgot to update hashes after commits b6959875 and 7906b01c. This commit solves the problem by updating slapos-master hashes.
-
- 27 Feb, 2024 2 commits
-
-
Titouan Soulard authored
-
Thomas Gambier authored
I used the following commands: autopep8 test_ors.py --select=E101 --ignore=E121 --indent-size=2 --in-place autopep8 test.py --select=E101 --ignore=E121 --indent-size=2 --in-place
-
- 26 Feb, 2024 2 commits
-
-
Thomas Gambier authored
-
Titouan Soulard authored
-
- 22 Feb, 2024 2 commits
-
-
Jérome Perrin authored
This parameter no longer exists, this was not removed correctly
-
Nicolas Wavrant authored
"repozo --verify" is not working as this code expects it to: it simply prints errors in stdout, and doesn't return an error code in case of error. Thus, running it had absolutely no effect, except wasting IO and CPU time. This commit introduces the use of "repozo --recover --with-verify", which runs the verify and the recover in a same step, and has the advantage to raise (it doesn't exit with 0) in case of error. Also, as it does the verification and the recovery at the same time, it uses half the IO for the read. On a production server using SSDs, with a ZODB of 1Tb, runner-import-restore now takes 14h instead of 26h, iow a performance increase of 46%.
-