commit 46c4ec1cbdaafd093a99302cf4cf39e8aa1c6715
Author: Alan Bishop <email address hidden>
Date: Thu Mar 15 13:04:46 2018 -0400
Sync snapshot's encryption_key_id with volume's value
Sync the snapshot's encryption_key_id with the volume's value just
prior to updating the snapshot's DB entry. This ensures the snapshot
DB entry isn't out of date in case the volume's encryption_key_id
changed while the snapshot was in flight. The encryption_key_id will
change when keys based on the ConfKeyManager are migrated to Barbican.
Closes-Bug: #1756139
Change-Id: I65abb8dd17de7633828b731d1cf1f2321a6f3e5b
(cherry picked from commit 768c5235239c5207b1a3c6ca0605bbe5ed4a6a8e)
Reviewed: https:/ /review. openstack. org/555909 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=46c4ec1cbda afd093a99302cf4 cf39e8aa1c6715
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 46c4ec1cbdaafd0 93a99302cf4cf39 e8aa1c6715
Author: Alan Bishop <email address hidden>
Date: Thu Mar 15 13:04:46 2018 -0400
Sync snapshot's encryption_key_id with volume's value
Sync the snapshot's encryption_key_id with the volume's value just
prior to updating the snapshot's DB entry. This ensures the snapshot
DB entry isn't out of date in case the volume's encryption_key_id
changed while the snapshot was in flight. The encryption_key_id will
change when keys based on the ConfKeyManager are migrated to Barbican.
Closes-Bug: #1756139 33828b731d1cf1f 2321a6f3e5b 7b1a3c6ca0605bb e5ed4a6a8e)
Change-Id: I65abb8dd17de76
(cherry picked from commit 768c5235239c520