Project

Profile

Help

Issue #3988

repo_copy never finishes

Added by dustball about 2 years ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

For staging, we're copying repositories every first of the month. However, this does not seem to work for deb so far:

root@pulp01vp:~ # pulp-admin tasks details --task-id e3f89e69-c87f-45e5-8098-5f1b41a59959
+----------------------------------------------------------------------+
                              Task Details
+----------------------------------------------------------------------+

Operations:       associate
Resources:        monthly-debian (repository), daily-debian (repository)
State:            Running
Start Time:       2018-09-08T03:23:58Z
Finish Time:      Incomplete
Result:           Incomplete
Task Id:          e3f89e69-c87f-45e5-8098-5f1b41a59959
Worker Name:      reserved_resource_worker-2@pulp03vp.office.noris.de
Progress Report:

Interestingly enough, it seems like the yum_distributer is called for copying:

Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: pulp.server.async.tasks:INFO: [557f71f6] Task failed : [557f71f6-5274-4d39-9dcb-8ceae9adf341]
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136) Task pulp.server.managers.repo.publish.publish[557f71f6-5274-4d39-9dcb-8ceae9adf341] raised unexpected: MissingResource({'repo_id': u'monthly-debian', 'distributor_id': u'yum_distributor'},)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136) Traceback (most recent call last):
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     R = retval = fun(*args, **kwargs)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 529, in __call__
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     return super(Task, self).__call__(*args, **kwargs)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 107, in __call__
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     return super(PulpTask, self).__call__(*args, **kwargs)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     return self.run(*args, **kwargs)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1097, in publish
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     dist = model.Distributor.objects.get_or_404(repo_id=repo_id, distributor_id=dist_id)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)   File "/usr/lib/python2.7/site-packages/pulp/server/db/querysets.py", line 119, in get_or_404
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136)     raise pulp_exceptions.MissingResource(**kwargs)
Sep 10 04:00:58 pulp03vp.office.noris.de pulp[23754]: celery.app.trace:ERROR: [557f71f6] (23754-39136) MissingResource: Missing resource(s): repo_id=monthly-debian, distributor_id=yum_distributor

History

#1 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 1 year ago

  • Status changed from CLOSED - WONTFIX to NEW

Was closed as part of Pulp2 mass-fix, but reopening so the Debian plugin devs can determine what they want to do.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#4 Updated by mdellweg over 1 year ago

  • Triaged changed from No to Yes

Can you please check, whether this is still an issue and provide the command to trigger the copy task.

#5 Updated by quba42 about 1 year ago

Let me just also add that repo copying for pulp_deb is known to work in the Katello context, so this cannot be a general problem with pulp_deb.

Please register to edit this issue

Also available in: Atom PDF