Instance_group object should have tighter attribute checking

Bug #1221383 reported by Dan Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Smith

Bug Description

The instance_group object needs to use the dict and list helpers for its policies, metadetails, and members attributes. Right now they could have unserializable and heterogeneous values, which will break things. This is important to get in for Havana for schema correctness going forward.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/45304
Committed: http://github.com/openstack/nova/commit/6bb8a3b0a7ed04acaa8dc53640adc5063841100b
Submitter: Jenkins
Branch: master

commit 6bb8a3b0a7ed04acaa8dc53640adc5063841100b
Author: Dan Smith <email address hidden>
Date: Thu Sep 12 13:41:25 2013 -0700

    Fix use of bare list/dict types in instance_group object

    The instance_group object was merged before we had helpers for
    dict and list objects of strings. This makes that object use those
    for schema safety.

    Change-Id: I1f68e43a83f140f7b29b17c0961b267e64e48390
    Closes-bug: 1221383

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → havana-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
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.