- 03 Dec, 2021 3 commits
-
-
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 with this version has a new sql input, that can be used to get metrics from sql queries.
-
Jérome Perrin authored
-
- 02 Dec, 2021 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
This will force a password reset
-
Jérome Perrin authored
Include the changes from 0b7511b4 (stack/erp5: expose random_activity_priority argument of testrunner, 2021-11-22) to customized profiles from slapos master
-
- 01 Dec, 2021 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Julien Muchembled authored
-
Jérome Perrin authored
By setting this in the test suite configuration, we can force ERP5 tests to use random priorities for activity processing. The intended usage is to set this to an empty string, in which case ERP5's runUnitTest chooses a random value for the seed and prints the chosen value. It may also be possible to use a value, to reproduce a previous run.
-
- 30 Nov, 2021 7 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
https://github.com/facebook/rocksdb/commit/7291a3f813e563efbd6870465b1063a115480373 is not enough. Anway, given how SST files are written, fallocate is unlikely to be useful, even less on SSD. RocksDB seems to have options to disable at runtime (see env/io_posix.cc) but I see nothing for that in MariaDB configuration. Steps to reproduce: With a Btrfs partition (no specific mkfs option and for example 2GB size) and following MariaDB configuration: [mysqld] datadir = /tmp/datadir disable-log-bin plugin-load = ha_rocksdb rocksdb_default_cf_options = compression=kNoCompression;bottommost_compression=kZSTD execute the following queries with `mysql -uroot`: > USE test; > CREATE TABLE t(x MEDIUMBLOB) ENGINE=RocksDB; > INSERT INTO t VALUES(repeat('.',16777215)); > INSERT INTO t SELECT x FROM t UNION ALL SELECT x FROM t; > INSERT INTO t SELECT x FROM t UNION ALL SELECT x FROM t; > INSERT INTO t SELECT x FROM t UNION ALL SELECT x FROM t; Disk usage can be checked with: > SHOW ENGINE RocksDB STATUS \G Level Files Size ... ------------------------- ... L0 1/0 144.00 MB ... L2 1/0 288.00 MB ... Sum 2/0 432.00 MB ... and this can be compacted as follows: > SET GLOBAL rocksdb_compact_cf='default'; > SHOW ENGINE RocksDB STATUS \G Level Files Size ... ------------------------- ... L0 0/0 0.00 KB ... L1 0/0 0.00 KB ... L2 1/0 16.28 KB ... Sum 1/0 16.28 KB ... Now using `compsize` (on Debian, it's provided by btrfs-compsize package): # with -DWITH_FALLOCATE=NO $ compsize /tmp/datadir/#rocksdb/000029.sst Type Perc Disk Usage Uncompressed Referenced TOTAL 100% 20K 20K 20K none 100% 20K 20K 20K # without -DWITH_FALLOCATE=NO $ compsize /tmp/datadir/#rocksdb/000029.sst Type Perc Disk Usage Uncompressed Referenced TOTAL 100% 35M 35M 20K none 100% 35M 35M 20K
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Łukasz Nowak authored
-
- 29 Nov, 2021 1 commit
-
-
Xavier Thompson authored
-
- 26 Nov, 2021 2 commits
-
-
Jérome Perrin authored
Fixes 50f6a557 (component/trafficserver: build Lua plugin., 2021-11-23) LuaJIT has to be build as shared to be referenced by trafficserver component, because the later is already build as shared. Also fix a missing rpath
- 25 Nov, 2021 2 commits
-
-
Thomas Gambier authored
Fixes dbd19730
-
Łukasz Nowak authored
The caucase binary have to be explicitly provided. This fixes commit 79ccddeb
-
- 24 Nov, 2021 2 commits
-
-
Łukasz Nowak authored
JSON schema uses simple string and internal process, and caddy instances are not kept simple and are not considered future-proof.
-
Jérome Perrin authored
This software can use system gcc. On test nodes we observed successful builds when system gcc is 8.3.0 and failures with system gcc is 6.3.0: checking whether g++ supports C++17 features with -std=c++17... no checking whether g++ supports C++17 features with +std=c++17... no checking whether g++ supports C++17 features with -h std=c++17... no checking whether g++ supports C++17 features with -std=c++1z... no checking whether g++ supports C++17 features with +std=c++1z... no checking whether g++ supports C++17 features with -h std=c++1z... no configure: error: *** A compiler with support for C++17 language features is required. ... While: Installing powerdns.
-
- 23 Nov, 2021 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Łukasz Nowak authored
The test was missing change of the generated file. Fixes 2048ceb8
-
Łukasz Nowak authored
There was missing updates in the test itself. Fixes 14d90bcd
-
- 22 Nov, 2021 11 commits
-
-
Łukasz Nowak authored
kvm-exporter supported only disk-type=virtio, as qemuqmpclient.driveBackup source_drive defaults to virtio0. For disk-type=ide the source_drive found to be ide0-hd0 by query-block during runtime, and as it's used, now such disk type is supported.
-
Thomas Gambier authored
Without a shebang, supervisord refuses to run the script with the following error: supervisor: couldn't exec /srv/slapgrid/slappart8/etc/prerm/slapos_wipe_device_disk: ENOEXEC supervisor: child process was not spawned This is a fixup of 0983f1ca
-
Łukasz Nowak authored
Caucase binaries are required for some testing scenarios.
-
Łukasz Nowak authored
cls.computer_partition_root_path is filled in by super.setUpClass.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Simplify the compilation to default cmmi
-
Łukasz Nowak authored
-