# iscsiadm -m node -Piqn.2013-05.com.example:target0:3260 --login
dmesg gives me :
scsi 17:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI:
5
scsi 17:0:0:0: Attached scsi generic sg4 type 12
scsi 17:0:0:1: Direct-Access IET VIRTUAL-DISK 0001 PQ: 0 ANSI:
5
sd 17:0:0:1: Attached scsi generic sg5 type 0
sd 17:0:0:1: [sdc] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB)
sd 17:0:0:1: [sdc] Write Protect is off
sd 17:0:0:1: [sdc] Mode Sense: 49 00 00 08
sd 17:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sdc: unknown partition table
sd 17:0:0:1: [sdc] Attached SCSI disk
sd 16:0:0:1: [sdb] Synchronizing SCSI cache
sd 17:0:0:1: [sdc] Synchronizing SCSI cache
connection12:0: detected conn error (1020)
connection11:0: detected conn error (1020)
SELinux: 2048 avtab hash slots, 278248 rules.
SELinux: 2048 avtab hash slots, 278248 rules.
2013/6/17 Dan Yasny <dyasny(a)gmail.com>
how exactly did you run the iscsiadm commands that worked? The error
clearly shows iscsiadm discovery failing
On Mon, Jun 17, 2013 at 11:10 AM, James James <jreg2k(a)gmail.com> wrote:
> Thanks for your answer. I did it already : everything is ok with iscsi
> daemon. It can login and see the LUN.
>
>
> 2013/6/17 Dan Yasny <dyasny(a)gmail.com>
>
>> I would manually probe with iscsiadm, looks like it's failing there
>>
>> On Mon, Jun 17, 2013 at 9:50 AM, James James <jreg2k(a)gmail.com> wrote:
>>
>>> Hi guys,
>>>
>>> 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 :
>>>
>>> 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='iscsi-1.example.com', port=3260),
>>> 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'])"
>>> 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 =
>>>
hosts-1.example.com, HostId = 1c8e67de-c355-4b07-a09f-c58d08115e1e,
>>> connection={ id: null, connection:
iscsi-1.example.com, iqn: null,
>>> vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null,
>>> nfsTimeo: null };), log id: 3dca76fc
>>>
>>>
>>> Can somebody help me ?
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>