Fail to clean lease if reserve_resource fails

Bug #1702853 reported by Hiroaki Kobayashi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Blazar
Fix Released
Medium
Hiroaki Kobayashi

Bug Description

When Exceptions other than UnsupportedResourceType nor BlazarException is raised in reserve_resource(), garbage of lease remains in blazar DB.

Changed in blazar:
importance: Undecided → Medium
assignee: nobody → Hiroaki Kobayashi (hiro-kobayashi)
Changed in blazar:
status: New → In Progress
Changed in blazar:
milestone: none → 0.3.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to blazar (master)

Reviewed: https://review.openstack.org/481518
Committed: https://git.openstack.org/cgit/openstack/blazar/commit/?id=38652345846c1595e856744297842f96e0ef0f08
Submitter: Jenkins
Branch: master

commit 38652345846c1595e856744297842f96e0ef0f08
Author: Hiroaki Kobayashi <email address hidden>
Date: Fri Jul 7 17:53:44 2017 +0900

    Handle more exceptions raised in reserve_resource()

    This commit also moves parameter validation to a separate function.

    Change-Id: Ic1382873ddd819535254b738b17176981ba771e6
    Closes-Bug: #1702853

Changed in blazar:
status: In Progress → 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.