Actions
Bug #20612
closedNo report from sysctl generic method
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
50
Name check:
To do
Fix check:
Checked
Regression:
Description
when the current value for vm.swappiness is 0 in sysctl.conf file and we want 10 at min, it doesn't report
in 7.0, but certainly on other version also
info copy_file Sysctl value vm.swappiness Set the string sysctl_var.getvm_swappiness to the output of '/sbin/sysctl -n vm.swappiness # Get value (expect 10, option min)' was correct 2022-01-20T10:56:02+00:00 R: The '/sbin/sysctl -n vm.swappiness # Get value (expect 10, option min)' command returned '0' info copy_file Sysctl value vm.swappiness Ensure line in format key=value in /etc/sysctl.d/99_rudder.conf was correct info copy_file Sysctl value vm.swappiness Ensure line in format key=value in /etc/sysctl.d/99_rudder.conf was correct 2022-01-20T10:56:02+00:00 rudder info: Executing 'no timeout' ... '/sbin/sysctl --system # Reload value vm.swappiness (expect 10, option min)' 2022-01-20T10:56:02+00:00 notice: Q: "...bin/sysctl --sy": * Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.yama.ptrace_scope = 0 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /usr/lib/sysctl.d/50-coredump.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.core_pattern = |/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /usr/lib/sysctl.d/50-default.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.sysrq = 16 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.core_uses_pid = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.kptr_restrict = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": net.ipv4.conf.all.rp_filter = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": net.ipv4.conf.all.accept_source_route = 0 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": net.ipv4.conf.all.promote_secondaries = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": net.core.default_qdisc = fq_codel 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": fs.protected_hardlinks = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": fs.protected_symlinks = 1 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /usr/lib/sysctl.d/50-libkcapi-optmem_max.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": net.core.optmem_max = 81920 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /usr/lib/sysctl.d/50-pid-max.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": kernel.pid_max = 4194304 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /etc/sysctl.d/99_rudder.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": vm.swappiness = 10 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": * Applying /etc/sysctl.conf ... 2022-01-20T10:56:02+00:00 Q: "...bin/sysctl --sy": vm.swappiness = 0 2022-01-20T10:56:02+00:00 rudder info: Last 22 quoted lines were generated by promiser '/sbin/sysctl --system # Reload value vm.swappiness (expect 10, option min)' 2022-01-20T10:56:02+00:00 rudder info: Completed execution of '/sbin/sysctl --system # Reload value vm.swappiness (expect 10, option min)' info copy_file Sysctl value vm.swappiness Execute the command /sbin/sysctl --system # Reload value vm.swappiness (expect 10, option min) was repaired info copy_file Sysctl value vm.swappiness Set the string sysctl_var.checkvm_swappiness to the output of '/sbin/sysctl -n vm.swappiness # Check value (expect 10, option min)' was correct 2022-01-20T10:56:02+00:00 R: The '/sbin/sysctl -n vm.swappiness # Check value (expect 10, option min)' command returned '0'
Updated by Alexis Mousset almost 3 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Priority changed from 0 to 52
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/1329
Updated by Anonymous over 2 years ago
- Status changed from Pending technical review to Pending release
- Priority changed from 52 to 51
Applied in changeset ncf|27ce62b7b7fc405c81240de39bc836d580ce7415.
Updated by François ARMAND over 2 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
- Priority changed from 51 to 50
This bug has been fixed in Rudder 6.1.19, 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.
Actions