On encrypted volume cloning rekeying doesn't use multipathing

Bug #1951982 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Gorka Eguileor

Bug Description

Cloning of encrypted volumes is not using multipathing when attaching the cloned volume to change the encryption key used on the new volume even when it's configured.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/818994

Changed in cinder:
status: New → In Progress
tags: added: clone encryption multipath rekey
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/818994
Committed: https://opendev.org/openstack/cinder/commit/bf23678fe0f8583f80dc216ecbe645debb044220
Submitter: "Zuul (22348)"
Branch: master

commit bf23678fe0f8583f80dc216ecbe645debb044220
Author: Gorka Eguileor <email address hidden>
Date: Tue Nov 23 17:27:24 2021 +0100

    Honor multipath config everywhere

    There are multiple places in Cinder where the os-brick call to get the
    connector properties is not passing the "multipath" and
    "enforce_multipath" configuration options.

    This means that some driver won't return a multipathed connection
    information on the initialize_connection RPC call, resulting in a single
    pathed attachment even when the os-brick connector is instantiated with
    the right configuration option.

    This patch fixes the different calls where this is an issue:

    - Backup create
    - Backup restore
    - Kaminario create volume from snapshot
    - Kaminario create volume from volume
    - Volume rekeying

    And also in places where this is not affecting operations because
    drivers are always returning multipathed information:

    - Unity driver
    - IBM FlashSystem

    Closes-Bug: #1951982
    Closes-Bug: #1951977
    Closes-Bug: #1951981
    Change-Id: I73ab87b5aaa4835a814389bc1cdd8016d75f52ef

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 21.0.0.0rc1

This issue was fixed in the openstack/cinder 21.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.