nova/doc/source/admin/services.rst
Stephen Finucane 009fd0f35b docs: Remove references to nova-consoleauth
We're going to remove all the code, but first, remove the docs.

Part of blueprint remove-consoleauth

Change-Id: Ie96e18ea7762b93b4116b35d7ebcfcbe53c55527
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-06-17 15:18:31 +01:00

2.6 KiB

Manage Compute services

You can enable and disable Compute services. The following examples disable and enable the nova-compute service.

  1. List the Compute services:

    $ openstack compute service list
    +----+----------------+------------+----------+---------+-------+----------------------------+
    | ID | Binary         | Host       | Zone     | Status  | State | Updated At                 |
    +----+----------------+------------+----------+---------+-------+----------------------------+
    |  4 | nova-scheduler | controller | internal | enabled | up    | 2016-12-20T00:44:48.000000 |
    |  5 | nova-conductor | controller | internal | enabled | up    | 2016-12-20T00:44:54.000000 |
    |  8 | nova-compute   | compute    | nova     | enabled | up    | 2016-10-21T02:35:03.000000 |
    +----+----------------+------------+----------+---------+-------+----------------------------+
  2. Disable a nova service:

    $ openstack compute service set --disable --disable-reason "trial log" compute nova-compute
    +----------+--------------+----------+-------------------+
    | Host     | Binary       | Status   | Disabled Reason   |
    +----------+--------------+----------+-------------------+
    | compute  | nova-compute | disabled | trial log         |
    +----------+--------------+----------+-------------------+
  3. Check the service list:

    $ openstack compute service list
    +----+----------------+------------+----------+---------+-------+----------------------------+
    | ID | Binary         | Host       | Zone     | Status  | State | Updated At                 |
    +----+----------------+------------+----------+---------+-------+----------------------------+
    |  5 | nova-scheduler | controller | internal | enabled | up    | 2016-12-20T00:44:48.000000 |
    |  6 | nova-conductor | controller | internal | enabled | up    | 2016-12-20T00:44:54.000000 |
    |  9 | nova-compute   | compute    | nova     | disabled| up    | 2016-10-21T02:35:03.000000 |
    +----+----------------+------------+----------+---------+-------+----------------------------+
  4. Enable the service:

    $ openstack compute service set --enable compute nova-compute
    +----------+--------------+---------+
    | Host     | Binary       | Status  |
    +----------+--------------+---------+
    | compute  | nova-compute | enabled |
    +----------+--------------+---------+