[Pulp-list] /var/lib/pulp/content directory structure changed from 2.4.0 to 2.9.1

Michael Hrivnak mhrivnak at redhat.com
Wed Nov 16 14:08:38 UTC 2016


Alan,

You're in the right place!

Despite the name, "pulp-manage-db" also handles migration of files on disk.
So if you restore both the DB and /var/lib/pulp/content/ before running it,
the files will get moved to the new locations.

Michael

On Wed, Nov 16, 2016 at 7:50 AM, Alan Evangelista <alanoe at linux.vnet.ibm.com
> wrote:

> rpm packages directories structure in /var/lib/pulp/content has changed
> from Pulp 2.4.0 to 2.9.1
>
> Ex of new dir structure:
> /var/lib/pulp/content/units/rpm/1d/340d196f05ed297160f8a68ba
> 9e7c7e4d27b8f409ef5c89d97fad341458059/zlib-devel-1.2.7-14.
> el7_1.ibm.3.ppc64le.rpm
>
> Ex of old dir structure:
> /var/lib/pulp/content/units/rpm/zlib-devel/1.2.7/14.el7_1.ib
> m.3/zlib-devel-1.2.7-14.el7_1.ibm.3.ppc64le.rpm
>
> Due to this, I am unable to restore my rpms backup from the 2.4.0 version
> in a 2.9.1 installation. The pulp db part of the backup was converted to
> the newer format successfully using pulp-manage-db, but I need the same for
> the rpms directories. Is there any tool I could use for that migration?
>
> I am not sure if this is related to the rpm plugin or pulp. If is related
> to the former and there is another mailing list about it,
> pls point me to it.
>
>
> Regards,
> Alan Evangelista
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20161116/0e0789c3/attachment.htm>


More information about the Pulp-list mailing list