registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #25926
[Bug 668229] [NEW] nova-manage can't find IP address when host is behind a HTTP proxy
Public bug reported:
I make some tests with Nova.
I try to use Nova on a host in my company network.
On this network, the web is accessible thougth a HTTP proxy.
When I use the command nova-manage, a fuction " utils.get_my_ip()" is
called and this fonction try to connect a socket to "www.google.com".
But it fails with a error "socket.error: [Errno 110] ETIMEDOUT"
debug :
Traceback (most recent call last):
File "bin/nova-manage", line 81, in <module>
flags.DECLARE('fixed_range', 'nova.network.manager')
File "/home/doude/test/nova-2010.1/nova/flags.py", line 166, in DECLARE
__import__(module_string, globals(), locals())
File "/home/doude/test/nova-2010.1/nova/network/manager.py", line 47, in <module>
flags.DEFINE_string('vpn_ip', utils.get_my_ip(),
File "/home/doude/test/nova-2010.1/nova/utils.py", line 155, in get_my_ip
csock.connect(('www.google.com', 80))
File "/opt/python27/lib/python2.7/site-packages/eventlet-0.9.13-py2.7.egg/eventlet/greenio.py", line 161, in connect
while not socket_connect(fd, address):
File "/opt/python27/lib/python2.7/site-packages/eventlet-0.9.13-py2.7.egg/eventlet/greenio.py", line 35, in socket_connect
raise socket.error(err, errno.errorcode[err])
socket.error: [Errno 110] ETIMEDOUT
I passed throught this bug by hard coded the IP in the file "nova-
manage"...
Iwork with Python 2.7 and OpenStack Compute Nova-2010.1.
** Affects: nova
Importance: Undecided
Status: New
--
nova-manage can't find IP address when host is behind a HTTP proxy
https://bugs.launchpad.net/bugs/668229
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.
Follow ups
References