KeyError: 'counter_unit'. Fail to record metering data.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Undecided
|
Chmouel Boudjnah |
Bug Description
When swift middleware from ceilometer-2013.1 publishes counters storage.
2013-08-01 08:31:35 ERROR [ceilometer.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
'counter_unit': data['counter_
KeyError: 'counter_unit'
The patch is attached that would resolve this issue.
Changed in ceilometer: | |
assignee: | nobody → Chmouel Boudjnah (chmouel) |
This actually should not happen :
08:31 sileht: chmouel, in grizzly a counter is a namedtuple you can't create it without counter_unit