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