Deleting Cinder Service From Host
Problem
How to delete the stale cinder-volume service if the host no longer exist?
Environment
Platform9 Managed OpenStack - All Versions
Cinder
Procedure
Identify the host on which the Cinder service has to be removed. Use the below command to list the cinder-volume services:
openstack volume service list --service cinder-volume# openstack volume service list --service cinder-volume
+---------------+------------------------+------+----------+-------+----------------------------+
| Binary | Host | Zone | Status | State | Updated At |
+---------------+------------------------+------+----------+-------+----------------------------+
| cinder-volume | <UUID>@netapp_std1 | nova | enabled | down | <TimeStamp> |
[...]
| cinder-volume | <UUID>@netapp_std2 | nova | enabled | up | <TimeStamp> |
+---------------+------------------------+------+----------+-------+----------------------------+Ensure the selected host is in disabled status. If it's not, disable it with the below command:
Now to remove the cinder-volume service from a host:
To confirm if the cinder-volume service is removed, use the same command as mentioned in step #1:
Last updated
