Cinder Non-existed volume access Unable to locate Target IQN found in /var/log/messages

asked 2017-02-03 23:40:23 -0600

hardway99 gravatar image

[root@vlmg-host1 bin(keystone_admin)]# openstack --version openstack 1.0.3 [root@vlmg-host1 bin(keystone_admin)]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo)

I got so many logs in /var/log/messages like the following: Feb 4 10:44:02 vlmg-host1 kernel: iSCSI Login negotiation failed.

Feb 4 10:44:02 vlmg-host1 kernel: Unable to locate Target IQN: iqn.2010-10.org.openstack:volume-a12ced08-d454-4e1b-806e-56870aa90278 in Storage Node

Feb 4 10:44:02 vlmg-host1 kernel: iSCSI Login negotiation failed.

Feb 4 10:44:03 vlmg-host1 kernel: Unable to locate Target IQN: iqn.2010-10.org.openstack:volume-696c0cc4-c4bf-4681-8134-bc48a5c141ac in Storage Node

Feb 4 10:44:03 vlmg-host1 kernel: iSCSI Login negotiation failed.

Feb 4 10:44:03 vlmg-host1 kernel: Unable to locate Target IQN: iqn.2010-10.org.openstack:volume-92b2253a-5f75-4c88-9c05-7cee1921a1ac in Storage Node

Feb 4 10:44:03 vlmg-host1 kernel: iSCSI Login negotiation failed.

Feb 4 10:44:03 vlmg-host1 kernel: Unable to locate Target IQN: iqn.2010-10.org.openstack:volume-5f09c7c9-d9f7-4f41-b0b5-0f9da57ad5f4 in Storage Node

... ...

seems those volume did not existed in output of "iscsiadm -m node", nor existed in 'cinder list' as well. [root@vlmg-host1 bin(keystone_admin)]# iscsiadm -m node

135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-1c34e4d5-ea37-4d7e-b1ec-957f40df69a6 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-3ea9b901-6589-4780-97f5-871b9da0519c 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-dccef096-8086-4dd2-b083-16f4cd9ce951 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-22466476-bc08-4858-88bf-4d977df2e83c 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-f85ac66e-d61a-4b91-9b2a-5c1badee3d68 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-3ef7af0c-f34c-4833-bd73-8fb75e1c704d 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-453d9e65-c32f-437d-a1d4-c284f3ea4b83 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-d3c2b1bd-d4cc-40e5-8258-614898efae62 135.252.234.57:3260,-1 iqn.2010-10.org.openstack:volume-2f06115d-ef5c-497e-a564-a5b8252ffc11 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-ebc79fbc-31ff-4ba2-9f32-bec6ae6f5f3d 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-96a8e8ee-fccf-49da-8c78-b6b63b5381e1 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-de93b5b7-1b3d-412f-b8ba-35bff5f22eba 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-da42f01c-a505-409c-bfe1-98d974fe4625 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-721af323-5c83-4f02-bf2b-09eb6275f179 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-66fc138f-c1a5-4d8d-8bda-81a79277bac0 135.252.234.57:3260,1 iqn.2010-10.org.openstack:volume-646b3663-bfe4-46d0-bf74-55a0488ccef8

Following are the configuration in the bottom of cinder.conf [lvm] iscsi_helper=lioadm volume_group=cinder-volumes iscsi_ip_address=135.252.234.57 volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver volumes_dir=/var/lib/cinder/volumes iscsi_protocol=iscsi volume_backend_name=lvm

Anybody can help on this?

edit retag flag offensive close merge delete

Comments

I met similar issue. I cleaned all openstack tables in DB and re-setup. It did not help.

jouyang gravatar imagejouyang ( 2017-03-31 01:01:05 -0600 )edit