<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Quick update, it seems to be related to the latest vdsm package, </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div>
<div class="gmail_default" style><div class="gmail_default" style><font face="tahoma, sans-serif">service vdsmd start</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">vdsm: Running mkdirs</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif">vdsm: Running configure_coredump</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">vdsm: Running configure_vdsm_logs</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif">vdsm: Running run_init_hooks</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">vdsm: Running gencerts</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif">vdsm: Running check_is_configured</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">libvirt is not configured for vdsm yet</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif">Modules libvirt are not configured</font></div><div class="gmail_default" style><font face="tahoma, sans-serif"> Traceback (most recent call last):</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif"> File "/usr/bin/vdsm-tool", line 145, in <module></font></div><div class="gmail_default" style><font face="tahoma, sans-serif"> sys.exit(main())</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif"> File "/usr/bin/vdsm-tool", line 142, in main</font></div><div class="gmail_default" style><font face="tahoma, sans-serif"> return tool_command[cmd]["command"](*args[1:])</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif"> File "/usr/lib64/python2.6/site-packages/vdsm/tool/configurator.py", line 282, in isconfigured</font></div><div class="gmail_default" style><font face="tahoma, sans-serif"> raise RuntimeError(msg)</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif">RuntimeError: </font></div><div class="gmail_default" style><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">One of the modules is not configured to work with VDSM.</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif">To configure the module use the following:</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">'vdsm-tool configure [module_name]'.</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">If all modules are not configured try to use:</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif">'vdsm-tool configure --force'</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">(The force flag will stop the module's service and start it</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif">afterwards automatically to load the new configuration.)</font></div><div class="gmail_default" style><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif">vdsm: stopped during execute check_is_configured task (task returned with error code 1).</font></div><div class="gmail_default" style><font face="tahoma, sans-serif">vdsm start [FAILED]</font></div>
<div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">yum downgrade vdsm*</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><div class="gmail_default">
Here's the package changes for reference,</div><div class="gmail_default"><br></div><div class="gmail_default">--> Running transaction check</div><div class="gmail_default">---> Package vdsm.x86_64 0:4.14.9-0.el6 will be a downgrade</div>
<div class="gmail_default">---> Package vdsm.x86_64 0:4.14.11-0.el6 will be erased</div><div class="gmail_default">---> Package vdsm-cli.noarch 0:4.14.9-0.el6 will be a downgrade</div><div class="gmail_default">---> Package vdsm-cli.noarch 0:4.14.11-0.el6 will be erased</div>
<div class="gmail_default">---> Package vdsm-python.x86_64 0:4.14.9-0.el6 will be a downgrade</div><div class="gmail_default">---> Package vdsm-python.x86_64 0:4.14.11-0.el6 will be erased</div><div class="gmail_default">
---> Package vdsm-python-zombiereaper.noarch 0:4.14.9-0.el6 will be a downgrade</div><div class="gmail_default">---> Package vdsm-python-zombiereaper.noarch 0:4.14.11-0.el6 will be erased</div><div class="gmail_default">
---> Package vdsm-xmlrpc.noarch 0:4.14.9-0.el6 will be a downgrade</div><div class="gmail_default">---> Package vdsm-xmlrpc.noarch 0:4.14.11-0.el6 will be erased</div><div class="gmail_default"><br></div></div><div style="font-family:tahoma,sans-serif">
service vdsmd start</div><div style="font-family:tahoma,sans-serif"><div>initctl: Job is already running: libvirtd</div><div>vdsm: Running mkdirs</div><div>vdsm: Running configure_coredump</div><div>vdsm: Running configure_vdsm_logs</div>
<div>vdsm: Running run_init_hooks</div><div>vdsm: Running gencerts</div><div>vdsm: Running check_is_configured</div><div>libvirt is already configured for vdsm</div><div>sanlock service is already configured</div><div>vdsm: Running validate_configuration</div>
<div>SUCCESS: ssl configured to true. No conflicts</div><div>vdsm: Running prepare_transient_repository</div><div>vdsm: Running syslog_available</div><div>vdsm: Running nwfilter</div><div>vdsm: Running dummybr</div><div>
vdsm: Running load_needed_modules</div>
<div>vdsm: Running tune_system</div><div>vdsm: Running test_space</div><div>vdsm: Running test_lo</div><div>vdsm: Running unified_network_persistence_upgrade</div><div>vdsm: Running restore_nets</div><div>vdsm: Running upgrade_300_nets</div>
<div>Starting up vdsm daemon: </div><div>vdsm start [ OK ]</div><div>[root@ov-hv1-2a-08-23 ~]# service vdsmd status</div><div>VDS daemon server is running</div><div><br></div>
</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 19, 2014 at 6:58 PM, Andrew Lau <span dir="ltr"><<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">
It seems vdsm is not running,</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">
<div>service vdsmd status</div><div>VDS daemon is not running, and its watchdog is running</div><div><br></div><div>The only logs in /var/log/vdsm/ that appear to have any content is /var/log/vdsm/supervdsm.log - everything else is blank</div>
<div><br></div></div><div style="font-family:tahoma,sans-serif"><div>MainThread::DEBUG::2014-07-19 18:55:34,793::supervdsmServer::424::SuperVdsm.Server::(main) Terminated normally</div>
<div>MainThread::DEBUG::2014-07-19 18:55:38,033::netconfpersistence::134::root::(_getConfigs) Non-existing config set.</div><div>MainThread::DEBUG::2014-07-19 18:55:38,034::netconfpersistence::134::root::(_getConfigs) Non-existing config set.</div>
<div>MainThread::DEBUG::2014-07-19 18:55:38,058::supervdsmServer::384::SuperVdsm.Server::(main) Making sure I'm root - SuperVdsm</div><div>MainThread::DEBUG::2014-07-19 18:55:38,059::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd args</div>
<div>MainThread::DEBUG::2014-07-19 18:55:38,059::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old socket /var/run/vdsm/svdsm.sock</div><div>MainThread::DEBUG::2014-07-19 18:55:38,059::supervdsmServer::400::SuperVdsm.Server::(main) Setting up keep alive thread</div>
<div>MainThread::DEBUG::2014-07-19 18:55:38,059::supervdsmServer::406::SuperVdsm.Server::(main) Creating remote object manager</div><div>MainThread::DEBUG::2014-07-19 18:55:38,061::supervdsmServer::417::SuperVdsm.Server::(main) Started serving super vdsm object</div>
<div>sourceRoute::DEBUG::2014-07-19 18:55:38,062::sourceRouteThread::56::root::(_subscribeToInotifyLoop) sourceRouteThread.subscribeToInotifyLoop started</div><div><br></div></div><div><div class="h5"><div class="gmail_extra">
<br><div class="gmail_quote">On Sat, Jul 19, 2014 at 6:48 PM, Andrew Lau <span dir="ltr"><<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:tahoma,sans-serif">Here's a snippet from my hosted-engine-setup log</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">
<div>2014-07-19 18:45:14 DEBUG otopi.context context._executeMethod:138 Stage late_setup METHOD otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm.Plugin._late_setup</div><div>
2014-07-19 18:45:14 DEBUG otopi.context context._executeMethod:152 method exception</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod</div>
<div> method['method']()</div><div> File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/configurevm.py", line 99, in _late_setup</div>
<div> response = serv.s.list()</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__</div><div> return self.__send(self.__name, args)</div>
<div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request</div><div> verbose=self.__verbose</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request</div>
<div> self.send_content(h, request_body)</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content</div><div> connection.endheaders()</div>
<div> File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders</div><div> self._send_output()</div><div> File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output</div>
<div> self.send(msg)</div><div> File "/usr/lib64/python2.6/httplib.py", line 739, in send</div><div> self.connect()</div><div>
File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py", line 188, in connect</div><div> sock = socket.create_connection((self.host, self.port), self.timeout)</div><div>
File "/usr/lib64/python2.6/socket.py", line 567, in create_connection</div><div> raise error, msg</div><div>error: [Errno 111] Connection refused</div><div>
2014-07-19 18:45:14 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment setup': [Errno 111] Connection refused</div><div><br></div></div><div><div><div class="gmail_extra">
<br><div class="gmail_quote">
On Wed, Jul 16, 2014 at 9:05 PM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Il 16/07/2014 00:47, Christopher Jaggon ha scritto:<br>
<div>> Here is a list of packages :<br>
><br>
> rpm -qa | grep -i vdsm gives :<br>
><br>
> vdsm-python-4.14.9-0.el6.x86_64<br>
> vdsm-python-zombiereaper-4.14.9-0.el6.noarch<br>
> vdsm-xmlrpc-4.14.9-0.el6.noarch<br>
> vdsm-4.14.9-0.el6.x86_64<br>
> vdsm-cli-4.14.9-0.el6.noarch<br>
><br>
> When I try to run the hosted engine setup I get this error in the log :<br>
><br>
> [ INFO ] Waiting for VDSM hardware info<br>
> [ INFO ] Waiting for VDSM hardware info<br>
> [ ERROR ] Failed to execute stage 'Environment setup': [Errno 111] Connection refused<br>
> [ INFO ] Stage: Clean up<br>
><br>
> Any advice and why this maybe so?<br>
<br>
<br>
</div>Can you please provide hosted-engine setup, vdsm, supervdsm and libvirt logs?<br>
<div><br>
<br>
<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
</div><span><font color="#888888">--<br>
Sandro Bonazzola<br>
Better technology. Faster innovation. Powered by community collaboration.<br>
See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br>
</font></span><div><div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>