<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">&lt;<a href="mailto:jmoskovc@redhat.com" target="_blank">jmoskovc@redhat.com</a>&gt;</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 &quot;/usr/bin/vdsm-tool&quot;, line 145, in &lt;module&gt;<br>
     sys.exit(main())<br>
   File &quot;/usr/bin/vdsm-tool&quot;, line 142, in main<br>
     return tool_command[cmd][&quot;command&quot;](*<u></u>args[1:])<br>
   File &quot;/usr/lib64/python2.6/site-<u></u>packages/vdsm/tool/<u></u>configurator.py&quot;,<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>
&#39;vdsm-tool configure [module_name]&#39;.<br>
<br>
If all modules are not configured try to use:<br>
&#39;vdsm-tool configure --force&#39;<br>
(The force flag will stop the module&#39;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&#39;s the package changes for reference,<br>
<br>
--&gt; Running transaction check<br>
---&gt; Package vdsm.x86_64 0:4.14.9-0.el6 will be a downgrade<br>
---&gt; Package vdsm.x86_64 0:4.14.11-0.el6 will be erased<br>
---&gt; Package vdsm-cli.noarch 0:4.14.9-0.el6 will be a downgrade<br>
---&gt; Package vdsm-cli.noarch 0:4.14.11-0.el6 will be erased<br>
---&gt; Package vdsm-python.x86_64 0:4.14.9-0.el6 will be a downgrade<br>
---&gt; Package vdsm-python.x86_64 0:4.14.11-0.el6 will be erased<br>
---&gt; Package vdsm-python-zombiereaper.<u></u>noarch 0:4.14.9-0.el6 will be a<br>
downgrade<br>
---&gt; Package vdsm-python-zombiereaper.<u></u>noarch 0:4.14.11-0.el6 will be erased<br>
---&gt; Package vdsm-xmlrpc.noarch 0:4.14.9-0.el6 will be a downgrade<br>
---&gt; 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 &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br></div></div><div><div>
&lt;mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;<u></u>&gt; 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&#39;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 &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br></div></div><div><div>
    &lt;mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;<u></u>&gt; wrote:<br>
<br>
        Here&#39;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 &quot;/usr/lib/python2.6/site-<u></u>packages/otopi/context.py&quot;,<br>
        line 142, in _executeMethod<br>
             method[&#39;method&#39;]()<br>
           File<br>
        &quot;/usr/share/ovirt-hosted-<u></u>engine-setup/scripts/../<u></u>plugins/ovirt-hosted-engine-<u></u>setup/vm/configurevm.py&quot;,<br>
        line 99, in _late_setup<br>
             response = serv.s.list()<br>
           File &quot;/usr/lib64/python2.6/<u></u>xmlrpclib.py&quot;, line 1199, in __call__<br>
             return self.__send(self.__name, args)<br>
           File &quot;/usr/lib64/python2.6/<u></u>xmlrpclib.py&quot;, line 1489, in __request<br>
             verbose=self.__verbose<br>
           File &quot;/usr/lib64/python2.6/<u></u>xmlrpclib.py&quot;, line 1235, in request<br>
             self.send_content(h, request_body)<br>
           File &quot;/usr/lib64/python2.6/<u></u>xmlrpclib.py&quot;, line 1349, in<br>
        send_content<br>
             connection.endheaders()<br>
           File &quot;/usr/lib64/python2.6/httplib.<u></u>py&quot;, line 908, in endheaders<br>
             self._send_output()<br>
           File &quot;/usr/lib64/python2.6/httplib.<u></u>py&quot;, line 780, in _send_output<br>
             self.send(msg)<br>
           File &quot;/usr/lib64/python2.6/httplib.<u></u>py&quot;, line 739, in send<br>
             self.connect()<br>
           File<br>
        &quot;/usr/lib64/python2.6/site-<u></u>packages/vdsm/<u></u>SecureXMLRPCServer.py&quot;,<br>
        line 188, in connect<br>
             sock = socket.create_connection((<u></u>self.host, self.port),<br>
        self.timeout)<br>
           File &quot;/usr/lib64/python2.6/socket.<u></u>py&quot;, 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 &#39;Environment<br>
        setup&#39;: [Errno 111] Connection refused<br>
<br>
<br>
        On Wed, Jul 16, 2014 at 9:05 PM, Sandro Bonazzola<br></div></div><div>
        &lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a> &lt;mailto:<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;&gt; wrote:<br>
<br>
            Il 16/07/2014 00:47, Christopher Jaggon ha scritto:<br>
             &gt; Here is a list of packages :<br>
             &gt;<br>
             &gt; rpm -qa | grep -i vdsm gives :<br>
             &gt;<br>
             &gt; vdsm-python-4.14.9-0.el6.x86_<u></u>64<br>
             &gt; vdsm-python-zombiereaper-4.14.<u></u>9-0.el6.noarch<br>
             &gt; vdsm-xmlrpc-4.14.9-0.el6.<u></u>noarch<br>
             &gt; vdsm-4.14.9-0.el6.x86_64<br>
             &gt; vdsm-cli-4.14.9-0.el6.noarch<br>
             &gt;<br>
             &gt; When I try to run the hosted engine setup I get this<br>
            error in the log :<br>
             &gt;<br>
             &gt; [ INFO  ] Waiting for VDSM hardware info<br>
             &gt; [ INFO  ] Waiting for VDSM hardware info<br>
             &gt; [ ERROR ] Failed to execute stage &#39;Environment setup&#39;:<br>
            [Errno 111] Connection refused<br>
             &gt; [ INFO  ] Stage: Clean up<br>
             &gt;<br>
             &gt; 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>
             &gt;<br>
             &gt;<br>
             &gt;<br>
             &gt; ______________________________<u></u>_________________<br>
             &gt; Users mailing list<br></div>
             &gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<div><br>
             &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
             &gt;<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> &lt;<a href="http://redhat.com" target="_blank">http://redhat.com</a>&gt;<br>
            ______________________________<u></u>_________________<br>
            Users mailing list<br>
            <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<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>