FC attach fails to find multipath devices

Bug #1184861 reported by Patrick Schaefer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Patrick Schaefer

Bug Description

For FC attached volumes from IBM SVC or DS8000 subsystems the existing code to find the corresponding multipath devices fails with an error.
This is caused by a different output format of the multpath command which is not parsed correctly.

An example output of 'multipath -l' would be:

36005076da00638089c000000000004cf dm-2 IBM,2145
size=954M features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=-1 status=active
| |- 6:0:0:0 sdc 8:32 active undef running
| |- 6:0:4:0 sdg 8:96 active undef running
| |- 6:0:2:0 sde 8:64 active undef running
| `- 6:0:6:0 sdi 8:128 active undef running
`-+- policy='round-robin 0' prio=-1 status=enabled
  |- 6:0:1:0 sdd 8:48 active undef running
  |- 6:0:5:0 sdh 8:112 active undef running
  |- 6:0:3:0 sdf 8:80 active undef running
  `- 6:0:7:0 sdj 8:144 active undef running

This issue exists in the Grizzly release of Nova (2013.1)

affects: nova → ubuntu
Changed in ubuntu:
assignee: nobody → Patrick Schaefer (pschaef)
status: New → In Progress
description: updated
affects: ubuntu → nova
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/30754
Committed: http://github.com/openstack/nova/commit/d93e466857f75073b243fea9901ea21b77753485
Submitter: Jenkins
Branch: master

commit d93e466857f75073b243fea9901ea21b77753485
Author: Patrick Schaefer <email address hidden>
Date: Tue May 28 17:44:15 2013 +0200

    Enhance multipath parsing

    The output of the multipath command is not always parseable from
    the current implementation. This causes attach to fail.

    Fixes Bug: #1184861

    Change-Id: I1afa96a695b1008672226e7e76eb8e0feca52578

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.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.