After migrate volume to 3PAR between different backends, fails to find and delete original volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
After you migrate a volume to a 3PAR between different backends, the original volume can then not be found and deleted by the driver. Because update_
1. Create volume on 3par (SSD):
openstack volume create --size 8 --type SSD TEST
+------
| Field | Value |
+------
| attachments | [] |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2020-07-
| description | None |
| encrypted | False |
| id | 65391c97-
| migration_status | None |
| multiattach | False |
| name | TEST |
| properties | |
| replication_status | None |
| size | 8 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | SSD |
| updated_at | None |
| user_id | cf90b6beffd344c
+------
2. Retype volume
cinder retype --migration-policy on-demand TEST HDD
3. Show log
2020-07-28 17:53:26.466 46790 INFO cinder.
2020-07-28 17:53:26.753 46791 INFO cinder.
2020-07-28 17:53:26.754 46791 INFO cinder.
2020-07-28 17:53:26.970 46791 WARNING cinder.
4. Show VV on new 3par (HDD) backend:
cli%showvv osv-ZTkcl7weSre
Id Name Prov Compr Dedup Type CopyOf BsId Rd -Detailed_State- Snp Usr VSize
1623 osv-ZTkcl7weSre
-------
1 total 1024 1024 8192
5. Show VV on old 3par (SSD) backend:
cli% showvv osv-ZTkcl7weSre
Id Name Prov Compr Dedup Type CopyOf BsId Rd -Detailed_State- Snp Usr VSize
377 osv-ZTkcl7weSre
-------
1 total 1024 1024 8192
This looks the same as this bug, which was recently fixed:
https:/ /bugs.launchpad .net/cinder/ +bug/1697422
Can you confirm which version of the code you are using?