Comment 5 for bug 1012551

Revision history for this message
Doug Goldstein (cardoe) wrote :

Here's the debug info from Folsom.

$ nova --debug delete 3935bacf-63c5-4b19-9375-f067d75d56e6

REQ: curl -i http://192.168.200.135:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "dev", "passwordCredentials": {"username": "admin", "password": "dev"}}}'

connect: (192.168.200.135, 35357)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.200.135:35357\r\nContent-Length: 102\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": "dev", "passwordCredentials": {"username": "admin", "password": "dev"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Tue, 09 Oct 2012 23:34:02 GMT
header: Transfer-Encoding: chunked
RESP:{'date': 'Tue, 09 Oct 2012 23:34:02 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"expires": "2012-10-10T23:34:01Z", "id": "9545eac2bd254984805be5c6f65a943a", "tenant": {"enabled": true, "description": "EA development", "name": "dev", "id": "5aa21f92483b441f89b844421b639f9c"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c", "region": "Developers", "internalURL": "http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c", "id": "da16351759e0471c928e313ecf1541cd", "publicURL": "http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.200.135:9292/v1", "region": "Developers", "internalURL": "http://192.168.200.135:9292/v1", "id": "618b8e6304c1460fa0c71db565975420", "publicURL": "http://192.168.200.135:9292/v1"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.200.135:8776/v1/5aa21f92483b441f89b844421b639f9c", "region": "Developers", "internalURL": "http://192.168.200.135:8776/v1/5aa21f92483b441f89b844421b639f9c", "id": "1889f0b8fefa4049852427e379b2e189", "publicURL": "http://192.168.200.135:8776/v1/5aa21f92483b441f89b844421b639f9c"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://192.168.200.135:8773/services/Admin", "region": "Developers", "internalURL": "http://192.168.200.135:8773/services/Cloud", "id": "171b68c50bbf4077869aa36a1daeda6b", "publicURL": "http://192.168.200.135:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.200.135:8888/v1", "region": "Developers", "internalURL": "http://192.168.200.135:8888/v1/AUTH_5aa21f92483b441f89b844421b639f9c", "id": "4e74115c6d004c9e8e70c0624a1b498a", "publicURL": "http://192.168.200.135:8888/v1/AUTH_5aa21f92483b441f89b844421b639f9c"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://192.168.200.135:35357/v2.0", "region": "Developers", "internalURL": "http://192.168.200.135:5000/v2.0", "id": "f26bb12c650747efb3e3838b6da0bb6d", "publicURL": "http://192.168.200.135:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "ace5f6119a6d43778da4c2181a3ef306", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["00b8179d4c674fbfb9df5b821aaf3f83"]}}}

REQ: curl -i http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6 -X GET -H "X-Auth-Project-Id: dev" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 9545eac2bd254984805be5c6f65a943a"

connect: (192.168.200.135, 8774)
send: u'GET /v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6 HTTP/1.1\r\nHost: 192.168.200.135:8774\r\nx-auth-project-id: dev\r\nx-auth-token: 9545eac2bd254984805be5c6f65a943a\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-854e4a01-36f2-4800-899b-dc37bb13fa10
header: Content-Type: application/json
header: Content-Length: 1476
header: Date: Tue, 09 Oct 2012 23:34:02 GMT
RESP:{'status': '200', 'content-length': '1476', 'content-location': u'http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6', 'x-compute-request-id': 'req-854e4a01-36f2-4800-899b-dc37bb13fa10', 'date': 'Tue, 09 Oct 2012 23:34:02 GMT', 'content-type': 'application/json'} {"server": {"status": "ERROR", "updated": "2012-10-09T23:13:39Z", "hostId": "c5a32de0acc09c5e6a74b1c7679b85d2a418a3c6ea58147888ba8fe5", "OS-EXT-SRV-ATTR:host": "sloth", "addresses": {"private": []}, "links": [{"href": "http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6", "rel": "self"}, {"href": "http://192.168.200.135:8774/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6", "rel": "bookmark"}], "key_name": "doug-pikewerks", "image": {"id": "f1736056-47ba-49f8-b451-6272595045d6", "links": [{"href": "http://192.168.200.135:8774/5aa21f92483b441f89b844421b639f9c/images/f1736056-47ba-49f8-b451-6272595045d6", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000004", "OS-EXT-SRV-ATTR:hypervisor_hostname": "sloth", "flavor": {"id": "1", "links": [{"href": "http://192.168.200.135:8774/5aa21f92483b441f89b844421b639f9c/flavors/1", "rel": "bookmark"}]}, "id": "3935bacf-63c5-4b19-9375-f067d75d56e6", "security_groups": [{"name": "default"}], "user_id": "397ebab0d7de4e7bb285bbefc7e78dce", "name": "YATI", "created": "2012-10-09T22:47:49Z", "tenant_id": "5aa21f92483b441f89b844421b639f9c", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "Timeout", "code": 500, "created": "2012-10-09T23:33:34Z"}, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}

REQ: curl -i http://192.168.200.135:8774/v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6 -X DELETE -H "X-Auth-Project-Id: dev" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 9545eac2bd254984805be5c6f65a943a"

send: u'DELETE /v2/5aa21f92483b441f89b844421b639f9c/servers/3935bacf-63c5-4b19-9375-f067d75d56e6 HTTP/1.1\r\nHost: 192.168.200.135:8774\r\nx-auth-project-id: dev\r\nx-auth-token: 9545eac2bd254984805be5c6f65a943a\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 204 No Content\r\n'
header: Content-Length: 0
header: X-Compute-Request-Id: req-a1efad67-e227-41d5-9b71-8597ff14a93e
header: Content-Type: application/json
header: Date: Tue, 09 Oct 2012 23:34:02 GMT
RESP:{'date': 'Tue, 09 Oct 2012 23:34:02 GMT', 'status': '204', 'content-length': '0', 'content-type': 'application/json', 'x-compute-request-id': 'req-a1efad67-e227-41d5-9b71-8597ff14a93e'}

At this point it returns to the shell prompt.