← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1606718] [NEW] logging pci_devices from the resource tracker is kind of terrible

 

Public bug reported:

The _report_hypervisor_resource_view method in the resource tracker on
the compute node is logging pci devices (if set in the resources dict
from the virt driver).

I have a compute node with libvirt 1.2.2 with several hundred devices:

http://paste.openstack.org/show/542185/

Those get logged every TWICE every 60 seconds (by default) because of
the update_available_resource periodic task in the compute manager.

We should at the very least only log the giant dict of pci devices once
in _report_hypervisor_resource_view, or maybe not at all.

** Affects: nova
     Importance: Medium
     Assignee: Matt Riedemann (mriedem)
         Status: In Progress


** Tags: compute pci

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

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

** Tags added: compute pci

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

Title:
  logging pci_devices from the resource tracker is kind of terrible

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  The _report_hypervisor_resource_view method in the resource tracker on
  the compute node is logging pci devices (if set in the resources dict
  from the virt driver).

  I have a compute node with libvirt 1.2.2 with several hundred devices:

  http://paste.openstack.org/show/542185/

  Those get logged every TWICE every 60 seconds (by default) because of
  the update_available_resource periodic task in the compute manager.

  We should at the very least only log the giant dict of pci devices
  once in _report_hypervisor_resource_view, or maybe not at all.

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


Follow ups