- 03 Oct, 2022 9 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!428
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!430
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 29 Sep, 2022 3 commits
-
-
Rafael Monnerat authored
... Unify scripts into Base_getEventList
-
Rafael Monnerat authored
In order to use getMovementHistoryList too
-
Rafael Monnerat authored
It is used to get the events that follow up to a ticket that aggregates (or sub object aggregates) to an document (usually Compute Node or Instance Tree).
-
- 27 Sep, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Reuse Base_getOpenRelatedTicketList to query tickets consistently and extends original goal to also show Upgrade Decisions. This tab shows all Tickets related to the computer and to all instance trees that has one instance allocated on it (even if isn't the one that is failing).
-
Rafael Monnerat authored
Use default_or_child_aggregate_uid is enough (and simpler). Use specific states to be consistent with RSS queries.
-
Rafael Monnerat authored
Reduce the number of scripts and refactor the query script to rely on getMovementHistory. Before only the latest event was notified, to reduce the list and only to ping the user to access the site. Now all events are considered on the list (not the latest ones) and include some general clean up on base RSS feeds.
-
- 23 Sep, 2022 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Now the goal is save the configuration and later assert with saved configuration on the actual site. This may give us other uses for this tooling, like, save before and after an upgrade (to know the actual delta) and save after an upgrade to know later the local changes done over time. This without loose the possibility of audit (since you can upload a file after fetch the configuration from the unit tests)
-
Rafael Monnerat authored
We shouldn't keep this in git, but it should be created or handled after an upgrade by the developer.
-
Xavier Thompson authored
See merge request nexedi/slapos.core!423
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!429
-
- 22 Sep, 2022 5 commits
-
-
Rafael Monnerat authored
Events are creates via script (and API) now, instead jio_post.
-
Xavier Thompson authored
Add `README.md` instructions explaining how to adapt the migration tests after upgrading the proxy database version.
-
Xavier Thompson authored
When migrating entries, use `INSERT OR REPLACE` to get rid of duplicate rows that cause constraint violations, instead of raising an exception. Note that this only affects the `forwarded_partition_request` table: for other tables it changes nothing in terms of behavior because the intial tables already cannot contain conflicting rows.
-
Xavier Thompson authored
Insert duplicate entries in `forwarded_partition_request` table of each database dump of previous versions, and assert that only a single entry remains after the migration.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!427
-
- 21 Sep, 2022 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!426
-
Jérome Perrin authored
These scripts were re-implementing the download logic of download_playbook with the difference being using a different name for the temporary file, but we don't care about the temporary file name Another difference was to edit slapcache.cfg once it is downloaded, this part, we need to keep it.
-
- 20 Sep, 2022 4 commits
-
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
Avoid bloating the proxy database due to each instance processing adding the same entries for forwarded requests as duplicate rows again and again, leading to unbounded growth.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!425
-
- 19 Sep, 2022 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This code is old and unused, so we move into slapos_ecoallocation and drop the installation of the business template.
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!424
-
Rafael Monnerat authored
Use lxml on tests since pyxml was removed (from our build). A side effect is the usage of double quote rather them single quote when parse the response, but it is quite minimal change (no impact in production or API, only for this particular test)
-
Rafael Monnerat authored
The welcome message can be customizes across projects so we assert the least as possible in relation to the message body.
-