Project

General

Profile

Feature #28657

Rake task to switchover any data from pulp2 ids to pulp3 ids

Added by Justin Sherrill 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We need a rake task and supporting code that will 'switch' pulp3 ids in content tables from the migrated_pulp3_href column over to the pulp_id column. The simplest way to do this is to update the models individually, but other options such as renaming columns or doing a bulk update are possible. So some investigation needs to be done.

This would only occur for docker and file for this next katello release.


Related issues

Blocks Katello - Tracker #26987: Pulp3 Main trackerNew

Associated revisions

Revision ff5f2fe0 (diff)
Added by James Jeffers 2 months ago

Fixes #28657 - adds a rake task to copy migrated pulp3 href to pulp ids (#8510)

History

#1 Updated by Justin Sherrill 3 months ago

  • Description updated (diff)

#2 Updated by Justin Sherrill 3 months ago

#3 Updated by Jonathon Turel 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.15.0

#4 Updated by The Foreman Bot 3 months ago

  • Assignee set to James Jeffers
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8510 added

#5 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 3.16.0 added

#6 Updated by James Jeffers 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF