-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broker vm.swappiness configuration is lost after VM reboot. #1362
Comments
We see the same, and have found that This appears to be by design, and not really cp-ansible's problem. But a small note in the documentation of |
Describe the issue
sysctl configuration was lost after Broker VM reboot.
https://man7.org/linux/man-pages/man5/sysctl.d.5.html
Default value:
kafka_broker_sysctl_file: /usr/lib/sysctl.d/sysctl.conf
https://github.com/confluentinc/cp-ansible/blob/7.1.6-post/roles/kafka_broker/defaults/main.yml#L59
To Reproduce
Steps to reproduce the behaviour:
Kafka Broker sysctl configuration: hosts.yaml
When cp-ansible ends, from the Broker shell:
Reboot the Broker VM:
Expected behaviour
Inventory File
Logs
Environment (please complete the following information):
Additional context
Adding the following configuration to the
hosts.yaml
:keeps the value
vm.swappiness=1
after a VM reboot.The text was updated successfully, but these errors were encountered: