Collector can not persistence compute node CPU metrics when set ‘compute_monitors = ComputeDriverCPUMonitor’ in nova
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
li jian |
Bug Description
Reproduce step:
1.Set ‘compute_monitors = ComputeDriverCP
2.Start the ceilometer-
Then you can see the following error trace in ceilometer-
http://
The root cause of that issue is the counter_type is the 'tuple', In actually the type of the counter_type should be String, so it can not persistence to DB success, please refer to the SQL, the counter_type value is [u'cumulative'] that is a 'tuple'
INSERT INTO meter (counter_name, user_id, project_id, resource_id, resource_metadata, counter_type, counter_unit, counter_volume, timestamp, message_signature, message_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)('compute.
Changed in ceilometer: | |
assignee: | nobody → li jian (blacker1981) |
Changed in ceilometer: | |
milestone: | none → icehouse-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/81729
Review: https:/