<div dir="ltr"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small">Hi All!</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">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 <a href="http://lists.ovirt.org/pipermail/users/2014-October/028461.html">http://lists.ovirt.org/pipermail/users/2014-October/028461.html</a> but that conversation didn't continue after the reporting user was asked for additional details.</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">Failed installation:</div><div style="font-family:arial;font-size:small"><div><br class="">[root@vhost1 ~]# hosted-engine --deploy</div><div>[ INFO ] Stage: Initializing</div><div> Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.</div><div> Are you sure you want to continue? (Yes, No)[Yes]:</div><div>[ INFO ] Generating a temporary VNC password.</div><div>[ INFO ] Stage: Environment setup</div><div> Configuration files: []</div><div> Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141223224236-y9ttk4.log</div><div> Version: otopi-1.3.0 (otopi-1.3.0-1.el6)</div><div>[ INFO ] Hardware supports virtualization</div><div>[ INFO ] Stage: Environment packages setup</div><div>[ INFO ] Stage: Programs detection</div><div>[ INFO ] Stage: Environment setup</div><div>[ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute</div><div>[ INFO ] Stage: Clean up</div><div>[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'</div><div>[ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated</div><div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">Packages:</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><div>[root@vhost1 ~]# rpm -qa|grep hosted-engine</div><div>ovirt-hosted-engine-setup-1.2.1-1.el6.noarch</div><div>ovirt-hosted-engine-ha-1.2.4-1.el6.noarch</div><div><br></div><div>[root@vhost1 ~]# rpm -qa|grep vdsm</div><div>vdsm-yajsonrpc-4.16.7-1.gitdb83943.el6.noarch</div><div>vdsm-python-zombiereaper-4.16.7-1.gitdb83943.el6.noarch</div><div>vdsm-python-4.16.7-1.gitdb83943.el6.noarch</div><div>vdsm-xmlrpc-4.16.7-1.gitdb83943.el6.noarch</div><div>vdsm-4.16.7-1.gitdb83943.el6.x86_64</div><div>vdsm-cli-4.16.7-1.gitdb83943.el6.noarch</div><div>vdsm-jsonrpc-4.16.7-1.gitdb83943.el6.noarch</div></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">So here's the output that was requested in the other thread. Hope someone can help me here. Thanks!</div><div style="font-family:arial;font-size:small"><br></div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">[root@vhost1 ~]# find /var/lib/vdsm/persistence
/var/lib/vdsm/persistence</pre><pre style><span style="color:rgb(0,0,0);white-space:pre-wrap">[root@vhost1 ~]# find /var/run/vdsm/netconf
find: `/var/run/vdsm/netconf': No such file or directory</span><font color="#000000"><span style="white-space:pre-wrap">
</span></font></pre><div style><font color="#000000" face="monospace"><span style="white-space:pre-wrap">[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</span></font><span style="font-family:arial,sans-serif;font-size:small;color:rgb(0,0,0);white-space:pre-wrap"> virsh -r net</span><font face="arial"> </font></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><div>[root@vhost1 ~]# virsh -r net</div><div>error: unknown command: 'net'</div><div><br></div><div>[root@vhost1 ~]# virsh -r net-list</div><div>Name State Autostart Persistent</div><div>--------------------------------------------------</div><div>;vdsmdummy; active no no</div><div><br></div></div><div style="font-family:arial;font-size:small"><div>[root@vhost1 ~]# vdsm-tool restore-nets</div><div>Traceback (most recent call last):</div><div> File "/usr/share/vdsm/vdsm-restore-net-config", line 137, in <module></div><div> restore()</div><div> File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in restore</div><div> unified_restoration()</div><div> File "/usr/share/vdsm/vdsm-restore-net-config", line 57, in unified_restoration</div><div> _inRollback=True)</div><div> File "/usr/share/vdsm/network/api.py", line 616, in setupNetworks</div><div> netinfo._libvirtNets2vdsm(libvirt_nets)))</div><div> File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 822, in get</div><div> d['nics'][<a href="http://dev.name">dev.name</a>] = _nicinfo(dev, paddr, ipaddrs)</div><div> File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 653, in _nicinfo</div><div> info = _devinfo(link, ipaddrs)</div><div> File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 681, in _devinfo</div><div> ipv4addr, ipv4netmask, ipv4addrs, ipv6addrs = getIpInfo(<a href="http://link.name">link.name</a>, ipaddrs)</div><div> File "/usr/lib/python2.6/site-packages/vdsm/netinfo.py", line 370, in getIpInfo</div><div> ipv4addr, prefix = addr['address'].split('/')</div><div>ValueError: need more than 1 value to unpack</div><div>Traceback (most recent call last):</div><div> File "/usr/bin/vdsm-tool", line 209, in main</div><div> return tool_command[cmd]["command"](*args)</div><div> File "/usr/lib/python2.6/site-packages/vdsm/tool/restore_nets.py", line 36, in restore_command</div><div> restore()</div><div> File "/usr/lib/python2.6/site-packages/vdsm/tool/restore_nets.py", line 45, in restore</div><div> raise EnvironmentError('Failed to restore the persisted networks')</div><div>EnvironmentError: Failed to restore the persisted networks</div></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">following is mentioned in the original thread, but should help other googlers:</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">ovirt-hosted-engine-setup.log (first attempt):</div><div style="font-family:arial;font-size:small"><br></div><div style><div style><font face="arial">2014-12-23 22:04:38 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout:</font></div><div style><font face="arial">Starting multipathd daemon: [ OK ]</font></div><div style><font face="arial">Starting rpcbind: [ OK ]</font></div><div style><font face="arial">Starting ntpd: [ OK ]</font></div><div style><font face="arial">Loading the softdog kernel module: [ OK ]</font></div><div style><font face="arial">Starting wdmd: [ OK ]</font></div><div style><font face="arial">Starting sanlock: [ OK ]</font></div><div style><font face="arial">supervdsm start[ OK ]</font></div><div style><font face="arial">Starting iscsid: [ OK ]</font></div><div style><font face="arial">[ OK ]</font></div><div style><font face="arial">vdsm: Running mkdirs</font></div><div style><font face="arial">vdsm: Running configure_coredump</font></div><div style><font face="arial">vdsm: Running configure_vdsm_logs</font></div><div style><font face="arial">vdsm: Running run_init_hooks</font></div><div style><font face="arial">vdsm: Running check_is_configured</font></div><div style><font face="arial">libvirt is already configured for vdsm</font></div><div style><font face="arial">vdsm: Running validate_configuration</font></div><div style><font face="arial">SUCCESS: ssl configured to true. No conflicts</font></div><div style><font face="arial">vdsm: Running prepare_transient_repository</font></div><div style><font face="arial">vdsm: Running syslog_available</font></div><div style><font face="arial">vdsm: Running nwfilter</font></div><div style><font face="arial">vdsm: Running dummybr</font></div><div style><font face="arial">vdsm: Running load_needed_modules</font></div><div style><font face="arial">vdsm: Running tune_system</font></div><div style><font face="arial">vdsm: Running test_space</font></div><div style><font face="arial">vdsm: Running test_lo</font></div><div style><font face="arial">vdsm: Running unified_network_persistence_upgrade</font></div><div style><font face="arial">vdsm: stopped during execute unified_network_persistence_upgrade task (task returned with error code 1).</font></div><div style><font face="arial">vdsm start[FAILED]</font></div><div style><font face="arial"><br></font></div><div style><font face="arial">2014-12-23 22:04:38 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr:</font></div><div style><font face="arial">initctl: Job is already running: libvirtd</font></div><div style><font face="arial">libvirt: Network Filter Driver error : Network filter not found: no nwfilter with matching name 'vdsm-no-mac-spoofing'</font></div><div style><font face="arial"><br></font></div><div style><font face="arial">2014-12-23 22:04:38 DEBUG otopi.context context._executeMethod:152 method exception</font></div><div style><font face="arial">Traceback (most recent call last):</font></div><div style><font face="arial"> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod</font></div><div style><font face="arial"> method['method']()</font></div><div style><font face="arial"> File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py", line 155, in _late_setup</font></div><div style><font face="arial"> state=True</font></div><div style><font face="arial"> File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state</font></div><div style><font face="arial"> 'start' if state else 'stop'</font></div><div style><font face="arial"> File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand</font></div><div style><font face="arial"> raiseOnError=raiseOnError</font></div><div style><font face="arial"> File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute</font></div><div style><font face="arial"> command=args[0],</font></div><div style><font face="arial">RuntimeError: Command '/sbin/service' failed to execute</font></div><div style><font face="arial">2014-12-23 22:04:38 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute</font></div></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">ovirt-hosted-engine-setup.log (further attempts):<br></div><div style="font-family:arial;font-size:small"><br></div><div style><div style><font face="arial">2014-12-23 22:42:40 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'vdsmd', 'start') stdout:</font></div><div style><font face="arial">vdsm: Running mkdirs</font></div><div style><font face="arial">vdsm: Running configure_coredump</font></div><div style><font face="arial">vdsm: Running configure_vdsm_logs</font></div><div style><font face="arial">vdsm: Running run_init_hooks</font></div><div style><font face="arial">vdsm: Running check_is_configured</font></div><div style><font face="arial">libvirt is already configured for vdsm</font></div><div style><font face="arial">vdsm: Running validate_configuration</font></div><div style><font face="arial">SUCCESS: ssl configured to true. No conflicts</font></div><div style><font face="arial">vdsm: Running prepare_transient_repository</font></div><div style><font face="arial">vdsm: Running syslog_available</font></div><div style><font face="arial">vdsm: Running nwfilter</font></div><div style><font face="arial">vdsm: Running dummybr</font></div><div style><font face="arial">vdsm: Running load_needed_modules</font></div><div style><font face="arial">vdsm: Running tune_system</font></div><div style><font face="arial">vdsm: Running test_space</font></div><div style><font face="arial">vdsm: Running test_lo</font></div><div style><font face="arial">vdsm: Running unified_network_persistence_upgrade</font></div><div style><font face="arial">vdsm: stopped during execute unified_network_persistence_upgrade task (task returned with error code 1).</font></div><div style><font face="arial">vdsm start[FAILED]</font></div><div style><font face="arial"><br></font></div><div style><font face="arial">2014-12-23 22:42:40 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'vdsmd', 'start') stderr:</font></div><div style><font face="arial">initctl: Job is already running: libvirtd</font></div><div style><font face="arial"><br></font></div><div style><font face="arial">2014-12-23 22:42:40 DEBUG otopi.context context._executeMethod:152 method exception</font></div><div style><font face="arial">Traceback (most recent call last):</font></div><div style><font face="arial"> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod</font></div><div style><font face="arial"> method['method']()</font></div><div style><font face="arial"> File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/vdsmenv.py", line 155, in _late_setup</font></div><div style><font face="arial"> state=True</font></div><div style><font face="arial"> File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state</font></div><div style><font face="arial"> 'start' if state else 'stop'</font></div><div style><font face="arial"> File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand</font></div><div style><font face="arial"> raiseOnError=raiseOnError</font></div><div style><font face="arial"> File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute</font></div><div style><font face="arial"> command=args[0],</font></div><div style><font face="arial">RuntimeError: Command '/sbin/service' failed to execute</font></div></div><div style><font face="arial">2014-12-23 22:42:40 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute</font><br></div><p>----</p><p>Andreas</p></div></div></div></div></div></div>
</div>