[openstack-dev] [nova][ceilometer] cputime value resets on restart/shutdown

gord chung gord at live.ca
Mon Aug 31 16:08:51 UTC 2015


hi

i'm reaching out for help understanding meter values across hypervisors.

for context, we have an open bug in Ceilometer where the value used to 
capture cputime of an instance is being reset whenever the instance is 
restarted or shutdown[1]. this seems to be the expected behaviour for 
libvirt driver[2] but it conflicts with the fact that the meter is 
currently defined as 'cumulative' -- which by definition, should not 
reset. it seems the correct meter type is a 'gauge'.

with that said, for other hypervisors: vmware, Xen, hyper-v, etc... does 
cputime also reset when an instance restarts/shuts down? is there a way 
to find a truly cumulative value for cputime for libvirt and other 
hypervisors that reset?

[1] https://bugs.launchpad.net/ceilometer/+bug/1417949
[2] https://www.redhat.com/archives/libvirt-users/2012-April/msg00100.html

cheers,

-- 
gord




More information about the OpenStack-dev mailing list