← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1764392] [NEW] Avoid bandwidth usage db query in notifications when the virt driver does not support collecting such data

 

Public bug reported:

The notify_usage_exist() function always query the DB to get the
bandwidth usage data. But such data is only available if the
CONF.bandwidth_poll_interval is set to a positive number (600 is the
default) and the virt driver supports such data collection. Today only
xenapi driver supports this data collection. So it would make sense to
avoid the DB query when it is known that such data is not available.

** Affects: nova
     Importance: Low
         Status: New


** Tags: notifications

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

** 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/1764392

Title:
  Avoid bandwidth usage db query in notifications when the virt driver
  does not support collecting such data

Status in OpenStack Compute (nova):
  New

Bug description:
  The notify_usage_exist() function always query the DB to get the
  bandwidth usage data. But such data is only available if the
  CONF.bandwidth_poll_interval is set to a positive number (600 is the
  default) and the virt driver supports such data collection. Today only
  xenapi driver supports this data collection. So it would make sense to
  avoid the DB query when it is known that such data is not available.

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