Hi All!Just tried to install the hosted engine on a fresh CentOS 6.6: beside setting up a gluster cluster, I just added the repo and installed hosted-engine-setup package. Otherwise it's just a very minimal installation. hosted-engine deploy failed immediately. The issue seems to be the same as described here http://lists.ovirt.org/pipermail/users/2014-October/028461.html but that conversation didn't continue after the reporting user was asked for additional details.Failed installation:
[root@vhost1 ~]# hosted-engine --deploy[ INFO ] Stage: InitializingContinuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.Are you sure you want to continue? (Yes, No)[Yes]:[ INFO ] Generating a temporary VNC password.[ INFO ] Stage: Environment setupConfiguration files: []Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141223224236-y9ttk4.logVersion: otopi-1.3.0 (otopi-1.3.0-1.el6)[ INFO ] Hardware supports virtualization[ INFO ] Stage: Environment packages setup[ INFO ] Stage: Programs detection[ INFO ] Stage: Environment setup[ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute[ INFO ] Stage: Clean up[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'[ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated[ INFO ] Stage: Pre-termination[ INFO ] Stage: TerminationPackages:[root@vhost1 ~]# rpm -qa|grep hosted-engineovirt-hosted-engine-setup-1.2.1-1.el6.noarchovirt-hosted-engine-ha-1.2.4-1.el6.noarch[root@vhost1 ~]# rpm -qa|grep vdsmvdsm-yajsonrpc-4.16.7-1.gitdb83943.el6.noarchvdsm-python-zombiereaper-4.16.7-1.gitdb83943.el6.noarchvdsm-python-4.16.7-1.gitdb83943.el6.noarchvdsm-xmlrpc-4.16.7-1.gitdb83943.el6.noarchvdsm-4.16.7-1.gitdb83943.el6.x86_64vdsm-cli-4.16.7-1.gitdb83943.el6.noarchvdsm-jsonrpc-4.16.7-1.gitdb83943.el6.noarchSo here's the output that was requested in the other thread. Hope someone can help me here. Thanks![root@vhost1 ~]# find /var/lib/vdsm/persistence /var/lib/vdsm/persistence[root@vhost1 ~]# find /var/run/vdsm/netconf find: `/var/run/vdsm/netconf': No such file or directory[root@vhost1 ~]# ip l 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 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:25:90:d8:0a:b0 brd ff:ff:ff:ff:ff:ff 4: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN link/ether 62:e5:28:13:9d:ba brd ff:ff:ff:ff:ff:ff 5: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff virsh -r net[root@vhost1 ~]# virsh -r neterror: unknown command: 'net'[root@vhost1 ~]# virsh -r net-listName State Autostart Persistent--------------------------------------------------;vdsmdummy; active no no[root@vhost1 ~]# vdsm-tool restore-netsTraceback (most recent call last):File "/usr/share/vdsm/vdsm-restore-net-config", line 137, in <module>restore()File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in restoreunified_restoration()File "/usr/share/vdsm/vdsm-restore-net-config", line 57, in unified_restoration_inRollback=True)File "/usr/share/vdsm/network/api.py", line 616, in setupNetworksnetinfo._libvirtNets2vdsm(libvirt_nets)))File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 822, in getd['nics'][dev.name] = _nicinfo(dev, paddr, ipaddrs)File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 653, in _nicinfoinfo = _devinfo(link, ipaddrs)File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 681, in _devinfoipv4addr, ipv4netmask, ipv4addrs, ipv6addrs = getIpInfo(link.name, ipaddrs)File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 370, in getIpInfoipv4addr, prefix = addr['address'].split('/')ValueError: need more than 1 value to unpackTraceback (most recent call last):File "/usr/bin/vdsm-tool", line 209, in mainreturn tool_command[cmd]["command"](*args)File "/usr/lib/python2.6/site-packages/vdsm/tool/restore_nets.py", line 36, in restore_commandrestore()File "/usr/lib/python2.6/site-packages/vdsm/tool/restore_nets.py", line 45, in restoreraise EnvironmentError('Failed to restore the persisted networks')EnvironmentError: Failed to restore the persisted networksfollowing is mentioned in the original thread, but should help other googlers:ovirt-hosted-engine-setup.log (first attempt):2014-12-23 22:04:38 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout:Starting multipathd daemon: [ OK ]Starting rpcbind: [ OK ]Starting ntpd: [ OK ]Loading the softdog kernel module: [ OK ]Starting wdmd: [ OK ]Starting sanlock: [ OK ]supervdsm start[ OK ]Starting iscsid: [ OK ][ OK ]vdsm: Running mkdirsvdsm: Running configure_coredumpvdsm: Running configure_vdsm_logsvdsm: Running run_init_hooksvdsm: Running check_is_configuredlibvirt is already configured for vdsmvdsm: Running validate_configurationSUCCESS: ssl configured to true. No conflictsvdsm: Running prepare_transient_repositoryvdsm: Running syslog_availablevdsm: Running nwfiltervdsm: Running dummybrvdsm: Running load_needed_modulesvdsm: Running tune_systemvdsm: Running test_spacevdsm: Running test_lovdsm: Running unified_network_persistence_upgradevdsm: stopped during execute unified_network_persistence_upgrade task (task returned with error code 1).vdsm start[FAILED]2014-12-23 22:04:38 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr:initctl: Job is already running: libvirtdlibvirt: Network Filter Driver error : Network filter not found: no nwfilter with matching name 'vdsm-no-mac-spoofing'2014-12-23 22:04:38 DEBUG otopi.context context._executeMethod:152 method exceptionTraceback (most recent call last):File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethodmethod['method']()File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py", line 155, in _late_setupstate=TrueFile "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state'start' if state else 'stop'File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommandraiseOnError=raiseOnErrorFile "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in executecommand=args[0],RuntimeError: Command '/sbin/service' failed to execute2014-12-23 22:04:38 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment setup': Command '/sbin/service' failed to executeovirt-hosted-engine-setup.log (further attempts):2014-12-23 22:42:40 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout:vdsm: Running mkdirsvdsm: Running configure_coredumpvdsm: Running configure_vdsm_logsvdsm: Running run_init_hooksvdsm: Running check_is_configuredlibvirt is already configured for vdsmvdsm: Running validate_configurationSUCCESS: ssl configured to true. No conflictsvdsm: Running prepare_transient_repositoryvdsm: Running syslog_availablevdsm: Running nwfiltervdsm: Running dummybrvdsm: Running load_needed_modulesvdsm: Running tune_systemvdsm: Running test_spacevdsm: Running test_lovdsm: Running unified_network_persistence_upgradevdsm: stopped during execute unified_network_persistence_upgrade task (task returned with error code 1).vdsm start[FAILED]2014-12-23 22:42:40 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr:initctl: Job is already running: libvirtd2014-12-23 22:42:40 DEBUG otopi.context context._executeMethod:152 method exceptionTraceback (most recent call last):File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethodmethod['method']()File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py", line 155, in _late_setupstate=TrueFile "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state'start' if state else 'stop'File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommandraiseOnError=raiseOnErrorFile "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in executecommand=args[0],RuntimeError: Command '/sbin/service' failed to execute2014-12-23 22:42:40 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute----
Andreas