- 31 Mar, 2022 6 commits
-
-
Jérome Perrin authored
This contain the fix for go 1.16 that we backported, so we can use upstream repository again. No effort has been made to keep data compatibility, updating instance probably does not work
-
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
One notable change since previous version is that a new sql input, that can be used to get metrics from sql queries.
-
Jérome Perrin authored
-
Jérome Perrin authored
This partially reverts ee733f9d because of issues with python3
-
- 30 Mar, 2022 20 commits
-
-
Jérome Perrin authored
Commit ee733f9d (version up: zc.buildout 2.7.1+slapos017, slapos.libnetworkcache 0.23, 2022-03-28) introduced a new way of computing cache key used for shacache and downlaod URLs that were only in cache but no longer available from their original location no longer could be retrieved. This update the original download URLs to URLs that are valid today. See merge request nexedi/slapos!1147
-
Julien Muchembled 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
I could not find tarball for 2.1 so I updated
-
Jérome Perrin authored
also remove useless environment option which has same value as the macro
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
(+ small cosmetic fixes)
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 29 Mar, 2022 8 commits
-
-
Julien Muchembled authored
All instances in the wild have now moved their DB from srv/res6stnet/registry to srv/re6stnet. See commit a1ed9c30.
-
Joanne Hugé authored
-
Julien Muchembled authored
Fallback to alternate-url only happens on HTTPError.
-
Julien Muchembled authored
-
Łukasz Nowak authored
SSL certificate of people.redhat.com has bad chain, which results with failed downloads.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Arnaud Fontaine authored
mysql: With universal_newlines, python3 subprocess assumes that communicate() parameter is str() (not bytes()). But mysql_script_file was opened as a binary files and thus a bytes() was returned: File "etc/run/mariadb_update", line 51, in <module> sys.exit(slapos.recipe.generic_mysql.mysql.updateMysql(mysql_upgrade_binary='/srv/slapgrid/slappart3/bin/mysql_upgrade', mysql_binary='/srv/slapgrid/slappart3/bin/mysql', mysql_script_file='/srv/slapgrid/slappart3/etc/mariadb_initial_setup.sql')) File "parts/slapos.cookbook-repository/slapos/recipe/generic_mysql/mysql.py", line 31, in updateMysql result = mysql.communicate(mysql_script)[0] File "parts/python3/lib/python3.7/subprocess.py", line 964, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "parts/python3/lib/python3.7/subprocess.py", line 1692, in _communicate self._save_input(input) File "parts/python3/lib/python3.7/subprocess.py", line 1774, in _save_input self._input = self._input.encode(self.stdin.encoding, AttributeError: 'bytes' object has no attribute 'encode'
-
- 28 Mar, 2022 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Thomas Leymonerie authored
See merge request nexedi/slapos!1135
-
- 25 Mar, 2022 2 commits
-
-
Thomas Leymonerie authored
Using macros.cfg to add a new macro. This macro will works like [macro-virtual-env]. Neverthless, it will use pygolang to create a more "classic" interpreter.
-
Thomas Leymonerie authored
-
- 24 Mar, 2022 1 commit
-
-
Jérome Perrin authored
-