Sorry for top-posting. New and previous reply moved to bottom..
Bryan Schneiders wrote:
Michael DeHaan wrote:
> On 08/25/2009 10:55 PM, CLIFFORD ILKAY wrote:
>> Hello Michael,
>>
>> On 25/08/09 06:06 PM, Michael DeHaan wrote:
>>
>>> Are you running a Cobbler server on a Fedora 11 system?
>>>
>> I am indeed, version 1.6.6.1. This was originally installed Fedora 10
>> and I mirrored onto this machine.
>>
>>
>>> If so, the
>>> createrepo commands in Cobbler 2.0 are modified to
>>> use "-s sha" when creating the repo, so this should fix the install
>>> problems you are seeing.
>>>
>>> I believe going to all the install trees that have been repo-ized and
>>> running createrepo on them again should fix your problem
>>> for now.
>>>
>> I noticed the owner and group were wrong on only the CentOS-5.3-x86_64
>> repo so I did:
>>
>> chown -R apache:apache /var/www/cobbler/CentOS-5.3-x86_64
>> cd /var/www/cobbler/CentOS-5.3-x86_64
>> createrepo --checksum sha --outputdir . CentOS/
>>
>> That created new filelists.xml.gz, other.xml.gz, primary.xml.gz, and
>> repomd.xml. I repeated the above for all the repos that I'm referencing
>> from that profile, e.g. updates.
>>
>> After rebooting the client, it got as far as adding the repos but this
>> time, I got a dialog with:
>>
>> "Error: Unable to read group information from repositories. This is a
>> problem with the generation of your install tree."
>>
>> with the only option being "Reboot". What now?
>>
> Ah, if you only did the -s sha, it would have lost the groups file.
>
> Basically you'll have to modify cobbler's action_import.py or wait until
> 2.0 is released.
> or import on a system running something earlier than F-11.
>
> --Michael
>
cobbler-2.0.0-1.fc10.noarch
createrepo-0.9.7-7.fc10.noarch
What is the status of this issue? Is there a trac ticket open for it?
There was an older thread about it too, subject: "Error with RHEL-5.3".
My cobbler server is on Fedora 10 but has a new enough createrepo from the Fedora 10
updates repository that it breaks primary.xml.gz for RHEL and CentOS 5.
primary.xml.gz
| 413 kB 00:00
http://.../cobbler/repo_mirror/CentOS-5.3-x86_64-updates/repodata/primary.xml.gz: [Errno
-3] Error performing checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from CentOS-5.3-x86_64-updates: [Errno 256] No
more mirrors to try.
(hostname removed)
I was dodging this bug while waiting for 2.0 by blocking updates to createrepo. After I
upgraded to cobbler 2.0, I let YUM update my createrepo package and now this bug is back.
Bryan Schneiders
bschneiders(a)woti.com
301-562-1900 ext 305
I see that action_import.py and action_reposync.py get their createrepo flags from
different places. I'm guessing if I imported these repositories after upgrading to
2.0, instead of bringing them over from 1.6.*, I might be OK. I also see that the webui
has a field for createrepo options in each profile. If I can fix this by adding "-s
sha" to that field on profiles where it's needed, that's good enough for me.
I'm about to test a reposync with the flags added from the webui.