| Summary: | Installer Hangs for a Long Time When a Proxy Is Needed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | anaconda | Assignee: | Brian Lane <bcl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | anaconda-maint-list, pcfe |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | anaconda-16.11-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-08 23:09:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 494832 | ||
|
Description
Marko Myllynen
2011-06-13 15:58:13 UTC
It should mentioned that during the hang one can ping local servers and the proxy alright from the second console. What happens if you setup the proxy from the repo edit screen? Also, what happens if you don't use a mirror but instead give it a direct url to proxy? > What happens if you setup the proxy from the repo edit screen? Also, what
> happens if you don't use a mirror but instead give it a direct url to proxy?
If I provide also repo=... as a boot parameter (direct url or mirror) then Configure TCP/IP window is presented right after language and keyboard (as a text screen) and it completes almost instantly. But when repo=... is not specified, the hang happens after the installer shows the "Waiting for NetworkManager" window, i.e., after writing disk partitioning but before one can edit the repos. Using proxy=... as a boot parameter does not seem to make any difference (at least it doesn't make things worse).
I tested also with proxy=... asknetwork boot parameters but the hang occurs after disk partitioning. Looks like curl is timing out trying to fetch .treeinfo 18:37:28,160 INFO anaconda: Error downloading treeinfo: [Errno 14] curl#7 - "Couldn't connect" 18:44:58,743 INFO anaconda: Error downloading treeinfo: [Errno 14] curl#7 - "Couldn't connect" What do your proxy logs look like? I'm using squid here and don't see this problem with F15 mirrors. > What do your proxy logs look like?
Unfortunately it's a proxy at a customer for which I don't have access.
Ok, I think I have it figured out. Give this update a try: updates=http://bcl.fedorapeople.org/updates/712926.img What is happening is that when a treeinfo fetch is done it doesn't have any proxy set, even when you pass a proxy= to it. This patch sets the proxy to the repo proxy (if present) or the global proxy if set. In my setup I use the proxy for caching, but have direct access to the net so I don't see the hang as the connection times out when it skips the proxy. > Give this update a try: > > updates=http://bcl.fedorapeople.org/updates/712926.img With updates=http://localserver.localdomain/712926.img proxy=... installation now works perfectly. To make sure that the early network setup didn't have any affect on this, I also tried with an unrelated update (from http://bcl.fedorapeople.org/updates/704378.img) and in that case the installer was hanging again (as expected). Thanks! |