Hi,
Failure reason was the following : the initiator IQN wasn't declared on the iSCSI
server.
Sorry for disturbing for nothing.
Regards,
J.P.
-----Message d'origine-----
De : users-bounces(a)ovirt.org [mailto:users-bounces@ovirt.org] De la part de
users-request(a)ovirt.org
Envoyé : mercredi 2 décembre 2015 11:42
À : users(a)ovirt.org
Objet : Users Digest, Vol 51, Issue 16
Send Users mailing list submissions to
users(a)ovirt.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)ovirt.org
You can reach the person managing the list at
users-owner(a)ovirt.org
When replying, please edit your Subject line so it is more specific than "Re:
Contents of Users digest..."
Today's Topics:
1. Failing to add iSCSI storage domain (Jean-Pierre Ribeauville)
2. Re: HA cluster (Simone Tiraboschi)
----------------------------------------------------------------------
Message: 1
Date: Wed, 2 Dec 2015 10:41:11 +0000
From: Jean-Pierre Ribeauville <jpribeauville(a)axway.com>
To: "users(a)ovirt.org" <users(a)ovirt.org>
Subject: [ovirt-users] Failing to add iSCSI storage domain
Message-ID:
<1051EFB4D3A1704680C38CCAAC5836D2929DC082(a)WPTXMAIL2.ptx.axway.int>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
By using 3.5 ovirt , I'm trying to add a iSCSI storage domain to my datacenter.
When clicking on discover button , I got following error :
No new devices were found. This may be due to either: incorrect multipath configuration on
the Host or wrong address of the iscsi target or a failure to authenticate on the target
device. Please consult your Storage Administrator.
I restart sanlock service on the host ( it's a RHEL 7) ; no positive effect.
In engine.log found this :
...
IQNListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=475, mMessage=Failed discovery of
iSCSI targets: "portal=IscsiPortal(hostname=u'10.147.60.90', port=3260),
err=(21, [], ['iscsiadm: No portals found'])"]]
2015-12-02 11:28:31,468 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand]
(ajp-/127.0.0.1:8702-5) HostName = ldc01omv01
2015-12-02 11:28:31,468 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand]
(ajp-/127.0.0.1:8702-5) Command DiscoverSendTargetsVDSCommand(HostName = ldc01omv01,
HostId = 09bb3024-170f-48a1-a78a-951a2c61c680, connection={ id: null, connection:
10.147.60.90, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans:
null, nfsTimeo: null };) execution failed. Exception: VDSErrorException:
VDSGenericException: VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS,
error = Failed discovery of iSCSI targets:
"portal=IscsiPortal(hostname=u'10.147.60.90', port=3260), err=(21, [],
['iscsiadm: No portals found'])"
2015-12-02 11:28:31,468 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand]
(ajp-/127.0.0.1:8702-5) FINISH, DiscoverSendTargetsVDSCommand, log id: 3023392e
2015-12-02 11:28:31,468 ERROR [org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery]
(ajp-/127.0.0.1:8702-5) 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=u'10.147.60.90', port=3260), err=(21, [],
['iscsiadm: No portals found'])" (Failed with error iSCSIDiscoveryError and
code 475) : org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException:
VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed
discovery of iSCSI targets: "portal=IscsiPortal(hostname=u'10.147.60.90',
port=3260), err=(21, [], ['iscsiadm: No portals found'])" (Failed with error
iSCSIDiscoveryError and code 475): org.ovirt.engine.core.commo
n.errors.VdcBLLException: VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException:
VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed
discovery of iSCSI targets: "portal=IscsiPortal(hostname=u'10.147.60.90',
port=3260), err=(21, [], ['iscsiadm: No portals found'])" (Failed with error
iSCSIDiscoveryError and code 475)
at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:117)
[bll.jar:]
at
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
[bll.jar:]
at
org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery.executeQueryCommand(DiscoverSendTargetsQuery.java:16)
[bll.jar:]
at
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:73)
[bll.jar:]
...
In order to check iSCSI discovering via another way, I run this command from ovirt
manager system command prompt :
iscsiadm -m discovery -t st -p <iSCSI Server Address>
I got a correct device lists.
Thanks for help.
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez ? l'environnement avant d'imprimer.