File: nova-rootwrap.rst

package info (click to toggle)
nova 2%3A22.0.1-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 47,176 kB
  • sloc: python: 375,733; pascal: 1,781; sh: 1,142; makefile: 149; xml: 83; sql: 43
file content (58 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
=============
nova-rootwrap
=============

.. program:: nova-rootwrap

Synopsis
========

::

  nova-rootwrap [<options>...]

Description
===========

:program:`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 :program:`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.
:program:`nova-api` nodes should not have any of those files installed.

.. note::

   :program:`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
========

* :nova-doc:`OpenStack Nova <>`

Bugs
====

* Nova bugs are managed at `Launchpad <https://bugs.launchpad.net/nova>`__