Project

Profile

Help

Issue #1952

Repo sync fails after upgrade to 2.8.3.

Added by akegata@gmail.com over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Urgent
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.3
Platform Release:
2.8.4
OS:
RHEL 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 3
Quarter:

Description

We have two pulp servers that we upgraded from 2.6 to 2.8.3 this morning.
After the upgrade, a number of repositories fail with "The field 'filelist' does not exist on the document 'RPM'":

+----------------------------------------------------------------------+
                              Task Details
+----------------------------------------------------------------------+

Operations:       sync
Resources:        RHEL6_repo_x86_64 (repository)
State:            Failed
Start Time:       2016-05-27T13:14:15Z
Finish Time:      2016-05-27T13:15:04Z
Result:           N/A
Task Id:          0f4e90cf-cee3-41cc-934b-b506ab36a488
Progress Report:
  Yum Importer:
    Comps:
      State: NOT_STARTED
    Content:
      Details:
        Drpm Done:  0
        Drpm Total: 0
        Rpm Done:   0
        Rpm Total:  0
      Error:         The field 'filelist' does not exist on the document 'RPM'
      Error Details:
      Items Left:    0
      Items Total:   0
      Size Left:     0
      Size Total:    0
      State:         FAILED
    Distribution:
      Error Details:
      Items Left:    0
      Items Total:   0
      State:         NOT_STARTED
    Errata:
      State: NOT_STARTED
    Metadata:
      State: FINISHED
    Purge Duplicates:
      State: NOT_STARTED
Traceback:        Traceback (most recent call last):   File
                  "/usr/lib/python2.6/site-packages/celery/app/trace.py", line
                  240, in trace_task     R = retval = fun(*args, **kwargs)
                  File
                  "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py",
                  line 473, in __call__     return super(Task,
                  self).__call__(*args, **kwargs)   File
                  "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py",
                  line 103, in __call__     return super(PulpTask,
                  self).__call__(*args, **kwargs)   File
                  "/usr/lib/python2.6/site-packages/celery/app/trace.py", line
                  437, in __protected_call__     return self.run(*args,
                  **kwargs)   File
                  "/usr/lib/python2.6/site-packages/pulp/server/controllers/repo
                  sitory.py", line 810, in sync     raise
                  pulp_exceptions.PulpExecutionException(_('Importer indicated a
                  failed response')) PulpExecutionException: Importer indicated
                  a failed response

Related issues

Related to Pulp - Issue #1749: Centos6 64b updates sync failed with The field '_erratum_references' does not exist on the document 'RPM'CLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 361dc8e1 View on GitHub
Added by ipanova@redhat.com over 4 years ago

Remove unused fields from units_rpm collection.

closes #1952 https://pulp.plan.io/issues/1952

The filelist and _erratum_references were present in earlier versions of Pulp but are no longer used. They are not included in the mongoengine RPM model anymore.

Revision a5203758 View on GitHub
Added by ipanova@redhat.com over 4 years ago

Remove unused fields from units_rpm collection.

closes #1952 https://pulp.plan.io/issues/1952

The filelist and _erratum_references were present in earlier versions of Pulp but are no longer used. They are not included in the mongoengine RPM model anymore.

History

#1 Updated by bmbouter over 4 years ago

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.5
  • Triaged changed from No to Yes

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

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Priority changed from High to Normal
  • Severity changed from 3. High to 2. Medium
  • Platform Release deleted (2.8.5)

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

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.5

#4 Updated by ipanova@redhat.com over 4 years ago

In addition to `filelist` field removal, `_erratum_references` were also removed based on the comment of this issue https://pulp.plan.io/issues/1931#note-3

#5 Updated by ipanova@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST

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

  • Related to Issue #1749: Centos6 64b updates sync failed with The field '_erratum_references' does not exist on the document 'RPM' added

#7 Updated by ipanova@redhat.com over 4 years ago

  • Sprint/Milestone set to 21

#8 Updated by ipanova@redhat.com over 4 years ago

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

#9 Updated by semyers over 4 years ago

  • Priority changed from High to Urgent
  • Platform Release changed from 2.8.5 to 2.8.4

#10 Updated by semyers over 4 years ago

  • Status changed from MODIFIED to 5

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

  • Status changed from 5 to 6

verified

Repo sync after upgrade succeeded.

#12 Updated by semyers over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#14 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 3

#15 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (21)

#16 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF