yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02249
[Bug 1175808] Re: Qpid cannot serialize objects containing strings longer than 65535 characters
This is implemented in oslo.
** Also affects: oslo
Importance: Undecided
Status: New
** Changed in: nova
Status: New => Invalid
--
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/1175808
Title:
Qpid cannot serialize objects containing strings longer than 65535
characters
Status in OpenStack Compute (Nova):
Invalid
Status in Oslo - a Library of Common OpenStack Code:
New
Bug description:
Qpid has a limitation where it cannot serialize a Python dict
containing a string longer than 65535 characters. This can result in
problems when making a conductor call that returns a large structure -
for example, instance_get_all_by_host on one of my systems returns 38
instances, which when serialized as JSON is too long for Qpid to
handle.
There's a discussion of the limitation here:
https://issues.apache.org/jira/browse/QPID-4583
I believe the best fix here is to wrap the string in a buffer as
suggested in the link above. This works fine on my local system and
seems to fix the problem (note: I haven't tested against RabbitMQ yet,
and right now I put the change in common code so that will need to be
done). However, that will be a backward compatibility breaking change
because it will need to be handled differently on the receiving end as
well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1175808/+subscriptions