Currently, when creating an encrypted volume from an image, Cinder
writes raw data to the encrypted volume. When Cinder uploads an
encrypted volume to an image, it writes encrypted data to the image.
As a result, Nova cannot use these images or volumes.
To fix above problem, cinder needs to add encryptor attach/detach
layers.
As both Nova and Cinder needs to use the module, the fix is to
move it to os-brick.
It copies encryptors from Nova to os-brick, and keep all interfaces
unchanged except initialization.
Reviewed: https:/ /review. openstack. org/247372 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=05827810ca9 31dafafd19fa4e9 5143fbede1a3dc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 05827810ca931da fafd19fa4e95143 fbede1a3dc
Author: LisaLi <email address hidden>
Date: Thu Nov 19 08:55:36 2015 +0000
Copy encryptors from Nova to os-brick
Currently, when creating an encrypted volume from an image, Cinder
writes raw data to the encrypted volume. When Cinder uploads an
encrypted volume to an image, it writes encrypted data to the image.
As a result, Nova cannot use these images or volumes.
To fix above problem, cinder needs to add encryptor attach/detach
layers.
As both Nova and Cinder needs to use the module, the fix is to
move it to os-brick.
It copies encryptors from Nova to os-brick, and keep all interfaces
unchanged except initialization.
Change-Id: I8044183ad02110 c8b2468e20327d8 22c0437c772 encrypted- volume
Implements: blueprint improve-
Related-bug: #1482464
Related-bug: #1465656