Delete for volume 3ee38bf8-9982-4181-a78e-17d522ffd335 failed: Invalid volume: Volume cannot be deleted while migrating (HTTP 400) (Request-ID: req-47552db4-4acc-41b0-96df-79f87a8436c9)
ERROR: Unable to delete any of the specified volumes.
Which is a clear indication that volume can not be deleted as its in migrating state.
HI All,
I tested this bug in r:~/devstack$ openstack --version
stack@controlle
openstack 1.2.0
when a volume is being migrated .. r:~/devstack$ cinder show 3ee38bf8- 9982-4181- a78e-17d522ffd3 35
stack@controlle
+------ ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- --+ ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- --+ 11T15:26: 47.000000 | 9982-4181- a78e-17d522ffd3 35 | host-attr: host | controller@ lvmdriver- 1#GOLD_ BKEND | mig-status- attr:migstat | migrating |>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>> mig-status- attr:name_ id | None | tenant- attr:tenant_ id | eeeb98b1ea5b4ca ca29b515696f53f 62 | replication: driver_ data | None | replication: extended_ status | None | ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- --+
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2015-05-
| display_description | First Test volume |
| display_name | volume1 |
| encrypted | False |
| id | 3ee38bf8-
| metadata | {} |
| multiattach | false |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| os-volume-
| os-volume-
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| volume_type | None |
+------
stack@controlle r:~/devstack$ cinder delete 3ee38bf8- 9982-4181- a78e-17d522ffd3 35
Delete for volume 3ee38bf8- 9982-4181- a78e-17d522ffd3 35 failed: Invalid volume: Volume cannot be deleted while migrating (HTTP 400) (Request-ID: req-47552db4- 4acc-41b0- 96df-79f87a8436 c9)
ERROR: Unable to delete any of the specified volumes.
Which is a clear indication that volume can not be deleted as its in migrating state.
Hence this bug can be closed.