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

Re: [Pulp-list] synchronized repo incomplete



There was a bug in grinder i fixed last week that was not resuming part files if sync was cancelled. I suggest upgrading to newest version of grinder and resync your repo.

~ Prad

----- Original Message -----
From: "Sandro Janke" <gui1ty_fedora penguinpee nl>
To: pulp-list redhat com
Sent: Sunday, November 6, 2011 11:17:20 AM
Subject: Re: [Pulp-list] synchronized repo incomplete

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/06/2011 04:47 PM, Sandro Janke wrote:
> I synchronized a repository using pulp, for use with mock. When mock
> tried to setup the chroot it could not find any package providing
> /bin/sh. It turns out bash is not in the local pulp repository, even
> though it is listed in upstream's primary.xml.gz [1].
>
> Pulp does appear to have downloaded the package into
> /var/lib/pulp/packages/bash/4.1.2/8.el6/x86_64/45e/, but it is not
> listed by 'pulp-admin repo content'. The local primary.xml.gz does not
> contain an entry for bash.
>
> I tried re-synchronizing the repository after setting the arch option to
> x86_64, but no new packages were added to the repo.
>
> [1]
> http://ftp.scientificlinux.org/linux/scientific/6.1/x86_64/os/repodata/primary.xml.gz
>
> -- Sandro

It appears a couple of packages (bash among them) were only partially
downloaded:

# find /var/lib/pulp/packages/ -name \*.part | cut -d'/' -f 6 | sort |
uniq | wc -l
42

There is nothing in grinder log other than the package being downloaded:

2011-11-05 22:35:45,031 16037:140233406375680: grinder.BaseFetch:INFO:
activeobject:169 Creating directory:
/var/lib/pulp//packages/bash/4.1.2/8.el6/x86_64/45e
2011-11-05 22:35:45,089 16037:140233406375680: grinder.BaseFetch:INFO:
activeobject:169 Fetching 923120 bytes: bash-4.1.2-8.el6.x86_64.rpm from
http://ftp.halifax.rwth-aachen.de/scientificlinux/6.1/x86_64/os/Packages/bash-4.1.2-8.el6.x86_64.rpm

How does one tell pulp to finish downloading the partial files?

- -- Sandro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOtrMQAAoJEHVRxWA5WMcHgZsH/iEGO5GquF/3dOCame32jIYs
e4G4EPqdRvZ1lesWNS7IakD5siTiP/HvzsHElLe04NgBoA4l9Hjgs3ag4WMaxuFw
6b6952QslGnZR3G6ublNnJizwAItbtRqlniy0c76ImpmMmo2D1ynlKeS+2blWgMr
mfrMZl60iHiHwxhIkvxtxzcMzUxhyKxS+w8aKviO10bqqnIz6R8Sf103sLBzw6Nr
QJbNl6rFfUzOLvtBfbpoxr4QezDfQs8RM1BLkn3tKxrednUDWntBhUT9s6tN1iRy
1RYcbnV1s0e++qmmDqEKmA1MdDIau/04d5T1QGU6gkHMp1C6HKiMR5T4ScOSuhg=
=nN7R
-----END PGP SIGNATURE-----

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


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