← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1438601] [NEW] Cells Response serialization was incorrect for NovaObjects

 

Public bug reported:

In nova.cells.messaging.Response, the serialization/deserialization was
done using the oslo.serialization library which is not correctly
serializing a NovaObject because it will loose all related attributes
about versioning and classes. Consequently, when deserializing, it will
be rehydrated into a dict instead of a NovaObject.

http://git.openstack.org/cgit/openstack/nova/tree/nova/cells/messaging.py?id=9c45ff348d7eb75ae8098b6c950db549aaff282a#n1852


The fix is easy and should call objects_base.serialize_entity() instead.

** Affects: nova
     Importance: Medium
     Assignee: Sylvain Bauza (sylvain-bauza)
         Status: New


** Tags: cells

-- 
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/1438601

Title:
  Cells Response serialization was incorrect for NovaObjects

Status in OpenStack Compute (Nova):
  New

Bug description:
  In nova.cells.messaging.Response, the serialization/deserialization
  was done using the oslo.serialization library which is not correctly
  serializing a NovaObject because it will loose all related attributes
  about versioning and classes. Consequently, when deserializing, it
  will be rehydrated into a dict instead of a NovaObject.

  http://git.openstack.org/cgit/openstack/nova/tree/nova/cells/messaging.py?id=9c45ff348d7eb75ae8098b6c950db549aaff282a#n1852

  
  The fix is easy and should call objects_base.serialize_entity() instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1438601/+subscriptions


Follow ups

References