yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49857
[Bug 1572264] Re: xenapi xmlrpclib marshalling error
Reviewed: https://review.openstack.org/307984
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fd9bedb7a907dece1b4114be782e6baa89182f42
Submitter: Jenkins
Branch: master
commit fd9bedb7a907dece1b4114be782e6baa89182f42
Author: Brian Elliott <bdelliott@xxxxxxxxx>
Date: Tue Apr 19 18:33:03 2016 +0000
xenapi: Fix xmlrpclib marshalling error
Fix an error that occurs when trying to marshal an
oslo_i18n._message.Message object via xmlrpclib.
xmlrpclib is not designed to marshal custom objects. Since
nova_version is only used for this one purpose, don't internationalize
it.
Closes-Bug: 1572264
Change-Id: I04c59993125834fc50abd0c5b6dc3fd0269b7243
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1572264
Title:
xenapi xmlrpclib marshalling error
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Seeing an error on the xenapi compute driver where one of the
arguments passed in is an i18n string and can't be marshalled via
xmlrpclib when talking to xenapi:
http://paste.openstack.org/show/494702/
My understanding is custom objects are not supported per:
"ServerProxy instance methods take Python basic types and objects as
arguments and return Python basic types and classes."
https://docs.python.org/2.7/library/xmlrpclib.html#module-xmlrpclib
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1572264/+subscriptions
References