Move DM crypt setup code to brick

Registered by Duncan Thomas on 2015-11-26

Cinder needs to be able to create encrypted volumes in order to do create from image or retype. Rather than duplicating the nova dm crypt code, it makes sense to move it into os-brick and call the same code from cinder and nova.

Note that this does not propose altering the setup code inside nova, since that will impede other work to move encryption inside KVM for guests.

Blueprint information

Status:
Not started
Approver:
John Garbutt
Priority:
Low
Drafter:
Duncan Thomas
Direction:
Needs approval
Assignee:
Lisa Li
Definition:
Pending Approval
Series goal:
None
Implementation:
Not started
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

Approved after standard review period. --johnthetubaguy 20151202

As there is no code up for review, removing this blueprint from mitaka, as part of the non-priority Feature Freeze. For more details please see: http://docs.openstack.org/developer/nova/process.html --johnthetubaguy 2015.01.15

Lisa -- 2016-5-18
Copy encryptors from Nova to os-brick: https://review.openstack.org/#/c/247372/

Gerrit topic: https://review.openstack.org/#q,topic:bp/dm-crypt-to-brick,n,z

Addressed by: https://review.openstack.org/326788
    Use os-brick encryptors

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.