rt: don't log pci_devices twice when updating resources
By default we update available resources on the compute every
60 seconds. The _report_hypervisor_resource_view method is
logging pci devices twice. On a compute with hundreds of pci
devices this blows up the logs in a short amount of time.
This change removes at least the duplicate pci device logging
but we might want to even consider just not logging these in
each iteration. I've opted to at least push the simple fix for
now.
Reviewed: https:/ /review. openstack. org/347576 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0f790181f40 cb3e3ca0ae10f22 93777b8c32bd9a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0f790181f40cb3e 3ca0ae10f229377 7b8c32bd9a
Author: Matt Riedemann <email address hidden>
Date: Tue Jul 26 19:02:23 2016 -0400
rt: don't log pci_devices twice when updating resources
By default we update available resources on the compute every hypervisor_ resource_ view method is
60 seconds. The _report_
logging pci devices twice. On a compute with hundreds of pci
devices this blows up the logs in a short amount of time.
This change removes at least the duplicate pci device logging
but we might want to even consider just not logging these in
each iteration. I've opted to at least push the simple fix for
now.
Change-Id: Id05bfef44b1108 dec286486d42516 649dd0683e9
Closes-Bug: #1606718