2015-10-06 22:12:44 -05:00
|
|
|
===============
|
|
|
|
compute service
|
|
|
|
===============
|
|
|
|
|
|
|
|
Compute v2
|
|
|
|
|
|
|
|
compute service delete
|
|
|
|
----------------------
|
|
|
|
|
2016-06-27 15:27:34 +08:00
|
|
|
Delete compute service(s)
|
2015-10-06 22:12:44 -05:00
|
|
|
|
|
|
|
.. program:: compute service delete
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:03:29 +08:00
|
|
|
openstack compute service delete
|
2016-06-27 11:04:05 +08:00
|
|
|
<service> [<service> ...]
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-12-19 17:23:35 +08:00
|
|
|
.. _compute_service_delete-service:
|
2015-10-06 22:12:44 -05:00
|
|
|
.. describe:: <service>
|
|
|
|
|
2019-07-25 14:28:43 -04:00
|
|
|
Compute service(s) to delete (ID only). If using
|
|
|
|
``--os-compute-api-version`` 2.53 or greater, the ID is a UUID which can
|
|
|
|
be retrieved by listing compute services using the same 2.53+ microversion.
|
2015-10-06 22:12:44 -05:00
|
|
|
|
|
|
|
compute service list
|
|
|
|
--------------------
|
|
|
|
|
2016-06-27 15:27:34 +08:00
|
|
|
List compute services
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2019-07-25 14:28:43 -04:00
|
|
|
Using ``--os-compute-api-version`` 2.53 or greater will return the ID as a
|
|
|
|
UUID value which can be used to uniquely identify the service in a multi-cell
|
|
|
|
deployment.
|
|
|
|
|
2015-10-06 22:12:44 -05:00
|
|
|
.. program:: compute service list
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:03:29 +08:00
|
|
|
openstack compute service list
|
2015-10-06 22:12:44 -05:00
|
|
|
[--host <host>]
|
|
|
|
[--service <service>]
|
2016-03-14 18:07:23 +08:00
|
|
|
[--long]
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-03-30 13:23:37 +05:30
|
|
|
.. option:: --host <host>
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-03-14 16:53:51 +08:00
|
|
|
List services on specified host (name only)
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-03-30 13:23:37 +05:30
|
|
|
.. option:: --service <service>
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2019-07-01 15:06:56 -04:00
|
|
|
List only specified service binaries (name only). For example,
|
|
|
|
``nova-compute``, ``nova-conductor``, etc.
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-03-30 13:23:37 +05:30
|
|
|
.. option:: --long
|
2016-03-14 18:07:23 +08:00
|
|
|
|
|
|
|
List additional fields in output
|
|
|
|
|
2015-10-06 22:12:44 -05:00
|
|
|
compute service set
|
|
|
|
-------------------
|
|
|
|
|
2016-06-27 15:27:34 +08:00
|
|
|
Set compute service properties
|
2015-10-06 22:12:44 -05:00
|
|
|
|
|
|
|
.. program:: compute service set
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:03:29 +08:00
|
|
|
openstack compute service set
|
2015-10-06 22:12:44 -05:00
|
|
|
[--enable | --disable]
|
2016-02-22 13:38:44 +08:00
|
|
|
[--disable-reason <reason>]
|
2016-06-06 17:51:56 +08:00
|
|
|
[--up | --down]
|
2015-10-06 22:12:44 -05:00
|
|
|
<host> <service>
|
|
|
|
|
2016-02-22 13:38:44 +08:00
|
|
|
.. option:: --enable
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-05-25 11:12:57 +08:00
|
|
|
Enable service
|
2015-10-06 22:12:44 -05:00
|
|
|
|
2016-02-22 13:38:44 +08:00
|
|
|
.. option:: --disable
|
2015-10-06 22:12:44 -05:00
|
|
|
|
|
|
|
Disable service
|
|
|
|
|
2016-02-22 13:38:44 +08:00
|
|
|
.. option:: --disable-reason <reason>
|
|
|
|
|
2016-12-19 17:23:35 +08:00
|
|
|
Reason for disabling the service (in quotes). Should be used with :option:`--disable` option.
|
2016-02-22 13:38:44 +08:00
|
|
|
|
2016-06-06 17:51:56 +08:00
|
|
|
.. option:: --up
|
|
|
|
|
2019-07-24 12:03:01 -04:00
|
|
|
Force up service. Requires ``--os-compute-api-version`` 2.11 or greater.
|
2016-06-06 17:51:56 +08:00
|
|
|
|
|
|
|
.. option:: --down
|
|
|
|
|
2019-07-24 12:03:01 -04:00
|
|
|
Force down service. . Requires ``--os-compute-api-version`` 2.11 or
|
|
|
|
greater.
|
2016-06-06 17:51:56 +08:00
|
|
|
|
2016-12-19 17:23:35 +08:00
|
|
|
.. _compute_service_set-host:
|
2015-10-06 22:12:44 -05:00
|
|
|
.. describe:: <host>
|
|
|
|
|
|
|
|
Name of host
|
|
|
|
|
|
|
|
.. describe:: <service>
|
|
|
|
|
2019-07-01 15:06:56 -04:00
|
|
|
Name of service (Binary name), for example ``nova-compute``
|