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

Re: [Pulp-list] Errors syncing CentOS repos

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.

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
> /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
OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538

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