baremetal nodes are garbage collected incorrectly

Bug #1174952 reported by devananda on 2013-04-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
High
devananda
Grizzly
High
Russell Bryant
tripleo
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.

devananda (devananda) on 2013-04-30
tags: added: baremetal
Changed in nova:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Devananda van der Veen (devananda)
Changed in tripleo:
status: New → In Progress
importance: Undecided → High

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

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
devananda (devananda) on 2013-05-06
Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-05-29
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Alan Pevec (apevec) on 2013-08-06
tags: removed: in-stable-grizzly
Thierry Carrez (ttx) on 2013-10-17
Changed in nova:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers