agent_build_update() and agent_build_destroy() does not raise exception on updating deleted object

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

Bug Description

nova.db.sqlalchemy.api.agent_build_update does no raising AgentBuildNotFound on updating deleted object.
Same with agent_build_destroy()

Tags: db
Changed in nova:
assignee: nobody → eyerediskin (eyerediskin)
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
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/29783

Mark McLoughlin (markmc)
Changed in nova:
importance: Medium → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/29783
Committed: http://github.com/openstack/nova/commit/da2638b0e04f77e10b54ca4622e863319896aa53
Submitter: Jenkins
Branch: master

commit da2638b0e04f77e10b54ca4622e863319896aa53
Author: Sergey Skripnick <email address hidden>
Date: Mon May 20 12:03:19 2013 +0300

    Raise AgentBuildNotFound on updating/destroying deleted object

    Methods below should raise an exception when attempting to operate
    with deleted AgentBuild objects:

     nova.db.sqlalchemy.api.agent_build_destroy()
     nova.db.sqlalchemy.api.agent_build_update()

    Fixes: bug 1181967

    Change-Id: If6df202afb7ea41634c35f7a52988e19677f4d65

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
Sean Dague (sdague)
no longer affects: nova/grizzly
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.