- 17 Dec, 2022 13 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This contain the fix for go 1.16 that we backported, so we can use upstream repository again
-
Jérome Perrin authored
-
Jérome Perrin authored
For now this still have to be enabled with a config like this in a .conf file in srv/telegraf/extra-config/ : [[inputs.execd]] name_override = "slapos" # this needs sudo when using can not access supervisor socket, like when being installed in root slapos command = ["/usr/bin/sudo", "$SOFTWARE_DIR/go.work/bin/telegraf-input-slapos", "-config", "/path/to/slapos.conf"] /path/to/slapos.conf would contain something like this: [[inputs.slapos]] ## Folder where partitions are located instance_root = "/srv/slapgrid/" ## filepath.Glob pattern to look for recursive instances recursive_instance_glob_pattern = "*/srv/runner/inst*/" ## Path of supervisor socket, relative to instance root socket_name = "sv.sock"
-
Jérome Perrin authored
This version has a new sql input, that can be used to get metrics from sql queries.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 16 Dec, 2022 5 commits
-
-
Thomas Gambier authored
This is a fixup of 431eed50
-
lu.xu authored
-
Thomas Gambier authored
The version of pandas was overwritten in 02fad6a8 but didn't work with python2. Then the version was downgraded to 0.24.2 in 15569ea9 but ERP5 doesn't work with this pandas version: Traceback (most recent call last): File "/srv/slapgrid/slappart3/t/dgg/soft/63c49071f5be63057dd48d7a85c10226/bin/runTestSuite", line 325, in <module> import Products.ERP5Type.tests.runTestSuite File "/srv/slapgrid/slappart3/t/dgg/soft/63c49071f5be63057dd48d7a85c10226/parts/erp5/product/ERP5Type/__init__.py", line 92, in <module> from . import ZopePatch File "/srv/slapgrid/slappart3/t/dgg/soft/63c49071f5be63057dd48d7a85c10226/parts/erp5/product/ERP5Type/ZopePatch.py", line 30, in <module> from Products.ERP5Type.patches import Restricted File "/srv/slapgrid/slappart3/t/dgg/soft/63c49071f5be63057dd48d7a85c10226/parts/erp5/product/ERP5Type/patches/Restricted.py", line 491, in <module> allow_type(pd.indexes.range.RangeIndex) AttributeError: 'module' object has no attribute 'indexes' So reuse old version 0.19.2
-
lu.xu authored
-
Jérome Perrin authored
-
- 15 Dec, 2022 11 commits
-
-
Thomas Gambier authored
version 0.25.3 is not python2 compatible. Use version 0.24.2 as it is compatible with both python2 and python3.7 (even though we have no reason to use python3.7 nowadays). See https://pypi.org/project/pandas/0.24.2/
-
Thomas Gambier authored
This is a followup of 0d717989
-
Thomas Gambier authored
This is a followup of 02fad6a8
-
Jérome Perrin authored
-
Lu Xu authored
-
Thomas Gambier authored
-
Łukasz Nowak authored
This is a frontend used to provide information about various aspect of the master instance status, like rejected slaves, failed failsafe slave publication and maybe more.
-
Łukasz Nowak authored
Due to various reasons there might be an error while publishing information about a slave, and such error would end up with stopping the processing of the partition. This is undesired effect, thus switch to publish_failsafe style in order to continue processing.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Publish only for active slaves.
-
Łukasz Nowak authored
Empty extra_slave_instance_list is a leftover of never fully working approach of slaveless caddy-frontend implementation, so just drop it.
-
- 14 Dec, 2022 6 commits
-
-
Jérome Perrin authored
-
Thomas Gambier authored
-
Xavier Thompson authored
See merge request nexedi/slapos!1280
-
Łukasz Nowak authored
-
Łukasz Nowak authored
In some contexts it's required to not stop buildout processing on publishing errors, thus such recipe is required in those cases. By providing -error-status-file it's possible to check status of the publish, the file will be created on error and removed on successful call or during uninstall. It's responsibility of the caller to handle such errors, for example by using proper promises.
-
Jérome Perrin authored
-
- 13 Dec, 2022 5 commits
-
-
Cédric Le Ninivin authored
-
Jérome Perrin authored
-
Xavier Thompson authored
-
Xavier Thompson authored
-
Xavier Thompson authored
-