Skip to content

Instantly share code, notes, and snippets.

@VMTrooper
Created March 22, 2016 22:58
Show Gist options
  • Save VMTrooper/7088dd531a777669918f to your computer and use it in GitHub Desktop.
Save VMTrooper/7088dd531a777669918f to your computer and use it in GitHub Desktop.
trove create debug output
trove --debug create test m1.small
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:37:44 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:37:44.462875Z into {'tz_sign': None, 'second_fraction': u'462875', 'hour': u'00', 'daydash': u'23', 't
z_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'03', 'da
y': None, 'minute': u'37'} with default timezone <iso8601.iso8601.Utc object at 0x7f30bc6e7910>
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'37' for 'minute' with default None
DEBUG (iso8601:140) Got u'44' for 'second' with default None
DEBUG (iso8601:184) Parsed 2016-03-23T00:37:44.462875Z into {'tz_sign': None, 'second_fraction': u'462875', 'hour': u'00', 'daydash': u'23', 't
z_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'03', 'da
y': None, 'minute': u'37'} with default timezone <iso8601.iso8601.Utc object at 0x7f30bc6e7910>
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'37' for 'minute' with default None
DEBUG (iso8601:140) Got u'44' for 'second' with default None
DEBUG (session:198) REQ: curl -g -i -X GET http://10.28.228.75:8779/v1.0/2e644a213b8e4f1aa5818b0d1f8c151c/flavors/m1.small -H "User-Agent: pyth
on-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}6f3e0449db75f4147953e5d67d340bb3034dcb38"
INFO (connectionpool:205) Starting new HTTP connection (1): 10.28.228.75
DEBUG (connectionpool:385) "GET /v1.0/2e644a213b8e4f1aa5818b0d1f8c151c/flavors/m1.small HTTP/1.1" 500 168
DEBUG (session:215) RESP: [500] Date: Tue, 22 Mar 2016 22:51:11 GMT Content-Length: 168 Content-Type: application/json; charset=UTF-8 Connection: keep-alive
RESP BODY: {"instanceFault": {"message": "Internal Server Error. Please keep this ID to help us figure out what went wrong: (6a0f575a-c6b5-4d7a-b7bf-de925c914c57).", "code": 500}}
DEBUG (shell:736) Internal Server Error. Please keep this ID to help us figure out what went wrong: (6a0f575a-c6b5-4d7a-b7bf-de925c914c57). (HTTP 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 451, in do_create
flavor_id = _find_flavor(cs, args.flavor).id
File "/usr/lib/python2.7/dist-packages/troveclient/v1/shell.py", line 135, in _find_flavor
return utils.find_resource(cs.flavors, flavor)
File "/usr/lib/python2.7/dist-packages/troveclient/utils.py", line 217, in find_resource
return manager.get(name_or_id)
File "/usr/lib/python2.7/dist-packages/troveclient/v1/flavors.py", line 58, in get
"flavor")
File "/usr/lib/python2.7/dist-packages/troveclient/base.py", line 169, in _get
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: (6a0f575a-c6b5-4d7a-b7bf-de925c914c57). (HTTP 500)
ERROR: Internal Server Error. Please keep this ID to help us figure out what went wrong: (6a0f575a-c6b5-4d7a-b7bf-de925c914c57). (HTTP 500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment