Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ceilometre Issue

When installing devstack with Icehouse. The install is failing on ceilometer due to the following. Ive tried to reinstall ceilometer to no joy. Any ideas ?

2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/usr/local/bin/ceilometer-api", line 10, in <module>
2015-03-11 20:19:41.627 31263 TRACE ceilometer     sys.exit(api())
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/cli.py", line 97, in api
2015-03-11 20:19:41.627 31263 TRACE ceilometer     srv = app.build_server()
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 126, in build_server
2015-03-11 20:19:41.627 31263 TRACE ceilometer     root = VersionSelectorApplication()
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 96, in __init__
2015-03-11 20:19:41.627 31263 TRACE ceilometer     self.v1 = v1app.make_app(cfg.CONF, enable_acl=pc.app.enable_acl)
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/v1/app.py", line 61, in make_app
2015-03-11 20:19:41.627 31263 TRACE ceilometer     app.wsgi_app = acl.install(app.wsgi_app, conf)
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/acl.py", line 44, in install
2015-03-11 20:19:41.627 31263 TRACE ceilometer     conf=dict(conf.get(OPT_GROUP_NAME)))
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/usr/local/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 591, in __init__
2015-03-11 20:19:41.627 31263 TRACE ceilometer     seconds=self._conf_get('revocation_cache_time'))
2015-03-11 20:19:41.627 31263 TRACE ceilometer TypeError: unsupported type for timedelta seconds component: str
2015-03-11 20:19:41.627 31263 TRACE ceilometer

Ceilometre Issue

When installing devstack with Icehouse. The install is failing on ceilometer due to the following. Ive tried to reinstall ceilometer to no joy. Any ideas ?

2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/usr/local/bin/ceilometer-api", line 10, in <module>
2015-03-11 20:19:41.627 31263 TRACE ceilometer     sys.exit(api())
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/cli.py", line 97, in api
2015-03-11 20:19:41.627 31263 TRACE ceilometer     srv = app.build_server()
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 126, in build_server
2015-03-11 20:19:41.627 31263 TRACE ceilometer     root = VersionSelectorApplication()
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 96, in __init__
2015-03-11 20:19:41.627 31263 TRACE ceilometer     self.v1 = v1app.make_app(cfg.CONF, enable_acl=pc.app.enable_acl)
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/v1/app.py", line 61, in make_app
2015-03-11 20:19:41.627 31263 TRACE ceilometer     app.wsgi_app = acl.install(app.wsgi_app, conf)
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/acl.py", line 44, in install
2015-03-11 20:19:41.627 31263 TRACE ceilometer     conf=dict(conf.get(OPT_GROUP_NAME)))
2015-03-11 20:19:41.627 31263 TRACE ceilometer   File "/usr/local/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 591, in __init__
2015-03-11 20:19:41.627 31263 TRACE ceilometer     seconds=self._conf_get('revocation_cache_time'))
2015-03-11 20:19:41.627 31263 TRACE ceilometer TypeError: unsupported type for timedelta seconds component: str
2015-03-11 20:19:41.627 31263 TRACE ceilometer

My ceilometer.conf is

root@openstack-lab:~# cat /etc/ceilometer/ceilometer.conf

[DEFAULT]
os_tenant_name = service
os_password = icehouse
os_username = ceilometer
policy_file = /etc/ceilometer/policy.json
debug = True
verbose = True
notification_topics = notifications
rabbit_password = icehouse
rabbit_hosts = 134.213.x.x
rpc_backend = ceilometer.openstack.common.rpc.impl_kombu
revocation_cache_time = 1000


[keystone_authtoken]
signing_dir = /var/cache/ceilometer
admin_tenant_name = service
admin_password = icehouse
admin_user = ceilometer
auth_protocol = http
auth_port = 35357
auth_host = 134.213.x.x

[database]
connection = mysql://root:icehouse@127.0.0.1/ceilometer?charset=utf8