deallocate_fixed_ip should handle exception to rollback quota

Bug #1284930 reported by jichenjc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
jichenjc

Bug Description

in nova-network, deallocate_fixed_ip function reserve quota first then do deallocate operations
if any operation failed, the quota reserve operation need to be rollback

Tags: network quotas
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichencom (jichenjc)
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/76413

Changed in nova:
status: New → In Progress
Revision history for this message
Sean Dague (sdague) wrote :

patch is still active (last updated 2 days ago)

Matt Riedemann (mriedem)
tags: added: network quotas
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/76413
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=635c5b611ae765bca3a888b1fcabe6bf0027c948
Submitter: Jenkins
Branch: master

commit 635c5b611ae765bca3a888b1fcabe6bf0027c948
Author: jichenjc <email address hidden>
Date: Tue Feb 25 22:09:55 2014 +0800

    Add Quota roll back for deallocate fix ip in nova-network

    in nova-network, deallocate_fixed_ip function reserve quota
    first then do deallocate operations if any operation failed,
    the quota reserve operation need to be rollback.

    Change-Id: If57d2b8a24b2f6ed3d90a1357e89782194df013c
    Closes-Bug: #1284930

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