]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove error messages from multipath command output before parsing
authortsekiyam <tsekiyam@dhcp47-227.lab.bos.redhat.com>
Tue, 17 Mar 2015 23:59:08 +0000 (19:59 -0400)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 18 Mar 2015 19:10:21 +0000 (19:10 +0000)
commitc93ba4230dd5e4e623cf6317df17deaa562d08c3
tree43a5a89a2b589e4bcd04e578b0df1618d8586498
parentd79e122a5aa3437c94ca81ff4cb508ddd8b1a553
Remove error messages from multipath command output before parsing

This fixes an issue in _get_multipath_device_name() that fails to
parse the output from 'multipath -ll <device>' command when the
stdout contains error messages in addition to the expected output.

Change-Id: I498edd950627daca01eaf6343e6d742440ca4b04
Related-Bug: #1380742
Closes-Bug: #1433202
cinder/brick/initiator/connector.py
cinder/tests/brick/test_brick_connector.py