Cannot set attach_mode when attaching

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

Bug Description

attach_mode cannot be set when connecting or attaching a volume
because the "Connection.connect" method is blindly using
"attach_mode='rw'".

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

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

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

Reviewed: https://review.opendev.org/643016
Committed: https://git.openstack.org/cgit/openstack/cinderlib/commit/?id=1e52ad632fb863eb93cc4208ffff3ae338328872
Submitter: Zuul
Branch: master

commit 1e52ad632fb863eb93cc4208ffff3ae338328872
Author: Gorka Eguileor <email address hidden>
Date: Tue Mar 12 12:48:07 2019 +0100

    Support setting attach_mode

    We cannot set the attach_mode when connecting or attaching a volume
    because the "Connection.connect" method is blindly using
    "attach_mode='rw'".

    This patch makes it possible to pass the "attach_mode" to both the
    volume attach and the volume connect operation. Setting the
    "access_mode" in the connection info, like Cinder does.

    Closes-Bug: #1819706
    Change-Id: Ie1e82d52ca5f8f1be1249756963f72d545a26288

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

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