RFE: add a resource_class field to the node object

Bug #1604916 reported by Jim Rollenhagen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Wishlist
Jim Rollenhagen

Bug Description

To enable nova to schedule to ironic nodes in the same way as other resources, nova needs to put ironic nodes into resource provider records. These must have a "resource class" that a nova flavor can reference to find a resource provider (ironic node) to schedule to.

Let's add a field to the node object, "resource_class", which will be a string, which operators can specify.

Tags: rfe-approved
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :

Quick spec incoming

Changed in ironic:
importance: Undecided → Wishlist
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
assignee: nobody → Jim Rollenhagen (jim-rollenhagen)
status: New → In Progress
Ruby Loo (rloo)
tags: added: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ironic-specs (master)

Reviewed: https://review.openstack.org/345040
Committed: https://git.openstack.org/cgit/openstack/ironic-specs/commit/?id=7825196baaa4e8d9c95a04b2b748d03ea7526883
Submitter: Jenkins
Branch: master

commit 7825196baaa4e8d9c95a04b2b748d03ea7526883
Author: Jim Rollenhagen <email address hidden>
Date: Wed Jul 20 13:46:58 2016 -0700

    Add node.resource_class

    Related-Bug: #1604916
    Change-Id: Ic5daf0d31207b7c123cb8b4228dae624383a48ab

Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :

Spec is approved, approving the RFE

tags: added: rfe-approved
removed: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/345055
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=f16c6570bf0ffe70f83b85b963a4210c3990c573
Submitter: Jenkins
Branch: master

commit f16c6570bf0ffe70f83b85b963a4210c3990c573
Author: Jim Rollenhagen <email address hidden>
Date: Wed Jul 20 14:20:45 2016 -0700

    Add node.resource_class field

    This adds the "resource_class" field to the node table, object, and API,
    as well as a database migration to go with it.

    Change-Id: I936f2e7b2f4d26e01354e826e5595ff021c3a55c
    Partial-Bug: #1604916

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/345081
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=622b3f30769ea0a8451ab07fabdffdf295cf1df9
Submitter: Jenkins
Branch: master

commit 622b3f30769ea0a8451ab07fabdffdf295cf1df9
Author: Jim Rollenhagen <email address hidden>
Date: Wed Jul 20 22:34:50 2016 +0000

    Add docs for node.resource_class and flavor creation

    This change also outlines the expected changes in Nova wrt bare metal.

    Closes-Bug: #1604916
    Co-Authored-By: Dmitry Tantsur <email address hidden>
    Change-Id: I4f7259c8c13c9080d649731311f9bb8f4bdf1d99

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 9.0.0

This issue was fixed in the openstack/ironic 9.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Vladyslav Drok (<email address hidden>) on branch: master
Review: https://review.openstack.org/443628

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.