No body was returned.
Request returned failure status: 500
Traceback (most recent call last):
File "/Users/dolph/Environments/os/bin/keystone-workout", line 9, in <module>
load_entry_point('keystone-workout==0.1.0', 'console_scripts', 'keystone-workout')()
File "/Users/dolph/Projects/keystone-workout/keystoneworkout/cli/core.py", line 59, in cli
args.func(args)
File "/Users/dolph/Projects/keystone-workout/keystoneworkout/cli/subcommands.py", line 65, in __call__
BootstrapAdmin()(args)
File "/Users/dolph/Projects/keystone-workout/keystoneworkout/cli/subcommands.py", line 121, in __call__
role=role)
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/v3/roles.py", line 125, in check
role_id=base.getid(role))
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/base.py", line 73, in func
return f(*args, **kwargs)
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/base.py", line 254, in head
return self._head(self.build_url(dict_args_in_out=kwargs))
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/base.py", line 109, in _head
resp, body = self.api.head(url)
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/client.py", line 611, in head
return self._cs_request(url, 'HEAD', **kwargs)
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/client.py", line 604, in _cs_request
**kwargs)
File "/Users/dolph/Projects/python-keystoneclient/keystoneclient/client.py", line 576, in request
raise exceptions.from_response(resp, body or resp.text)
keystoneclient.exceptions.ClientException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP 500)
service side:
2013-08-12 12:47:47 ERROR [keystone.common.wsgi] 'unicode' object has no attribute 'get'
Traceback (most recent call last):
File "/Users/dolph/Projects/keystone/keystone/common/wsgi.py", line 240, in __call__
result = method(context, **params)
File "/Users/dolph/Projects/keystone/keystone/common/controller.py", line 106, in wrapper
return f(self, context, *args, **kwargs)
File "/Users/dolph/Projects/keystone/keystone/identity/controllers.py", line 798, in check_grant
self._check_if_inherited(context))
File "/Users/dolph/Projects/keystone/keystone/identity/core.py", line 173, in get_grant
inherited_to_projects))
File "/Users/dolph/Projects/keystone/keystone/common/manager.py", line 44, in _wrapper
return f(*args, **kw)
File "/Users/dolph/Projects/keystone/keystone/assignment/backends/sql.py", line 180, in get_grant
metadata_ref.get('roles', []), inherited_to_projects))
File "/Users/dolph/Projects/keystone/keystone/assignment/core.py", line 224, in _roles_from_role_dicts
if ((not d.get('inherited_to') and not inherited) or
AttributeError: 'unicode' object has no attribute 'get'
Client side:
REQ: curl -i http:// localhost: 35357/v3/ projects/ 71c11ba9423e40b 48bdffb8e649d40 12/users/ 85973994c2c146d 0bbc19849a6710c 44/roles/ 9bb1083cf50a458 9ac12776ffe5862 33 HEAD -H "User-Agent: python- keystoneclient" -H "X-Auth-Token: ADMIN" Dict({' date': 'Mon, 12 Aug 2013 17:47:47 GMT', 'vary': 'X-Auth-Token', 'content-length': '183', 'content-type': 'application/ json'})
RESP: [500] CaseInsensitive
RESP BODY:
No body was returned. dolph/Environme nts/os/ bin/keystone- workout" , line 9, in <module> entry_point( 'keystone- workout= =0.1.0' , 'console_scripts', 'keystone- workout' )() dolph/Projects/ keystone- workout/ keystoneworkout /cli/core. py", line 59, in cli dolph/Projects/ keystone- workout/ keystoneworkout /cli/subcommand s.py", line 65, in __call__ min()(args) dolph/Projects/ keystone- workout/ keystoneworkout /cli/subcommand s.py", line 121, in __call__ dolph/Projects/ python- keystoneclient/ keystoneclient/ v3/roles. py", line 125, in check id=base. getid(role) ) dolph/Projects/ python- keystoneclient/ keystoneclient/ base.py" , line 73, in func dolph/Projects/ python- keystoneclient/ keystoneclient/ base.py" , line 254, in head self.build_ url(dict_ args_in_ out=kwargs) ) dolph/Projects/ python- keystoneclient/ keystoneclient/ base.py" , line 109, in _head dolph/Projects/ python- keystoneclient/ keystoneclient/ client. py", line 611, in head request( url, 'HEAD', **kwargs) dolph/Projects/ python- keystoneclient/ keystoneclient/ client. py", line 604, in _cs_request dolph/Projects/ python- keystoneclient/ keystoneclient/ client. py", line 576, in request from_response( resp, body or resp.text) exceptions. ClientException : <attribute 'message' of 'exceptions. BaseException' objects> (HTTP 500)
Request returned failure status: 500
Traceback (most recent call last):
File "/Users/
load_
File "/Users/
args.func(args)
File "/Users/
BootstrapAd
File "/Users/
role=role)
File "/Users/
role_
File "/Users/
return f(*args, **kwargs)
File "/Users/
return self._head(
File "/Users/
resp, body = self.api.head(url)
File "/Users/
return self._cs_
File "/Users/
**kwargs)
File "/Users/
raise exceptions.
keystoneclient.
service side:
2013-08-12 12:47:47 ERROR [keystone. common. wsgi] 'unicode' object has no attribute 'get' dolph/Projects/ keystone/ keystone/ common/ wsgi.py" , line 240, in __call__ dolph/Projects/ keystone/ keystone/ common/ controller. py", line 106, in wrapper dolph/Projects/ keystone/ keystone/ identity/ controllers. py", line 798, in check_grant _check_ if_inherited( context) ) dolph/Projects/ keystone/ keystone/ identity/ core.py" , line 173, in get_grant to_projects) ) dolph/Projects/ keystone/ keystone/ common/ manager. py", line 44, in _wrapper dolph/Projects/ keystone/ keystone/ assignment/ backends/ sql.py" , line 180, in get_grant ref.get( 'roles' , []), inherited_ to_projects) ) dolph/Projects/ keystone/ keystone/ assignment/ core.py" , line 224, in _roles_ from_role_ dicts inherited_ to') and not inherited) or
Traceback (most recent call last):
File "/Users/
result = method(context, **params)
File "/Users/
return f(self, context, *args, **kwargs)
File "/Users/
self.
File "/Users/
inherited_
File "/Users/
return f(*args, **kw)
File "/Users/
metadata_
File "/Users/
if ((not d.get('
AttributeError: 'unicode' object has no attribute 'get'