<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
I'm giving the new hosted-engine feature a try with the new 3.4.0 alpha build on centos 6.5</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
hosted-engine --deply seems to fail at the 'Environment setup"</div><div class="gmail_default"><div class="gmail_default"><font face="tahoma, sans-serif">[ ERROR ] Failed to execute stage 'Environment setup': Command '/sbin/service' failed to execute</font></div>
<div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Within the logs I believe it seems to be related to vdsm. Logs show "VDS daemon is not running"</div><div style="font-family:tahoma,sans-serif">
<br></div><div style="font-family:tahoma,sans-serif">service vdsm start gives the following error:</div><div style="font-family:tahoma,sans-serif"><br></div><div><div><font face="tahoma, sans-serif">initctl: Job is already running: libvirtd</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running mkdirs</font></div><div><font face="tahoma, sans-serif">vdsm: Running configure_coredump</font></div><div><font face="tahoma, sans-serif">vdsm: Running run_init_hooks</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running gencerts</font></div><div><font face="tahoma, sans-serif">vdsm: Running check_is_configured</font></div><div><font face="tahoma, sans-serif">libvirt is already configured for vdsm</font></div>
<div><font face="tahoma, sans-serif">sanlock service is already configured</font></div><div><font face="tahoma, sans-serif">vdsm: Running validate_configuration</font></div><div><font face="tahoma, sans-serif">SUCCESS: ssl configured to true. No conflicts</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running prepare_transient_repository</font></div><div><font face="tahoma, sans-serif">vdsm: Running syslog_available</font></div><div><font face="tahoma, sans-serif">vdsm: Running nwfilter</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running dummybr</font></div><div><font face="tahoma, sans-serif">vdsm: Running load_needed_modules</font></div><div><font face="tahoma, sans-serif">vdsm: Running tune_system</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running test_space</font></div><div><font face="tahoma, sans-serif">vdsm: Running test_lo</font></div><div><font face="tahoma, sans-serif">vdsm: Running restore_nets</font></div>
<div><font face="tahoma, sans-serif">vdsm: Running unified_network_persistence_upgrade</font></div><div><font face="tahoma, sans-serif">Usage: /usr/bin/vdsm-tool [options] <action> [arguments]</font></div><div><font face="tahoma, sans-serif"><br>
</font></div><div><font face="tahoma, sans-serif">Valid options:</font></div><div><font face="tahoma, sans-serif"> -h, --help</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module configurator:</font></div>
<div><font face="tahoma, sans-serif"> configure Configure external services for vdsm</font></div><div><font face="tahoma, sans-serif"> is-configured Determine if module is configured</font></div>
<div><font face="tahoma, sans-serif"> validate-config Determine if configuration is valid</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module dummybr:</font></div>
<div><font face="tahoma, sans-serif"> dummybr Defines dummy bridge on libvirt network.</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module load_needed_modules:</font></div>
<div><font face="tahoma, sans-serif"> load-needed-modules Load needed modules</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module nwfilter:</font></div>
<div><font face="tahoma, sans-serif"> nwfilter Defines network filters on libvirt</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module passwd:</font></div>
<div><font face="tahoma, sans-serif"> set-saslpasswd Set vdsm password for libvirt connection</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module restore_nets:</font></div>
<div><font face="tahoma, sans-serif"> restore-nets Restores the networks to what was</font></div><div><font face="tahoma, sans-serif"> previously persisted via vdsm.</font></div><div><font face="tahoma, sans-serif"><br>
</font></div><div><font face="tahoma, sans-serif">Commands in module seboolsetup:</font></div><div><font face="tahoma, sans-serif"> sebool-config Enable the required selinux booleans</font></div><div><font face="tahoma, sans-serif"> sebool-unconfig Disable the required selinux booleans</font></div>
<div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module service:</font></div><div><font face="tahoma, sans-serif"> service-disable Disable a system service</font></div>
<div><font face="tahoma, sans-serif"> service-is-managed Check the existence of a service</font></div><div><font face="tahoma, sans-serif"> service-reload Notify a system service to reload</font></div><div>
<font face="tahoma, sans-serif"> configurations</font></div><div><font face="tahoma, sans-serif"> service-restart Restart a system service</font></div><div><font face="tahoma, sans-serif"> service-start Start a system service</font></div>
<div><font face="tahoma, sans-serif"> service-status Get status of a system service</font></div><div><font face="tahoma, sans-serif"> service-stop Stop a system service</font></div><div><font face="tahoma, sans-serif"><br>
</font></div><div><font face="tahoma, sans-serif">Commands in module transient:</font></div><div><font face="tahoma, sans-serif"> cleanup-transient-repository Cleanup the unused transient disks</font></div><div><font face="tahoma, sans-serif"> present in the repository. (NOTE: it</font></div>
<div><font face="tahoma, sans-serif"> is recommended to NOT execute this</font></div><div><font face="tahoma, sans-serif"> command when the vdsm daemon is</font></div>
<div><font face="tahoma, sans-serif"> running)</font></div><div><font face="tahoma, sans-serif"> setup-transient-repository Prepare the transient disks</font></div><div><font face="tahoma, sans-serif"> repository</font></div>
<div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module unified_persistence:</font></div><div><font face="tahoma, sans-serif"> upgrade-unified-persistence Upgrade host networking persistence</font></div>
<div><font face="tahoma, sans-serif"> from ifcfg to unified if the</font></div><div><font face="tahoma, sans-serif"> persistence model is set as unified in</font></div>
<div><font face="tahoma, sans-serif"> /usr/lib64/python2.X/site-packages/</font></div><div><font face="tahoma, sans-serif"> vdsm/config.py</font></div><div><font face="tahoma, sans-serif"><br>
</font></div><div><font face="tahoma, sans-serif">Commands in module upgrade:</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module upgrade_300_networks:</font></div>
<div><font face="tahoma, sans-serif"> upgrade-3.0.0-networks Since ovirt-3.0, Vdsm uses libvirt</font></div><div><font face="tahoma, sans-serif"> networks (with names vdsm-*) to store its</font></div>
<div><font face="tahoma, sans-serif"> own networks. Older Vdsms did not have those</font></div><div><font face="tahoma, sans-serif"> defined, and used only linux bridges. This</font></div>
<div><font face="tahoma, sans-serif"> command is kept as an upgrade tool for the</font></div><div><font face="tahoma, sans-serif"> (very few) people who still have such old</font></div>
<div><font face="tahoma, sans-serif"> setups running.</font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module validate_ovirt_certs:</font></div>
<div><font face="tahoma, sans-serif"> validate-ovirt-certs Validate vdsmcert.pem against cacert.pem.</font></div><div><font face="tahoma, sans-serif"> If current cacert.pem is invalidate, it will</font></div>
<div><font face="tahoma, sans-serif"> find a validate certificate file and replace</font></div><div><font face="tahoma, sans-serif"> the old cacert.pem with it. And then persist it.</font></div>
<div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Commands in module vdsm-id:</font></div><div><font face="tahoma, sans-serif"> vdsm-id Printing host uuid</font></div>
<div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">vdsm: failed to execute unified_network_persistence_upgrade, error code 1</font></div><div><font face="tahoma, sans-serif">vdsm start [FAILED]</font></div>
<div style="font-family:tahoma,sans-serif"><br></div></div><div style="font-family:tahoma,sans-serif">Any suggestions?</div><div style="font-family:tahoma,sans-serif"><br></div></div><div><font face="tahoma, sans-serif">Thanks,<br>
Andrew</font><br></div>
</div>