[Openstack] ironic "iSCSI connection was not seen by the file system after attempting to verify 3 times."
kevin parrikar
kevin.parker092 at gmail.com
Tue Oct 25 06:08:22 UTC 2016
after exploring with iscsiadm commands and referring this commit (
https://review.openstack.org/gitweb?p=openstack/ironic.git;a=commitdiff;h=235641fc4c0bb2864bc9b97553865dac3c4b6b1d
)
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.
ls -la /dev/disk/by-path/ip*
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
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
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
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
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
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
file
/dev/disk/by-path/ip-192.168.3.75:3260-iscsi-iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-e27b513850f4-lun-1
/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'
root at ironic:~# file /dev/sda
/dev/sda: block special
any idea whats wrong here
On Tue, Oct 25, 2016 at 1:34 AM, kevin parrikar <kevin.parker092 at gmail.com>
wrote:
> hi,
> Anybody has any idea on this error:
>
>
> Error: iSCSI connection was not seen by the file system after attempting
> to verify 3 times.
>
>
>
> Ironic Conductor Log:
>
> 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-
> packages/oslo_concurrency/processutils.py:297
> 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-
> packages/oslo_concurrency/processutils.py:327
> 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-packages/ironic/common/utils.py:88
> 2016-10-24 19:55:03.115 27154 DEBUG ironic.common.utils [-] Command stdout
> is: "192.168.3.73:3260,1 iqn.2008-10.org.openstack:
> d17cde67-99e7-4263-b08c-e27b513850f4
> 192.168.3.74:3260,1 iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-
> e27b513850f4
> " execute /usr/lib/python2.7/dist-packages/ironic/common/utils.py:89
> 2016-10-24 19:55:03.115 27154 DEBUG ironic.common.utils [-] Command stderr
> is: "" execute /usr/lib/python2.7/dist-packages/ironic/common/utils.py:90
> 2016-10-24 19:55:03.116 27154 DEBUG ironic.drivers.modules.deploy_utils
> [-] Re-reading iSCSI luns. force_iscsi_lun_update /usr/lib/python2.7/dist-
> packages/ironic/drivers/modules/deploy_utils.py:194
> 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:d17cde67-99e7-4263-b08c-e27b513850f4
> -R execute /usr/lib/python2.7/dist-packages/oslo_concurrency/
> processutils.py:297
> 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:d17cde67-99e7-4263-b08c-e27b513850f4 -R"
> returned: 0 in 0.058s execute /usr/lib/python2.7/dist-
> packages/oslo_concurrency/processutils.py:327
> 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:
> d17cde67-99e7-4263-b08c-e27b513850f4 -R" execute /usr/lib/python2.7/dist-
> packages/ironic/common/utils.py:88
> 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:
> d17cde67-99e7-4263-b08c-e27b513850f4, portal: 192.168.3.73,3260]
> Rescanning session [sid: 2, target: iqn.2008-10.org.openstack:
> d17cde67-99e7-4263-b08c-e27b513850f4, portal: 192.168.3.74,3260]
> " execute /usr/lib/python2.7/dist-packages/ironic/common/utils.py:89
> 2016-10-24 19:55:03.177 27154 DEBUG ironic.common.utils [-] Command stderr
> is: "" execute /usr/lib/python2.7/dist-packages/ironic/common/utils.py:90
> 2016-10-24 19:55:04.178 27154 DEBUG ironic.drivers.modules.deploy_utils
> [-] iSCSI connection not seen by file system. Rechecking. Attempt 1 out of
> 3 check_file_system_for_iscsi_device /usr/lib/python2.7/dist-
> packages/ironic/drivers/modules/deploy_utils.py:160
> 2016-10-24 19:55:05.178 27154 DEBUG ironic.drivers.modules.deploy_utils
> [-] iSCSI connection not seen by file system. Rechecking. Attempt 2 out of
> 3 check_file_system_for_iscsi_device /usr/lib/python2.7/dist-
> packages/ironic/drivers/modules/deploy_utils.py:160
> 2016-10-24 19:55:06.179 27154 DEBUG ironic.drivers.modules.deploy_utils
> [-] iSCSI connection not seen by file system. Rechecking. Attempt 3 out of
> 3 check_file_system_for_iscsi_device /usr/lib/python2.7/dist-
> packages/ironic/drivers/modules/deploy_utils.py:160
> 2016-10-24 19:55:06.180 27154 ERROR ironic.drivers.modules.deploy_utils
> [-] iSCSI connection was not seen by the file system after attempting to
> verify 3 times.
> 2016-10-24 19:55:06.197 27154 ERROR ironic.drivers.modules.iscsi_deploy
> [-] Deploy failed for instance 92f0e04b-fd5e-4b8e-a176-9869df8212ae.
> Error: iSCSI connection was not seen by the file system after attempting to
> verify 3 times.
> 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-packages/ironic/common/states.py:199
> 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-packages/ironic/common/states.py:205
>
>
>
> Status
>
>
> sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -S
> 192.168.3.73:3260,1 iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-
> e27b513850f4
> 192.168.3.74:3260,1 iqn.2008-10.org.openstack:d17cde67-99e7-4263-b08c-
> e27b513850f4
>
>
> Trying Openstack liberty,
>
>
> out of ideas,expecting some suggestions :)
>
> Regards,
> Kevin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161025/ae64f8ff/attachment.html>
More information about the Openstack
mailing list