Migrating an attached read-only volume turns it into read-write

Bug #1802155 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 read-only volume, we end up with a read-write volume after the migration, as mentioned in bug https://bugs.launchpad.net/cinder/+bug/1782714.

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/616271

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/616271
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9f95ae9dc27dbf08961fdf03570d1b5d2bf95833
Submitter: Zuul
Branch: master

commit 9f95ae9dc27dbf08961fdf03570d1b5d2bf95833
Author: Gorka Eguileor <email address hidden>
Date: Wed Nov 7 19:37:01 2018 +0100

    Set right attach mode after migration

    When migrating attached volumes we are assuming they are always in "rw" mode,
    which means that a "ro" attached volume will end up as "rw" after a
    migration.

    Closes-Bug: #1802155
    Change-Id: I374df5d294587e0e91a10525b08ea1a5911c35a1

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

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

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/646687

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

Reviewed: https://review.openstack.org/646687
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=aa733565960635f5cc69ba7e70dda71c888ee678
Submitter: Zuul
Branch: stable/rocky

commit aa733565960635f5cc69ba7e70dda71c888ee678
Author: Gorka Eguileor <email address hidden>
Date: Wed Nov 7 19:37:01 2018 +0100

    Set right attach mode after migration

    When migrating attached volumes we are assuming they are always in "rw" mode,
    which means that a "ro" attached volume will end up as "rw" after a
    migration.

    Closes-Bug: #1802155
    Change-Id: I374df5d294587e0e91a10525b08ea1a5911c35a1
    (cherry picked from commit 9f95ae9dc27dbf08961fdf03570d1b5d2bf95833)

tags: added: in-stable-rocky
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/647975

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

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

commit 5d477dd1173407f2c39fd507b4707598fb100f72
Author: Gorka Eguileor <email address hidden>
Date: Wed Nov 7 19:37:01 2018 +0100

    Set right attach mode after migration

    When migrating attached volumes we are assuming they are always in "rw" mode,
    which means that a "ro" attached volume will end up as "rw" after a
    migration.

    Closes-Bug: #1802155
    Change-Id: I374df5d294587e0e91a10525b08ea1a5911c35a1
    (cherry picked from commit 9f95ae9dc27dbf08961fdf03570d1b5d2bf95833)
    (cherry picked from commit aa733565960635f5cc69ba7e70dda71c888ee678)

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

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

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

This issue was fixed in the openstack/cinder 12.0.7 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.