Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. compute log:
  2.  
  3. 2012-08-02 23:13:03 ERROR nova.rpc.amqp [req-bfaa153b-0787-422c-ba9b-a713f2009935 50863e7ff5ee4c97abc171f0c8900b01 050740d5b47346ffa784676f6fe3a486] Exception during message handling
  4. 2012-08-02 23:13:03 TRACE nova.rpc.amqp Traceback (most recent call last):
  5. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/rpc/amqp.py", line 253, in _process_data
  6. 2012-08-02 23:13:03 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args)
  7. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/exception.py", line 114, in wrapped
  8. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return f(*args, **kw)
  9. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 183, in decorated_function
  10. 2012-08-02 23:13:03 TRACE nova.rpc.amqp sys.exc_info())
  11. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
  12. 2012-08-02 23:13:03 TRACE nova.rpc.amqp self.gen.next()
  13. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 177, in decorated_function
  14. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
  15. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 675, in run_instance
  16. 2012-08-02 23:13:03 TRACE nova.rpc.amqp do_run_instance()
  17. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/utils.py", line 946, in inner
  18. 2012-08-02 23:13:03 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
  19. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 674, in do_run_instance
  20. 2012-08-02 23:13:03 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs)
  21. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 470, in _run_instance
  22. 2012-08-02 23:13:03 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid)
  23. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
  24. 2012-08-02 23:13:03 TRACE nova.rpc.amqp self.gen.next()
  25. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 439, in _run_instance
  26. 2012-08-02 23:13:03 TRACE nova.rpc.amqp image_meta = self._check_image_size(context, instance)
  27. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 517, in _check_image_size
  28. 2012-08-02 23:13:03 TRACE nova.rpc.amqp image_meta = _get_image_meta(context, instance['image_ref'])
  29. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 190, in _get_image_meta
  30. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return image_service.show(context, image_id)
  31. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 241, in show
  32. 2012-08-02 23:13:03 TRACE nova.rpc.amqp _reraise_translated_image_exception(image_id)
  33. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 239, in show
  34. 2012-08-02 23:13:03 TRACE nova.rpc.amqp image_id)
  35. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 145, in _call_retry
  36. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return getattr(client, name)(*args, **kwargs)
  37. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/glance/client.py", line 101, in get_image_meta
  38. 2012-08-02 23:13:03 TRACE nova.rpc.amqp res = self.do_request("HEAD", "/images/%s" % image_id)
  39. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 61, in wrapped
  40. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return func(self, *args, **kwargs)
  41. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 420, in do_request
  42. 2012-08-02 23:13:03 TRACE nova.rpc.amqp headers=headers)
  43. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 75, in wrapped
  44. 2012-08-02 23:13:03 TRACE nova.rpc.amqp return func(self, method, url, body, headers)
  45. 2012-08-02 23:13:03 TRACE nova.rpc.amqp File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 539, in _do_request
  46. 2012-08-02 23:13:03 TRACE nova.rpc.amqp raise exception.NotAuthenticated(res.read())
  47. 2012-08-02 23:13:03 TRACE nova.rpc.amqp ImageNotAuthorized: Not authorized for image 08781948-b990-450c-9ba6-8f94b8561a38.
  48. 2012-08-02 23:13:03 TRACE nova.rpc.amqp
  49.  
  50.  
  51. nova --debug list:
  52.  
  53. nova --debug list
  54. connect: (192.168.1.7, 5000)
  55. send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.1.7:5000\r\nContent-Length: 106\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "verybadpass"}}}'
  56. reply: 'HTTP/1.1 200 OK\r\n'
  57. header: Content-Type: application/json
  58. header: Vary: X-Auth-Token
  59. header: Date: Fri, 03 Aug 2012 03:17:48 GMT
  60. header: Transfer-Encoding: chunked
  61. connect: (localhost, 8774)
  62. connect fail: (u'localhost', 8774)
  63. DEBUG (shell:416) n/a (HTTP 400)
  64. Traceback (most recent call last):
  65. File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 413, in main
  66. OpenStackComputeShell().main(sys.argv[1:])
  67. File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 364, in main
  68. args.func(self.cs, args)
  69. File "/usr/lib/python2.7/site-packages/novaclient/v1_1/shell.py", line 520, in do_list
  70. utils.print_list(cs.servers.list(search_opts=search_opts), columns,
  71. File "/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py", line 279, in list
  72. return self._list("/servers%s%s" % (detail, query_string), "servers")
  73. File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 71, in _list
  74. resp, body = self.api.client.get(url)
  75. File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 136, in get
  76. return self._cs_request(url, 'GET', **kwargs)
  77. File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 124, in _cs_request
  78. **kwargs)
  79. File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 107, in request
  80. raise exceptions.from_response(resp, body)
  81. BadRequest: n/a (HTTP 400)
  82. ERROR: n/a (HTTP 400)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement