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.
https://twitter.com/SandroBonazzola/status/730426730515673092
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
What I see as relevant in log is
2016-05-12 16:47:36 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.sanlock.lockspace storage_backends
.create_volume:270 Connecting to VDSM
2016-05-12 16:47:36 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/ovirt-hosted-engine-setup/sanlock/lo
ckspace.py", line 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-12 16:47:36 ERROR otopi.context context._executeMethod:151 Failed
to execute stage 'Misc configuration': [Errno 101] Network is unreachable
2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting
'File transaction for
'/etc/ovirt-hosted-engine/firewalld/hosted-console.xml''
2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting
'File transaction for '/etc/ovirt-hosted-engine/iptables.example''
2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting
'File transaction for '/etc/sysconfig/iptables''
2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:760
ENVIRONMENT DUMP - BEGIN
2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:770 ENV
BASE/error=bool:'True'
2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:770 ENV
BASE/exceptionInfo=list:'[(<class 'socket.error'>, error(101,
'Network is
unreachable'), <traceback object at 0x46a5dd0>)]'
2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:774
ENVIRONMENT DUMP - END
2016-05-12 16:47:36 INFO otopi.context context.runSequence:687 Stage: Clean
up
2016-05-12 16:47:36 DEBUG otopi.context context.runSequence:691 STAGE
cleanup
2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage
cleanup METHOD
otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._cleanup
2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage
cleanup METHOD
otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki.Plugin._cleanup
2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage
cleanup METHOD
otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._cleanup
2016-05-12 16:47:36 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._destroyStoragePool:931 _destroyStoragePool
2016-05-12 16:47:42 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._destroyStoragePool:940 {'status': {'message': 'Done',
'code': 0}}
2016-05-12 16:47:42 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._destroyFakeStorageDomain:860 _destroyFakeStorageDomain
2016-05-12 16:47:42 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
plugin.executeRaw:813 execute: ('/sbin/losetup', '--detach',
u'/dev/loop0'), executable='None', cwd='None', env=None
2016-05-12 16:47:42 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
plugin.executeRaw:863 execute-result: ('/sbin/losetup', '--detach',
u'/dev/loop0'), rc=0
2016-05-12 16:47:42 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage plugin.execute:921
execute-output: ('/sbin/losetup', '--detach', u'/dev/loop0')
stdout:
# ll /etc/ovirt-hosted-engine/
total 4
-rw-r--r--. 1 root root 226 May 11 17:03 10-appliance.conf
drwxr-xr-x. 2 root root 6 May 12 17:01 firewalld
# ll /etc/ovirt-hosted-engine/firewalld/
total 0
# cat /etc/ovirt-hosted-engine/10-appliance.conf
description=The oVirt Engine Appliance image (OVA)
version=4.0-20160511.1.el7.centos
path=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.0-20160511.1.el7.centos.ova
sha1sum=ebbcf458a74599b25d357db37ba5b8eadebf4a03
What is it trying to do to create this "connection"?
The bridge is created ok.
[root@ovirtita ~]# brctl show
bridge name bridge id STP enabled interfaces
;vdsmdummy; 8000.000000000000 no
ovirtmgmt 8000.5254001550ba no eth0
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master
ovirtmgmt state UP qlen 1000
link/ether 52:54:00:15:50:ba brd ff:ff:ff:ff:ff:ff
3: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
link/ether 5a:71:c9:a2:b4:43 brd ff:ff:ff:ff:ff:ff
5: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP
link/ether 52:54:00:15:50:ba brd ff:ff:ff:ff:ff:ff
inet 192.168.122.51/24 brd 192.168.122.255 scope global ovirtmgmt
valid_lft forever preferred_lft forever
6: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 2e:9d:6e:04:6c:68 brd ff:ff:ff:ff:ff:ff
Possibly having disabled ipv6?
It fail also if I run it after with answer file generated...