Lack of documentation for rootwrap and privsep in nova docs

Bug #1823192 reported by Matt Riedemann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

Regarding rootwrap, this is the only mention in the nova docs:

https://docs.openstack.org/nova/stein/cli/nova-rootwrap.html

And privsep isn't much better:

https://docs.openstack.org/nova/stein/search.html?q=privsep

There is no documentation really about how rootwrap should be deployed during an install, what compute.filters is or what's in it, there is no links to privsep documentation or how rootwrap is configured with the privsep-helper (which is necessary during deployment if you want nova-compute to work).

At the very least we should have something in the compute service install guide about deploying the privsep files (maybe this is missing because deployment packages take care of this for us and we don't have dedicated docs on installing nova from source packages).

It would probably also be worth noting the known issue with bug 1715374 where SIGHUP'ing the nova-compute service makes nova-compute unusable because the privsep-helper child processes are gone so anything that needs root access after that (which is most things when you're creating a VM with the libvirt driver) will fail.

Tags: doc privsep
Revision history for this message
Matt Riedemann (mriedem) wrote :

Apparently the search function isn't great, but I found this in the nova admin docs:

https://docs.openstack.org/nova/stein/admin/root-wrap-reference.html

That doesn't mention anything about privsep though and it probably should.

summary: - Laughable lack of documentation for rootwrap and privsep in nova docs
+ Lack of documentation for rootwrap and privsep in nova docs
Revision history for this message
Eric Fried (efried) wrote :

Whatever happens here can point to the docs being worked in oslo.privsep https://review.openstack.org/#/c/649997/

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: doc
removed: docs
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.