Description of problem: I have a backup stuck in creating and it cannot be deleted unless it's in error or available state. cinder has reset state for volumes and snapshots but none for backups which means that if the backup create is stuck there is no way of deleting it. Version-Release number of selected component (if applicable): [root@puma31 ~(keystone_admin)]# rpm -qa |grep cinder python-cinderclient-1.0.7-2.el6ost.noarch openstack-cinder-2013.2.1-5.el6ost.noarch python-cinder-2013.2.1-5.el6ost.noarch How reproducible: 100% **please note that someone else created the backup in my setup so I am not sure what the failure was- however, this bug is just about the status change ability** Steps to Reproduce: 1. create a backup and change it's status to creating (directly in db) 2. try to remove the volume 3. Actual results: we cannot delete the backup and do not have ability in cli to reset the backup state. Expected results: we should be able to have a way to reset the state. Additional info: [root@puma31 ~(keystone_admin)]# cinder backup-list +--------------------------------------+--------------------------------------+----------+-------------------+------+--------------+---------------+ | ID | Volume ID | Status | Name | Size | Object Count | Container | +--------------------------------------+--------------------------------------+----------+-------------------+------+--------------+---------------+ | 10987619-2198-447e-8916-d8333c560526 | 8383f459-b58a-492e-840e-48d1be009b9b | creating | Backup-1588937630 | 1 | None | None | | e857a499-97ae-4c15-9bee-1347fd2729a0 | 65c6cac8-f1e4-4b46-9d24-d7f583573170 | error | dafna_backup | 10 | None | volumebackups | +--------------------------------------+--------------------------------------+----------+-------------------+------+--------------+---------------+ [root@puma31 ~(keystone_admin)]# cinder backup-delete e857a499-97ae-4c15-9bee-1347fd2729a0 [root@puma31 ~(keystone_admin)]# cinder backup-delete 10987619-2198-447e-8916-d8333c560526 ERROR: Invalid backup: Backup status must be available or error (HTTP 400) (Request-ID: req-ee302b3f-2d55-4ec6-8e75-18b17fa81be5) [root@puma31 ~(keystone_admin)]# cinder help |grep reset reset-state Explicitly update the state of a volume. snapshot-reset-state
It would be nice to do this through client and this wishlist bug has been filed in upstream bugtracker. I see no benefit of tracking this downstream.