Project

Profile

Help

Issue #1955

closed

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

Added by jortel@redhat.com almost 8 years ago. Updated about 5 years 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.

Actions #1

Updated by jortel@redhat.com almost 8 years ago

  • Status changed from ASSIGNED to POST
Actions #2

Updated by dkliban@redhat.com almost 8 years ago

  • Triaged changed from No to Yes

Added by jortel@redhat.com almost 8 years ago

Revision 62900157 | View on GitHub

Ensure variant is set on distribution units. closes #1955

Added by bmbouter almost 8 years ago

Revision 6ac95ae4 | View on GitHub

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

Actions #3

Updated by jortel@redhat.com almost 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by semyers almost 8 years ago

  • Platform Release set to 2.8.5
Actions #5

Updated by semyers almost 8 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by pthomas@redhat.com almost 8 years ago

  • Status changed from 5 to 6

verified

Tested kickstart repos are working after upgrading to 2.8.5

Actions #7

Updated by semyers almost 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter about 6 years ago

  • Sprint set to Sprint 3
Actions #10

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (21)
Actions #11

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF