newly created VM does not get libvirt metrics
Bug #1486688 reported by
Yan Ning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Monasca |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Here is the info in monasca agent log on the compute node on which the VM is running.
2015-08-18 19:39:32 UTC | ERROR | collector | monasca_
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/214736 /git.openstack. org/cgit/ stackforge/ monasca- agent/commit/ ?id=2fbc40b9189 56747f36b24fef6 e70bee5f884532
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2fbc40b91895674 7f36b24fef6e70b ee5f884532
Author: bklei <email address hidden>
Date: Wed Aug 19 12:00:58 2015 -0600
Fix libvirt plugin bug for newly created VMs
Once the instance cache file is built, we can never refresh the
cache because we get a TypeError trying to build the dimensions
and mis-diagnose the VM as a ghost VM. Simple fix is to move
the update cache call above where we look for the instance name
in the cache.
Change-Id: Iddc229a4e0f150 e838a82ace36bc1 ba92be17a0e
Closes-Bug: #1486688