Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nova --debug resize 237706ad-d79f-4d0d-b216-7d73acae3483 9
- connect: (127.0.0.1, 5000)
- 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"}}}'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Content-Type: application/json
- header: Vary: X-Auth-Token
- header: Date: Mon, 22 Apr 2013 19:12:57 GMT
- header: Transfer-Encoding: chunked
- connect: (x.xx.xxx.xx, 8774)
- 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'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: X-Compute-Request-Id: req-f4d0046c-bc38-4495-9e96-1b15af342eb4
- header: Content-Type: application/json
- header: Content-Length: 1443
- header: Date: Mon, 22 Apr 2013 19:12:57 GMT
- 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'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: X-Compute-Request-Id: req-18b2ed0c-fdee-4860-8c0d-0e3622fbe6e6
- header: Content-Type: application/json
- header: Content-Length: 357
- header: Date: Mon, 22 Apr 2013 19:12:57 GMT
- 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'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: X-Compute-Request-Id: req-c1139e35-7d96-4475-9042-9a1fa9f3f851
- header: Content-Type: application/json
- header: Content-Length: 357
- header: Date: Mon, 22 Apr 2013 19:12:57 GMT
- 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'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: X-Compute-Request-Id: req-d02851d3-5c5e-4c66-bb4c-37e8c933d7a4
- header: Content-Type: application/json
- header: Content-Length: 1443
- header: Date: Mon, 22 Apr 2013 19:12:57 GMT
- 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"}}'
- reply: 'HTTP/1.1 409 Conflict\r\n'
- header: Content-Length: 104
- header: Content-Type: application/json; charset=UTF-8
- header: X-Compute-Request-Id: req-23c79cf9-efa1-4e23-8e2f-784c61ff7762
- header: Date: Mon, 22 Apr 2013 19:12:58 GMT
- DEBUG (shell:416) Cannot 'resize' while instance is in task_state None (HTTP 409)
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main
- OpenStackComputeShell().main(sys.argv[1:])
- File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main
- args.func(self.cs, args)
- File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 594, in do_resize
- server.resize(flavor, **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 197, in resize
- self.manager.resize(self, flavor, **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 533, in resize
- self._action('resize', server, info=info, **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 617, in _action
- return self.api.client.post(url, body=body)
- File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 139, in post
- return self._cs_request(url, 'POST', **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 124, in _cs_request
- **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 107, in request
- raise exceptions.from_response(resp, body)
- ClientException: Cannot 'resize' while instance is in task_state None (HTTP 409)
- ERROR: Cannot 'resize' while instance is in task_state None (HTTP 409)
Advertisement
Add Comment
Please, Sign In to add comment