-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christian Berendt <[email protected]>
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
sidebar_label: Cinder | ||
sidebar_position: 20 | ||
--- | ||
|
||
# Cinder | ||
|
||
## Remove service | ||
|
||
``` | ||
$ openstack --os-cloud admin volume service list | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
| Binary | Host | Zone | Status | State | Updated At | | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
| cinder-scheduler | testbed-node-0 | internal | enabled | up | 2023-10-01T08:53:14.000000 | | ||
| cinder-scheduler | testbed-node-1 | internal | enabled | up | 2023-10-01T08:53:15.000000 | | ||
| cinder-scheduler | testbed-node-2 | internal | enabled | up | 2023-10-01T08:53:15.000000 | | ||
| cinder-volume | testbed-node-0@rbd-1 | nova | enabled | down | 2023-09-30T18:50:05.000000 | | ||
| cinder-volume | testbed-node-2@rbd-1 | nova | enabled | down | 2023-09-30T18:50:05.000000 | | ||
| cinder-volume | testbed-node-1@rbd-1 | nova | enabled | down | 2023-09-30T18:50:08.000000 | | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
``` | ||
|
||
``` | ||
$ docker exec -it cinder_api cinder-manage service remove cinder-volume testbed-node-0@rbd-1 | ||
Service cinder-volume on host testbed-node-0@rbd-1 removed. | ||
$ docker exec -it cinder_api cinder-manage service remove cinder-volume testbed-node-1@rbd-1 | ||
Service cinder-volume on host testbed-node-1@rbd-1 removed. | ||
$ docker exec -it cinder_api cinder-manage service remove cinder-volume testbed-node-2@rbd-1 | ||
Service cinder-volume on host testbed-node-2@rbd-1 removed. | ||
``` | ||
|
||
``` | ||
dragon@mgr001:~$ openstack --os-cloud admin volume service list | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
| Binary | Host | Zone | Status | State | Updated At | | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
| cinder-scheduler | testbed-node-0 | internal | enabled | up | 2023-10-01T08:56:24.000000 | | ||
| cinder-scheduler | testbed-node-1 | internal | enabled | up | 2023-10-01T08:56:25.000000 | | ||
| cinder-scheduler | testbed-node-2 | internal | enabled | up | 2023-10-01T08:56:25.000000 | | ||
+------------------+-----------------------------------+----------+---------+-------+----------------------------+ | ||
``` |