← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1788634] Re: Noisy DEBUG log: Defaulting the value of the field 'numa_membw_values' to None in MetricPayload

 

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

** Changed in: nova/rocky
     Assignee: (unassigned) => Elod Illes (elod-illes)

** Changed in: nova/rocky
   Importance: Undecided => Low

** Changed in: nova/rocky
       Status: New => 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/1788634

Title:
  Noisy DEBUG log: Defaulting the value of the field
  'numa_membw_values' to None in MetricPayload

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) rocky series:
  In Progress

Bug description:
  There are plenty of similar DEBUG log is visible in the nova log:

  DEBUG nova.notifications.objects.base [None req-af08f64a-756e-
  4b43-8357-fd879d3bbbc9 None None] Defaulting the value of the field
  'numa_membw_values' to None in MetricPayload due to 'Cannot load
  'numa_membw_values' in the base class' {{(pid=145045) populate_schema
  /opt/stack/nova/nova/notifications/objects/base.py:142}}

  This logs coming from the notification sending code path [1] that
  tries to populate the notification payload from a nova OVO and
  encounters an unset / non-lazy loadable field in the source OVO.

  As there are fields like MonitorMetric.numa_membw_values that are
  notorious unset in many circumstances but used in the MetricPayload we
  got excessive debug logging.

  [1]
  https://github.com/openstack/nova/blob/cccba02be8dda0350a215de78b0acde3dbf19716/nova/notifications/objects/base.py#L138

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


References