Project

General

Profile

Actions

Bug #34550

open

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

Added by Justin Sherrill about 2 years ago. Updated about 2 years ago.

Status:
Ready For Testing
Priority:
Normal
Category:
Repositories
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by The Foreman Bot about 2 years ago

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

Updated by Ian Ballou about 2 years ago

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

Also available in: Atom PDF