<div>I have problem in oVIrt 4.1.1 and oVirt Node NG 4.1.1 with CHAP auth on iSCSI Target. oVIrt can't discover iSCSI if login and password set. Without auth enabled iSCSI was discovered well.</div><div> </div><div>oVirt 3.6 and CentOS 7.2 host works well with some iSCSI Target.</div><div> </div><div>31.03.2017, 10:07, "Lukáš Kaplan" <lkaplan@dragon.cz>:</div><blockquote type="cite"><div>Is it possible that problem can be in conflicting LUN IDs?<div>I see that first LUN from both storage servers have same LUN ID <span>360000000000000000</span>e<span>00000000010001</span>. One storage server is connected to ovirt and second is not connected because of described problem (ovirt dont show lun after login and discovery).</div><div> </div><div>I am using tgtd as iscsi target server on both servers. Both have same configuration (same disks, md raid6), but different iqn and ip address...</div></div><div> <div><div><div><div><div><div>--<br />Lukáš Kaplan<br /><br />Dragon Internet a.s.<br />Pod Loretou 883<br />293 06 Kosmonosy<br />tel: <span>+420 326 706 166</span><br />fax: <span>+420 326 706 154</span><br />gsm: <span>+420 736 736 346</span><br />web: <a target="_blank" href="http://www.dragon.cz/">http://www.dragon.cz</a><br />e-mail: <a target="_blank" href="mailto:lkaplan@dragon.cz">lkaplan@dragon.cz</a></div></div></div></div></div></div> <div><span>2017-03-29 12</span>:12 GMT+02:00 Liron Aravot <span><<a target="_blank" href="mailto:laravot@redhat.com">laravot@redhat.com</a>></span>:<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div> <div> <div><span>On Wed, Mar 29, 2017 at 12:59 PM, Eduardo Mayoral <span><<a target="_blank" href="mailto:emayoral@arsys.es">emayoral@arsys.es</a>></span> wrote:</span><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><p><span>I had a similar problem, in my case this was related to multipath, it was not masking the LUNs correctly, it was seeing it multiple times (one per path), and I could not select the LUNs in the oVirt interface.</span></p><p><span>Once I configured multipath correctly, everything worked like a charm.</span></p><p><span>Best regards,</span></p><p><span>--</span></p><p><span>Eduardo Mayoral.</span></p><div><div> <div><span>On 29/03/17 11:30, Lukáš Kaplan wrote:</span></div><blockquote type="cite"><div><span>Hello all, </span><div> </div><span> </span><div><span>I did all steps as I described in previous email, but no change. I can't see any LUN after discovery and login of new iSCSI storage.</span></div><span> </span><div><span>(That storage is ok, if I try to connect it to another and older ovirt domain, it is working...)</span></div><span> </span><div> </div><span> </span><div><span>I tryed it on 3 new iSCSI targets alredy, all have same problem...</span></div><span> </span><div> </div><span> </span><div><span>Can somebody help me, please?</span><div> <div><div><div><div><div><div><span>--<br />Lukas Kaplan</span></div></div></div></div></div></div></div></div></div></blockquote></div></div></div></blockquote><div> </div><div>Hi Lukas,</div><div>If you try to perform the discovery yourself, do you see the luns?</div><div><div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><div><div><blockquote type="cite"><div><div><div><div><div><div><div><div><div> </div></div></div></div></div></div> <div><span>2017-03-27 16</span>:22 GMT+02:00 Lukáš Kaplan <span><<a target="_blank" href="mailto:lkaplan@dragon.cz">lkaplan@dragon.cz</a>></span>:<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I did following steps:<div> </div><div> - delete target on all initiators (ovirt nodes)</div><div> iscsiadm -m node -T iqn.2017-03.cz.dragon.ovirt.fuvs-sn1:10T -p <a target="_blank" href="http://10.53.1.201:3260/">10.53.1.201:3260</a> -u</div><div> iscsiadm -m node -T iqn.2017-03.cz.dragon.ovirt.fuvs-sn1:10T -p <a target="_blank" href="http://10.53.1.201:3260/">10.53.1.201:3260</a> -o delete<div> </div><div> - stop tgtd on target</div><div> - fill storage by zeroes (dd if=/dev/zero of=/dev/md125 bs=4096 status=progress)</div><div> - start tgtd</div><div> - tried to connect to ovirt (Discovery=ok, Login=ok, but can not see any LUN).</div></div><div> </div><div>=== After that I ran this commands on one node: ===</div><div> </div><div><div>[root@fudi-cn1 ~]# iscsiadm -m session -o show</div><div>tcp: [1] <a target="_blank" href="http://10.53.0.10:3260/">10.53.0.10:3260</a>,1 iqn.2017-03.cz.dragon.ovirt:ovirtengine (non-flash)</div><div>tcp: [11] <a target="_blank" href="http://10.53.0.201:3260/">10.53.0.201:3260</a>,1 iqn.2017-03.cz.dragon.ovirt.fudi-sn1:10T (non-flash)</div><div>tcp: [12] <a target="_blank" href="http://10.53.1.201:3260/">10.53.1.201:3260</a>,1 iqn.2017-03.cz.dragon.ovirt.fuvs-sn1:10T (non-flash)</div></div><div> </div><div><div>[root@fudi-cn1 ~]# iscsiadm -m discoverydb -P1</div><div>SENDTARGETS:</div><div>DiscoveryAddress: 10.53.0.201,3260</div><div>Target: iqn.2017-03.cz.dragon.ovirt:ovirtengine</div><div> Portal: <a target="_blank" href="http://10.53.0.201:3260/">10.53.0.201:3260</a>,1</div><div> Iface Name: default</div><div>iSNS:</div><div>No targets found.</div><div>STATIC:</div><div>Target: iqn.2017-03.cz.dragon.ovirt.fuvs-sn1:10T</div><div> Portal: <a target="_blank" href="http://10.53.1.201:3260/">10.53.1.201:3260</a>,1</div><div> Iface Name: default</div><div>Target: iqn.2017-03.cz.dragon.ovirt:ovirtengine</div><div> Portal: <a target="_blank" href="http://10.53.0.10:3260/">10.53.0.10:3260</a>,1</div><div> Iface Name: default</div><div>Target: iqn.2017-03.cz.dragon.ovirt.fudi-sn1:10T</div><div> Portal: <a target="_blank" href="http://10.53.0.201:3260/">10.53.0.201:3260</a>,1</div><div> Iface Name: default</div><div>FIRMWARE:</div><div>No targets found.</div></div><div> </div><div><div>=== On iscsi target: ===</div><div><div>[root@fuvs-sn1 ~]# cat /proc/mdstat </div><div>Personalities : [raid1] [raid6] [raid5] [raid4] </div><div>md125 : active raid6 sdl1[11] sdk1[10] sdj1[9] sdi1[8] sdh1[7] sdg1[6] sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] sda1[0]</div><div> <span>9766302720</span> blocks super 1.2 level 6, 512k chunk, algorithm 2 [12/12] [UUUUUUUUUUUU]</div><div> bitmap: 0/8 pages [0KB], 65536KB chunk</div><div>...etc...</div></div><div><div> </div><div> </div><div>[root@fuvs-sn1 ~]# cat /etc/tgt/targets.conf </div><div>default-driver iscsi</div><div> </div><div><target iqn.2017-03.cz.dragon.ovirt.fuvs-sn1:10T></div><div> # provided devicce as a iSCSI target</div><div> backing-store /dev/md125</div><div> # iSCSI Initiator's IP address you allow to connect</div><div> #initiator-address <a target="_blank" href="http://10.53.0.0/23">10.53.0.0/23</a></div><div></target></div></div><div><div> </div></div><div><div><div><div><div><div>--<br />Lukas Kaplan<br /> </div></div></div></div></div></div><div><div><div><span>2017-03-25 12</span>:36 GMT+01:00 Lukas Kaplan <span><<a target="_blank" href="mailto:lkaplan@dragon.cz">lkaplan@dragon.cz</a>></span>:<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div>Co muze myslet tim mappingem?</div><div> </div><div>Jinak muzu zkusit ddckem celou storage prepsat nulami.</div><div> </div><div>co ty na to?<br /><br />Odesláno z iPhonu</div><div><br />Začátek přeposílané zprávy:<br /> </div><blockquote type="cite"><div><strong>Od:</strong> Yaniv Kaul <<a target="_blank" href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>><br /><strong>Datum:</strong> 24. března 2017 23:25:21 SEČ<br /><strong>Komu:</strong> Lukáš Kaplan <<a target="_blank" href="mailto:lkaplan@dragon.cz">lkaplan@dragon.cz</a>><br /><strong>Kopie:</strong> users <<a target="_blank" href="mailto:users@ovirt.org">users@ovirt.org</a>><br /><strong>Předmět:</strong> <strong>Re: [ovirt-users] iSCSI Discovery cannot detetect LUN</strong><br /> </div></blockquote><blockquote type="cite"><div><div> <div> <div>On Fri, Mar 24, 2017 at 1:34 PM, Lukáš Kaplan <span><<a target="_blank" href="mailto:lkaplan@dragon.cz">lkaplan@dragon.cz</a>></span> wrote:<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div>Hello all,<div> </div><div>please do you have some experience with troubleshooting adding of iSCSI domain to ovirt 4.1.1? </div><div> </div><div>I am chalenging this issue now:</div><div> </div><div>1) I have successfuly installed oVirt 4.1.1 environment with self-hosted engine, 3 nodes and 3 storages (iSCSI Master domain, iSCSI for hosted engine and NFS ISO domain). Everything is working now.</div><div> </div><div>2) But, when I want to add new iSCSI domain, I can discover it, I can login, but I cant see any LUN on that storage. (I had same problem in oVirt 4.1.0, so I made upgrade to 4.1.1)</div></div></blockquote><div> </div><div>Are you sure mappings are correct? </div><div>Can you ensure the LUN is empty?</div><div>Y.</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div> </div><div>3) Then I tryed to add this storage to another oVirt environment (oVirt 3.6) and there are no problem. I can see LUN on that storage and I can connect it to oVirt.</div><div> </div><div>I tryed to examine vdsm.log, but it is very detailed and unredable for me :-/</div><div> </div><div>Thak you in advance, have a nice day,<div><div><div><div><div><div><span><font color="#888888">--<br />Lukas Kaplan</font></span><br /><br /> </div></div></div></div></div></div><span><font color="#888888"> </font></span></div></div><br /><span><font color="#888888">_______________________________________________<br />Users mailing list<br /><a target="_blank" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br /><a target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></font></span><br /> </blockquote></div></div></div></div></blockquote></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div> <pre>_______________________________________________
Users mailing list
<a target="_blank" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre></blockquote></div></div></div><br />_______________________________________________<br />Users mailing list<br /><a target="_blank" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br /><a target="_blank" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br /> </blockquote></div></div></div></div></div></blockquote></div></div>,<p>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br /><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></p></blockquote>