Project

Profile

Help

Issue #2236

closed

Upgrading to pulp 2.9 causes sync of repos with DRPM' with a "relativepath" field to fail.

Added by akegata@gmail.com over 7 years ago. Updated almost 5 years ago.

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

Description

I'm hitting this error while publishing a repo after upgrading to 2.9.2:

Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776) Exception caught from plugin during publish for repo [CentOS6_Updates_x86_64]
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776) Traceback (most recent call last):
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/controllers/repository.py", line 1090, in _do_publish
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 669, in wrap_f
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     return f(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     return self._publisher.process_lifecycle()
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     super(PluginStep, self).process_lifecycle()
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     step.process()
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 228, in process
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     for item in item_iterator:
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/queryset/base.py", line 1411, in next
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     _auto_dereference=self._auto_dereference, only_fields=self.only_fields)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/base/document.py", line 730, in _from_son
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     obj = cls(__auto_convert=False, _created=created, __only_fields=only_fields, **data)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/db/models.py", line 149, in __init__
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     super(NonMetadataPackage, self).__init__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/db/model/__init__.py", line 55, in __init__
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     super(AutoRetryDocument, self).__init__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/base/document.py", line 80, in __init__
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776)     raise FieldDoesNotExist(msg)
Sep  7 16:08:00 vinf0002 pulp: pulp.server.controllers.repository:ERROR: (3161-59776) FieldDoesNotExist: The field 'relativepath' does not exist on the document 'DRPM'
Sep  7 16:08:00 vinf0002 pulp: pulp.server.async.tasks:INFO: Task failed : [da646553-9448-43c8-9289-6356298c1f51]
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776) Task pulp.server.managers.repo.publish.publish[da646553-9448-43c8-9289-6356298c1f51] raised unexpected: FieldDoesNotExist("The field 'relativepath' does not exist on the document 'DRPM'",)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776) Traceback (most recent call last):
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/celery/app/trace.py", line 240, in trace_task
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     R = retval = fun(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 484, in __call__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     return super(Task, self).__call__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 103, in __call__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     return super(PulpTask, self).__call__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/celery/app/trace.py", line 437, in __protected_call__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     return self.run(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/controllers/repository.py", line 971, in publish
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/controllers/repository.py", line 1038, in check_publish
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/controllers/repository.py", line 1090, in _do_publish
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 669, in wrap_f
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     return f(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", line 174, in publish_repo
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     return self._publisher.process_lifecycle()
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     super(PluginStep, self).process_lifecycle()
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     step.process()
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py", line 228, in process
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     for item in item_iterator:
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/queryset/base.py", line 1411, in next
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     _auto_dereference=self._auto_dereference, only_fields=self.only_fields)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/base/document.py", line 730, in _from_son
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     obj = cls(__auto_convert=False, _created=created, __only_fields=only_fields, **data)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/db/models.py", line 149, in __init__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     super(NonMetadataPackage, self).__init__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/pulp/server/db/model/__init__.py", line 55, in __init__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     super(AutoRetryDocument, self).__init__(*args, **kwargs)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)   File "/usr/lib/python2.6/site-packages/mongoengine/base/document.py", line 80, in __init__
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776)     raise FieldDoesNotExist(msg)
Sep  7 16:08:00 vinf0002 pulp: celery.worker.job:ERROR: (2882-59776) FieldDoesNotExist: The field 'relativepath' does not exist on the document 'DRPM'

Related issues

Related to RPM Support - Issue #2234: Upgrading to pulp 2.9 causes sync of repos with SRPM's with a filelist field to fail.CLOSED - CURRENTRELEASEipanova@redhat.comActions

Also available in: Atom PDF