resource metadata field are not correctly persisted into db

Bug #1613142 reported by Qiming Teng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
High
Qiming Teng

Bug Description

When oslo.versionedobject was introduced into senlin, the meta_data field of a db object was correctly translated into 'metadata' property of a Python object when deserializing from DB. However, when serializing a Python object into database, we failed to convert this field.

Qiming Teng (tengqim)
Changed in senlin:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

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

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

Reviewed: https://review.openstack.org/355276
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=9046e3900579af9e9e5a039c6308221fa0d7a1fc
Submitter: Jenkins
Branch: master

commit 9046e3900579af9e9e5a039c6308221fa0d7a1fc
Author: tengqm <email address hidden>
Date: Sun Aug 14 22:26:41 2016 -0400

    Fix object serialization about metadata

    This patch fixes the problem when serializing Python objects in to DB.

    Change-Id: Id8a4fd23e452ebd1c4d8ed7a39bd747d7fcc3ca4
    Closes-Bug: #1613142

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 2.0.0.0b3

This issue was fixed in the openstack/senlin 2.0.0.0b3 development milestone.

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.