Use default sysctl_file in openstack_hosts

Bug #1748951 reported by Kevin Stevens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
In Progress
Wishlist
Unassigned

Bug Description

All Openstack-specific kernel parameters specified in "openstack_kernel_options" and "openstack_user_kernel_options" are added to /etc/sysctl.conf. We should have the option to override sysctl_file and place these parameters into their own config file ( eg. /etc/sysctl.d/openstack-tuning.conf ) and maybe even default to something other than sysctl.conf.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

We are using the sysctl ansible module, so it should be idempotent, and therefore not have issues with its edition.

However we are not passing the sysctl_file argument of the module.
For now, we could consider this sysctl_file addition as a wishlist.

What's your use case?

Revision history for this message
Kevin Stevens (kstev) wrote :

In our case we have a post-provisioning script that writes a specific /etc/sysctl.conf. This could be handled better and I do not have a strong opinion on the default value of "sysctl_file" but I do think we should be able to override it.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Using the module would work without the need to implement sysctl_file.
We've considered the sysctl_file for inclusion and are not against including it, should someone patch it.

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-openstack_hosts (master)
Changed in openstack-ansible:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.