ceilometer api starts fails due to TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Undecided
|
Unassigned | ||
ceilometer-missing-scripts (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Unable to start ceilemeter-api service, I am getting hit with this CRITICAL error as shown in following log.
OS:Ubuntu 14.04LTS
OpenStack-IceHouse
2014-10-21 19:47:16.301 16839 INFO keystoneclient.
2014-10-21 19:47:16.307 16839 WARNING keystoneclient.
2014-10-21 19:47:16.308 16839 WARNING keystoneclient.
2014-10-21 19:47:16.319 16839 INFO keystoneclient.
2014-10-21 19:47:16.325 16839 CRITICAL ceilometer [-] TypeError: unsupported type for timedelta seconds component: str
2014-10-21 19:48:10.268 16989 INFO keystoneclient.
2014-10-21 19:48:10.300 16989 WARNING keystoneclient.
2014-10-21 19:48:10.302 16989 WARNING keystoneclient.
2014-10-21 19:48:10.304 16989 INFO keystoneclient.
2014-10-21 19:48:10.333 16989 CRITICAL ceilometer [-] TypeError: unsupported type for timedelta seconds component: str
description: | updated |
description: | updated |
The problem is the revocation_ cache_time setting needs to be set or else it treats it as a string. Simply uncomment the setting in the /etc/ceilometer /ceilometer. conf file and restart the service.