Guilherme Steinmüller b1f4269ecc Add neutron-rootwrap-daemon
This patch introduces neutron-rootwrap-daemon[1]
to neutron.conf and sudoers.d files which provide us
improvements in performance such as openratins
with DHCP agents.

[1] https://specs.openstack.org/openstack/neutron-specs/specs/kilo/rootwrap-daemon-mode.html

Change-Id: I659b8fb695dce5b9997de2acc770b1e7fbeae6d4
2019-02-27 20:13:56 +00:00

8 lines
434 B
Django/Jinja

# {{ ansible_managed }}
Defaults:{{ neutron_system_user_name }} !requiretty
Defaults:{{ neutron_system_user_name }} secure_path="{{ neutron_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
{{ neutron_system_user_name }} ALL = (root) NOPASSWD: {{ neutron_bin }}/{{ neutron_service_name }}-rootwrap
{{ neutron_system_user_name }} ALL = (root) NOPASSWD: {{ neutron_bin }}/{{ neutron_service_name }}-rootwrap-daemon