Guest User

nova_resize_error

a guest
Apr 22nd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.66 KB | None | 0 0
  1. nova --debug resize 237706ad-d79f-4d0d-b216-7d73acae3483 9
  2. connect: (127.0.0.1, 5000)
  3. send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 107\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": "openstack", "passwordCredentials": {"username": "xxxxxx", "password": "xxxxx"}}}'
  4. reply: 'HTTP/1.1 200 OK\r\n'
  5. header: Content-Type: application/json
  6. header: Vary: X-Auth-Token
  7. header: Date: Mon, 22 Apr 2013 19:12:57 GMT
  8. header: Transfer-Encoding: chunked
  9. connect: (x.xx.xxx.xx, 8774)
  10. send: u'GET /v2/9f731aec61f0465f9370d512a2488a20/servers/237706ad-d79f-4d0d-b216-7d73acae3483 HTTP/1.1\r\nHost: x.xx.xxx.xx:8774\r\nx-auth-project-id: openstack\r\nx-auth-token: c474e4a98dfe433b9bd5b41a558a4ef4\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
  11. reply: 'HTTP/1.1 200 OK\r\n'
  12. header: X-Compute-Request-Id: req-f4d0046c-bc38-4495-9e96-1b15af342eb4
  13. header: Content-Type: application/json
  14. header: Content-Length: 1443
  15. header: Date: Mon, 22 Apr 2013 19:12:57 GMT
  16. send: u'GET /v2/9f731aec61f0465f9370d512a2488a20/flavors/9 HTTP/1.1\r\nHost: x.xx.xxx.xx:8774\r\nx-auth-project-id: openstack\r\nx-auth-token: c474e4a98dfe433b9bd5b41a558a4ef4\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
  17. reply: 'HTTP/1.1 200 OK\r\n'
  18. header: X-Compute-Request-Id: req-18b2ed0c-fdee-4860-8c0d-0e3622fbe6e6
  19. header: Content-Type: application/json
  20. header: Content-Length: 357
  21. header: Date: Mon, 22 Apr 2013 19:12:57 GMT
  22. send: u'GET /v2/9f731aec61f0465f9370d512a2488a20/flavors/9 HTTP/1.1\r\nHost: x.xx.xxx.xx:8774\r\nx-auth-project-id: openstack\r\nx-auth-token: c474e4a98dfe433b9bd5b41a558a4ef4\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
  23. reply: 'HTTP/1.1 200 OK\r\n'
  24. header: X-Compute-Request-Id: req-c1139e35-7d96-4475-9042-9a1fa9f3f851
  25. header: Content-Type: application/json
  26. header: Content-Length: 357
  27. header: Date: Mon, 22 Apr 2013 19:12:57 GMT
  28. send: u'GET /v2/9f731aec61f0465f9370d512a2488a20/servers/237706ad-d79f-4d0d-b216-7d73acae3483 HTTP/1.1\r\nHost: x.xx.xxx.xx:8774\r\nx-auth-project-id: openstack\r\nx-auth-token: c474e4a98dfe433b9bd5b41a558a4ef4\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
  29. reply: 'HTTP/1.1 200 OK\r\n'
  30. header: X-Compute-Request-Id: req-d02851d3-5c5e-4c66-bb4c-37e8c933d7a4
  31. header: Content-Type: application/json
  32. header: Content-Length: 1443
  33. header: Date: Mon, 22 Apr 2013 19:12:57 GMT
  34. send: u'POST /v2/9f731aec61f0465f9370d512a2488a20/servers/237706ad-d79f-4d0d-b216-7d73acae3483/action HTTP/1.1\r\nHost: x.xx.xxx.xx:8774\r\nContent-Length: 30\r\nx-auth-project-id: openstack\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: c474e4a98dfe433b9bd5b41a558a4ef4\r\nuser-agent: python-novaclient\r\ncontent-type: application/json\r\n\r\n{"resize": {"flavorRef": "9"}}'
  35. reply: 'HTTP/1.1 409 Conflict\r\n'
  36. header: Content-Length: 104
  37. header: Content-Type: application/json; charset=UTF-8
  38. header: X-Compute-Request-Id: req-23c79cf9-efa1-4e23-8e2f-784c61ff7762
  39. header: Date: Mon, 22 Apr 2013 19:12:58 GMT
  40. DEBUG (shell:416) Cannot 'resize' while instance is in task_state None (HTTP 409)
  41. Traceback (most recent call last):
  42.   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main
  43.     OpenStackComputeShell().main(sys.argv[1:])
  44.   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main
  45.     args.func(self.cs, args)
  46.   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 594, in do_resize
  47.     server.resize(flavor, **kwargs)
  48.   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 197, in resize
  49.     self.manager.resize(self, flavor, **kwargs)
  50.   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 533, in resize
  51.     self._action('resize', server, info=info, **kwargs)
  52.   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 617, in _action
  53.     return self.api.client.post(url, body=body)
  54.   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 139, in post
  55.     return self._cs_request(url, 'POST', **kwargs)
  56.   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 124, in _cs_request
  57.     **kwargs)
  58.   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 107, in request
  59.     raise exceptions.from_response(resp, body)
  60. ClientException: Cannot 'resize' while instance is in task_state None (HTTP 409)
  61. ERROR: Cannot 'resize' while instance is in task_state None (HTTP 409)
Advertisement
Add Comment
Please, Sign In to add comment