Actions
Issue #3988
closedrepo_copy never finishes
Status:
CLOSED - WORKSFORME
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
Updated by bmbouter almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 4 years 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.
Updated by mdellweg almost 4 years 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.
Updated by quba42 over 3 years 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.
Updated by quba42 over 2 years ago
- Status changed from NEW to CLOSED - WORKSFORME
I am closing this for multiple reasons:
- There is no clear way of reproducing the issue.
- Lack of activity
- Pulp 2 is in maintenance mode and there won't be any more major work on it.
Actions