baremetal nodes are garbage collected incorrectly

Bug #1174952 reported by aeva black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
aeva black
Grizzly
Fix Released
High
Russell Bryant
tripleo
Fix Released
High
Unassigned

Bug Description

Baremetal nodes may be deleted from nova.compute_nodes by ComputeManager.update_available_resources() if an instance has been allocated to that node, and even while the deployment is still in process.

Tags: baremetal
aeva black (tenbrae)
tags: added: baremetal
Changed in nova:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Devananda van der Veen (devananda)
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/27855

Changed in tripleo:
status: New → In Progress
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/27855
Committed: http://github.com/openstack/nova/commit/75568fe6309d0e89f829bc15f14536506e58a152
Submitter: Jenkins
Branch: master

commit 75568fe6309d0e89f829bc15f14536506e58a152
Author: Devananda van der Veen <email address hidden>
Date: Tue Apr 30 14:34:56 2013 -0700

    Fix baremetal get_available_nodes

    Baremetal driver get_available_nodes was incorrectly returning only a
    list of unprovisioned nodes, leading update_availabile_resources to
    sometimes delete a baremetal node that had an instance provisioned
    to it -- sometimes even while the provisioning was still in process.

    Fix bug 1174952

    Change-Id: I4f08a2f6539a5b6cd12245ac6b4dc308767ae0cd

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/27955

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/27955
Committed: http://github.com/openstack/nova/commit/79ad6cbc448d1e596b565aaccdc9dbd6895d231c
Submitter: Jenkins
Branch: stable/grizzly

commit 79ad6cbc448d1e596b565aaccdc9dbd6895d231c
Author: Devananda van der Veen <email address hidden>
Date: Tue Apr 30 14:34:56 2013 -0700

    Fix baremetal get_available_nodes

    Baremetal driver get_available_nodes was incorrectly returning only a
    list of unprovisioned nodes, leading update_availabile_resources to
    sometimes delete a baremetal node that had an instance provisioned
    to it -- sometimes even while the provisioning was still in process.

    Fix bug 1174952

    Change-Id: I4f08a2f6539a5b6cd12245ac6b4dc308767ae0cd
    (cherry picked from commit 75568fe6309d0e89f829bc15f14536506e58a152)

tags: added: in-stable-grizzly
aeva black (tenbrae)
Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: in-stable-grizzly
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.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.