Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glance-api.log:
- ...
- 2012-05-25 15:53:06,846 glance.api.middleware.version_negotiation: DEBUG version_negotiation process_request Processing request: POST /v1/images Accept:
- 2012-05-25 15:53:06,846 glance.api.middleware.version_negotiation: DEBUG version_negotiation process_request Matched versioned URI. Version: 1.0
- 2012-05-25 15:53:06,847 keystone.middleware.auth_token: DEBUG auth_token __call__ Authenticating user token
- 2012-05-25 15:53:06,847 keystone.middleware.auth_token: DEBUG auth_token _remove_auth_headers Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-User,X-Tenant,X-Role
- 2012-05-25 15:53:06,864 keystone.middleware.auth_token: WARNING auth_token _request_admin_token Unexpected response from keystone service: {u'error': {u'message': u'Invalid user / password', u'code': 401, u'title': u'Not Authorized'}}
- 2012-05-25 15:53:06,864 keystone.middleware.auth_token: CRITICAL auth_token __call__ Unable to obtain admin token: invalid json response
- ...
- keynote.log:
- ...
- 012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** REQUEST ENVIRON ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SCRIPT_NAME = /v2.0
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] webob.adhoc_attrs = {'response': <Response at 0x3926710 200 OK>}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] REQUEST_METHOD = POST
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] PATH_INFO = /tokens
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_PROTOCOL = HTTP/1.0
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] CONTENT_LENGTH = 107
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_USER_AGENT = glance-client
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] eventlet.posthooks = []
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_NAME = 127.0.0.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] REMOTE_ADDR = 127.0.0.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] eventlet.input = <eventlet.wsgi.Input object at 0x3924210>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.url_scheme = http
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_PORT = 5000
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.input = <cStringIO.StringI object at 0x3928a50>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_HOST = 127.0.0.1:5000
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.multithread = True
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] openstack.params = {u'auth': {u'tenantName': u'TNNT', u'passwordCredentials': {u'username': u'USER', u'password': u'PWD'}}}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.version = (1, 0)
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] openstack.context = {'token_id': None, 'is_admin': False}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] GATEWAY_INTERFACE = CGI/1.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.run_once = False
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.errors = <open file '<stderr>', mode 'w' at 0x7fa39b18f1e0>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.multiprocess = False
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] webob.is_body_seekable = True
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] CONTENT_TYPE = application/json
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_ACCEPT_ENCODING = gzip, deflate
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** REQUEST BODY ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] {"auth": {"tenantName": "TNNT", "passwordCredentials": {"username": "USER", "password": "PWD"}}}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Matched POST /tokens
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.service.PublicRouter object at 0x33f6ed0>}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Match dict: {'controller': <keystone.service.PublicRouter object at 0x33f6ed0>, 'path_info': '/tokens'}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Matched POST /tokens
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Route path: '/tokens', defaults: {'action': u'authenticate', 'controller': <keystone.service.TokenController object at 0x33fd2d0>}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Match dict: {'action': u'authenticate', 'controller': <keystone.service.TokenController object at 0x33fd2d0>}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] arg_dict: {}
- 2012-05-25 15:53:06 DEBUG [root] TOKEN_REF {'metadata': {u'roles': [u'281dab9d483c4da6a677c21c9933db71']}, 'expires': datetime.datetime(2012, 5, 26, 14, 53, 6, 804626), 'user': {u'email': None, u'enabled': u'true', 'id': u'55c9bddf64704a909f419bec58fe2979', 'name': u'USER', u'tenantId': u'12dc0be54792439c996fe941425ea2dd'}, 'tenant': {u'enabled': u'true', 'id': u'12dc0be54792439c996fe941425ea2dd', 'name': u'TNNT', u'description': u'Service Tenant'}, 'id': '65749e9cd1d84c7fa7421c018c06debe'}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** RESPONSE HEADERS ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Content-Type = application/json
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Content-Length = 2122
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] {"access": {"token": {"expires": "2012-05-26T14:53:06Z", "id": "65749e9cd1d84c7fa7421c018c06debe", "tenant": {"enabled": true, "id": "12dc0be54792439c996fe941425ea2dd", "name": "TNNT", "description": "Service Tenant"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://172.16.1.3:8774/v2/12dc0be54792439c996fe941425ea2dd", "region": "TestRegion", "internalURL": "http://172.16.1.3:8774/v2/12dc0be54792439c996fe941425ea2dd", "publicURL": "http://172.16.1.3:8774/v2/12dc0be54792439c996fe941425ea2dd"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://172.16.1.3:9292/v1", "region": "TestRegion", "internalURL": "http://172.16.1.3:9292/v1", "publicURL": "http://172.16.1.3:9292/v1"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://172.16.1.3:8776/v1/12dc0be54792439c996fe941425ea2dd", "region": "TestRegion", "internalURL": "http://172.16.1.3:8776/v1/12dc0be54792439c996fe941425ea2dd", "publicURL": "http://172.16.1.3:8776/v1/12dc0be54792439c996fe941425ea2dd"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://172.16.1.3:8773/services/Admin", "region": "TestRegion", "internalURL": "http://172.16.1.3:8773/services/Cloud", "publicURL": "http://172.16.1.3:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://127.0.0.1:8888", "region": "TestRegion", "internalURL": "http://127.0.0.1:8888/v1/AUTH_12dc0be54792439c996fe941425ea2dd", "publicURL": "http://127.0.0.1:8888/v1/AUTH_12dc0be54792439c996fe941425ea2dd"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://172.16.1.3:35357/v2.0", "region": "TestRegion", "internalURL": "http://172.16.1.3:5000/v2.0", "publicURL": "http://172.16.1.3:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "USER", "roles_links": [], "id": "55c9bddf64704a909f419bec58fe2979", "roles": [{"id": "281dab9d483c4da6a677c21c9933db71", "name": "admin"}], "name": "USER"}}}
- 2012-05-25 15:53:06 DEBUG [eventlet.wsgi.server] 127.0.0.1 - - [25/May/2012 15:53:06] "POST /v2.0/tokens HTTP/1.1" 200 2252 0.086130
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** REQUEST ENVIRON ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SCRIPT_NAME = /v2.0
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] webob.adhoc_attrs = {'response': <Response at 0x390e810 200 OK>}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] REQUEST_METHOD = POST
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] PATH_INFO = /tokens
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_PROTOCOL = HTTP/1.0
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] CONTENT_LENGTH = 138
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] eventlet.posthooks = []
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_NAME = 127.0.0.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] REMOTE_ADDR = 127.0.0.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] eventlet.input = <eventlet.wsgi.Input object at 0x39151d0>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.url_scheme = http
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] SERVER_PORT = 35357
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.input = <cStringIO.StringI object at 0x39289c0>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_HOST = 127.0.0.1:35357
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.multithread = True
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] openstack.params = {u'auth': {u'tenantName': u'%SERVICE_TENANT_NAME%', u'passwordCredentials': {u'username': u'%SERVICE_USER%', u'password': u'%SERVICE_PASSWORD%'}}}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_ACCEPT = application/json
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.version = (1, 0)
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] openstack.context = {'token_id': None, 'is_admin': False}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] GATEWAY_INTERFACE = CGI/1.1
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.run_once = False
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.errors = <open file '<stderr>', mode 'w' at 0x7fa39b18f1e0>
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] wsgi.multiprocess = False
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] webob.is_body_seekable = True
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] CONTENT_TYPE = application/json
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] HTTP_ACCEPT_ENCODING = identity
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** REQUEST BODY ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] {"auth": {"tenantName": "%SERVICE_TENANT_NAME%", "passwordCredentials": {"username": "%SERVICE_USER%", "password": "%SERVICE_PASSWORD%"}}}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Matched POST /tokens
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x339df90>}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Match dict: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x339df90>, 'path_info': '/tokens'}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Matched POST /tokens
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.service.AdminRouter object at 0x2764e10>}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Match dict: {'controller': <keystone.service.AdminRouter object at 0x2764e10>, 'path_info': '/tokens'}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Matched POST /tokens
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Route path: '/tokens', defaults: {'action': u'authenticate', 'controller': <keystone.service.TokenController object at 0x2906a90>}
- 2012-05-25 15:53:06 DEBUG [routes.middleware] Match dict: {'action': u'authenticate', 'controller': <keystone.service.TokenController object at 0x2906a90>}
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] arg_dict: {}
- 2012-05-25 15:53:06 WARNING [keystone.common.wsgi] Invalid user / password
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** RESPONSE HEADERS ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Content-Type = application/json
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] Content-Length = 89
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi]
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************
- 2012-05-25 15:53:06 DEBUG [keystone.common.wsgi] {"error": {"message": "Invalid user / password", "code": 401, "title": "Not Authorized"}}
- 2012-05-25 15:53:06 DEBUG [eventlet.wsgi.server] 127.0.0.1 - - [25/May/2012 15:53:06] "POST /v2.0/tokens HTTP/1.1" 401 229 0.015440
- ...
Advertisement
Add Comment
Please, Sign In to add comment