Resources tracker doesn't free data on instance terminate

Bug #1227925 reported by Vish Ishaya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Medium
Chris Dent

Bug Description

When an instance is terminated on a compute node, the resource tracker keeps the resources allocated for some time. It should remove the resources as soon as the instance is done being cleaned up.

tags: added: grizzly-backport-potential
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/47504

Changed in nova:
assignee: nobody → Vish Ishaya (vishvananda)
status: New → In Progress
Revision history for this message
Alan Pevec (apevec) wrote :

Too late for Grizzly, final stable/grizzly 2013.1.5 has been released.

tags: removed: grizzly-backport-potential
Revision history for this message
Joe Gordon (jogo) wrote :

Is this bug still valid? the patch was abandoned.

Changed in nova:
status: In Progress → Incomplete
assignee: Vish Ishaya (vishvananda) → nobody
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Confirmed
importance: Undecided → Medium
tags: added: scheduler
Changed in nova:
assignee: nobody → Sylvain Bauza (sylvain-bauza)
Changed in nova:
assignee: Sylvain Bauza (sylvain-bauza) → nobody
Changed in nova:
assignee: nobody → Stephen Finucane (sfinucan)
Changed in nova:
assignee: Stephen Finucane (sfinucan) → nobody
Chris Dent (cdent)
Changed in nova:
assignee: nobody → Chris Dent (cdent)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in nova:
status: Confirmed → In Progress
tags: added: kilo-backport-potential liberty-backport-potential
Chris Dent (cdent)
Changed in nova:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

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

commit ff8bf96fbb2967ff25e3d42abd40da3e22d00ecf
Author: Chris Dent <email address hidden>
Date: Mon Mar 7 19:52:08 2016 +0000

    Insure resource tracker updated for deleted instances

    Instances left in a deleted state at compute manager startup were
    not being explicitly cleaned up in the resoruce tracker. To address
    this _update_resource_tracker is now called from solely the
    _complete_deletion method. That method is called both by the
    _init_instance and _delete_instance code paths, both of which should
    be doing cleanup in the resource tracker when the vm is DELETED.

    Note that this change does mean that if _delete_instance has an
    exception, _update_resource_tracker will not be called. This is
    considered okay because we cannot guarantee at which stage the
    exception happened and the state of the resources involved. For safety
    it is better to err on the side of "in use".

    Change-Id: I586c0305ea0e20d98697bc9173ca0f89dc2b228c
    Related-Bug: #1227925

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.