ceilometer-api critical TypeError

asked 2015-06-22 19:00:59 -0500

Max Wei gravatar image

updated 2015-06-22 19:03:29 -0500

I am trying to deploying a devstack (IceHouse) under Ubuntu 14.04, however, some issue that I cannot handle happens. Here is the log:

----------------LOG BEGIN---------------------

   2015-06-22 23:11:06.205 5963 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
    2015-06-22 23:11:06.207 5963 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
    2015-06-22 23:11:06.207 5963 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
    2015-06-22 23:11:06.208 5963 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
    2015-06-22 23:11:06.209 5963 INFO keystoneclient.middleware.auth_token [-] Using /var/cache/ceilometer as cache directory for signing certificate
    2015-06-22 23:11:06.209 5963 WARNING keystoneclient.middleware.auth_token [-] signing_dir mode is 0755 instead of 0700
    2015-06-22 23:11:06.210 5963 CRITICAL ceilometer [-] TypeError: unsupported type for timedelta seconds component: str
    2015-06-22 23:11:06.210 5963 TRACE ceilometer Traceback (most recent call last):
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/usr/local/bin/ceilometer-api", line 10, in <module>
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     sys.exit(api())
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/cli.py", line 97, in api
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     srv = app.build_server()
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 126, in build_server
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     root = VersionSelectorApplication()
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/app.py", line 96, in __init__
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     self.v1 = v1app.make_app(cfg.CONF, enable_acl=pc.app.enable_acl)
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/v1/app.py", line 61, in make_app
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     app.wsgi_app = acl.install(app.wsgi_app, conf)
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/opt/stack/ceilometer/ceilometer/api/acl.py", line 44, in install
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     conf=dict(conf.get(OPT_GROUP_NAME)))
    2015-06-22 23:11:06.210 5963 TRACE ceilometer   File "/usr/local/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 591, in __init__
    2015-06-22 23:11:06.210 5963 TRACE ceilometer     seconds=self._conf_get('revocation_cache_time'))
    2015-06-22 23:11:06.210 5963 TRACE ceilometer TypeError: unsupported type for timedelta seconds component: str
    2015-06-22 23:11:06.210 5963 TRACE ceilometer 
    2015-06-22 23:39:25.560 14345 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
    2015-06-22 23:39:25.602 14345 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package ...
(more)
edit retag flag offensive close merge delete