compute service

Compute v2

compute service delete

Delete compute service(s)

openstack compute service delete
    <service> [<service> ...]
<service>

Compute service(s) to delete (ID only)

compute service list

List compute services

openstack compute service list
    [--host <host>]
    [--service <service>]
    [--long]
--host <host>

List services on specified host (name only)

--service <service>

List only specified service binaries (name only). For example, nova-compute, nova-conductor, etc.

--long

List additional fields in output

compute service set

Set compute service properties

openstack compute service set
    [--enable | --disable]
    [--disable-reason <reason>]
    [--up | --down]
    <host> <service>
--enable

Enable service

--disable

Disable service

--disable-reason <reason>

Reason for disabling the service (in quotes). Should be used with --disable option.

--up

Force up service. Requires --os-compute-api-version 2.11 or greater.

--down

Force down service. . Requires --os-compute-api-version 2.11 or greater.

<host>

Name of host

<service>

Name of service (Binary name), for example nova-compute