[ovirt-users] Hosted Engine installation fails while deploying in hyper-converged configuration

Simone Tiraboschi stirabos at redhat.com
Fri Apr 22 12:35:40 UTC 2016


On Fri, Apr 22, 2016 at 2:26 PM, Stefano Stagnaro
<stefanos at prismatelecomtesting.com> wrote:
> Ciao Simone,
>
> here it is:
>
> [root at h4 ~]# vdsClient -s 0 getVdsCaps
> Traceback (most recent call last):
>   File "/usr/share/vdsm/vdsClient.py", line 3001, in <module>
>     code, message = commands[command][0](commandArgs)
>   File "/usr/share/vdsm/vdsClient.py", line 542, in do_getCap
>     return self.ExecAndExit(self.s.getVdsCapabilities())
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
>     return self.single_request(host, handler, request_body, verbose)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, 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 1482, in parse_response
>     return u.close()
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
>     raise Fault(**self._stack[0])
> Fault: <Fault 1: "<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled">
>
> Thanks.

Probably it's failing reading the UUID of that server.
Can you please try executing
 /usr/sbin/dmidecode -s system-uuid
?

> On ven, 2016-04-22 at 13:36 +0200, Simone Tiraboschi wrote:
>> On Fri, Apr 22, 2016 at 1:07 PM, Stefano Stagnaro
>> <stefanos at prismatelecomtesting.com> wrote:
>> > Hi,
>> >
>> > while deploying Hosted Engine in hyper-converged configuration, installation fails with following error:
>> > [ ERROR ] Failed to execute stage 'Environment customization': <Fault 1: "<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled">
>>
>> Ciao Stefano,
>> it's failing here:
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146,
>> in _executeMethod
>>     method['method']()
>>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py",
>> line 116, in _customization
>>     self.environment[ohostedcons.VDSMEnv.VDS_CLI]
>>   File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/vds_info.py",
>> line 31, in capabilities
>>     result = conn.getVdsCapabilities()
>>
>> since it probably get a None value somewhere in the result of getVdsCapabilities
>>
>> Can you please attach also the output of
>>   vdsClient -s 0 getVdsCaps
>> ?
>>
>> thanks
>>
>>
>> >
>> > I followed Ramesh post: http://blogs-ramesh.blogspot.it/2016/01/ovirt-and-gluster-hyperconvergence.html
>> >
>> > My setup includes 3 hosts with:
>> > - ovirt 3.6.3
>> > - glusterfs 3.7.8
>> > - vdsm 4.17.23.2
>> > - replica 3 gluster volume
>> > - no firewall
>> > - selinux enforcing
>> > - 1 network for management, 1 network for gluster
>> >
>> > I've uploaded logs on pastebin:
>> > - hosted-engine --deploy http://pastebin.com/aZwwdt51
>> > - ovirt-hosted-engine-setup.log http://pastebin.com/114zfbAB
>> > - rhev-data-center-mnt-glusterSD-h4gfs.newvirt:_engine.log http://pastebin.com/GL4yyT95
>> > - vdsm.log http://pastebin.com/WjSm0cHQ
>> >
>> >
>> > Thank you very much for your help.
>> >
>> > --
>> > Stefano Stagnaro
>> >
>> > Prisma Telecom Testing S.r.l.
>> > Via Petrocchi, 4
>> > 20127 Milano – Italy
>> >
>> > Tel. 02 26113507 int 339
>> > e-mail: stefanos at prismatelecomtesting.com
>> > skype: stefano.stagnaro
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>
>



More information about the Users mailing list