[ovirt-users] ovirt 3.6 Failed to execute stage 'Environment setup'

Simone Tiraboschi stirabos at redhat.com
Tue Sep 1 07:55:40 UTC 2015


On Tue, Sep 1, 2015 at 8:17 AM, Richard Neuboeck <hawk at tbi.univie.ac.at>
wrote:

> On 08/31/2015 05:24 PM, Simone Tiraboschi wrote:
> >     The output of hosted-engine --deploy is as follows:
> >
> >
> > Could you please attach also its log?
>
> Sorry I didn't attach that immediately. The error shows clearly in
> the log. As do some others. Though I'm not sure what's missing that
> causes that python error.
>

vdscli raised when hosted-engine-setup called getVdsCapabilities()

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">

The issue is probably here where VDSM try to respond with a None value for
the host UUID
'vmTypes': ['kvm'], 'selinux': {'mode': '1'}, 'liveSnapshot':
'true', 'kdumpStatus': 0, 'networks': {}, 'bridges': {}, 'uuid':
None, 'onlineCpus':
'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',

Indeed you had:
Thread-64::DEBUG::2015-08-31
12:33:15,127::utils::661::root::(execCmd) /usr/bin/sudo -n
/usr/sbin/dmidecode -s system-uuid (cwd None)
Thread-64::DEBUG::2015-08-31
12:33:15,153::utils::679::root::(execCmd) FAILED: <err> = '/dev/mem:
Operation not permitted\n'; <rc> = 1
Thread-64::WARNING::2015-08-31
12:33:15,154::utils::812::root::(getHostUUID) Could not find host UUID.
Thread-64::DEBUG::2015-08-31

Can you please try executing?
/usr/sbin/dmidecode -s system-uuid




> Cheers
> Richard
>
> --
> /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150901/be71d5ee/attachment-0001.html>


More information about the Users mailing list