This migration is causing extreme customer pain in the duration it induces in the upgrade. While useful to have a singular storage location in /var/lib/pulp, the cost during the upgrade is too high and should be removed. We are going to remove this step from the upgrade process and optionally add a utility script that can be run out-of-band if desired but not required for operation. This should reduce the upgrade time significantly for upgrades from 6.1 to 6.2
The upstream issue: https://pulp.plan.io/issues/2323#note-23 references an attached .patch file and the pulp.spec used to test it.
Created attachment 1211411 [details] Suggested patch The patch tested with this recommended change to the 2.8.7 pulp.spec: --- [jortel@localhost 2323]$ diff -ru ~/git/pulp/pulp.spec rpmbuild/SPECS/pulp.spec --- /home/jortel/git/pulp/pulp.spec 2016-10-14 15:27:39.228841171 -0500 +++ rpmbuild/SPECS/pulp.spec 2016-09-23 13:30:25.000000000 -0500 @@ -35,7 +35,7 @@ Name: pulp Version: 2.8.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An application for managing software content Group: Development/Languages License: GPLv2 @@ -54,12 +54,17 @@ %endif BuildRequires: rpm-python +Patch0: storage-migration.patch + %description Pulp provides replication, access, and accounting for software repositories. %prep + %setup -q +%patch0 -p1 + %build for directory in agent bindings client_consumer client_lib common devel do
jcalla, The migration number is different for each plugin but the RPM migration (the most painful) is #28. You should see "Standard storage path migration skipped." immediately following the skipped migration.
The Pulp upstream bug status is at CLOSED - WONTFIX. Updating the external tracker on this bug.
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Verified in Satellite 6.2.4 Snap 2 Upgrade time: 30m 16s Saw three instances of notifications that "Standard storage path migration skipped." During the pulp migrations listed below: pulp_docker.plugins.migrations pulp_puppet.plugins.migrations pulp_rpm.plugins.migrations Attaching full install log, a screencap of two of the notifications, as well as a diff of the filesystem structure from directly before and after the upgrade.
Created attachment 1217611 [details] verification screenshot
Created attachment 1217612 [details] installer log
Created attachment 1217613 [details] filesystem diff
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:2699