Log the instance causing the error when a pollster fails
If a pollster fails, such as when libvirt cannot find an instance that nova thinks still exists, report the instance that caused the error. Change-Id: I7a42ed12954265c29b476f99d9f18db50d3b553d Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
parent
7eaf0247c7
commit
f48b6ee934
@ -70,6 +70,6 @@ class AgentManager(manager.Manager):
|
||||
LOG.info('COUNTER: %s', c)
|
||||
publish.publish_counter(context, c)
|
||||
except Exception as err:
|
||||
LOG.warning('Continuing after error from %s: %s',
|
||||
name, err)
|
||||
LOG.warning('Continuing after error from %s for %s: %s',
|
||||
name, instance.name, err)
|
||||
LOG.exception(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user