Bug 190999
Summary: | system-config-kickstart crashes with local core and updates repos | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Mortimer <i.mortimer> |
Component: | system-config-kickstart | Assignee: | Chris Lumens <clumens> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | scott |
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: | 2006-11-13 19:01: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: |
Description
Ian Mortimer
2006-05-08 01:23:14 UTC
What do your enabled repo config files look like? The only changes to yum.conf are: keepcache=1 exclude=kernel* The only enabled repos are: [core] name=Fedora Core $releasever - $basearch baseurl=http://fedora.our.net/$releasever/$basearch/Fedora/RPMS enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [updates] name=Fedora Core $releasever - $basearch - Updates baseurl=http://fedora.our.net/updates/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora There are other repos configured - local and remote - but they are all disabled by default. Remote repos require a proxy. Just to be sure I removed all other repos so those were the only two. system-config-kickstart still crashes at the same point. I also tried with just core but got the same result. Thanks -- Ian Is this better in FC6test3? There have been a lot of yum updates since this bug was originally filed and it's possible this has been fixed upstream. Haven't had time to try any of the FC6 beta tests. When FC6 is released I'll try with that and post the results here. Fails in the same way with FC6: # system-config-kickstart (system-config-kickstart.py:32445): libgnomevfs-WARNING **: Failed to open session DBUS connection: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help) Volume monitoring will not work. Loading "installonlyn" plugin Cannot open logfile /tmp/tmpsn-r-V/var/log/yum.log Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 80, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 158, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 143, in __init__ self.y = sckYumBase(pbar) File "/usr/share/system-config-kickstart/packages.py", line 117, in __init__ self.doRepoSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in doRepoSetup repo.setup(self.conf.cache) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 526, in setup raise Errors.RepoError, ('Cannot open/read repomd.xml file for repository: %s' % self) yum.Errors.RepoError: Cannot open/read repomd.xml file for repository: core yum updates and installs are working fine: # ls /var/cache/yum/core cachecookie packages primary.xml.gz.sqlite headers primary.xml.gz repomd.xml But: # ls /tmp/tmpsn-r-V/var/cache/yum/core headers packages I found a solution. Replaced $releasever in fedora-core.repo with the actual version number and it's now working. This fails: baseurl=http://our.fedora.server/$releasever/$basearch This works: baseurl=http://fedora1.physics.uq.edu.au/6/$basearch I was just about to file this as a bug when I found this bug. I can confirm the crash listed above. I can also confirm that the fix from comment #6 works for me. Looks like system-config-kickstart just needs to be $releasever aware. Strange, because the substitution of that variable should be handled by yum itself. I'll need to investigate if I'm actually calling the yum API correctly for setup. I can confirm the following does *NOT* work: baseurl=http://mirror.web-ster.com/fedora/core/$releasever/$basearch/os/ And this *does* work. Pretty simple fix. baseurl=http://mirror.web-ster.com/fedora/core/6/$basearch/os/ Got it. Thanks for everyone's help in debugging this, and sorry for how long it took. I will release an FC6 update to address this as well. system-config-kickstart-2.6.17-1.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. system-config-kickstart-2.6.17-1.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. |