<div dir="ltr">after exploring with iscsiadm commands and referring this commit ( <a href="https://review.openstack.org/gitweb?p=openstack/ironic.git;a=commitdiff;h=235641fc4c0bb2864bc9b97553865dac3c4b6b1d">https://review.openstack.org/gitweb?p=openstack/ironic.git;a=commitdiff;h=235641fc4c0bb2864bc9b97553865dac3c4b6b1d</a> )<br><br>i listed device by its path which i guess ironic is doing and failing but i am able to list the device by path and is showing block device.<br><br><br><br><div>ls -la /dev/disk/by-path/ip*<br><br></div><div>lrwxrwxrwx 1 root root 9 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1 -> ../../sda</div><div>lrwxrwxrwx 1 root root 10 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1-part1 -> ../../sda1</div><div>lrwxrwxrwx 1 root root 10 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1-part2 -> ../../sda2</div><div>lrwxrwxrwx 1 root root 10 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1-part3 -> ../../sda3</div><div>lrwxrwxrwx 1 root root 10 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1-part4 -> ../../sda4</div><div>lrwxrwxrwx 1 root root 10 Oct 25 05:27 /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1-part5 -> ../../sda5</div><br><br><br><div> file /dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1</div><div><br></div><div>/dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1: symbolic link to `../../sda'</div><div><br></div><div><br></div><div>root@ironic:~# file /dev/sda</div><div>/dev/sda: block special<br><br><br>any idea whats wrong here</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 25, 2016 at 1:34 AM, kevin parrikar <span dir="ltr"><<a href="mailto:kevin.parker092@gmail.com" target="_blank">kevin.parker092@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi,<div>Anybody has any idea on this error:<br><br><br> Error: iSCSI connection was not seen by the file system after attempting to verify 3 times.<br><br><br><br>Ironic Conductor Log:<br><br><div>2016-10-24 19:55:03.051 27154 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -S execute /usr/lib/python2.7/dist-<wbr>packages/oslo_concurrency/<wbr>processutils.py:297</div><div>2016-10-24 19:55:03.113 27154 DEBUG oslo_concurrency.processutils [-] CMD "sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -S" returned: 0 in 0.062s execute /usr/lib/python2.7/dist-<wbr>packages/oslo_concurrency/<wbr>processutils.py:327</div><div>2016-10-24 19:55:03.114 27154 DEBUG ironic.common.utils [-] Execution completed, command line is "iscsiadm -m node -S" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:88</div><div>2016-10-24 19:55:03.115 27154 DEBUG ironic.common.utils [-] Command stdout is: "<a href="http://192.168.3.73:3260" target="_blank">192.168.3.73:3260</a>,1 iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4</div><div><a href="http://192.168.3.74:3260" target="_blank">192.168.3.74:3260</a>,1 iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4</div><div>" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:89</div><div>2016-10-24 19:55:03.115 27154 DEBUG ironic.common.utils [-] Command stderr is: "" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:90</div><div>2016-10-24 19:55:03.116 27154 DEBUG ironic.drivers.modules.deploy_<wbr>utils [-] Re-reading iSCSI luns. force_iscsi_lun_update /usr/lib/python2.7/dist-<wbr>packages/ironic/drivers/<wbr>modules/deploy_utils.py:194</div><div>2016-10-24 19:55:03.117 27154 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -T iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4 -R execute /usr/lib/python2.7/dist-<wbr>packages/oslo_concurrency/<wbr>processutils.py:297</div><div>2016-10-24 19:55:03.175 27154 DEBUG oslo_concurrency.processutils [-] CMD "sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -T iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4 -R" returned: 0 in 0.058s execute /usr/lib/python2.7/dist-<wbr>packages/oslo_concurrency/<wbr>processutils.py:327</div><div>2016-10-24 19:55:03.176 27154 DEBUG ironic.common.utils [-] Execution completed, command line is "iscsiadm -m node -T iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4 -R" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:88</div><div>2016-10-24 19:55:03.176 27154 DEBUG ironic.common.utils [-] Command stdout is: "Rescanning session [sid: 1, target: iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4, portal: 192.168.3.73,3260]</div><div>Rescanning session [sid: 2, target: iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4, portal: 192.168.3.74,3260]</div><div>" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:89</div><div>2016-10-24 19:55:03.177 27154 DEBUG ironic.common.utils [-] Command stderr is: "" execute /usr/lib/python2.7/dist-<wbr>packages/ironic/common/utils.<wbr>py:90</div><div>2016-10-24 19:55:04.178 27154 DEBUG ironic.drivers.modules.deploy_<wbr>utils [-] iSCSI connection not seen by file system. Rechecking. Attempt 1 out of 3 check_file_system_for_iscsi_<wbr>device /usr/lib/python2.7/dist-<wbr>packages/ironic/drivers/<wbr>modules/deploy_utils.py:160</div><div>2016-10-24 19:55:05.178 27154 DEBUG ironic.drivers.modules.deploy_<wbr>utils [-] iSCSI connection not seen by file system. Rechecking. Attempt 2 out of 3 check_file_system_for_iscsi_<wbr>device /usr/lib/python2.7/dist-<wbr>packages/ironic/drivers/<wbr>modules/deploy_utils.py:160</div><div>2016-10-24 19:55:06.179 27154 DEBUG ironic.drivers.modules.deploy_<wbr>utils [-] iSCSI connection not seen by file system. Rechecking. Attempt 3 out of 3 check_file_system_for_iscsi_<wbr>device /usr/lib/python2.7/dist-<wbr>packages/ironic/drivers/<wbr>modules/deploy_utils.py:160</div><div>2016-10-24 19:55:06.180 27154 ERROR ironic.drivers.modules.deploy_<wbr>utils [-] iSCSI connection was not seen by the file system after attempting to verify 3 times.</div><div>2016-10-24 19:55:06.197 27154 ERROR ironic.drivers.modules.iscsi_<wbr>deploy [-] Deploy failed for instance 92f0e04b-fd5e-4b8e-a176-<wbr>9869df8212ae. Error: iSCSI connection was not seen by the file system after attempting to verify 3 times.</div><div>2016-10-24 19:55:06.198 27154 DEBUG ironic.common.states [-] Exiting old state 'deploying' in response to event 'fail' on_exit /usr/lib/python2.7/dist-<wbr>packages/ironic/common/states.<wbr>py:199</div><div>2016-10-24 19:55:06.199 27154 DEBUG ironic.common.states [-] Entering new state 'deploy failed' in response to event 'fail' on_enter /usr/lib/python2.7/dist-<wbr>packages/ironic/common/states.<wbr>py:205<br><br><br><br>Status<br><br><br><div>sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -S</div><div><a href="http://192.168.3.73:3260" target="_blank">192.168.3.73:3260</a>,1 iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4</div><div><a href="http://192.168.3.74:3260" target="_blank">192.168.3.74:3260</a>,1 iqn.2008-10.org.openstack:<wbr>d17cde67-99e7-4263-b08c-<wbr>e27b513850f4<br><br><br></div>Trying Openstack liberty,<br><br><br>out of ideas,expecting some suggestions :)<br><br>Regards,<br>Kevin<br><br><br></div></div></div>
</blockquote></div><br></div>