I have similar issues, I think.
I'm running cobbler 1.6.6 rel 1.fc11 with createrepo 0.9.7 rel 7.fc11
on an updated Fedora 11 box. So far, Cobbler 2 and createrepo 0.9.8
hasn't made it to Fedora 11.
I modified the cobbler install to allow me to add fedora12 (and
fedora13) installations as recommended, and did an import from the
Fedora12 i386 DVD iso.
Attempting to build boxen on VMware ESX Server 2.5.3 build-35703
produced consistent failures that appeared to be hardware related, but
mounting the DVD iso directly allowed the install to complete. After
a successful DVD-based install, I did another DVD-based install and
swapped the installation repo for the one in my cobbler installation
(
http://puppet:80/cobbler/ks_mirror/F12-i386) and got the error below.
I tried the fix in ticket 463 (which had previously helped me with
this issue with CEntOS), but it failed because ./comps.xml wasn't
present in the cobbler mirror.
I had to:
createrepo -s sha -o . -g
repodata/6a72ae27742d1b4ac04f2eec0e5ffb0b7c909d58b9c6e346a7ee5cfb627832d4-Fedora-12-comps.xml
.
because the comps.xml was named that rather long string.
Unfortunately, this also didn't work for some reason, with similar but
slightly different results as Bill's original post:
So to be clever, I decided to try the Cobbler installation again but
modifying the F12's distro to swap out the tree for a local http
mirror of the Fedora12 i386 Everything repo. However, when I showed
rendered kickstart, it says:
url --url=http://puppet2/repositories/fedora/releases/12/Everything/i386/os
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
repo --name=F12-i386-U
--baseurl=http://puppet2/repositories/fedora/updates/12/i386/
repo --name=source-1 --baseurl=http://puppet:80/cobbler/ks_mirror/F12-i386
Finally, the question:
It appears that I can't replace the source-1 repo. It's apparently a
bad egg. Am I doing it wrong?
Do I just need to axe my Fedora11 cobbler server and switch to F12 and
2.0.0? It's not nearly as painful as this has been so far, but if
it's unlikely to help my situation I'd rather not burn the time until
later.
Thanks!
Mykel
- - - Log below
anaconda 12.46 exception report
Traceback (most recent call first):
File "/usr/lib/python2.6/site-packages/sqlitecachec.py", line 46, in
getPrimary
self.repoid))
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 187, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 277, in
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 549,
in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 512,
in doSackSetup
return self._getSacks(archlist=archlist, thisrepo=thisrepo)
File "/usr/lib/anaconda/yuminstall.py", line 1129, in <lambda>
self.__withFuncDo(anaconda, lambda r: self.ayum.doSackSetup(thisrepo=r.id),
File "/usr/lib/anaconda/yuminstall.py", line 1156, in __withFuncDo
fn(repo)
File "/usr/lib/anaconda/yuminstall.py", line 1130, in doSackSetup
thisrepo=thisrepo, fatalerrors=fatalerrors)
File "/usr/lib/anaconda/yuminstall.py", line 1086, in doBackendSetup
self.doSackSetup(anaconda)
File "/usr/lib/anaconda/backend.py", line 274, in doBackendSetup
if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK:
File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/dispatch.py", line 222, in currentStep
self.gotoNext()
File "/usr/lib/anaconda/cmdline.py", line 144, in run
(step, instance) = anaconda.dispatch.currentStep()
File "/usr/bin/anaconda", line 968, in <module>
anaconda.intf.run(anaconda)
TypeError: Parsing primary.xml error: attributes construct error
Local variables in innermost frame:
checksum: 38dfb1efd099e1aae85abd2b2c9450e132f47861
self: <sqlitecachec.RepodataParserSqlite instance at 0xb530e14c>
location:
/mnt/sysimage/var/cache/yum/anaconda-InstallationRepo-200911081854.i386/primary.xml.gz