Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Adrian Smith
Thanks guys. I got it working using proxychains (tsocks isn't readily available under brew on OSX). On 16 May 2014 17:24, Andriy Yurchuk wrote: > Hi! > > SOCKS proxy is not an HTTP proxy so setting HTTP_PROXY environment variable > won't work. Rather try something like tsocks: > http://tsocks.

Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Adrian Smith
I tried with 127.0.0.1 but the same error, $ nova list ERROR: HTTPConnectionPool(host='127.0.0.1', port=13392): Max retries exceeded with url: http://x.x.x.x:5000/v2.0/tokens (Caused by : '') On 16 May 2014 17:10, Adrian Smith wrote: > Yes, > > $ grep localhost /etc/hosts > # localhost is used t

Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Dean Troyer
On Fri, May 16, 2014 at 10:41 AM, Adrian Smith 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://localh

Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Adrian Smith
Yes, $ grep localhost /etc/hosts # localhost is used to configure the loopback interface 127.0.0.1localhost ::1 localhost fe80::1%lo0localhost On 16 May 2014 17:05, Clark, Robert Graham wrote: > Is localhost listed in your /etc/hosts ? > > Maybe try with HTTP_PROXY=http://1

Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Andriy Yurchuk
Hi! SOCKS proxy is not an HTTP proxy so setting HTTP_PROXY environment variable won't work. Rather try something like tsocks: http://tsocks.sourceforge.net/index.php On May 16, 2014, at 7:10 PM, Adrian Smith wrote: > Yes, > > $ grep localhost /etc/hosts > # localhost is used to configure the

Re: [Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Clark, Robert Graham
Is localhost listed in your /etc/hosts ? Maybe try with HTTP_PROXY=http://127.0.0.1:13392 - just in case. On 16/05/2014 11:41, "Adrian Smith" 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 pa

[Openstack] Using Nova client with SSH SOCKS proxy

2014-05-16 Thread Adrian Smith
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 ER