<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"><<a href="mailto:hawk@tbi.univie.ac.at" target="_blank">hawk@tbi.univie.ac.at</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"><span>On 08/31/2015 05:24 PM, Simone Tiraboschi wrote:<br>
> The output of hosted-engine --deploy is as follows:<br>
><br>
><br>
> Could you please attach also its log?<br>
<br>
</span>Sorry I didn't attach that immediately. The error shows clearly in<br>
the log. As do some others. Though I'm not sure what'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 "/usr/lib/python2.7/site-packages/otopi/context.py", line 145, in _executeMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/system/packages.py", line 89, in _late_setup
caps = cli.getVdsCapabilities()
File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/site-packages/vdsm/vdscli.py", line 43, in wrapped_parse_response
return old_parse_response(*args, **kwargs)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled">
2015-08-31 12:33:15 ERROR otopi.context context._executeMethod:164 Failed to execute stage 'Environment setup': <Fault 1: "<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled"></pre></div><div>The issue is probably here where VDSM try to respond with a None value for the host UUID</div><div><div>'vmTypes': ['kvm'], 'selinux': {'mode': '1'}, 'liveSnapshot':</div><div>'true', 'kdumpStatus': 0, 'networks': {}, 'bridges': {}, 'uuid':</div><div>None, 'onlineCpus':</div><div>'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',</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: <err> = '/dev/mem:</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Operation not permitted\n'; <rc> = 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>