Ironic nodes can be scheduled to in inappropriate states

Bug #1432020 reported by Josh Gachnang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Josh Gachnang

Bug Description

Ironic nodes in many of the states added in the new state machine can be scheduled to, even if they aren't in AVAILABLE state. For example, a node going through cleaning (e.g. erasing disks), a node in MANAGEABLE state (either isn't ready for scheduling or specifically removed from the schedulable nodes pool by the operator to do tasks like hardware inspection), and others.

Reference for the new state machine: https://github.com/openstack/ironic-specs/blob/master/specs/kilo/new-ironic-state-machine.rst

Changed in nova:
assignee: nobody → Josh Gachnang (joshnang)
status: New → In Progress
Changed in nova:
importance: Undecided → Low
aeva black (tenbrae)
Changed in nova:
milestone: none → kilo-3
Changed in nova:
assignee: Josh Gachnang (joshnang) → Jim Rollenhagen (jim-rollenhagen)
Changed in nova:
assignee: Jim Rollenhagen (jim-rollenhagen) → Josh Gachnang (joshnang)
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-3 → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 590957007e645ae108233d03d849fb6742ee17f7
Author: Josh Gachnang <email address hidden>
Date: Fri Mar 13 12:18:37 2015 -0700

    Adjust resource tracker for new Ironic states

    Ironic changed the state machine during Kilo, and many states
    that shouldn't be considered schedulable are. This imports the
    new states that were added, and adjusts the resource tracker
    accordingly.

    Closes-Bug: 1432020
    Change-Id: I6e6abfb41c6896e0db826a444979c5a28a5463fb

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