Cannot retype the volume that was created from a snapshot.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
In Progress
|
High
|
Michael Dovgal |
Bug Description
Detailed bug description:
The volume created from a snapshot that was removed after creation of the volume cannot be migrated to another cinder backend.
Steps to reproduce:
Detailed way to reproduce this bug is in the attached file. Here is a short description:
1. install MOS with one controller/cinder node and another compute node
2. make two cinder LVM-based backends and create two cinder types appropriately
3. create a volume in the first backend
4. make a snapshot of this volume
5. make a volume fom the snapshot
6. delete the snapshot
7. try retyping the volume using "cinder retype" command
Expected results:
volume migrates to another backend
Actual result:
volume stays located on the original backend
2017-04-13 09:31:52.871 31680 ERROR oslo_messaging.
Log file is attached
Workaround:
Don't know yet
Impact:
Volumes cannot be migrated to another backend
Description of the environment:
MOS 9.0
ii cinder-api 2:8.1.0-
ii cinder-backup 2:8.1.0-
ii cinder-common 2:8.1.0-
ii cinder-scheduler 2:8.1.0-
ii cinder-volume 2:8.1.0-
ii python-cinder 2:8.1.0-
ii python-cinderclient 1:1.6.0-
MOS 9.2
iU cinder-api 2:8.1.1-
iU cinder-backup 2:8.1.1-
iF cinder-common 2:8.1.1-
iU cinder-scheduler 2:8.1.1-
iU cinder-volume 2:8.1.1-
ii python-cinder 2:8.1.1-
ii python-cinderclient 1:1.6.0-
Additional information:
The cinder volume that was created from a snapshot has a snapshot ID set. When a snapshot is removed, this field is not updated. I think that this is the reason why I cannot migrate the volume using "cinder retype" operation from one cinder backend to another.
Changed in mos: | |
assignee: | nobody → MOS Cinder (mos-cinder) |
Changed in mos: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mos: | |
assignee: | MOS Cinder (mos-cinder) → Michael Dovgal (mdovgal) |
Please find the part of a cinder-volume.log file attached