euca2ools does not correctly specify port when $http_proxy is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Invalid
|
Undecided
|
Mitch Garnaat | ||
euca2ools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
python-boto (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
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-
Warning: failed to parse error message from AWS: <unknown>:1:49: syntax error
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
euca.
File "/usr/lib/
dom = minidom.
File "/usr/lib/
return expatbuilder.
File "/usr/lib/
return builder.
File "/usr/lib/
parser.
xml.parsers.
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
NonfreeKernelMo
Package: euca2ools 1.0+bzr20091007
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: euca2ools
Uname: Linux 2.6.31-14-generic x86_64
Changed in euca2ools (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in python-boto (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in eucalyptus: | |
status: | Triaged → In Progress |
status: | In Progress → Confirmed |
assignee: | nobody → Mitch Garnaat (mitch-garnaat) |
affects: | eucalyptus → euca2ools |
Changed in euca2ools: | |
status: | Confirmed → Invalid |
Changed in python-boto (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in euca2ools (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in python-boto (Ubuntu): | |
status: | Fix Released → Incomplete |
I suspect this is something that will need to be patched against boto, not euca2ools, since boto handles the actual http connection.