Using v3/auth/tokens?nocatalog instead of v3/auth/tokens doesn't solve the bug and raises a ServiceCatalogNotFound exception.
2014-03-07 17:03:45.629 18821 DEBUG keystoneclient.middleware.auth_token [-] Returning cached token 858ff29d89fbcfbc09f2a48f6f0486db _cache_get /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:1046 2014-03-07 17:03:45.629 18821 DEBUG keystoneclient.middleware.auth_token [-] Received request from user: e530c076051043a495a74ba41f83f472 with project_id : 9864755dfaa140a9a3663c33bffe082d and roles: _member_,admin _build_user_headers /opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py:946 2014-03-07 17:03:45.630 18821 DEBUG climate.api.utils [-] Rest.route.decorator.handler, kwargs={} handler /opt/stack/climate/climate/api/utils.py:63 2014-03-07 17:03:45.630 18821 ERROR climate.api [-] Exception on /v1/leases [GET] 2014-03-07 17:03:45.630 18821 TRACE climate.api Traceback (most recent call last): 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app 2014-03-07 17:03:45.630 18821 TRACE climate.api response = self.full_dispatch_request() 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request 2014-03-07 17:03:45.630 18821 TRACE climate.api rv = self.handle_user_exception(e) 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception 2014-03-07 17:03:45.630 18821 TRACE climate.api reraise(exc_type, exc_value, tb) 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request 2014-03-07 17:03:45.630 18821 TRACE climate.api rv = self.dispatch_request() 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request 2014-03-07 17:03:45.630 18821 TRACE climate.api return self.view_functions[rule.endpoint](**req.view_args) 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/opt/stack/climate/climate/api/utils.py", line 74, in handler 2014-03-07 17:03:45.630 18821 TRACE climate.api with context.ctx_from_headers(flask.request.headers): 2014-03-07 17:03:45.630 18821 TRACE climate.api File "/opt/stack/climate/climate/api/context.py", line 26, in ctx_from_headers 2014-03-07 17:03:45.630 18821 TRACE climate.api raise exceptions.ServiceCatalogNotFound() 2014-03-07 17:03:45.630 18821 TRACE climate.api ServiceCatalogNotFound: Could not find service catalog 2014-03-07 17:03:45.630 18821 TRACE climate.api 10.0.0.1 - - [07/Mar/2014 17:03:45] "GET /v1/leases HTTP/1.1" 500 216 0.006667
Using v3/auth/ tokens? nocatalog instead of v3/auth/tokens doesn't solve the bug and raises a ServiceCatalogN otFound exception.
2014-03-07 17:03:45.629 18821 DEBUG keystoneclient. middleware. auth_token [-] Returning cached token 858ff29d89fbcfb c09f2a48f6f0486 db _cache_get /opt/stack/ python- keystoneclient/ keystoneclient/ middleware/ auth_token. py:1046 middleware. auth_token [-] Received request from user: e530c076051043a 495a74ba41f83f4 72 with project_id : 9864755dfaa140a 9a3663c33bffe08 2d and roles: _member_,admin _build_user_headers /opt/stack/ python- keystoneclient/ keystoneclient/ middleware/ auth_token. py:946 decorator. handler, kwargs={} handler /opt/stack/ climate/ climate/ api/utils. py:63 lib/python2. 7/dist- packages/ flask/app. py", line 1817, in wsgi_app dispatch_ request( ) lib/python2. 7/dist- packages/ flask/app. py", line 1477, in full_dispatch_ request user_exception( e) lib/python2. 7/dist- packages/ flask/app. py", line 1381, in handle_ user_exception lib/python2. 7/dist- packages/ flask/app. py", line 1475, in full_dispatch_ request request( ) lib/python2. 7/dist- packages/ flask/app. py", line 1461, in dispatch_request functions[ rule.endpoint] (**req. view_args) climate/ climate/ api/utils. py", line 74, in handler ctx_from_ headers( flask.request. headers) : climate/ climate/ api/context. py", line 26, in ctx_from_headers ServiceCatalogN otFound( ) otFound: Could not find service catalog
2014-03-07 17:03:45.629 18821 DEBUG keystoneclient.
2014-03-07 17:03:45.630 18821 DEBUG climate.api.utils [-] Rest.route.
2014-03-07 17:03:45.630 18821 ERROR climate.api [-] Exception on /v1/leases [GET]
2014-03-07 17:03:45.630 18821 TRACE climate.api Traceback (most recent call last):
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/
2014-03-07 17:03:45.630 18821 TRACE climate.api response = self.full_
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/
2014-03-07 17:03:45.630 18821 TRACE climate.api rv = self.handle_
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/
2014-03-07 17:03:45.630 18821 TRACE climate.api reraise(exc_type, exc_value, tb)
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/
2014-03-07 17:03:45.630 18821 TRACE climate.api rv = self.dispatch_
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/usr/local/
2014-03-07 17:03:45.630 18821 TRACE climate.api return self.view_
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/opt/stack/
2014-03-07 17:03:45.630 18821 TRACE climate.api with context.
2014-03-07 17:03:45.630 18821 TRACE climate.api File "/opt/stack/
2014-03-07 17:03:45.630 18821 TRACE climate.api raise exceptions.
2014-03-07 17:03:45.630 18821 TRACE climate.api ServiceCatalogN
2014-03-07 17:03:45.630 18821 TRACE climate.api
10.0.0.1 - - [07/Mar/2014 17:03:45] "GET /v1/leases HTTP/1.1" 500 216 0.006667