iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN

Hi, Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them. On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working. We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point. Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3"). So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one : Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk I don't know what is missing? May you help me? -- Nicolas Ecarnot

Hi, Please attach send the full engine and vdsm logs to the list. Also - what version are you using. Is this an upgrade? If so - which versions? Vered ----- Original Message -----
From: "Nicolas Ecarnot" <nicolas@ecarnot.net> To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi,
Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them.
On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working.
We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point.
Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3").
So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one :
Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk
I don't know what is missing? May you help me?
-- Nicolas Ecarnot _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Vered, Le 22/10/2014 09:40, Vered Volansky a écrit :
Hi,
Please attach send the full engine and vdsm logs to the list.
Here they are (I don't know if they will be authorized?)
Also - what version are you using. Is this an upgrade? If so - which versions?
This is a clean new install. [root@serv-mvm-adms01 tmp]# rpm -qa|grep -i virt ovirt-engine-lib-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.4.4-1.el6.noarch ovirt-engine-setup-3.4.4-1.el6.noarch ovirt-engine-backend-3.4.3-1.el6.noarch ovirt-engine-dbscripts-3.4.3-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.4.4-1.el6.noarch ovirt-engine-websocket-proxy-3.4.4-1.el6.noarch ovirt-iso-uploader-3.4.4-1.el6.noarch ovirt-release34-1.0.3-1.noarch ovirt-engine-webadmin-portal-3.4.3-1.el6.noarch ovirt-engine-sdk-python-3.4.4.0-1.el6.noarch ovirt-host-deploy-1.2.3-1.el6.noarch ovirt-host-deploy-java-1.2.3-1.el6.noarch ovirt-image-uploader-3.4.3-1.el6.noarch ovirt-engine-cli-3.4.0.5-1.el6.noarch ovirt-engine-tools-3.4.3-1.el6.noarch ovirt-engine-3.4.3-1.el6.noarch ovirt-engine-setup-base-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.4.4-1.el6.noarch ovirt-engine-restapi-3.4.3-1.el6.noarch ovirt-engine-userportal-3.4.3-1.el6.noarch [root@serv-vm-adms02 tmp]# rpm -qa|grep -i virt libvirt-python-0.10.2-29.el6_5.12.x86_64 libvirt-client-0.10.2-29.el6_5.12.x86_64 libvirt-0.10.2-29.el6_5.12.x86_64 libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64 ovirt-release34-1.0.3-1.noarch -- Nicolas Ecarnot
Vered
----- Original Message -----
From: "Nicolas Ecarnot" <nicolas@ecarnot.net> To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi,
Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them.
On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working.
We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point.
Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3").
So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one :
Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk
I don't know what is missing? May you help me?
-- Nicolas Ecarnot _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Nicolas Ecarnot

Hi Nicolas, The vdsm log doesn't have the correlating time span of when I estimate the error occurred on the engine log. Please check if it was rotated and send the relevant log (I see a discovery error on 2014-10-22 09:11:36 ). I'd like to better understand what you did. The flow when adding as iSCSI domain is first discover targets by pressing the 'Discover' button, and only then pressing the 'log in' button. As far as I can see in the engine log, you already hit the wall by discovering, not even getting to log in. After this button is hit is also when you should see the LUNs, but you say you hit the login button and that it functions well, so I don't exactly understand the flow. Vered ----- Original Message -----
From: "Nicolas Ecarnot" <nicolas@ecarnot.net> To: "Vered Volansky" <vered@redhat.com> Cc: users@ovirt.org Sent: Wednesday, October 22, 2014 11:24:50 AM Subject: Re: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi Vered,
Le 22/10/2014 09:40, Vered Volansky a écrit :
Hi,
Please attach send the full engine and vdsm logs to the list.
Here they are (I don't know if they will be authorized?)
Also - what version are you using. Is this an upgrade? If so - which versions?
This is a clean new install.
[root@serv-mvm-adms01 tmp]# rpm -qa|grep -i virt ovirt-engine-lib-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.4.4-1.el6.noarch ovirt-engine-setup-3.4.4-1.el6.noarch ovirt-engine-backend-3.4.3-1.el6.noarch ovirt-engine-dbscripts-3.4.3-1.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.4.4-1.el6.noarch ovirt-engine-websocket-proxy-3.4.4-1.el6.noarch ovirt-iso-uploader-3.4.4-1.el6.noarch ovirt-release34-1.0.3-1.noarch ovirt-engine-webadmin-portal-3.4.3-1.el6.noarch ovirt-engine-sdk-python-3.4.4.0-1.el6.noarch ovirt-host-deploy-1.2.3-1.el6.noarch ovirt-host-deploy-java-1.2.3-1.el6.noarch ovirt-image-uploader-3.4.3-1.el6.noarch ovirt-engine-cli-3.4.0.5-1.el6.noarch ovirt-engine-tools-3.4.3-1.el6.noarch ovirt-engine-3.4.3-1.el6.noarch ovirt-engine-setup-base-3.4.4-1.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.4.4-1.el6.noarch ovirt-engine-restapi-3.4.3-1.el6.noarch ovirt-engine-userportal-3.4.3-1.el6.noarch
[root@serv-vm-adms02 tmp]# rpm -qa|grep -i virt libvirt-python-0.10.2-29.el6_5.12.x86_64 libvirt-client-0.10.2-29.el6_5.12.x86_64 libvirt-0.10.2-29.el6_5.12.x86_64 libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64 ovirt-release34-1.0.3-1.noarch
-- Nicolas Ecarnot
Vered
----- Original Message -----
From: "Nicolas Ecarnot" <nicolas@ecarnot.net> To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi,
Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them.
On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working.
We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point.
Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3").
So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one :
Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk
I don't know what is missing? May you help me?
-- Nicolas Ecarnot _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Nicolas Ecarnot
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Le 21/10/2014 12:18, Nicolas Ecarnot a écrit :
Hi,
Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them.
On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working.
We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point.
Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3").
So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one :
Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk
I don't know what is missing? May you help me?
I triple checked every parts I could check, but I don't know everything. On the host that established the connection, I see that iscsiadm -m session -P3 shows a correct connection, and shows /dev/sdb and sdc But lvmdiskscan shows an error on sdb : /dev/sdb: read failed after 0 of 4096 at 0... multipath -ll show nothing /var/log/messages shows : Oct 22 09:41:39 serv-vm-adms02 kernel: sd 13:0:0:0: [sdb] Test WP failed, assume Write Enabled Oct 22 09:41:39 serv-vm-adms02 kernel: sd 13:0:0:0: [sdb] Asking for cache data failed Oct 22 09:41:39 serv-vm-adms02 kernel: sd 13:0:0:0: [sdb] Assuming drive cache: write through Oct 22 09:41:39 serv-vm-adms02 kernel: device-mapper: table: 253:3: multipath: error getting device Oct 22 09:41:39 serv-vm-adms02 kernel: device-mapper: ioctl: error adding target to table but I'm not sure multipath is to be involved at this point, so may not be relevant. Beside debugging this, have you just some advices, some trails to follow? -- Nicolas Ecarnot

So just to keep the list updated this was resolved offline by disconnecting the iscsi session (iscsiadm -m session -u), then logging into it again. What probably happened is that there was an existing bad session, and since it's existing, one can't login again. Once logged out, a new good session is created. A bad session can result from a wrong/stale /etc/iscsi/initiatorname.iscsi . The aboce is what should be sone in this case. If there's just a name change, restart iscsid before trying to login. And thank you Nir for your help in helping :) ----- Original Message -----
From: "Nicolas Ecarnot" <nicolas@ecarnot.net> To: users@ovirt.org Sent: Tuesday, October 21, 2014 1:18:47 PM Subject: [ovirt-users] iSCSI connection to a LUN - EMC CX4-120 - Login OK but no LUN
Hi,
Setting up our third oVirt infra, we are now connecting it to an EMC CX4-120 SAN. On this SAN, we have set up a classical storage group, added the authorized hosts, registered them.
On the oVirt side, we want to create the first master storage domain and so we give the GUI the right SAN ip, and the iSCSI connection is working.
We see appearing the two virtual IP of the storage processors (A and B), and the login button reacts well, no error appears. But no LUN shows up at this point.
Looking at the hosts used by this connection, it appears that the iSCSI connection worked well, and that the LUN is visible on the host side ("iscsiadm -m session -P3").
So now, in the web GUI, there is no LUN showing up I could connect to. I have isolated the relevant logs - the engine one and the vdsm one :
Engine : http://pastebin.com/32Sg85C8 VDSM : http://pastebin.com/BbY6mVSk
I don't know what is missing? May you help me?
-- Nicolas Ecarnot _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Nicolas Ecarnot
-
Vered Volansky