Bug 491634
| Summary: | anaconda fails to download repomd.xml because of missing /etc/hosts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> | ||||
| Component: | anaconda | Assignee: | Dave Cantrell <dcantrell> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | pjones, rmaximo, vanmeeuwen+fedora | ||||
| 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: | 2009-03-25 17:13:09 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: | 476774 | ||||||
| Attachments: |
|
||||||
Can you attach /tmp/anaconda.log to this bug report? Created attachment 336305 [details]
anaconda.log
Okay, I just reproduced - here's the log
At around 15:15 in the log I touched /etc/hosts and hit Retry
Should be working in the next build of anaconda, which should be the F-11 beta release. For reference, the fix was: http://git.fedorahosted.org/git/anaconda.git?p=anaconda.git;a=commitdiff;h=60bb9f9957 Confirmed fixed with 20090325 rawhide |
With 2009-03-22 rawhide, http installs are failing to download repomd.xml With this patch: def urlgrabberFailureCB (self, obj, *args, **kwargs): - log.warning("Try %s/%s for %s failed" % (obj.tries, obj.retry, obj.url)) + log.warning("Try %s/%s for %s failed: %s" % (obj.tries, obj.retry, obj.url, obj.exception)) the error I was seeing is: Try 1/10 for http://ftp.heanet.ie/mirrors/fedora/linux/development/x86_64/os/repodata/repomd.xml failed: [Errno 4] IOError: <urlopen error [Errno 2] No such file or directory> Downloading the url with wget works fine from the anaconda shell Running strace the only interesting thing I could see was: open("/etc/hosts", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) Sure enough, no /etc/hosts exists and touching it before retrying makes the install proceed just fine.