BrcdFCSanLookupService doesn't handle more than 1 switch

Bug #1303460 reported by Xing Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Angela Smith

Bug Description

In BrcdFCSanLookupService::get_device_mapping_from_network, there's a loop that loops through fabrics and finds visible targets and initiators. The SSH client connection was closed prematurally during the 1st loop.

finally:
    self.close_connection()

As a result, we can't communicate with the name server for the 2nd switch.

Xing Yang (xing-yang)
Changed in cinder:
assignee: nobody → Santhoshkumar Kolathur (skolathu)
Mike Perez (thingee)
tags: added: brocade fibrechannel
Xing Yang (xing-yang)
Changed in cinder:
importance: Undecided → Critical
Changed in cinder:
milestone: none → juno-2
Changed in cinder:
assignee: Santhoshkumar Kolathur (skolathu) → Angela Smith (aallen-m)
status: New → In Progress
Revision history for this message
Angela Smith (aallen-m) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/102599
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=0f7dba831dbab107b486f00d5b57f91d28994da0
Submitter: Jenkins
Branch: master

commit 0f7dba831dbab107b486f00d5b57f91d28994da0
Author: Angela Smith <email address hidden>
Date: Wed Jun 25 11:22:27 2014 -0700

    Fix BrcdFCSANlookupService to iterate multiple switches.

    Changed close_connection to client.close_connection.
    Fixed return map to key on fabric name instead of principal switch wwn.

    Closes-Bug: 1303460
    Change-Id: I3725c16cd416a028b85ac8ac6c0d895fd6900763

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
importance: Critical → Medium
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-2 → 2014.2
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.