On Fri, May 13, 2016 at 10:43 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Thu, May 12, 2016 at 3:32 PM, Sandro Bonazzola wrote:



I strongly suggest to use master. In particular, I strongly suggest to us oVirt Node Next ISO for hosts and the engine appliance for the deployment.
Installing Hosted Engine using Cockpit Web UI has been a nice experience yesterday.

Be sure to install also the new dashboard package once your Hosted Engine is up, that's another nice thing to see in action.


It seems master from yesterday, attempting self hosted engine on nfs3 with hypervisor on CentOS 7.2 gives:

[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring libvirt
[ INFO  ] Configuring VDSM
[ INFO  ] Starting vdsmd
[ INFO  ] Creating Storage Domain
[ INFO  ] Creating Storage Pool
[ INFO  ] Connecting Storage Pool
[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable
[ INFO  ] Stage: Clean up


It seems I get the same problem with 4.0 beta too...
At least basic sh engine install should work in a beta, I think....

[ INFO  ] Creating Storage Domain
[ INFO  ] Creating Storage Pool
[ INFO  ] Connecting Storage Pool
[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160531110857.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy


Inside ovirt-hosted-engine-setup initially I see an error about SSL and vdsmd
May 31 11:03:58 ovirtita.localdomain.local vdsm[8571]: vdsm vds.dispatcher ERROR SSL error during reading data: unexpected eof

2016-05-31 11:04:36 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'vdsmd.service') stderr:

I see it also inside messages

And then
2016-05-31 11:08:51 DEBUG otopi.plugins.gr_he_setup.sanlock.lockspace storage_backends.create_volume
:270 Connecting to VDSM
2016-05-31 11:08:51 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/sanlock/lockspace.py", l
ine 143, in _misc
    lockspace + '.metadata': md_size,
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 369, 
in create
    service_size=size)
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 279, 
in create_volume
    volUUID=volume_uuid
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 245, 
in _get_volume_path
    volUUID
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1301, in single_request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1448, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 835, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 797, in send
    self.connect()
  File "/usr/lib/python2.7/site-packages/vdsm/m2cutils.py", line 203, in connect
    sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 101] Network is unreachable
2016-05-31 11:08:51 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable
2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.xml''
2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/iptables.example''
2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/sysconfig/iptables''


The NFS file system is indeed mounted together with a loop device
/dev/loop1                              2.0G  3.1M  1.9G   1% /rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpazuZQZ
ovirtita.localdomain.local:/SHE_DOMAIN   25G   34M   25G   1% /rhev/data-center/mnt/ovirtita.localdomain.local:_SHE__DOMAIN

And getting this in messages:
May 31 11:03:51 ovirtita rpc.mountd[937]: authenticated mount request from 192.168.122.51:668 for /S
HE_DOMAIN (/SHE_DOMAIN)
May 31 11:03:51 ovirtita rpc.mountd[937]: authenticated unmount request from 192.168.122.51:927 for 
/SHE_DOMAIN (/SHE_DOMAIN)
May 31 11:03:51 ovirtita journal: vdsm SchemaCache WARNING Provided value "1" not defined in Storage
DomainType enum for StoragePool.connectStorageServer
May 31 11:03:51 ovirtita journal: vdsm SchemaCache WARNING Provided parameters {u'protocol_version':
 3, u'connection': u'ovirtita.localdomain.local:/SHE_DOMAIN', u'user': u'kvm', u'id': u'd8094512-9c9
e-4138-abbb-20715ea7fb96'} do not match any of union ConnectionRefParameters values
May 31 11:03:51 ovirtita rpc.mountd[937]: authenticated mount request from 192.168.122.51:899 for /S
HE_DOMAIN (/SHE_DOMAIN)



sanlock.log contains the lines below.
It seems strange the truncate of hostname from "ovirtita.localdomain.local" to "ovirtita.l" in many lines

2016-05-31 11:07:42+0200 6143 [8341]: s1 lockspace 9501187c-41a3-4e80-aa97-772bacae4c84:250:/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpazuZQZ/9501187c-41a3-4e80-aa97-772bacae4c84/dom_
md/ids:0
2016-05-31 11:08:03+0200 6164 [8342]: s1:r1 resource 9501187c-41a3-4e80-aa97-772bacae4c84:SDM:/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpazuZQZ/9501187c-41a3-4e80-aa97-772bacae4c84/do
m_md/leases:1048576 for 3,11,9192
2016-05-31 11:08:03+0200 6164 [8342]: s2 lockspace cd9f23e2-1b3b-46fb-bf56-8687958c4ff8:250:/rhev/data-center/mnt/ovirtita.localdomain.local:_SHE__DOMAIN/cd9f23e2-1b3b-46fb-bf56-8687958c4ff8/dom_md/ids:0
2016-05-31 11:08:03+0200 6164 [8327]: s1 host 250 1 6143 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:24+0200 6185 [8341]: s2:r2 resource cd9f23e2-1b3b-46fb-bf56-8687958c4ff8:SDM:/rhev/data-center/mnt/ovirtita.localdomain.local:_SHE__DOMAIN/cd9f23e2-1b3b-46fb-bf56-8687958c4ff8/dom_md/
leases:1048576 for 3,11,9192
2016-05-31 11:08:24+0200 6185 [8327]: s2 host 250 1 6164 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:30+0200 6191 [8342]: s3 lockspace 9501187c-41a3-4e80-aa97-772bacae4c84:1:/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpazuZQZ/9501187c-41a3-4e80-aa97-772bacae4c84/dom_md
/ids:0
2016-05-31 11:08:30+0200 6191 [8341]: s4 lockspace cd9f23e2-1b3b-46fb-bf56-8687958c4ff8:1:/rhev/data-center/mnt/ovirtita.localdomain.local:_SHE__DOMAIN/cd9f23e2-1b3b-46fb-bf56-8687958c4ff8/dom_md/ids:0
2016-05-31 11:08:51+0200 6212 [8327]: s4 host 1 1 6191 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:51+0200 6212 [8327]: s4 host 250 1 0 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:51+0200 6212 [8327]: s3 host 1 1 6191 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:51+0200 6212 [8327]: s3 host 250 1 0 2dd31d21-99d9-4c28-8368-2414f31eec55.ovirtita.l
2016-05-31 11:08:51+0200 6212 [9662]: s3:r3 resource 9501187c-41a3-4e80-aa97-772bacae4c84:SDM:/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpazuZQZ/9501187c-41a3-4e80-aa97-772bacae4c84/dom_md/leases:1048576 for 3,11,9192
2016-05-31 11:11:31+0200 6372 [8342]: s5 lockspace d260b12c-3bf2-405a-9537-2949064e58b5:250:/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpugQ9c3/d260b12c-3bf2-405a-9537-2949064e58b5/dom_md/ids:0

Any way to understand why the "create_connect" fails and why it decodes it as "Network unreachable"?

BTW: during setup I see this message

[WARNING] Cannot locate gluster packages, Hyper Converged setup support will be disabled.

Does it mean hyper converged setup could be supported in 4.0?

Thanks,
Gianluca