If iscsi_use_multipath=True is specified in nova.conf, a volume is attached to instances using "multipath -l" or "multipath -ll" command in order to find the multipath device. However, in some configuration, "multipath -l" command may report an error like below:
# multipath -l
Mar 17 12:31:18 | sda: No fc_host device for 'host-1'
mpathb (360000000000000000e00000000010001) dm-4 IET ,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=0 status=active
| `- 2:0:0:1 sda 8:0 active undef running
`-+- policy='service-time 0' prio=0 status=enabled
`- 3:0:0:1 sdb 8:16 active undef running
Current multipath parser implementation in Nova cannot recognize this warning message and regards "Mar" a valid multipath device name. As a result, the volume cannot be attached to instances correctly.
Fix proposed to branch: master /review. openstack. org/165560
Review: https:/