[Openstack] Using Nova client with SSH SOCKS proxy

Adrian Smith adrian at 17od.com
Fri May 16 16:10:42 UTC 2014


$ grep localhost /etc/hosts
# localhost is used to configure the loopback interface    localhost
::1             localhost
fe80::1%lo0    localhost

On 16 May 2014 17:05, Clark, Robert Graham <robert.clark at hp.com> wrote:
> Is localhost listed in your /etc/hosts ?
> Maybe try with HTTP_PROXY= - just in case.
> On 16/05/2014 11:41, "Adrian Smith" <adrian at 17od.com> wrote:
>>To access my controller I need to go through a intermediary box.
>>I've created a local SOCKS proxy by ssh'ing to this intermediary with
>>the parameters -D 13392.
>>I then set the environment variable,
>> export HTTP_PROXY=http://localhost:13392
>>But using "nova list" just gives an error,
>>$ nova list
>>ERROR: HTTPConnectionPool(host='localhost', port=13392): Max retries
>>exceeded with url: http://x.x.x.x:5000/v2.0/tokens (Caused by <class
>>'httplib.BadStatusLine'>: '')
>>Should this work? Am I doing something wrong?
>>Mailing list:
>>Post to     : openstack at lists.openstack.org
>>Unsubscribe :

More information about the Openstack mailing list