[Bug 1782008] Re: Unable to force delete a volume
OpenStack Infra
1782008 at bugs.launchpad.net
Tue Feb 12 12:44:41 UTC 2019
Reviewed: https://review.openstack.org/635616
Committed: https://git.openstack.org/cgit/openstack/charm-cinder/commit/?id=26c0dec5f325c2117ff878c8052a6014771055ec
Submitter: Zuul
Branch: master
commit 26c0dec5f325c2117ff878c8052a6014771055ec
Author: Chris MacNaughton <chris.macnaughton at canonical.com>
Date: Tue Jul 17 10:06:52 2018 +0200
Add policy to allow owner to force delete volumes
The default in cinder is to only allow the admin to
force delete a volume; this change allows the
admin_or_owner to force delete a volume.
This was previously authored by Chris MacNaughton in change
I703a21b68186059a63f0d06d88cd2528e821f3d3
And then reverted in change
I77f9351da8516e5af40fea57400101e6dd16b528
This change includes gating on the OpenStack version.
Change-Id: I35599bae8a94724869a36c555ebfc6bf94384bd4
Co-Authored-By: Chris MacNaughton <chris.macnaughton at canonical.com>
Closes-Bug: #1782008
** Changed in: charm-cinder
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1782008
Title:
Unable to force delete a volume
Status in OpenStack cinder charm:
Fix Committed
Status in OpenStack nova-compute charm:
Invalid
Status in cinder package in Ubuntu:
Invalid
Bug description:
By default, a project user cannot force delete a cinder volume, as may
be necessary if a volume is stuck in a bad state for whatever
reason/malfunction of the underlying cloud or storage.
ex:
A volume is stuck in a 'creating' state.
| 7b3cbee8-fad5-4f35-8c81-c794cdcb494f | juju-404c2e-auto-osci-
sv04-volume-1 | creating | 40 |
|
ubuntu at osci-bastion:~/git/charm-test-infra$ openstack volume delete --force 9efe89e2-6d2e-474d-b570-0657944af8de
Failed to delete volume with name or ID '9efe89e2-6d2e-474d-b570-0657944af8de': Policy doesn't allow volume_extension:volume_admin_actions:force_delete to be performed. (HTTP 403) (Request-ID: req-b97d3bf7-aac9-42a7-89e0-c3e1306b3b04)
1 of 1 volumes failed to delete.
Force deleting as admin succeeds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-cinder/+bug/1782008/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list