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?
How To Reset OpenStack Volume States
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
OpenStack volumes can be in the following states: "available”, “error”, “creating”, “deleting”, “in-use”, “attaching”, “detaching”, “error_deleting” or “maintenance”.
Sometimes the volumes might be in a state which does not reflect their present condition. For example, a failed live migration might set the volume state to "error". However, you can access and edit the data inside the volume. In such a case, it becomes necessary to reset the volume state to reflect its actual condition.
WARNING: This option simply changes the state of the volume in the database with no regard to actual status, exercise caution when using.
Environment
- Platform9 Managed OpenStack - All Versions.
- python-openstackclient (OpenStack CLI)
- Cinder
Procedure
- These steps can only be run as admin. Source the RC file with the admin credentials.
xxxxxxxxxx$ source [your_rc_file]- Get the UUID of the volume whose status you want to change.

Screen_Shot_2020-01-30_at_10.59.34_AM.png
- Change the status using the following command.
xxxxxxxxxx$ openstack volume set --state [desired_state] [volume_uuid]- Verify if the volume state has changed
xxxxxxxxxx$ openstack volume show [volume_uuid]Additional Information
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