@@ -6,55 +6,55 @@ sidebar_label: Nova
6
6
## Disable & enable a compute service
7
7
8
8
```
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
10
10
```
11
11
```
12
12
openstack --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
+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
18
18
```
19
19
20
20
```
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
22
22
```
23
23
24
24
```
25
25
openstack --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
+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+
31
31
```
32
32
33
33
34
34
## Force down & up a compute service
35
35
36
36
```
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
38
38
```
39
39
40
40
```
41
41
openstack --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
+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
47
47
```
48
48
49
49
```
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
51
51
```
52
52
53
53
```
54
54
openstack --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
+ +--------------------------------------+----------------+----------------- +----------+----------+-------+----------------------------+----------------------------------------------------+-------------+
60
60
```
0 commit comments