[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Errors syncing CentOS repos

On 11/21/2011 01:33 PM, Phil Gardner wrote:
I believe I have the most current installed -


Maybe its the mirror I'm syncing against. It seems to create the
directory wrong in the distributions folder, but then complains about
not being able to find the directory it created.

"error:  Exception: Cannot read from directory

[root vtpulp1 ~]# ll /var/lib/pulp/distributions/
total 12
drwxr-sr-x+ 2 apache apache  6 Nov 18 21:28 ks-CentOS--6.0-x86_64

That's at least for the Cent6 repo. Not sure what the issue is with the
4.9 sync, since that error is different.

The most current version's are in testing repos and are
Pulp: 0.251
Grinder: 0.130
Gofer: 0.60

You must be using the community release repo in which this issue exists. If you're not particular on sticking with community release and feel ok upgrading to testing you can use the repos from http://repos.fedorapeople.org/repos/pulp/pulp/testing/ . If not, this issue should be resolved in the next community release. Look for a announcement on this list.

Hope this helps,
~ Prad

On 11/21/2011 01:18 PM, Pradeep Kilambi wrote:
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 gmail com>
To: pulp-list 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

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


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

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]