- 24 Sep, 2021 2 commits
-
-
Rafael Monnerat authored
See merge request !333
-
Jérome Perrin authored
this fixes 86ce8b8e which had an error the current_output variable was not reset when the current output ended in \n. As a result, logged output was sometimes containing some parts of the program output twice. We could even catch it in unit test, when running the test multiple times. It also happened on test node with https://erp5js.nexedi.net/#/test_result_module/20210826-1706D7F50/10 The is trivial, we reset the current output also in this case. The test suite is extended a bit, with added tests and test adjustments made during the debugging. With test_exec_large_output_multiline the problem triggers almost every time.
-
- 22 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
This is basically dead code, and untested.
-
- 21 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!328
-
- 13 Sep, 2021 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Also migrate Computer Partition to Compute Partition
-
Romain Courteaud authored
Keep permissions on the computer module to allow computer_module/Base_getComputerToken call
-
Romain Courteaud authored
libslap must continue to use the same class names for compatibility. Changes are made to keep the migration as simple as possible: * do not change the catalog table/column names * do not change the local_role's names and the related categories * keep Computer Consumption portal type * keep portal_id's group name * keep SLA compatibility * keep SlapTool compatibility SlapTool: restore compatibility with Hosting Subscription method
-
- 10 Sep, 2021 1 commit
-
-
Romain Courteaud authored
-
- 09 Sep, 2021 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The property changed into a List rather them a string
-
Rafael Monnerat authored
Even if the Map had no markers, display some location meaningful instead a point into the occean
-
Rafael Monnerat authored
Since we use latitude/longitude, "Region" is irrelelant.
-
Rafael Monnerat authored
-
- 06 Sep, 2021 1 commit
-
-
Łukasz Nowak authored
Use correct script.
-
- 01 Sep, 2021 1 commit
-
-
Rafael Monnerat authored
Contributed by Romain Courteud
-
- 31 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
When upgrade the site, we shouldn't revert the count, else it may lead to duplicated values.
-
- 26 Aug, 2021 2 commits
-
-
Rafael Monnerat authored
-
Romain Courteaud authored
slapos_cloud: fixup nexedi/slapos.core@be0d00d6 Half commited propertysheets change
-
- 24 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
This fixup mostly the status column and introduces type (since it is multiple type entry).
-
- 23 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
-
- 19 Aug, 2021 1 commit
-
-
Rafael Monnerat authored
The uid is kept the same so updateRelatedContent don't need to reindex the related object in this specific case.
-
- 13 Aug, 2021 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This save us double indexation activities triggerred on different moments.
-
Rafael Monnerat authored
-
Jérome Perrin authored
With recursive instances, it was possible that the slapos.cfg introduce a kind of loop and this was checking again and again the same folders. Fix this by keeping track of the visited instance root and not visit the same instance root twice.
-
- 12 Aug, 2021 8 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!327
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!326
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Jérome Perrin authored
This test was using time.strftime which uses the current machine timezone, but collection is done in UTC timezone, so the test was sometimes failing because the strftime('%Y-%m-%d') was another day than the same time in UTC time zone. This test https://erp5js.nexedi.net/#/test_result_module/20210811-96D6B55F/8 for example had the problem. By using faketime and TZ=Europe/Paris environment variable, the same problems reproduced locally 100% of times. The fix is to always use datetime.utcnow().strftime('%Y-%m-%d'), to not depend on the timezone.
-
Jérome Perrin authored
Don't buffer output and use a separate thread to read subprocess process output and send it line by line to logging, instead of reading from the main thread which output lines with a delay. fixes https://erp5js.nexedi.net/#/bug_module/20210311-90BA30
-
Jérome Perrin authored
To consider if a shared part is used, we consider all files named `slapos.cfg` in the instance and try to parse them as a slapos config file. The problem was that as soon as a file can not be parsed as a slapos config file, we did not continue to evaluate other `slapos.cfg` files. It was a `return` where it should have been a `continue`. This was especially incorrect, because when we have recursive slapos, we usually have a working copy of slapos repository, which contain `stack/slapos.cfg`, which is not a valid slapos config file. As a result, when a top level shared part was used in a software installed in the recursive slapos from a theia or slaprunner instance, this shared part was not detected as used and could have been deleted. The fix consist in checking all `slapos.cfg` files. This will make slapos node prune command probably much slower, because it will really iterate on all files now. Anyway this was fast because it was wrong.
-
Jérome Perrin authored
-
- 11 Aug, 2021 3 commits
-
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!324
-
Rafael Monnerat authored
This changes aims minimize the unecessary accessed to master while the instance is going to be skipped to process or won't post informations to master. This in best cases reduces access from 1+n to 1 while n = number of used partitions. Fixed up after the (revert)
-
Rafael Monnerat authored
-