I try to deploy hosted-engine 4.3.2-rc2 on iSCSI
I put a ipv4 portal address and targets get discovered. However they are
are returned by the Synology hosts with both ipv4 and ipv6 adresses.
LUN discovery then fails while attempting to connect to ipv6 address
I tried hosted-engine --deploy --4 to force ipv4 but that fails too.
Please specify the storage you would like: iscsi
Please specify the iSCSI portal IP address: 10.199.9.16
Please specify the iSCSI portal port [3260]:
Please specify the iSCSI discover user:
Please specify the iSCSI discover password:
Please specify the iSCSI portal login user:
Please specify the iSCSI portal login password:
[ INFO ] Discovering iSCSI targets
[ INFO ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of
steps]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using
username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Prepare iSCSI parameters]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : iSCSI discover with REST API]
[ INFO ] ok: [localhost]
The following targets have been found:
[1] iqn.2000-01.com.synology:SVC-STO-FR-301.Target-1.2dfed4a32a
TPGT: 1, portals:
10.199.9.16:3260
fe80::211:32ff:fe6d:6ddb:3260
[2] iqn.2000-01.com.synology:SVC-STO-FR-301.Target-2.2dfed4a32a
TPGT: 1, portals:
10.199.9.16:3260
fe80::211:32ff:fe6d:6ddb:3260
in Host's logs :
mars 15 09:32:25 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]:conn 0
login rejected: initiator error (02/00)
mars 15 09:32:25 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]:
Connection1:0 to [target:
iqn.2000-01.com.synology:SVC-STO-FR-301.Target-2.2dfed4a32a, portal:
10.199.9.16,3260] through [iface: default] is shutdown.
mars 15 09:32:27 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]: cannot
make a connection to fe80::211:32ff:fe6d:6ddb:3260 (-1,22)
...
mars 15 09:33:21 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]: cannot
make a connection to fe80::211:32ff:fe6d:6ddb:3260 (-1,22)
mars 15 09:33:24 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]: cannot
make a connection to fe80::211:32ff:fe6d:6ddb:3260 (-1,22)
mars 15 09:33:27 vs-inf-int-kvm-fr-304-210.hostics.fr vdsm[26174]: WARN
Worker blocked: <Worker name=jsonrpc/1 running <Task <JsonRpcTask
{'params': {u'connectionParams': [{u'port': u'3260',
u'connection':
u'fe80::211:32ff:fe6d:6ddb', u'iqn':
u'iqn.2000-01.com.synology:SVC-STO-FR-301.Target-2.2dfed4a32a', u'user':
u'', u'tpgt': u'1', u'ipv6_enabled': u'true',
u'password': '********',
u'id': u'00000000-0000-0000-0000-000000000000'}],
u'storagepoolID':
u'00000000-0000-0000-0000-000000000000', u'domainType': 3},
'jsonrpc':
'2.0', 'method': u'StoragePool.connectStorageServer',
'id':
u'31411035-df1d-4b61-ac37-2a138dbdbb00'} at 0x7fcb904ef390> timeout=60,
duration=60.00 at 0x7fcb904ef410> task#=10 at 0x7fcb905977d0>, traceback:
File:
"/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
self.__bootstrap_inner()
File:
"/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
self.run()
File:
"/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File:
"/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line 195, in
run
ret =
func(*args, **kwargs)
File:
"/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, in _run
self._execute_task()
File:
"/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, in
_execute_task
task()
File:
"/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in __call__
self._callable()
File:
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 262, in
__call__
self._handler(self._ctx, self._req)
File:
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 305, in
_serveRequest
response = self._handle_request(req, ctx)
File:
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in
_handle_request
res =
method(**params)
File:
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod
result
= fn(*methodArgs)
File:
"/usr/lib/python2.7/site-packages/vdsm/API.py", line 1095, in
connectStorageServer
connectionParams)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/dispatcher.py", line 74, in
wrapper
result
= ctask.prepare(func, *args, **kwargs)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 108, in
wrapper
return
m(self, *a, **kw)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 1179, in
prepare
result
= self._run(func, *args, **kwargs)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run
return
fn(*args, **kargs)
File:
"<string>", line 2, in connectStorageServer
File:
"/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in method
ret =
func(*args, **kwargs)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2411, in
connectStorageServer
conObj.connect()
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/storageServer.py", line 488,
in connect
iscsi.addIscsiNode(self._iface, self._target, self._cred)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/iscsi.py", line 217, in
addIscsiNode
iscsiadm.node_login(iface.name, target.address, target.iqn)
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 327, in
node_login
portal, "-l"])
File:
"/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 122, in
_runCmd
return
misc.execCmd(cmd, printable=printCmd, sudo=True, sync=sync)
File:
"/usr/lib/python2.7/site-packages/vdsm/common/commands.py", line 213, in
execCmd
(out,
err) = p.communicate(data)
File:
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 924, in
communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File:
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 1706, in
_communicate
orig_timeout)
File:
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 1779, in
_communicate_with_poll
ready
= poller.poll(self._remaining_time(endtime))
mars 15 09:33:27 vs-inf-int-kvm-fr-304-210.hostics.fr iscsid[5983]: cannot
make a connection to fe80::211:32ff:fe6d:6ddb:3260 (-1,22)
Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group