Skip to content

Instantly share code, notes, and snippets.

@VMTrooper
Created March 22, 2016 22:52
Show Gist options
  • Save VMTrooper/c3eed75c0482c895aa22 to your computer and use it in GitHub Desktop.
Save VMTrooper/c3eed75c0482c895aa22 to your computer and use it in GitHub Desktop.
trove list debug output
root@tesora01:~# trove --debug list
DEBUG (session:198) REQ: curl -g -i -X GET http://10.28.228.50:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:205) Starting new HTTP connection (1): 10.28.228.50
DEBUG (connectionpool:385) "GET /v2.0 HTTP/1.1" 200 339
DEBUG (session:215) RESP: [200] Date: Tue, 22 Mar 2016 22:16:47 GMT Vary: X-Auth-Token Content-Length: 339 Content-Type: application/json X-Dis
tribution: Ubuntu
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "applicatio
n/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.28.228.50:35357/v2.0/", "rel": "self"}, {"href": "http://doc
s.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG (v2:86) Making authentication request to http://10.28.228.50:35357/v2.0/tokens
DEBUG (connectionpool:385) "POST /v2.0/tokens HTTP/1.1" 200 4333
DEBUG (iso8601:184) Parsed 2016-03-23T00:16:47.531242Z into {'tz_sign': None, 'second_fraction': u'531242', 'hour': u'00', 'daydash': u'23', 't
z_hour': None, 'month': None, 'timezone': u'Z', 'second': u'47', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'03', 'da
y': None, 'minute': u'16'} with default timezone <iso8601.iso8601.Utc object at 0x7fce83f2a910>
DEBUG (iso8601:140) Got u'2016' for 'year' with default None
DEBUG (iso8601:140) Got u'03' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 3 for 'month' with default 3
DEBUG (iso8601:140) Got u'23' for 'daydash' with default 1
DEBUG (iso8601:140) Got 23 for 'day' with default 23
DEBUG (iso8601:140) Got u'00' for 'hour' with default None
DEBUG (iso8601:140) Got u'16' for 'minute' with default None
DEBUG (iso8601:140) Got u'47' for 'second' with default None
DEBUG (iso8601:184) Parsed 2016-03-23T00:16:47.531242Z into {'tz_sign': None, 'second_fraction': u'531242', 'hour': u'00', 'daydash': u'23', 't
z_hour': None, 'month': None, 'timezone': u'Z', 'second': u'47', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'03', 'da
y': None, 'minute': u'16'} with default timezone <iso8601.iso8601.Utc object at 0x7fce83f2a910>
DEBUG (iso8601:140) Got u'2016' for 'year' with default None
DEBUG (iso8601:140) Got u'03' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 3 for 'month' with default 3
DEBUG (iso8601:140) Got u'23' for 'daydash' with default 1
DEBUG (iso8601:140) Got 23 for 'day' with default 23
DEBUG (iso8601:140) Got u'00' for 'hour' with default None
DEBUG (iso8601:140) Got u'16' for 'minute' with default None
DEBUG (iso8601:140) Got u'47' for 'second' with default None
DEBUG (session:198) REQ: curl -g -i -X GET http://10.28.228.75:8779/v1.0/2e644a213b8e4f1aa5818b0d1f8c151c/instances -H "User-Agent: python-keys
toneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1c4b74f35518c9544734871eb46cfb6b172b3ca8"
INFO (connectionpool:205) Starting new HTTP connection (1): 10.28.228.75
DEBUG (connectionpool:385) "GET /v1.0/2e644a213b8e4f1aa5818b0d1f8c151c/instances HTTP/1.1" 500 168 [315/3543]
DEBUG (session:215) RESP: [500] Date: Tue, 22 Mar 2016 22:30:14 GMT Content-Length: 168 Content-Type: application/json; charset=UTF-8 Connectio
n: keep-alive
RESP BODY: {"instanceFault": {"message": "Internal Server Error. Please keep this ID to help us figure out what went wrong: (29cd68a2-3aac-42df
-9230-e1ed46fafb2f).", "code": 500}}
DEBUG (shell:736) Internal Server Error. Please keep this ID to help us figure out what went wrong: (29cd68a2-3aac-42df-9230-e1ed46fafb2f). (HT
TP 500)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/troveclient/shell.py", line 731, in main
sys.argv[1:]))
File "/usr/lib/python2.7/dist-packages/troveclient/shell.py", line 546, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/dist-packages/troveclient/v1/shell.py", line 196, in do_list
include_clustered=args.include_clustered)
File "/usr/lib/python2.7/dist-packages/troveclient/v1/instances.py", line 171, in list
{"include_clustered": include_clustered})
File "/usr/lib/python2.7/dist-packages/troveclient/base.py", line 70, in _paginated
resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/dist-packages/troveclient/client.py", line 446, in request
raise exceptions.from_response(resp, body, url)
InternalServerError: Internal Server Error. Please keep this ID to help us figure out what went wrong: (29cd68a2-3aac-42df-9230-e1ed46fafb2f).
(HTTP 500)
ERROR: Internal Server Error. Please keep this ID to help us figure out what went wrong: (29cd68a2-3aac-42df-9230-e1ed46fafb2f). (HTTP 500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment