FC attach fails for single WWN
Bug #1214413 reported by
Avishay Traeger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Critical
|
Avishay Traeger | ||
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Avishay Traeger |
Bug Description
When attaching a volume with FC, there are two options in the code for WWNs - list or string:
if isinstance(ports, list):
for wwn in ports:
elif isinstance(ports, str):
Unfortunately when we have a single WWN, it's of type unicode and not string, and therefore 'wwns' is an empty list. This causes the attach to fail.
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → Avishay Traeger (avishay-il) |
Changed in cinder: | |
milestone: | none → havana-3 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-3 → 2013.2 |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/42914
Review: https:/