deleting instance doesn't update scheduler immediately

Bug #1336080 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Vish Ishaya

Bug Description

Previously deleting an instance would update the scheduler resources fairly quickly. There is now a delay when deleting an instance until the scheduler makes the resources available again. This appears to be due to the fact that the delete code path used to call resource tracker to update the compute_node record but this no longer happens.

Chris Behrens (cbehrens)
Changed in nova:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Vish Ishaya (vishvananda) wrote :

This appears to be a regression introduced in https://review.openstack.org/#/c/36363/

tags: added: havana-backport-potential icehouse-backport-potential
Revision history for this message
Chris Behrens (cbehrens) wrote :

Broke in git hash dce64683291ba2cdb5e6617e01ccc2909254acb4

Proposed fix:

http://paste.openstack.org/show/85184/

oleksii shyman (oshyman)
Changed in nova:
assignee: nobody → oleksii shyman (oshyman)
Revision history for this message
oleksii shyman (oshyman) wrote :

I will fix that issue, but the thing is - I can't reproduce that bug.
I use nova cli to boot some instances, I use nova cli to delete them, and it updates fairly quickly.

oleksii shyman (oshyman)
Changed in nova:
status: Triaged → In Progress
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/105589

Changed in nova:
assignee: oleksii shyman (oshyman) → Vish Ishaya (vishvananda)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 3085aa183d9602c3725ca699b7f1a92a4a4a5226
Author: oleksii <email address hidden>
Date: Tue Jul 8 13:44:25 2014 -0700

    Update scheduler after instance delete

    Previously deleting an instance would update the scheduler resources
    fairly quickly. There is now a delay when deleting an instance until the
    scheduler makes the resources available again. This appears to be due to
    the fact that the delete code path used to call resource tracker to
    update the compute_node record but this no longer happens.

    Closes-Bug: 1336080
    Change-Id: I837b70ce06843ff83481d4985c9c08b74d20cab0

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