Serialization is broken in MuranoPL

Bug #1297146 reported by Serg Melikyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Serg Melikyan

Bug Description

2014-03-25 13:04:10.724 637 TRACE muranoapi Traceback (most recent call last):
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/opt/pycharm/helpers/pydev/pydevd.py", line 1534, in <module>
2014-03-25 13:04:10.724 637 TRACE muranoapi debugger.run(setup['file'], None, None)
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/opt/pycharm/helpers/pydev/pydevd.py", line 1145, in run
2014-03-25 13:04:10.724 637 TRACE muranoapi pydev_imports.execfile(file, globals, locals) #execute the script
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/cmd/test.py", line 64, in <module>
2014-03-25 13:04:10.724 637 TRACE muranoapi main()
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/cmd/test.py", line 56, in main
2014-03-25 13:04:10.724 637 TRACE muranoapi s_res = results_serializer.serialize(obj, exc)
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/engine/results_serializer.py", line 27, in serialize
2014-03-25 13:04:10.724 637 TRACE muranoapi tree = _pass1_serialize(root_object, None, serialized_objects)
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/engine/results_serializer.py", line 53, in _pass1_serialize
2014-03-25 13:04:10.724 637 TRACE muranoapi result = value.to_dictionary()
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/engine/objects.py", line 78, in __getattr__
2014-03-25 13:04:10.724 637 TRACE muranoapi 'restricted')
2014-03-25 13:04:10.724 637 TRACE muranoapi File "/home/sad/Projects/murano-api/muranoapi/engine/objects.py", line 85, in get_property
2014-03-25 13:04:10.724 637 TRACE muranoapi if not caller_class:
2014-03-25 13:04:10.724 637 TRACE muranoapi AttributeError: to_dictionary

Tags: verified
Changed in murano:
importance: Undecided → Critical
assignee: nobody → Serg Melikyan (smelikyan)
milestone: none → 0.5
Stan Lagun (slagun)
Changed in murano:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-api (master)

Fix proposed to branch: master
Review: https://review.openstack.org/82747

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-api (master)

Reviewed: https://review.openstack.org/83801
Committed: https://git.openstack.org/cgit/stackforge/murano-api/commit/?id=5958cced52df8dc0408d66104dbcef598e11befe
Submitter: Jenkins
Branch: master

commit 5958cced52df8dc0408d66104dbcef598e11befe
Author: Serg Melikyan <email address hidden>
Date: Fri Mar 28 20:07:39 2014 +0400

    Resolve issues with circular dependency

     * Resolved issues with circular dependencies
     * Updated objects namespaces to the new io.murano.* namespace
     * Resolved a few issues related to not included code from PoC
     * Renamed objects to more pythonic name (back to original actually)

    Closes-bug: #1297146
    Change-Id: I34641eca33c70908bd44b50f0956abda9d8dbfa7

Changed in murano:
status: In Progress → Fix Committed
tags: added: verified
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.