← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Low
     Assignee: Balazs Gibizer (balazs-gibizer)
         Status: Confirmed


** Tags: notifications

** Changed in: nova
       Status: New => Confirmed

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

** Changed in: nova
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Tags added: notifications

-- 
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):
  Confirmed

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


Follow ups