← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1796920] [NEW] Baremetal nodes should not be exposing non-custom-resource-class (vcpu, ram, disk)

 

Public bug reported:

Description
===========
Baremetal nodes report CPU, RAM and DISK inventory.

The issue is that allocations for baremetal nodes are only done considering the custom_resource_class. This happens because baremetal flavors are set to not consume these resources.
See: https://docs.openstack.org/ironic/queens/install/configure-nova-flavors.html

If we use flavor that doesn't include a custom_resource_class ,
placement can include a baremetal nodee that are already deployed because cpu, ram, disk is available (but results in a error from ironic), or worst the instance is created in a baremetal node (if it wasn't deployed yet).


Environment
===========
Nova and Ironic running Queens release.

** Affects: nova
     Importance: Undecided
         Status: Invalid

** Affects: nova/pike
     Importance: High
         Status: Triaged

** Affects: nova/queens
     Importance: High
         Status: Triaged

** Affects: nova/rocky
     Importance: High
     Assignee: Matt Riedemann (mriedem)
         Status: Triaged


** Tags: ironic

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1796920

Title:
  Baremetal nodes should not be exposing non-custom-resource-class
  (vcpu, ram, disk)

Status in OpenStack Compute (nova):
  Invalid
Status in OpenStack Compute (nova) pike series:
  Triaged
Status in OpenStack Compute (nova) queens series:
  Triaged
Status in OpenStack Compute (nova) rocky series:
  Triaged

Bug description:
  Description
  ===========
  Baremetal nodes report CPU, RAM and DISK inventory.

  The issue is that allocations for baremetal nodes are only done considering the custom_resource_class. This happens because baremetal flavors are set to not consume these resources.
  See: https://docs.openstack.org/ironic/queens/install/configure-nova-flavors.html

  If we use flavor that doesn't include a custom_resource_class ,
  placement can include a baremetal nodee that are already deployed because cpu, ram, disk is available (but results in a error from ironic), or worst the instance is created in a baremetal node (if it wasn't deployed yet).

  
  Environment
  ===========
  Nova and Ironic running Queens release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1796920/+subscriptions


Follow ups