Comment 2 for bug 1756139

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/553495
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=768c5235239c5207b1a3c6ca0605bbe5ed4a6a8e
Submitter: Zuul
Branch: master

commit 768c5235239c5207b1a3c6ca0605bbe5ed4a6a8e
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