← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1214413] Re: FC attach fails for single WWN

 

** Changed in: cinder
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1214413

Title:
  FC attach fails for single WWN

Status in Cinder:
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Committed

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:
          wwns.append(wwn)
      elif isinstance(ports, str):
          wwns.append(ports)

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1214413/+subscriptions