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

Before performing following steps, ensure that volumes are not hosted on the cinder-volume services to be decommissioned.

  1. Identify the host on which the Cinder service has to be removed. Use the below command to list the cinder-volume services:
Bash
Copy
Example
Copy
  1. Ensure the selected host is in disabled status. If it's not, disable it with the below command:
Bash
Copy
Example
Copy
  1. Now to remove the cinder-volume service from a host:
Bash
Copy
Example
Copy
  1. To confirm if the cinder-volume service is removed, use the same command as mentioned in step #1:
Example
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard