Cross AZ migration leaves volume with wrong AZ

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

Bug Description

When we migrate, or retype with migration, a volume between availability zones we are setting the AZ of the migrated volume to the same AZ as the source volume, so we end up with a volume where the AZ does not match the backend's AZ.

Gorka Eguileor (gorka)
Changed in cinder:
assignee: nobody → Gorka Eguileor (gorka)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/541779

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit fb8085894b69f56091bde19683a919cb15d502cc
Author: Gorka Eguileor <email address hidden>
Date: Wed Feb 7 17:07:47 2018 +0100

    Fix AZ not matching backend after migration

    When we migrate, or retype with migration, a volume between availability
    zones we are setting the AZ of the migrated volume to the same AZ as the
    source volume, so we end up with a volume where the AZ does not match
    the backend's AZ.

    This patch fixes this issue for the generic migration code as well as
    the optimized driver migration.

    Change-Id: Ia1bf3ae0b7cd6d209354024848aef6029179d8e4
    Closes-Bug: #1747949

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/550775

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

Reviewed: https://review.openstack.org/550775
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=c2df706c023d752825c250c4ceb2f98f5ce5a476
Submitter: Zuul
Branch: stable/queens

commit c2df706c023d752825c250c4ceb2f98f5ce5a476
Author: Gorka Eguileor <email address hidden>
Date: Wed Feb 7 17:07:47 2018 +0100

    Fix AZ not matching backend after migration

    When we migrate, or retype with migration, a volume between availability
    zones we are setting the AZ of the migrated volume to the same AZ as the
    source volume, so we end up with a volume where the AZ does not match
    the backend's AZ.

    This patch fixes this issue for the generic migration code as well as
    the optimized driver migration.

    Change-Id: Ia1bf3ae0b7cd6d209354024848aef6029179d8e4
    Closes-Bug: #1747949
    (cherry picked from commit fb8085894b69f56091bde19683a919cb15d502cc)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b1

This issue was fixed in the openstack/cinder 13.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.1

This issue was fixed in the openstack/cinder 12.0.1 release.

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/639346

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

Reviewed: https://review.openstack.org/639346
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=056281d1079deca7a1e7d5343eb0a7cdd691a859
Submitter: Zuul
Branch: stable/pike

commit 056281d1079deca7a1e7d5343eb0a7cdd691a859
Author: Gorka Eguileor <email address hidden>
Date: Wed Feb 7 17:07:47 2018 +0100

    Fix AZ not matching backend after migration

    When we migrate, or retype with migration, a volume between availability
    zones we are setting the AZ of the migrated volume to the same AZ as the
    source volume, so we end up with a volume where the AZ does not match
    the backend's AZ.

    This patch fixes this issue for the generic migration code as well as
    the optimized driver migration.

    Change-Id: Ia1bf3ae0b7cd6d209354024848aef6029179d8e4
    Closes-Bug: #1747949
    (cherry picked from commit fb8085894b69f56091bde19683a919cb15d502cc)
    (cherry picked from commit c2df706c023d752825c250c4ceb2f98f5ce5a476)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.2.1

This issue was fixed in the openstack/cinder 11.2.1 release.

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.