nova/doc/source/cli/nova-rootwrap.rst
Stephen Finucane 3a6e1e2396 doc: Rework man pages
Rework the man pages by:

- Wording the synopsis sections similarly for all commands
- Not using upper-case section names, as this is unnecessary and results
  in worse HTML output
- Formatting code and file names as literals

The 'nova-idmapshift' man page is excluded as this utility will be
removed shortly.

Change-Id: I67914a757f9436461960a8d6b92d157f59ccad66
2017-10-09 16:08:40 +01:00

1.3 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

nova-rootwrap is an application that 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.

Note

nova-rootwrap is being slowly deprecated and replaced by oslo.privsep, and will eventually be removed.

Options

General options

Files

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

See Also

Bugs