[Pulp-list] Errors syncing CentOS repos

Pradeep Kilambi pkilambi at redhat.com
Mon Nov 21 18:18:59 UTC 2011


Hi Phil:

The "cannot read directory" error you're seeing is probably due to the older version of grinder or pulp. I suggest you upgrade to newest versions and retry. I did a centos sync and went without errors.

Lemme know how it goes,

~ Prad

----- Original Message -----
From: "Phil Gardner" <phil.gardnerjr at gmail.com>
To: pulp-list at redhat.com
Sent: Friday, November 18, 2011 4:50:09 PM
Subject: [Pulp-list] Errors syncing CentOS repos

Also having some Friday fun here. Two issues, one trying to sync CentOS
6.0 and another with CentOS 4.9 (don't ask).

Attaching exception errors from /var/log/pulp/pulp.log

When doing the sync in the foreground, the CentOS 6.0 sync errors out
with "error:  Exception: Cannot read from directory
/var/lib/pulp/distributions/ks-CentOS-None-6.0-x86_64"

The CentOS 4.9 sync errors out with "documents must have only string
keys, key was None"

The two commands I used to create the repos are:

pulp-admin repo create --id centos-6.0-x86_64 --name "CentOS 6.0 Base
x86_64" --gpgkeys /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 --arch x86_64
--feed http://mirror.cogentco.com/pub/linux/centos/6/os/x86_64/
--relativepath /centos/6/os/x86_64

and

pulp-admin repo create --id centos-4.9-x86_64 --name "CentOS 4.9 Base
x86_64" --arch x86_64 --feed
http://mirror.cogentco.com/pub/linux/centos/4/os/x86_64/ --relativepath
/centos/4/os/x86_64

I have tried using --preserve_metadata, but it didn't seem to make a
difference.

-- 
_____________________
Phil Gardner
PGP Key ID 0xFECC890C
OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538


_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list