Project

Profile

Help

Issue #1955

Need a migration to ensure that Distribution units have a default value of '' for variant.

Added by jortel@redhat.com over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.8.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 3
Quarter:

Description

The Distribution model object defaults the variant to ''. However, units created before conversion to mongoengine can have a variant of null. To ensure proper comparison, a migration needs to be written to make the unit keys consistent in the DB.

Associated revisions

Revision 62900157 View on GitHub
Added by jortel@redhat.com over 4 years ago

Ensure variant is set on distribution units. closes #1955

Revision 6ac95ae4 View on GitHub
Added by bmbouter over 4 years ago

Moves migration 31 -> 33 so migrations can be introduced in 2.8.z

This allows the fix for issue 1979 to become migration 31 and the fix for issue 1955 to become migration 32. Both of those will be introduced in 2.8-dev and merged forward to master.

https://pulp.plan.io/issues/1979 https://pulp.plan.io/issues/1955

re #1979 re #1955

History

#1 Updated by jortel@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST

#2 Updated by dkliban@redhat.com over 4 years ago

  • Triaged changed from No to Yes

#3 Updated by jortel@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#4 Updated by semyers over 4 years ago

  • Platform Release set to 2.8.5

#5 Updated by semyers over 4 years ago

  • Status changed from MODIFIED to 5

#6 Updated by pthomas@redhat.com over 4 years ago

  • Status changed from 5 to 6

verified

Tested kickstart repos are working after upgrading to 2.8.5

#7 Updated by semyers over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 3

#10 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (21)

#11 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF