Set the privsep_osbrick.helper_command in nova and cinder

os-brick starts using privsep, it will need to know how to invoke its
privileged half. This follow the how the devstack fixed in nova[1] and
cinder[2].

[1] https://review.openstack.org/#/c/277696/
[2] https://review.openstack.org/#/c/280031/

TrivialFix

Change-Id: I3761a5bde9766297127ad2011453ae4221ff5c2b
This commit is contained in:
Jeffrey Zhang 2016-06-25 18:04:11 +08:00
parent 330d925ce4
commit 5e90e90b11
2 changed files with 6 additions and 0 deletions

View File

@ -92,3 +92,6 @@ rbd_user = cinder
rbd_secret_uuid = {{ rbd_secret_uuid }}
report_discard_supported = True
{% endif %}
[privsep_entrypoint]
helper_command=sudo cinder-rootwrap /etc/cinder/rootwrap.conf privsep-helper --config-file /etc/cinder/cinder.conf

View File

@ -175,3 +175,6 @@ topics = notifications
{% else %}
driver = noop
{% endif %}
[privsep_entrypoint]
helper_command=sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf