metalk8s_sysctl.has_precedence
incorrectly attempts to interpolate %
-prefixed sequences
#3223
Labels
complexity:easy
Something that requires less than a day to fix
kind:bug
Something isn't working
topic:deployment
Bugs in or enhancements to deployment stages
topic:salt
Everything related to SaltStack in our product
Milestone
Component: salt
What happened:
Some config file in
/etc/sysctl.d
containing:kernel.core_pattern=/var/tmp/core-%e-%p-%t
Running bootstrap.sh ends up failing with:
What was expected: Such config file is accepted by sysctl, we should not fail. Also, if we do, we should wrap the error in a
CommandExecutionError
.Resolution proposal (optional): Disable interpolation with
ConfigParser(interpolation=None)
.The text was updated successfully, but these errors were encountered: