@@ -6,55 +6,55 @@ sidebar_label: Nova
66## Disable & enable a compute service
77
88```
9- openstack --os-cloud admin compute service set --disable --description MAINTENANCE com2021 nova-compute
9+ openstack --os-cloud admin compute service set --disable --description MAINTENANCE testbed-node-0 nova-compute
1010```
1111```
1212openstack --os-cloud admin compute service list --long
13- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
14- | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
15- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
16- | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | com2021 | nova | disabled | up | 2023-12-14T14:20:24.000000 | MAINTENANCE | False |
17- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
13+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
14+ | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
15+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
16+ | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | testbed-node-0 | nova | disabled | up | 2023-12-14T14:20:24.000000 | MAINTENANCE | False |
17+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
1818```
1919
2020```
21- openstack --os-cloud admin compute service set --enable com2021 nova-compute
21+ openstack --os-cloud admin compute service set --enable testbed-node-0 nova-compute
2222```
2323
2424```
2525openstack --os-cloud admin compute service list
26- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+
27- | ID | Binary | Host | Zone | Status | State | Updated At |
28- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+
29- | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | com2021 | nova | enabled | up | 2023-12-14T14:22:54.000000 |
30- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+
26+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+
27+ | ID | Binary | Host | Zone | Status | State | Updated At |
28+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+
29+ | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | testbed-node-0 | nova | enabled | up | 2023-12-14T14:22:54.000000 |
30+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+
3131```
3232
3333
3434## Force down & up a compute service
3535
3636```
37- openstack --os-cloud admin --os-compute-api-version 2.12 compute service set --down com2021 nova-compute
37+ openstack --os-cloud admin --os-compute-api-version 2.12 compute service set --down testbed-node-0 nova-compute
3838```
3939
4040```
4141openstack --os-cloud admin compute service list --long
42- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
43- | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
44- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
45- | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | com2021 | nova | disabled | down | 2023-12-14T14:21:47.000000 | None | True |
46- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
42+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
43+ | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
44+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
45+ | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | testbed-node-0 | nova | disabled | down | 2023-12-14T14:21:47.000000 | None | True |
46+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
4747```
4848
4949```
50- openstack --os-cloud admin --os-compute-api-version 2.12 compute service set --up com2021 nova-compute
50+ openstack --os-cloud admin --os-compute-api-version 2.12 compute service set --up testbed-node-0 nova-compute
5151```
5252
5353```
5454openstack --os-cloud admin compute service list --long
55- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
56- | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
57- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
58- | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | com2021 | nova | disabled | up | 2023-12-14T14:20:24.000000 | None | False |
59- +--------------------------------------+----------------+---------------+----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
55+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
56+ | ID | Binary | Host | Zone | Status | State | Updated At | Disabled Reason | Forced Down |
57+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
58+ | b77c5aeb-91c0-4972-84ea-7c8bd5a49fdd | nova-compute | testbed-node-0 | nova | disabled | up | 2023-12-14T14:20:24.000000 | None | False |
59+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
6060```
0 commit comments