soft_delete instance_type_projects in instance_type_destroy

Bug #1172153 reported by Boris Pavlovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Boris Pavlovic

Bug Description

We should soft_delete not only corresponding instance_type_extra_specs but also instance_type_projects.

Tags: db
Changed in nova:
assignee: nobody → Boris Pavlovic (boris-42)
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/27410

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

Reviewed: https://review.openstack.org/27410
Committed: http://github.com/openstack/nova/commit/481d4a767e324e956af4afcb510eac802a9efa7a
Submitter: Jenkins
Branch: master

commit 481d4a767e324e956af4afcb510eac802a9efa7a
Author: Boris Pavlovic <email address hidden>
Date: Wed Apr 24 00:41:42 2013 +0400

    Fix bug in db.instance_type_destroy

    Fix db.instance_type_destroy()
    Corresponding instance_type_projects weren't deleted

    Fix db.instance_type_acces_get_by_flavor_id method
    Return [] list if there is no such instance_type
    instead of AttributeError

    Fixes bug 1172153

    Change-Id: Ib1a9a23aa6e26711c198bf4a5059797044c44426

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