Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Deleting Cinder Service From Host
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
How to delete the stale cinder-volume service if the host no longer exist?
Environment
- Platform9 Managed OpenStack - All Versions
- Cinder
Procedure
Before performing following steps, ensure that volumes are not hosted on the cinder-volume services to be decommissioned.
- Identify the host on which the Cinder service has to be removed. Use the below command to list the cinder-volume services:
Bash
xxxxxxxxxxopenstack volume service list --service cinder-volumeExample
xxxxxxxxxx# 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:
Bash
xxxxxxxxxxopenstack volume service set --disable <HostUUID> <service>Example
xxxxxxxxxx# openstack volume service set --disable <UUID>@netapp_std1 cinder-volume# openstack volume service list --service cinder-volume+---------------+------------------------+------+----------+-------+----------------------------+| Binary | Host | Zone | Status | State | Updated At |+---------------+------------------------+------+----------+-------+----------------------------+| cinder-volume | <UUID>@netapp_std1 | nova | disabled | down | <TimeStamp> |[...]| cinder-volume | <UUID>@netapp_std2 | nova | enabled | up | <TimeStamp> |+---------------+------------------------+------+----------+-------+----------------------------+- Now to remove the cinder-volume service from a host:
Bash
xxxxxxxxxxcinder-manage service remove <service> <host>Example
xxxxxxxxxx# cinder-manage service remove cinder-volume <UUID>@netapp_std1Service cinder-volume on host <UUID>@netapp_std1 removed.- To confirm if the cinder-volume service is removed, use the same command as mentioned in step #1:
Example
xxxxxxxxxx# openstack volume service list --service cinder-volume+---------------+------------------------+------+----------+-------+----------------------------+| Binary | Host | Zone | Status | State | Updated At |+---------------+------------------------+------+----------+-------+----------------------------+| cinder-volume | <UUID>@netapp_std2 | nova | enabled | up | <TimeStamp> |[...]+---------------+------------------------+------+----------+-------+----------------------------+VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message