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?
Unable to Force Delete Volume Snapshot
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Unable to delete a volume snapshot as it is stuck in the "Creating" state.
# openstack volume snapshot delete [snapshot-uuid]Failed to delete snapshot with name or ID '[snapshot-uuid]': Invalid snapshot: Snapshot status must be available or error and must not be part of a group. (HTTP 400) (Request-ID: [req-id])1 of 1 snapshots failed to delete.Trying to delete the snapshot with the "--force" option throws the following error:
# openstack volume snapshot delete --force [snapshot-uuid]Failed to delete snapshot with name or ID '[snapshot-uuid]': Policy doesn't allow volume_extension:snapshot_admin_actions:force_delete to be performed. (HTTP 403) (Request-ID: [req-id])1 of 1 snapshots failed to delete.Environment
- Platform9 Managed OpenStack - All Versions
- Cinder
Cause
The user account running the commands above is a Self Service user and does not have the admin role associated with the project. This may be verified by an administrator using the following command:
xxxxxxxxxx# openstack role assignment list --user [UUID or USERNAME] --namesSample Output:+----------+--------------------------------+-------+--------------+--------+--------+-----------+| Role | User | Group | Project | Domain | System | Inherited |+----------+--------------------------------+-------+--------------+--------+--------+-----------+| _member_ | user@Default | | PROJ@Default | | | False |+----------+--------------------------------+-------+--------------+--------+--------+-----------+Resolution
- Add the admin role to the account being used to delete the snapshot the following command:
xxxxxxxxxx$ openstack role add --user [USER_NAME] --project [PROJECT_NAME] ROLE_NAME- Run the below command to delete the snapshot using an admin user account or the user with an admin role defined for the project in which the volume resides.
xxxxxxxxxx$ openstack volume snapshot delete [snapshot-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