On Thu, May 5, 2016 at 10:22 AM, Darran Carey
<darran.carey(a)pawsey.org.au> wrote:
Hi All,
I am trying to install the hosted engine on an iscsi target but get the
following error:
[root@virt-host01 ~]# hosted-engine --deploy
...
--== STORAGE CONFIGURATION ==--
During customization use CTRL-D to abort.
Please specify the storage you would like to use (glusterfs,
iscsi, fc, nfs3, nfs4)[nfs3]: iscsi
Please specify the iSCSI portal IP address: 10.43.0.100
Please specify the iSCSI portal port [3260]:
Please specify the iSCSI portal user:
Please specify the target name
(iqn.2001-05.com.equallogic:0-8a0906-8bb896109-6060000000b57145-iscsi-vol-01)
[iqn.2001-05.com.equallogic:0-8a0906-8bb896109-6060000000b57145-iscsi-vol-01]:
[ INFO ] Discovering iSCSI node
[ INFO ] Connecting to the storage server
[ INFO ] Discovering iSCSI node
[ INFO ] Connecting to the storage server
[ ERROR ] Failed to execute stage 'Environment customization': Unable to
retrieve the list of LUN(s) please check the SELinux log and settings on
your iscsi target
The relevant excerpt from the log file is:
2016-05-05 16:05:09 DEBUG otopi.context context._executeMethod:156 method
exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/blockd.py",
line 591, in _customization
lunGUID = self._customize_lun(self.domainType, target)
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/blockd.py",
line 209, in _customize_lun
iqn=target,
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/blockd.py",
line 374, in _iscsi_get_lun_list
raise RuntimeError("Unable to retrieve the list of LUN(s) please "
RuntimeError: Unable to retrieve the list of LUN(s) please check the SELinux
log and settings on your iscsi target
2016-05-05 16:05:09 ERROR otopi.context context._executeMethod:165 Failed to
execute stage 'Environment customization': Unable to retrieve the list of
LUN(s) please check the SELinux log and settings on your iscsi target
Can you please attach the whole hosted-engine-setup log file and vdsm logs?
This is on CentOS 7 with ovirt 3.6.
selinux is disabled.
I can mount the iscsi target fine using iscsiadm or the Dell Equallogic Host
Integration Toolkit commands.
I think the first problem is the call to self.cli.getDeviceList in blockd.py
is returning an empty list, but I don't know what that function is actually
doing.
Has anyone experienced similar behaviour or has any suggestions as to what I
should check next?
Thanks,
Darran.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users