← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794773] [NEW] Unnecessary warning when ironic node properties are not set

 

Public bug reported:

If an ironic node is registered without either of the 'memory_mb' or
'cpus' properties, the following warning messages are seen in the nova-
compute logs:

Warning, memory usage is 0 for <instance> on baremetal node <node>.
Warning, number of cpus is 0 for <instance> on baremetal node <node>.

As of the Rocky release [1], the standard compute resources (VCPU,
MEMORY_MB, DISK_GB) are not registered with placement for ironic nodes.
They were not required to be set since the Pike release, but still this
warning is emitted.

[1] https://review.openstack.org/#/c/565841/

** Affects: nova
     Importance: Undecided
     Assignee: Mark Goddard (mgoddard)
         Status: In Progress

-- 
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/1794773

Title:
  Unnecessary warning when ironic node properties are not set

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  If an ironic node is registered without either of the 'memory_mb' or
  'cpus' properties, the following warning messages are seen in the
  nova-compute logs:

  Warning, memory usage is 0 for <instance> on baremetal node <node>.
  Warning, number of cpus is 0 for <instance> on baremetal node <node>.

  As of the Rocky release [1], the standard compute resources (VCPU,
  MEMORY_MB, DISK_GB) are not registered with placement for ironic
  nodes. They were not required to be set since the Pike release, but
  still this warning is emitted.

  [1] https://review.openstack.org/#/c/565841/

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


Follow ups