<div dir="ltr"><div># iscsiadm -m discovery -t sendtargets -p <a href="http://iscsi-1.example.com">iscsi-1.example.com</a><br><br># iscsiadm -m node -Piqn.2013-05.com.example:target0:3260 --login<br><br></div>dmesg gives me : <br>
<br>scsi 17:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5<br>scsi 17:0:0:0: Attached scsi generic sg4 type 12<br>scsi 17:0:0:1: Direct-Access IET VIRTUAL-DISK 0001 PQ: 0 ANSI: 5<br>sd 17:0:0:1: Attached scsi generic sg5 type 0<br>
sd 17:0:0:1: [sdc] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB)<br>sd 17:0:0:1: [sdc] Write Protect is off<br>sd 17:0:0:1: [sdc] Mode Sense: 49 00 00 08<br>sd 17:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA<br>
sdc: unknown partition table<br>sd 17:0:0:1: [sdc] Attached SCSI disk<br>sd 16:0:0:1: [sdb] Synchronizing SCSI cache<br>sd 17:0:0:1: [sdc] Synchronizing SCSI cache<br> connection12:0: detected conn error (1020)<br> connection11:0: detected conn error (1020)<br>
SELinux: 2048 avtab hash slots, 278248 rules.<br>SELinux: 2048 avtab hash slots, 278248 rules.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/17 Dan Yasny <span dir="ltr"><<a href="mailto:dyasny@gmail.com" target="_blank">dyasny@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">how exactly did you run the iscsiadm commands that worked? The error clearly shows iscsiadm discovery failing<div class="HOEnZb">
<div class="h5"><br><br>
<div class="gmail_quote">On Mon, Jun 17, 2013 at 11:10 AM, James James <span dir="ltr"><<a href="mailto:jreg2k@gmail.com" target="_blank">jreg2k@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">Thanks for your answer. I did it already : everything is ok with iscsi daemon. It can login and see the LUN.<br></div>
<div>
<div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/6/17 Dan Yasny <span dir="ltr"><<a href="mailto:dyasny@gmail.com" target="_blank">dyasny@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">I would manually probe with iscsiadm, looks like it's failing there<br><br>
<div class="gmail_quote">
<div>
<div>On Mon, Jun 17, <a href="tel:2013" value="+9722013" target="_blank">2013</a> at 9:50 AM, James James <span dir="ltr"><<a href="mailto:jreg2k@gmail.com" target="_blank">jreg2k@gmail.com</a>></span> wrote:<br></div>
</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<div dir="ltr">
<div>
<div>Hi guys,<br><br></div>I've got some problems with my ovirt-engine. Currently I have one iscsi storage volume and I want add a second one. The second has the same configuration as the first. In my engine I can log into the iSCSI but I cannot see the LUN. Ovirt gives me this message : <br>
<br>2013-06-17 15:50:04,013 ERROR [org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery] (ajp--127.0.0.1-8702-9) Query DiscoverSendTargetsQuery failed. Exception message is VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed discovery of iSCSI targets: "portal=IscsiPortal(hostname='<a href="http://iscsi-1.example.com/" target="_blank">iscsi-1.example.com</a>', port=<a href="tel:3260" value="+9723260" target="_blank">3260</a>), err=(5, [], ['iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: connection login retries (reopen_max) 5 exceeded', 'iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure'])"<br>
2013-06-17 15:54:03,649 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand] (ajp--127.0.0.1-8702-3) START, DiscoverSendTargetsVDSCommand(HostName = <a href="http://hosts-1.example.com/" target="_blank">hosts-1.example.com</a>, HostId = 1c8e67de-c355-4b07-a09f-c58d08115e1e, connection={ id: null, connection: <a href="http://iscsi-1.example.com/" target="_blank">iscsi-1.example.com</a>, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };), log id: 3dca76fc<br>
<br><br></div>Can somebody help me ?<br>
<div><br></div></div><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></blockquote></div><br></div></div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>