[Pulp-list] Errors syncing CentOS repos

Phil Gardner phil.gardnerjr at gmail.com
Fri Nov 18 21:50:09 UTC 2011


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: centos4-sync-error.txt
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20111118/e0c85996/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: centos6-sync-error.txt
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20111118/e0c85996/attachment-0001.txt>


More information about the Pulp-list mailing list