← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1394052] Re: Fix exception handling in _get_host_metrics()

 

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

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

Title:
  Fix exception handling in _get_host_metrics()

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) juno series:
  Fix Released

Bug description:
  In resource_tracker.py, the exception path of _get_host_metrics()
  contains a wrong variable name.

          for monitor in self.monitors:
              try:
                  metrics += monitor.get_metrics(nodename=nodename)
              except Exception:
                  LOG.warn(_("Cannot get the metrics from %s."), monitors)   <-- Need to change 'monitors' to 'monitor'

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


References