- 17 Dec, 2022 18 commits
-
-
-
Jérome Perrin authored
Because dufs only reads certificate on startup it does not detect when the certificate was renewed. The only thing supported by dufs is to restart, but we can not restart the service, because the partition can not communicate with the supervisor. To solve this, use another level of process supervisor: using zdaemon we can run a process in the foreground, so that it stays under slapos' supervisor control, but still expose a way to restart the process using zdaemon API.
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit b2db18a0cb672204ff1dd9bc759934b332d433f5.
-
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
-
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 7 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
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 4 commits
-
-
Jérome Perrin authored
-
Thomas Gambier authored
-
Xavier Thompson authored
See merge request nexedi/slapos!1280
-
Łukasz Nowak authored
-