Bug 801929
Summary: | Repo model not migrated correctly when notes field is None | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | James Slagle <jslagle> |
Component: | z_other | Assignee: | James Slagle <jslagle> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1.0 | CC: | jslagle, kbidarka, sghai, tsanders, whayutin |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 801161 | Environment: | |
Last Closed: | 2012-05-25 14:16:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 801161 | ||
Bug Blocks: |
Description
James Slagle
2012-03-09 21:04:43 UTC
the notes files on the repo model can not be None, it should be {}. I added a new migration version 38 to fix this. cherry picked to pulp_v1 95315f675291170de132fdeb3de32fd85fe2a820 build: 0.273 [[root@pulp-v1-server ~]# pulp-migrate removing persisted tasks database migration to version 40 complete migration to data model version 37 started migration to data model version 37 complete migration to data model version 38 started migration to data model version 38 complete migration to data model version 39 started Dropping index description_-1 from errata collection. Dropping index description_-1 from package collection. Dropping index packagegroups_-1 from package collection. Dropping index packagegroupcategories_-1 from package collection. Adding index on errata to Repo collection. migration to data model version 39 complete migration to data model version 40 started migration to data model version 40 complete [root@pulp-v1-server ~]# pulp-admin -u admin -p admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id rhel6_2 Name rhel6_2 Repo URL https://pulp-v1-server.usersys.redhat.com/pulp/repos/content/dist/rhel/rhui/server/6/6.2/x86_64/os/ Feed URL https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6.2/x86_64/os/ Feed Type remote Content Type yum Feed Certs CA:Yes Cert:Yes Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 7079 Files 0 Distributions ks-Red Hat Enterprise Linux-Server-6.2-x86_64 Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha Id zoo Name zoo Repo URL https://pulp-v1-server.usersys.redhat.com/pulp/repos/zoo/ Feed URL http://repos.fedorapeople.org/repos/katello/katello/6Server/x86_64/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 159 Files 0 Distributions None Publish True Clones [] Groups None Filters [] Notes {u' ': u' '} Preserve Metadata False Checksum Type sha256 [root@pulp-v1-server ~]# Pulp v1.1 Release |