Parse algorithm from cipher for ephemeral disk encryption
Nova's keymgr implementation used to have default values
for the algorithm and bit length. Castellan does not have
default values, and when Castellan replaced keymgr in
Ib563b0ea4b8b4bc1833bf52bf49a68546c384996, the parameters
to the create_key method were not updated. This change
parses the algorithm from the cipher value and passes it
to Castellan's key manager interface.
Reviewed: https:/ /review. openstack. org/466307 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fcc931f4017 ab4bb830ff64543 1edaa8a18bf880
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit fcc931f4017ab4b b830ff645431eda a8a18bf880
Author: Kaitlin Farr <email address hidden>
Date: Fri Mar 10 18:09:49 2017 -0500
Parse algorithm from cipher for ephemeral disk encryption
Nova's keymgr implementation used to have default values 8b4bc1833bf52bf 49a68546c384996 , the parameters
for the algorithm and bit length. Castellan does not have
default values, and when Castellan replaced keymgr in
Ib563b0ea4b
to the create_key method were not updated. This change
parses the algorithm from the cipher value and passes it
to Castellan's key manager interface.
Conflicts:
nova/ tests/unit/ compute/ test_compute. py
NOTE(mriedem): The conflicts are due to import order changes
in pike for flake8 order checking.
Closes-Bug: #1651887 325be0efe123fcf 12e86252b85 592b0921628480f cf41e0fb4c)
Change-Id: Ib90bc7571aef59
(cherry picked from commit 1d3acad111c5106