[Openstack] Cinder suggestion on adding delay to connector.py ....

Remo Mattei remo at italy1.com
Fri Apr 25 16:20:51 UTC 2014


Hello all, 

I have seen an issue where multipath was not able to execute some drive adding, two identical openstack but one is using a faster computer and even though it is finding the LUN but it cannot complete here is the example:

2014-04-25 05:09:26.983 12657 DEBUG cinder.openstack.common.processutils [req-0dca66c4-3997-4cb5-b942-454b1de7880f 88c8ec5a4fb34de1bc5fac8aa42befa7 525c7ad0b5184ce4b64dc8e02e9c74d0] Result was 1 execute /usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py:167
2014-04-25 05:09:26.983 12657 ERROR cinder.brick.initiator.connector [req-0dca66c4-3997-4cb5-b942-454b1de7880f 88c8ec5a4fb34de1bc5fac8aa42befa7 525c7ad0b5184ce4b64dc8e02e9c74d0] Failed to access the device on the path /dev/disk/by-path/pci-0000:42:00.0-fc-0x21000024ff577bf0-lun-10: /bin/dd: reading `/dev/disk/by-path/pci-0000:42:00.0-fc-0x21000024ff577bf0-lun-10': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00296139 s, 0.0 kB/s  

This is using violin, 

here is the slower env which completes fine. 

2014-04-25 01:40:19.194 22412 DEBUG cinder.brick.initiator.connector [req-d98bb996-f3f5-4708-9709-976d0c532261 f41929f4f03c499aa3401a152c05a565 ff015d386f504a8f88a3872219d9bd87] Multipath device discovered /dev/dm-13 connect_volume /usr/lib/python2.6/site-packages/cinder/brick/initiator/connector.py:645
2014-04-25 01:40:19.194 22412 DEBUG cinder.openstack.common.processutils [req-d98bb996-f3f5-4708-9709-976d0c532261 f41929f4f03c499aa3401a152c05a565 ff015d386f504a8f88a3872219d9bd87] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf dd if=/dev/dm-13 of=/dev/null count=1 execute /usr/lib/python2.6/site-packages/cinder/openstack/common/processutils.py:142

Thanks, 



More information about the Openstack mailing list