Need to set resource_class on Ironic nodes after upgrade to Pike

Bug #1708653 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dmitry Tantsur

Bug Description

Nova changes the way it scheduled bare metal nodes, see https://specs.openstack.org/openstack/nova-specs/specs/pike/approved/custom-resource-classes-in-flavors.html for details. The first step is to make sure that we have node.resource_class populated in Pike. We can use "baremetal" for all nodes, as we use capabilities for more precise scheduling.

In Queens, we will also have to update our flavors according to the spec.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Dmitry Tantsur (divius) wrote :

Update: we also need to adjust flavors. Otherwise random scheduling errors may come back due to nova changes planned for RC2.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/493943
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=43162a0726e8e7e8c0e806f0c2fb41d8ab2231cd
Submitter: Jenkins
Branch: master

commit 43162a0726e8e7e8c0e806f0c2fb41d8ab2231cd
Author: Dmitry Tantsur <email address hidden>
Date: Tue Aug 15 18:26:45 2017 +0200

    Set resource_class=baremetal for newly enrolled nodes

    We are switching to scheduling based on resource classes, so we need to set
    the correct resource class on all nodes from them to be picked.

    Change-Id: I027ee4ccf5db51729f036aceab047f2b65d0b368
    Partial-Bug: #1708653

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/490851
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=16961722c5b87766b4aed536589a20c2f05e1170
Submitter: Jenkins
Branch: master

commit 16961722c5b87766b4aed536589a20c2f05e1170
Author: Dmitry Tantsur <email address hidden>
Date: Fri Aug 4 14:48:22 2017 +0200

    Switch to scheduling based on resource classes

    This is needed for upgrade. In the future we may support custom
    resource classes, but let's at least make sure we have one.

    Depends-On: I027ee4ccf5db51729f036aceab047f2b65d0b368
    Change-Id: I5d0ef61e1527927882802f01c4f5c82b1f495cdd
    Closes-Bug: #1708653

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 7.3.0

This issue was fixed in the openstack/instack-undercloud 7.3.0 release.

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.