Comment 3 for bug 1207486

Revision history for this message
Alexander Sheredin (alexander-sheredin) wrote :

> in grizzly a counter is a namedtuple you can't create it without counter_unit

it is possible in early grizzly release ceilometer 2013.1-4 . It was changed here:
https://github.com/openstack/ceilometer/commit/c0379cefd94d0a769be436bf2ffe5938925e5c5a#ceilometer/objectstore/swift_middleware.py

In my configuration swift_middleware is installed with yum install (grizzly 2013.1-4) and units are not reported. On the other hand, ceilometer collector is installed (on the other host) from the latest source from grizzly branch. So, it cannot process the counters published by early grizzly version of swift middleware.

There was a similar bug in the past on the similar issue with the similar solution in the same module:
https://bugs.launchpad.net/ceilometer/+bug/1098603

If a configuration with different versions of swift middleware and ceilometer collector is not supported, then this is not a bug.