Adding nova since the oslo.serialization change breaks nova unit and functional tests so I need to fix those up first.
** Changed in: oslo.serialization Status: New => Fix Released ** Also affects: nova Importance: Undecided Status: New ** Changed in: nova Status: New => In Progress ** Changed in: nova Assignee: (unassigned) => Matt Riedemann (mriedem) -- 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/1593641 Title: Strange errors when using dump/dumps from jsonutils Status in OpenStack Compute (nova): In Progress Status in oslo.serialization: Fix Released Bug description: Methods dump/dumps throw strange exceptions (ValueError: Circular reference detected) when trying to serialize arbitrary (non- serializable) objects. For example, jsonutils.dumps(object()) yields the following traceback: Traceback (most recent call last): File "/home/gdavoian/oslo.serialization/oslo_serialization/jsonutils.py", line 259, in <module> print dumps(object()) File "/home/gdavoian/oslo.serialization/oslo_serialization/jsonutils.py", line 184, in dumps return json.dumps(obj, default=default, **kwargs) File "/usr/lib/python2.7/json/__init__.py", line 250, in dumps sort_keys=sort_keys, **kw).encode(obj) File "/usr/lib/python2.7/json/encoder.py", line 207, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode return _iterencode(o, 0) ValueError: Circular reference detected To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1593641/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp