[user-guide] Update the 'nova service-list' to openstack

Implements: blueprint use-openstack-command
Change-Id: Ic68ee248ad7526d6d794f7159f6c5c84805ff056
This commit is contained in:
zhangyanxian 2016-12-22 09:18:44 +00:00 committed by KATO Tomoyuki
parent 34c43ad5e7
commit 935716edcd
4 changed files with 5 additions and 28 deletions

View File

@ -71,19 +71,3 @@ examples disable and enable the ``nova-compute`` service.
+----------+--------------+---------+
| compute | nova-compute | enabled |
+----------+--------------+---------+
#. Check the service list:
.. code-block:: console
$ nova service-list
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| nova-conductor | devstack | internal | enabled | up | 2013-10-16T00:57:08.000000 | None |
| nova-cert | devstack | internal | enabled | up | 2013-10-16T00:57:09.000000 | None |
| nova-compute | devstack | nova | enabled | up | 2013-10-16T00:57:07.000000 | None |
| nova-network | devstack | internal | enabled | up | 2013-10-16T00:57:11.000000 | None |
| nova-scheduler | devstack | internal | enabled | up | 2013-10-16T00:57:14.000000 | None |
| nova-consoleauth | devstack | internal | enabled | up | 2013-10-16T00:57:07.000000 | None |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+

View File

@ -99,8 +99,8 @@ Before starting a migration, review the Configure migrations section.
example, we will migrate the instance to ``HostC``, because
``nova-compute`` is running on it:
.. list-table:: **nova service-list**
:widths: 20 9 12 11 9 30 24
.. list-table:: **openstack compute service list**
:widths: 20 9 12 11 9 30
:header-rows: 1
* - Binary
@ -109,49 +109,42 @@ Before starting a migration, review the Configure migrations section.
- Status
- State
- Updated_at
- Disabled Reason
* - nova-consoleauth
- HostA
- internal
- enabled
- up
- 2014-03-25T10:33:25.000000
- -
* - nova-scheduler
- HostA
- internal
- enabled
- up
- 2014-03-25T10:33:25.000000
- -
* - nova-conductor
- HostA
- internal
- enabled
- up
- 2014-03-25T10:33:27.000000
- -
* - nova-compute
- HostB
- nova
- enabled
- up
- 2014-03-25T10:33:31.000000
- -
* - nova-compute
- HostC
- nova
- enabled
- up
- 2014-03-25T10:33:31.000000
- -
* - nova-cert
- HostA
- internal
- enabled
- up
- 2014-03-25T10:33:31.000000
- -
#. Check that ``HostC`` has enough resources for migration:

View File

@ -353,11 +353,11 @@ change all flavor types relating to them.
their own internal availability zone
(CONF.internal_service_availability_zone):
- :command:`nova host-list` (os-hosts)
- :command:`openstack host list` (os-hosts)
- :command:`euca-describe-availability-zones verbose`
- :command:`nova service-list`
- :command:`openstack compute service list`
The internal availability zone is hidden in
euca-describe-availability_zones (nonverbose).

View File

@ -335,7 +335,7 @@ no longer available in the cloud—meaning,
.. code-block:: console
$ nova service-list
$ openstack compute service list
showed this particular node in a down state.