Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1177502 - MetadataError: Failed to synchronize cache for repo 'rawhide' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/m...
Summary: MetadataError: Failed to synchronize cache for repo 'rawhide' from 'https://m...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1c3b6cced3bd431c5a3f1d95e36...
: 1178932 (view as bug list)
Depends On:
Blocks: F22AlphaFreezeException
TreeView+ depends on / blocked
 
Reported: 2014-12-28 09:55 UTC by A.J. Werkman
Modified: 2015-02-18 14:51 UTC (History)
8 users (show)

Fixed In Version: anaconda-22.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 14:51:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (349.64 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: anaconda.log (4.76 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: dnf.log (2.62 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: environ (459 bytes, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: lsblk_output (2.42 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: nmcli_dev_list (934 bytes, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: os_info (381 bytes, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: program.log (46.86 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: storage.log (99.01 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: syslog (145.36 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: ifcfg.log (1.76 KB, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details
File: packaging.log (349 bytes, text/plain)
2014-12-28 09:55 UTC, A.J. Werkman
no flags Details

Description A.J. Werkman 2014-12-28 09:55:33 UTC
Description of problem:
Error occures at the language selection screen without any user interaction.

Version-Release number of selected component:
anaconda-22.13-1

The following was filed automatically by anaconda:
anaconda 22.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/dnfpayload.py", line 470, in _sync_metadata
    raise packaging.MetadataError(str(e))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/dnfpayload.py", line 592, in gatherRepoMetadata
    map(self._sync_metadata, self._base.repos.iter_enabled())
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 1236, in _runThread
    payload.gatherRepoMetadata()
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
MetadataError: Failed to synchronize cache for repo 'rawhide' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet
dnf.rpm.log:    Dec 28 09:43:48 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.18.1-2.fc22.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 A.J. Werkman 2014-12-28 09:55:36 UTC
Created attachment 973687 [details]
File: anaconda-tb

Comment 2 A.J. Werkman 2014-12-28 09:55:37 UTC
Created attachment 973688 [details]
File: anaconda.log

Comment 3 A.J. Werkman 2014-12-28 09:55:38 UTC
Created attachment 973689 [details]
File: dnf.log

Comment 4 A.J. Werkman 2014-12-28 09:55:39 UTC
Created attachment 973690 [details]
File: environ

Comment 5 A.J. Werkman 2014-12-28 09:55:40 UTC
Created attachment 973691 [details]
File: lsblk_output

Comment 6 A.J. Werkman 2014-12-28 09:55:41 UTC
Created attachment 973692 [details]
File: nmcli_dev_list

Comment 7 A.J. Werkman 2014-12-28 09:55:42 UTC
Created attachment 973693 [details]
File: os_info

Comment 8 A.J. Werkman 2014-12-28 09:55:44 UTC
Created attachment 973694 [details]
File: program.log

Comment 9 A.J. Werkman 2014-12-28 09:55:46 UTC
Created attachment 973695 [details]
File: storage.log

Comment 10 A.J. Werkman 2014-12-28 09:55:48 UTC
Created attachment 973696 [details]
File: syslog

Comment 11 A.J. Werkman 2014-12-28 09:55:49 UTC
Created attachment 973697 [details]
File: ifcfg.log

Comment 12 A.J. Werkman 2014-12-28 09:55:50 UTC
Created attachment 973698 [details]
File: packaging.log

Comment 13 A.J. Werkman 2014-12-28 10:25:24 UTC
On the network there is no dhcp. So I would-be expect a network configuration screen.

Comment 14 Robert Knight 2014-12-29 13:47:02 UTC
Another user experienced a similar problem:

During the startup of an installation of the F22 nightly 20141222, the DHCP timed out.  At this point, synchronization with a repo's cache will not work.  The installer crashed with "An unknown error occurred".

addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet
dnf.rpm.log:    Dec 29 13:23:30 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         3.18.1-2.fc22.x86_64
package:        anaconda-22.13-1
product:        Fedora"
reason:         MetadataError: Failed to synchronize cache for repo 'rawhide' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
release:        Cannot get release name.
version:        Fedora

Comment 15 Mike Ruckman 2015-01-02 23:35:08 UTC
Another user experienced a similar problem:

Attempt a text based installation without a network connection configured and anaconda will crash.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-i386 quiet inst.text
dnf.rpm.log:    Jan 02 23:31:26 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         3.18.1-2.fc22.i686
package:        anaconda-22.13-1
product:        Fedora"
reason:         MetadataError: Failed to synchronize cache for repo 'rawhide' from 'https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=i386': Cannot prepare internal mirrorlist: Curl error: Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=i386 [Could not resolve host: mirrors.fedoraproject.org]
release:        Cannot get release name.
version:        Fedora

Comment 16 David Shea 2015-01-06 15:30:54 UTC
*** Bug 1178932 has been marked as a duplicate of this bug. ***

Comment 17 David Shea 2015-01-06 15:46:00 UTC
RE: alpha blocking (from the dupe), yeah, that seems fair. Should it block alpha or beta? I do not know.

It sounds like this will occur any time a netinst boot image is used, and anaconda starts without network up. The fix will probably be to do whatever yumpayload.py does to handle this kind of thing.


Note You need to log in before you can comment on or make changes to this bug.