Advertisement
Guest User

OpenStack API 500 Error

a guest
Oct 13th, 2010
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. HTTP/1.1 500 Internal Server Error
  2. Content-Type: text/plain
  3. Content-Length: 1416
  4. Date: Wed, 13 Oct 2010 18:17:42 GMT
  5. Connection: close
  6.  
  7. Traceback (most recent call last):
  8. File "/usr/local/lib/python2.6/dist-packages/eventlet/wsgi.py", line 336, in handle_one_response
  9. result = self.application(self.environ, start_response)
  10. File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 159, in __call__
  11. return resp(environ, start_response)
  12. File "/usr/local/lib/python2.6/dist-packages/routes/middleware.py", line 131, in __call__
  13. response = self.app(environ, start_response)
  14. File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 159, in __call__
  15. return resp(environ, start_response)
  16. File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 159, in __call__
  17. return resp(environ, start_response)
  18. File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 147, in __call__
  19. resp = self.call_func(req, *args, **self.kwargs)
  20. File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 208, in call_func
  21. return self.func(req, *args, **kwargs)
  22. File "/root/novascript/nova/nova/api/openstack/__init__.py", line 66, in __call__
  23. return self.auth_driver.authenticate(req)
  24. File "/root/novascript/nova/nova/api/openstack/auth.py", line 49, in authenticate
  25. token, user = self._authorize_user(username, key)
  26. File "/root/novascript/nova/nova/api/openstack/auth.py", line 86, in _authorize_user
  27. if user and user['name'] == username:
  28. TypeError: 'User' object is unsubscriptable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement