Files
nova/doc/source/cli/nova-rootwrap.rst
Balazs Gibizer e25418c857 [doc]Remove eventlet based API endpoints
The previous patch[1] removed the entry points. As there is sizable
amount of doc change needed to remove all the references from the doc
to the removed entry points a separate patch, this, is created to do so.

[1] Ie758550c0b8fb02aeb398396961467d9f845fcc9

Change-Id: Ibe8e45e86912e747f07e5fabd5b1204341c1e606
2025-04-17 16:24:16 +02:00

1.1 KiB

nova-rootwrap

nova-rootwrap

Synopsis

nova-rootwrap CONFIG_FILE COMMAND

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-wsgi 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.

Files

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

See Also

nova-compute(1) <nova-compute>

Bugs