Bug 119305
Summary: | up2date --register fails in findHostByRoute if proxy has no service on port 80 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Daniel Riek <riek> |
Component: | up2date | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-05 19:45:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 119505 |
Description
Daniel Riek
2004-03-29 10:12:58 UTC
Should be fixed in 4.2.8 or higher (aka, u3 versions) make that the u2 release (second set of updates) A possible fix to this: In hardware.py in function findHostByRoute() change this: if cfg['enableProxy']: server_port = up2dateUtils.getProxySetting() server = string.split(server_port, ':')[0] s.connect((server, 80)) to this: if cfg['enableProxy']: server_port = up2dateUtils.getProxySetting() server = string.split(server_port, ':')[0] port = string.split(server_port, ':')[1] s.connect((server, int(port))) |