Public bug reported: When using Ceph as the back end storage a snapshot of a volume is dependent upon the original volume meaning it is an illegal operation to delete the volume without first deleting the snapshot.
Should you try and delete such a volume horizon {kilo} reports back the error "Error: You are not allowed to delete volume:" - This error message is confusing and leaves the end user unsure why the volume can not be removed. I think we should handle this by better checking what cinder API reports back and displaying a more user friendly error message. The below is an example of the error that comes back from cinder, passing this up in horizon would be very helpful. $ cinder delete 34feea60-fb50-4fbe-8136-885f5553a8a8 Delete for volume 34feea60-fb50-4fbe-8136-885f5553a8a8 failed: Invalid volume: Volume still has 1 dependent snapshots. (HTTP 400) (Request-ID: req-320be24f-ce7a-4a79-9d6f-9166821c42e9) ERROR: Unable to delete any of specified volumes. $ ** Affects: horizon Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1502876 Title: Error: You are not allowed to delete volume: $X Status in OpenStack Dashboard (Horizon): New Bug description: When using Ceph as the back end storage a snapshot of a volume is dependent upon the original volume meaning it is an illegal operation to delete the volume without first deleting the snapshot. Should you try and delete such a volume horizon {kilo} reports back the error "Error: You are not allowed to delete volume:" - This error message is confusing and leaves the end user unsure why the volume can not be removed. I think we should handle this by better checking what cinder API reports back and displaying a more user friendly error message. The below is an example of the error that comes back from cinder, passing this up in horizon would be very helpful. $ cinder delete 34feea60-fb50-4fbe-8136-885f5553a8a8 Delete for volume 34feea60-fb50-4fbe-8136-885f5553a8a8 failed: Invalid volume: Volume still has 1 dependent snapshots. (HTTP 400) (Request-ID: req-320be24f-ce7a-4a79-9d6f-9166821c42e9) ERROR: Unable to delete any of specified volumes. $ To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1502876/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp