iSCSI single path attach fails on slow WWN sysfs population
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
Under some circumstances we fail to attach a single pathed device but succeed if we do it multipathed.
We see the following error:
2019-06-27 09:51:56.295 24133 ERROR cinder os_brick.
The reason for the failure is that even when the device is attached we cannot find the WWN on the sysfs in time, as the following 2 log entries show:
2019-06-27 09:50:27.815 24133 DEBUG os_brick.
2019-06-27 09:50:37.831 24133 DEBUG os_brick.
The reason why this doesn't fail when using multipath is because it is more tolerant and will not fail in this case. It will just return an empty string:
2019-06-27 09:27:35.445 19066 WARNING os_brick.
2019-06-27 09:27:35.447 19066 DEBUG os_brick.
(The path is not a multipath DM because multipathd didn't see the WWN yet either, so it couldn't form the DM yet).
Fix proposed to branch: master /review. opendev. org/667830
Review: https:/