← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1314008] Re: "free pci" in log message never record

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

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

Title:
  "free pci" in log message  never record

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In _report_final_resource_view() method

   if 'pci_devices' in resources:
              LOG.audit(_("Free PCI devices: %s") % resources['pci_devices'])
  but  in update_available_resource() method

  if self.pci_tracker:
              self.pci_tracker.clean_usage(instances, migrations, orphans)
              resources['pci_stats'] = jsonutils.dumps(self.pci_tracker.stats)
          else:
              resources['pci_stats'] = jsonutils.dumps([])

  resources has key "pci_stats" not  "pci_devices"

  
  https://review.openstack.org/#/c/90671/

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


References