- 22 May, 2020 1 commit
-
-
Jérome Perrin authored
The idea is to make it possible while embedding SlapOS in an existing partition to configure that some requests are forwarded to the master of the partition and to make these requests as the partition - so that when this partition is destroyed all other partitions from the embedded partitions are destroyed. A bit more integration in slapos is still needed, but is intended to be used in theia (and why not webrunner): At the beginning theia's instance looks like this: ![screenshot of theia hosting subscription on slapos master, with the default 3 partitions](/uploads/9a297dbbae49996fb7ee69e89ea75da1/image.png) after an ERP5 instance is requested in theia's embedded slapos, the partition requests are forwarded as this partition and appear here, as requested by theia: ![screenshot of theia hosting subscription on slapos master, frontend partitions requested by ERP5 appears as requested by theia](/uploads/37b8b30ca117a1251fc2bd099a5dac82/image.png) This can also allow transparent integration, because the partition credentials are known by the partition, unlike the user credentials. See merge request !218
-
- 20 May, 2020 7 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is required to comply with erp5_authentication_policy
-
Rafael Monnerat authored
Set "value" cause some overprocessing in this case (which breaks some tests when invoked under superuser)
-
Rafael Monnerat authored
You can run it and increate by a certain amount the transaction ids used for payment, this may prevent ids conflics on payzen side when multiple developers are trying to test it during the same day.
-
Rafael Monnerat authored
If the payment is recently created (in the latest 30 min) process it every minute, if it is older them 30 min, process every 30 min. We want to acknowledge the payment as fast as possible and usually when it occurs, it is processed on the first minutes.
-
Rafael Monnerat authored
... not from the Payment Transaction slapos_subscription_request: (test) Link on the email comes from the invoice
-
- 19 May, 2020 1 commit
-
-
Rafael Monnerat authored
This is an acceptable speed up as the amount of processing is small, and pontual, as states are updated quickly.
-
- 18 May, 2020 1 commit
-
-
Rafael Monnerat authored
This is helpfull to configure configure computers to simulate connection parameters and allocation.
-
- 15 May, 2020 4 commits
-
-
Rafael Monnerat authored
This is a change from Thomas Gambier.
-
Rafael Monnerat authored
This is a change from Thomas Gambier, I'm just commiting
-
Rafael Monnerat authored
Don't clear and allow us to pass parameters for the ansible commant which allow us pass extra variables.
-
Rafael Monnerat authored
-
- 14 May, 2020 5 commits
-
-
Rafael Monnerat authored
slapos_erp5: Add erp5_authentication_policy as project dependency slapos_cloud: Define standard configuration for authentication policy Update tests on various bt5.
-
Rafael Monnerat authored
Modifies the Workflows meaning for Support Request Workflow Draft: Reservation isn't Payed, Person is created Planned: Reservation is Payed, User is going to be Notified Ordered: First month isn't payed, Hosting Subscription is created (started), user is notified about the payment to be done. Confirmed: Hosting Subscription is stopped until the payment is done. Once it done, instance is started and user is Notified. Started: User is available for this user. Stopped/Delivered aren't implemented. Nothing is implemented inside the workflow itself, alarms calls the scripts which changes the transitions once everything is ready to move foward. Allocation aoccur when if subscription request is in ordered state. We allocate earlier to reserve the space until the payment is done.
-
Rafael Monnerat authored
Call the API rather them wait for the alarm hourly alarm. This might update simulation as soon as possible once the Hosting Subscription is created.
-
Rafael Monnerat authored
See merge request !221
-
Lu Xu authored
-
- 12 May, 2020 4 commits
-
-
Lu Xu authored
-
Lu Xu authored
-
Rafael Monnerat authored
* Remove duplication of unmodified scripts from Chinese translation * Use slapos_jio_ui_test as dependency of slapos_jio_zh_ui_test as we can reuse scripts * slapos_ui_zh_tests: Massively Remove unecessary duplication * Fixup! default_address_region was replaced by a selection * Correctly ident the entire html from the tests and templates (using monaco autoformat)
-
Rafael Monnerat authored
-
- 11 May, 2020 3 commits
-
-
Jérome Perrin authored
This allow to use standalone slapos with some requests being forwarded to another slapos master. The intended use case is to make have frontend requests forwarded to "real" slapos master when embedding slapos in theia or slaprunner.
-
Jérome Perrin authored
In SlapOS, both users or partitions can requests partitions. With the multimaster support of slapos proxy, all requests where made as a user, but in the case of recursive slapos - where a partition from the "outer" slapos includes an "inner" slapos, it makes sense to forward partitions requests as the partition in the "outer" slapos - this way when this partition is destroyed all partitions that might have been requested are also destroyed. To request as partition, the multi-master entry must define two extra keys: - computer, that can be optained by $${slap-configuration:computer} from instance buildout - partition, that can be optained by $${slap-configuration:partition} When these are not set, the request will be made as a user, like it was the case before. We also change the test to unset SLAPGRID_INSTANCE_ROOT because this implementation has side effect - the environment variable is set and never unset. Without this, test fail when running the full test suite because a previous test was leaking SLAPGRID_INSTANCE_ROOT. This is definitely something we'll have to improve later.
-
Jérome Perrin authored
Eventhough implementation might be a bit more efficient is we use the low level API, we probably don't need performance here and it's easier to use the request API
-
- 08 May, 2020 6 commits
-
-
Jérome Perrin authored
revert accidentally pushed commit and fix test failures introduced by !192 See merge request !216
-
Jérome Perrin authored
-
Jérome Perrin authored
fixup 31864c5c to make test pass
-
Jérome Perrin authored
This reverts commit 3160c589. pushed by mistake. This is unfinished but it was wrong because we copy this log file to snapshot directory before we are done writing to it.
-
Jérome Perrin authored
When we recurse in instance to find nested slapos that might be using parts from ourselves, we check all files named slapos.cfg but we may encounter some slapos.cfg that are not actual slapos config files, for example in testnodes we have a working copy of slapos repository which contains a stack/slapos.cfg which is completly different. This was breaking prune with an error like this: 2020-04-29 20:07:28 slapos[2097] DEBUG Reading config at /srv/slapgrid/slappart9/srv/testnode/czp/slapos-repository/stack/slapos.cfg 2020-04-29 20:07:28 slapos[2097] ERROR No section: 'slapos' See merge request !211
-
Jérome Perrin authored
`FolderSizeSnapshot` is too slow and cause some "Database is locked" errors when running software instance tests. See merge request !206
-
- 07 May, 2020 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
buildout profiles and .installed.cfg, shared parts signatures
-
- 06 May, 2020 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Extend getBusinessTemplateList to install the dependencies slapos_configurator: slapos_jio_zh_ui_test also goes on keep bt5 list
-
- 05 May, 2020 4 commits
-
-
Rafael Monnerat authored
This change allow us to use slapos node boot/bang under a slaprunner (or any non-root environment). It should be usefull to not create ad-hoc implementation for those procedures. /cc @jerome @tomo @Nicolas See merge request !214
-
Rafael Monnerat authored
This allow the user uses slapos node boot inside webrunner or any other non-root environment
-
Rafael Monnerat authored
This change allow bang been called on slaprunner or on any unprivileged deployment
-
Julien Muchembled authored
This reverts commit 8a3c8aa3 because we still have complaints for binaries that are linked, directly or not, to libgfortan (e.g. openblas). Adding zlib to the rpath of these binaries would be annoying. See nexedi/slapos@6db91afc
-