<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 8:17 AM, Richard Neuboeck <span dir="ltr">&lt;<a href="mailto:hawk@tbi.univie.ac.at" target="_blank">hawk@tbi.univie.ac.at</a>&gt;</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"><span>On 08/31/2015 05:24 PM, Simone Tiraboschi wrote:<br>
&gt;     The output of hosted-engine --deploy is as follows:<br>
&gt;<br>
&gt;<br>
&gt; Could you please attach also its log?<br>
<br>
</span>Sorry I didn&#39;t attach that immediately. The error shows clearly in<br>
the log. As do some others. Though I&#39;m not sure what&#39;s missing that<br>
causes that python error.<br></blockquote><div><br></div><div>vdscli raised when hosted-engine-setup called getVdsCapabilities()</div><div><br></div><div><pre>2015-08-31 12:33:15 DEBUG otopi.context context._executeMethod:155 method exception
Traceback (most recent call last):
  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 145, in _executeMethod
    method[&#39;method&#39;]()
  File &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/packages.py&quot;, line 89, in _late_setup
    caps = cli.getVdsCapabilities()
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 1224, in __call__
    return self.__send(self.__name, args)
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 1578, in __request
    verbose=self.__verbose
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 1297, in single_request
    return self.parse_response(response)
  File &quot;/usr/lib/python2.7/site-packages/vdsm/vdscli.py&quot;, line 43, in wrapped_parse_response
    return old_parse_response(*args, **kwargs)
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 1473, in parse_response
    return u.close()
  File &quot;/usr/lib64/python2.7/xmlrpclib.py&quot;, line 793, in close
    raise Fault(**self._stack[0])
Fault: &lt;Fault 1: &quot;&lt;type &#39;exceptions.TypeError&#39;&gt;:cannot marshal None unless allow_none is enabled&quot;&gt;
2015-08-31 12:33:15 ERROR otopi.context context._executeMethod:164 Failed to execute stage &#39;Environment setup&#39;: &lt;Fault 1: &quot;&lt;type &#39;exceptions.TypeError&#39;&gt;:cannot marshal None unless allow_none is enabled&quot;&gt;</pre></div><div>The issue is probably here where VDSM try to respond with a None value for the host UUID</div><div><div>&#39;vmTypes&#39;: [&#39;kvm&#39;], &#39;selinux&#39;: {&#39;mode&#39;: &#39;1&#39;}, &#39;liveSnapshot&#39;:</div><div>&#39;true&#39;, &#39;kdumpStatus&#39;: 0, &#39;networks&#39;: {}, &#39;bridges&#39;: {}, &#39;uuid&#39;:</div><div>None, &#39;onlineCpus&#39;:</div><div>&#39;0,1,2,3,4,5,6,7,8,9,20,21,22,23,24,25,26,27,28,29,10,11,12,13,14,15,16,17,18,19,30,31,32,33,34,35,36,37,38,39&#39;,</div></div><div><br></div><div>Indeed you had:</div><div><span style="font-size:12.8000001907349px">Thread-64::DEBUG::2015-08-31</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">12:33:15,127::utils::661::</span><span style="font-size:12.8000001907349px">root::(execCmd) /usr/bin/sudo -n</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">/usr/sbin/dmidecode -s system-uuid (cwd None)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Thread-64::DEBUG::2015-08-31</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">12:33:15,153::utils::679::</span><span style="font-size:12.8000001907349px">root::(execCmd) FAILED: &lt;err&gt; = &#39;/dev/mem:</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Operation not permitted\n&#39;; &lt;rc&gt; = 1</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Thread-64::WARNING::2015-08-31</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">12:33:15,154::utils::812::</span><span style="font-size:12.8000001907349px">root::(getHostUUID) Could not find host UUID.</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Thread-64::DEBUG::2015-08-31</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Can you please try executing?</span></div><div><span style="font-size:12.8000001907349px">/usr/sbin/dmidecode -s system-uuid</span><br></div><div><br></div><div><br></div><div> </div><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">
Cheers<br>
<span><font color="#888888">Richard<br>
<br>
--<br>
/dev/null<br>
</font></span></blockquote></div><br></div></div>