Skip to content

Instantly share code, notes, and snippets.

@dizz
Created January 25, 2016 10:49
Show Gist options
  • Save dizz/59bd2bb603e4bf2f6cd5 to your computer and use it in GitHub Desktop.
Save dizz/59bd2bb603e4bf2f6cd5 to your computer and use it in GitHub Desktop.
DEBUG (session) REQ: curl -g -i -X GET http://bart.cloudcomplab.ch:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool) Starting new HTTP connection (1): bart.cloudcomplab.ch
DEBUG (connectionpool) "GET /v2.0/ HTTP/1.1" 200 346
DEBUG (session) RESP: [200] Content-Length: 346 Vary: X-Auth-Token Connection: keep-alive Date: Mon, 25 Jan 2016 10:48:16 GMT Content-Type: application/json X-Openstack-Request-Id: req-9a348bcd-29c1-4082-b99c-6a7522f9db14
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://bart.cloudcomplab.ch:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG (v2) Making authentication request to http://bart.cloudcomplab.ch:5000/v2.0/tokens
DEBUG (connectionpool) "POST /v2.0/tokens HTTP/1.1" 200 21200
DEBUG (session) REQ: curl -g -i -X GET http://178.22.65.8:8004/v1/64969ad482c643cb8439a55e648e5ebb/stacks? -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}71c6f327949c4dc4f0fbc822b06243d28ecbcda1"
INFO (connectionpool) Starting new HTTP connection (1): 178.22.65.8
Traceback (most recent call last):
File "/usr/local/bin/heat", line 9, in <module>
load_entry_point('python-heatclient==0.8.0', 'console_scripts', 'heat')()
File "/usr/local/lib/python2.7/site-packages/heatclient/shell.py", line 705, in main
HeatShell().main(args)
File "/usr/local/lib/python2.7/site-packages/heatclient/shell.py", line 655, in main
args.func(client, args)
File "/usr/local/lib/python2.7/site-packages/heatclient/v1/shell.py", line 644, in do_stack_list
utils.print_list(stacks, fields, sortby_index=sortby_index)
File "/usr/local/lib/python2.7/site-packages/heatclient/openstack/common/cliutils.py", line 169, in print_list
for o in objs:
File "/usr/local/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 101, in paginate
stacks = self._list(url, 'stacks')
File "/usr/local/lib/python2.7/site-packages/heatclient/openstack/common/apiclient/base.py", line 131, in _list
body = self.client.get(url).json()
File "/usr/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
return self.request(url, 'GET', **kwargs)
File "/usr/local/lib/python2.7/site-packages/heatclient/common/http.py", line 314, in request
**kwargs)
File "/usr/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 206, in request
resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 95, in request
return self.session.request(url, method, **kwargs)
File "/usr/local/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/keystoneclient/session.py", line 387, in request
resp = send(**kwargs)
File "/usr/local/lib/python2.7/site-packages/keystoneclient/session.py", line 431, in _send_request
raise exceptions.ConnectionRefused(msg)
keystoneclient.exceptions.ConnectionRefused: Unable to establish connection to http://178.22.65.8:8004/v1/64969ad482c643cb8439a55e648e5ebb/stacks?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment