Volume retype fails from non-encrypted to encrypted volume type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Confirmed
|
High
|
Unassigned |
Bug Description
Env:
One Devstack with stable/ocata build which has lvm as backend.
Test steps:
1. Create a volume type "lvmdriver-1" with the only driver as backend in extra_spec.
2. Create another volume type "LUKS" with encription using below command:
cinder encryption-
3. Both the volume type must be configured with the same volume_backend_name in extra specs.
3. Create a volume <volume1> with volume type lvmdriver-1.
4. Retype above volume from lvmdriver-1 to LUKS.
Expect result:
The retype should succeed.
Actual result:
Retype failed. Observed below traces in c-vol.log
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
2017-05-03 01:29:45.429 TRACE oslo_messaging.
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |
Changed in cinder: | |
status: | New → Confirmed |
assignee: | nobody → Sofia Enriquez (lsofia-enriquez) |
Changed in cinder: | |
importance: | Undecided → High |
Changed in cinder: | |
assignee: | Sofia Enriquez (lsofia-enriquez) → nobody |
status: | In Progress → Confirmed |
Unassigning due to no activity for > 6 months.