Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1420472

Summary: [RFE] skip migration 0020_nested_drpm_directory if there are no DRPMs
Product: Red Hat Satellite Reporter: Michael Hrivnak <mhrivnak>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.7CC: bbuckingham, bkearney, bmbouter, daviddavis, dkliban, ehelms, ggainey, ipanova, jcallaha, mhrivnak, mmccune, pcreech, rchan, rplevka, satellite6-bugs, ttereshc, zhunting
Target Milestone: UnspecifiedKeywords: FutureFeature, PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-2.8.7.10-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1426420 (view as bug list) Environment:
Last Closed: 2017-05-01 13:59:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1426420    

Description Michael Hrivnak 2017-02-08 19:00:31 UTC
Description of problem:

This migration walks the entire tree of published RPM repos looking for places to fix incorrectly published DRPMs. This can take a long time, especially on latent filesystems.

Version-Release number of selected component (if applicable):
Sat 6.2

How reproducible:
always

Steps to Reproduce:

Upgrade from 6.1 to 6.2

Actual results:

The migration runs and might take a lot of time.

Expected results:

The migration takes no time when there are no DRPMs, which is the case for most customers.

Comment 2 pulp-infra@redhat.com 2017-02-08 19:31:17 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2017-02-08 19:31:19 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2017-02-11 00:31:21 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2017-02-12 21:01:23 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2017-02-12 21:31:20 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 7 Satellite Program 2017-02-23 21:11:48 UTC
Please add verifications steps for this bug to help QE verify

Comment 10 pulp-infra@redhat.com 2017-03-30 01:32:53 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 11 pulp-infra@redhat.com 2017-03-30 01:32:54 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 12 pulp-infra@redhat.com 2017-03-30 23:07:59 UTC
The Pulp upstream bug status is at CLOSED - COMPLETE. Updating the external tracker on this bug.

Comment 13 Roman Plevka 2017-04-04 09:00:52 UTC
VERIFIED
on sat6.2.9-2

- tested both upgrades with and without DRPM, the migration step was indeed skipped with no drpms in place.

Comment 14 pulp-infra@redhat.com 2017-04-17 13:33:14 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 15 pulp-infra@redhat.com 2017-04-27 14:04:03 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 17 errata-xmlrpc 2017-05-01 13:59:52 UTC
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-2017:1191