[Pulp-list] Package path enhancements in pulp
Pradeep Kilambi
pkilambi at redhat.com
Tue Mar 20 02:48:50 UTC 2012
Hey All:
We recently ran into an issue where in some situations package paths in
pulp could collide. The relevant bug is here #798656. Due to this we
decided to change the package path location to include the whole package
checksum instead of first three characters. Though the change sounds
simple, the path for migration is involved. The following wiki page
illustrates the changes in detailed
https://fedorahosted.org/pulp/wiki/PackagePathUpdate .
The changed pushed to master and v1 will require you to do the
following in this order:
For Development Setup:
=======================
* Update pulp and grinder to newest
* rerun setup.py and pulp-dev.py
* take pulp-server offline
* follow the migration steps in
https://fedorahosted.org/pulp/wiki/PackagePathUpdate#Howtorunmigration
* start pulp-server
For a Pulp/Katello server upgrade:
=================================
Effected versions:
grinder: 0.141 or newer
pulp v1: 1.0.0-6 or newer
pulp dev: 0.277 or newer
* update pulp and grinder rpms
* take pulp-server offline
* follow the migration steps in
https://fedorahosted.org/pulp/wiki/PackagePathUpdate#Howtorunmigration
* start pulp-server
For a fresh pulp install, no need to run migration.
In both cases, taking pulp server offline is critical to avoid other
running tasks such as syncs, clones or uploads corrupting the existing data.
If you have any questions or run into any issues, please ping me on #pulp.
--
-- Pradeep Kilambi | irc: prad
Red Hat Systems Management
Phone: +1 919 754 4285
RHCE/RHCDS # 805008680430554
More information about the Pulp-list
mailing list