TypeError and stacktrace raised during authentication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Jesse Andrews |
Bug Description
Pulled latest devstack and Keystone sources this morning to run some tempest stuff and noticed that the glance CLI tool no longer worked with the -A option:
jpipes@
Not authorized to make this request. Check your credentials (OS_AUTH_USER, OS_AUTH_KEY, ...).
</html>
* About to connect() to 192.168.1.98 port 5000 (#0)
* Trying 192.168.1.98... connected
* Connected to 192.168.1.98 (192.168.1.98) port 5000 (#0)
> POST /v2.0/tokens HTTP/1.1
> User-Agent: curl/7.21.6 (x86_64-
> Host: 192.168.1.98:5000
> Accept: */*
> X-Auth-Token: servicetoken
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 4192
< Date: Wed, 22 Feb 2012 15:44:45 GMT
< Connection: close
<
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
return app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
resp = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/opt/stack/
result = method(context, **params)
File "/opt/stack/
if 'passwordCreden
TypeError: argument of type 'NoneType' is not iterable
* Closing connection #0
The same glance CLI command worked fine before redux.
Changed in keystone: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
assignee: | nobody → Jesse Andrews (anotherjesse) |
Changed in keystone: | |
milestone: | essex-rc1 → 2012.1 |
FYI, I realize that the above cURL command is not the correct way to auth with a token... just pointing out that it should return a 400 Bad Request, not an unhandled exception and stacktrace