- 25 Oct, 2022 7 commits
-
-
Ophélie Gagnard authored
slapos_metadata_transform_agent: fix data conversion in Stream to Array so json conversion don't fail on special characters
-
Ophélie Gagnard authored
-
Ophélie Gagnard authored
-
Ophélie Gagnard authored
-
Ophélie Gagnard authored
-
Jérome Perrin authored
## before ```console $ slapos service list List of services: erp5 /srv/slapgrid/slappart15/srv/project/slapos/software/erp5/software.cfg slapos-sr-testing /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg slapos-testing /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-testing/software.cfg hugo /srv/slapgrid/slappart15/srv/project/slapos/software/hugo/software.cfg metabase /srv/slapgrid/slappart15/srv/project/slapos/software/metabase/software.cfg dufs /srv/slapgrid/slappart15/srv/project/slapos/software/webdav/software.cfg ``` ```console $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: ("<?xml version='1.0' encoding='utf-8'?>\n" '<instance>\n' ' <parameter ' 'id="environment-script">/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh</parameter>\n' ``` ## after ```console $ slapos service list { "dufs": "/srv/slapgrid/slappart15/srv/project/slapos/software/webdav/software.cfg", "erp5": "/srv/slapgrid/slappart15/srv/project/slapos/software/erp5/software.cfg", "hugo": "/srv/slapgrid/slappart15/srv/project/slapos/software/hugo/software.cfg", "metabase": "/srv/slapgrid/slappart15/srv/project/slapos/software/metabase/software.cfg", "slapos-sr-testing": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg", "slapos-testing": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-testing/software.cfg" } ``` ```console $ slapos service info slapos-sr-testing { "software-url": "/srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg", "instance-state": "busy", "instance-parameters": {}, "connection-parameters": { "environment-script": "/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh" } } ``` See merge request !441
-
Jérome Perrin authored
because json output is different on python2 and python3 and cli is only used on python2, we don't test the exact output in python2.
-
- 24 Oct, 2022 2 commits
-
-
Jérome Perrin authored
before: $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: ("<?xml version='1.0' encoding='utf-8'?>\n" '<instance>\n' ' <parameter ' 'id="environment-script">/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh</parameter>\n' after: $ slapos service info slapos-sr-testing Software Release URL: /srv/slapgrid/slappart15/srv/project/slapos/software/slapos-sr-testing/software.cfg Instance state: busy Instance parameters: {} Connection parameters: {'environment-script': '/srv/slapgrid/slappart15/srv/runner/instance/slappart7/etc/slapos-local-development-environment.sh'}
-
Thomas Gambier authored
This is particularly needed for old OS with python2: very old versions of pip are trying to install latest version of eggs no matter their python2 compatibility whereas pip 20 is making sure to install only python2 compatible eggs.
-
- 20 Oct, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!433
-
Rafael Monnerat authored
Revert inclusion Base_getNodeTitleAndDate and use checked_permission to only get title if the user is allowed to see the document. Author is optional so keep empty isn't a problem.
-
- 17 Oct, 2022 1 commit
-
-
Thomas Gambier authored
-
- 13 Oct, 2022 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!434
-
Thomas Gambier authored
Until now, the broadcast address was used for the tun interface instead of the first address of the range.
-
- 10 Oct, 2022 2 commits
-
-
Xavier Thompson authored
-
Léo-Paul Géneau authored
See merge request !436
-
- 07 Oct, 2022 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!435
-
- 06 Oct, 2022 8 commits
-
-
Rafael Monnerat authored
We do want to ignore payments that occur after the at_date. We want to know if at a certain date, there still unpayed documents older them that date, if the document is payed after, (and grouped) we unconsider it.
-
Rafael Monnerat authored
This was missing to remove since we dropped all mass upgrade code and relies exclusively on Upgrade Decisions.
-
Rafael Monnerat authored
Upgrade decisions are also tickets (messages are issued), this makes things consistent with the other tickets (Regularisation Requests and Support Requests)
-
Rafael Monnerat authored
This allows administrator see issued messages.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
node_title is another person/organisation title, which was raising if an administrator use himself as sender on the event.
-
Alain Takoudjou authored
See merge request nexedi/slapos.core!431
-
Alain Takoudjou authored
If computer partition requested state is `started`, slapos node boot will start partition services on reboot, event if the node is not able to connect to master or has no internet.
-
- 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 3 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.
-