PureISCSIDriver _connect needs better error handling

Bug #1403631 reported by Danny Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Danny Wilson

Bug Description

During a _connect operation the current driver will fail if a volume is already connected. We should modify this to catch the internal exception and return the correct connection information.

Changed in cinder:
assignee: nobody → Danny Wilson (daniel-wilson)
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/142648

Changed in cinder:
status: New → In Progress
Mike Perez (thingee)
Changed in cinder:
milestone: none → kilo-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/142648
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4da33ea23319b16b8e81ee0413b0c251a444d669
Submitter: Jenkins
Branch: master

commit 4da33ea23319b16b8e81ee0413b0c251a444d669
Author: Daniel Wilson <email address hidden>
Date: Wed Dec 17 12:05:44 2014 -0800

    Add error handling to _connect function in PureISCSIDriver

    The driver was throwing an exception when trying to connect a volume
    to a host when they were already connected. This change catches the
    exception and looks up the existing connection information to use as
    a return value.

    Change-Id: Id0e6b1d3c3cd1e51745e97f99eef88a15e285526
    Closes-Bug: 1403631

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-2 → 2015.1.0
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.