nova/doc/source/cli/nova-rootwrap.rst
Stephen Finucane be8fa67024 doc: Populate the 'cli' section
Per the spec [1]:

  cli/ – command line tool reference docs, similar to man pages These
  may be automatically generated with cliff's sphinx integration, or
  manually written when auto-generation is not possible.

All of the docs currently found in 'man' fit that category, so those and
those alone are moved. It'll be a great day in the parish when we can
replace all of these with cliff's Sphinx integration.

[1] specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration

Change-Id: I45bed324ec37cfea7c1a574ec06af38e7b875a1c
2017-07-13 14:54:11 +01:00

1.2 KiB

nova-rootwrap

Root wrapper for Nova

Author

openstack@lists.openstack.org

Date

2012-09-27

Copyright

OpenStack Foundation

Version

2012.1

Manual section

1

Manual group

cloud computing

SYNOPSIS

nova-rootwrap [options]

DESCRIPTION

Filters which commands nova is allowed to run as another user.

To use this, you should set the following in nova.conf: rootwrap_config=/etc/nova/rootwrap.conf

You also need to let the nova user run nova-rootwrap as root in sudoers: nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *

To make allowed commands node-specific, your packaging should only install {compute,network}.filters respectively on compute and network nodes (i.e. nova-api nodes should not have any of those files installed).

OPTIONS

General options

FILES

  • /etc/nova/nova.conf
  • /etc/nova/rootwrap.conf
  • /etc/nova/rootwrap.d/

SEE ALSO

BUGS