Project

General

Profile

Bug #34550

If the migration plan is empty, all repositories get migrated.

Added by Justin Sherrill 4 months ago. Updated 4 months ago.

Status:
Ready For Testing
Priority:
Normal
Category:
Repositories
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2005392

Description of problem:
With the BZ listed below, we are now filtering out repositories for the migration if they're being created or if they're related to a publishing content view. This means people can now migrate safely while doing these actions. However, in the very rare case that all repositories are excluded from the migration plan, this will actually tell Pulp to migrate all repositories.

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

Satellite 6.9.0

How reproducible:
Always, under the circumstances above.

Steps to Reproduce:
1. Have a Satellite with one repository and put that repo in a content view
2. Publish the content view and immediately start the Pulp 2 -> 3 migration
3. If the timing is right, in the logs, you will see an empty migration plan. However, the CV's repositories will receive version_hrefs if there is no error during the migration.

Actual results:
The CV's repositories are migrated (have version_hrefs).

Expected results:
The CV's repositories are not migrated (nil version_hrefs).

Additional info:
Other related BZ that found this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1973245

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9996 added

#2 Updated by Ian Ballou 4 months ago

  • Triaged changed from No to Yes
  • Target version set to 3.18-no-release-planned
  • Subject changed from If the migration plan is empty, all repositories get migrated. to If the migration plan is empty, all repositories get migrated.

Also available in: Atom PDF