[Bug 519567] [NEW] euca2ools does not correctly specify port when $http_proxy is set
Robert Collins
robertc at robertcollins.net
Tue Feb 9 23:59:42 GMT 2010
Public bug reported:
Binary package hint: euca2ools
when http_proxy is set, euca2ools commands send the request via the proxy. However they do not set the port header, and as a result the proxy will forward the request to port 80, not port 8773. The symptom of this is:
$ euca-describe-volumes
Warning: failed to parse error message from AWS: <unknown>:1:49: syntax error
Traceback (most recent call last):
File "/usr/bin/euca-describe-volumes", line 114, in <module>
main()
File "/usr/bin/euca-describe-volumes", line 110, in main
euca.display_error_and_exit('%s' % ex)
File "/usr/lib/python2.6/dist-packages/euca2ools/__init__.py", line 996, in display_error_and_exit
dom = minidom.parseString(msg)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 49
euca2ools could correct this by either using CONNECT when a proxy is set
and a ssl session is desired, passing the port when a proxy is set and
no ssl session is desired, or by forcing http_proxy off for all their
commands (but this may prevent them working behind a firewall).
ProblemType: Bug
Architecture: amd64
Date: Wed Feb 10 10:56:00 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: euca2ools 1.0+bzr20091007-0ubuntu1.1
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: euca2ools
Uname: Linux 2.6.31-14-generic x86_64
** Affects: euca2ools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
euca2ools does not correctly specify port when $http_proxy is set
https://bugs.launchpad.net/bugs/519567
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to euca2ools in ubuntu.
More information about the Ubuntu-server-bugs
mailing list