Actions
Issue #4662
closedFew fields returned by task reported by orphans endpoint set as None
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:
Description
Task returned by the orphans endpoint as completed, but a few fields ( finished_at, started_at, worker) are set as None.
{'_created': '2018-12-21T00:26:37.278392Z',
'_href': '/pulp/api/v3/tasks/b963e89c-db1a-4db4-b8c9-5fbca5629113/',
'created_resources': [],
'error': None,
'finished_at': None,
'name': 'pulpcore.app.tasks.orphan.orphan_cleanup',
'non_fatal_errors': [],
'parent': None,
'progress_reports': [{'done': 3,
'message': 'Clean up orphan Content',
'state': 'completed',
'suffix': '',
'task': '/pulp/api/v3/tasks/b963e89c-db1a-4db4-b8c9-5fbca5629113/',
'total': 3},
{'done': 3,
'message': 'Clean up orphan Artifacts',
'state': 'completed',
'suffix': '',
'task': '/pulp/api/v3/tasks/b963e89c-db1a-4db4-b8c9-5fbca5629113/',
'total': 3}],
'spawned_tasks': [],
'started_at': None,
'state': 'completed',
'worker': None}
Pulp 3 installation from source. April/09.
Related issues
Updated by amacdona@redhat.com over 5 years ago
- Sprint/Milestone set to 3.0.0
- Triaged changed from No to Yes
- Sprint set to Sprint 51
Updated by ppicka over 5 years ago
- Status changed from ASSIGNED to NEW
Tried to debug on task level and on a worker but all IDs match.
When debug on task set_running happened but set_completed or set_failed
I am not able to catch (by remote debug). But still task marked as complete.
It happened to me that when debug in orphan.py (the function itself) I am not able to find Task which should be created by Task.objects.filter(pk=progressbar.task_id).
Unassigning from myself.
Updated by amacdona@redhat.com over 5 years ago
- Sprint changed from Sprint 53 to Sprint 54
Updated by ttereshc over 5 years ago
- Sprint changed from Sprint 54 to Sprint 55
Updated by daviddavis over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by daviddavis over 5 years ago
- Status changed from ASSIGNED to POST
Added by daviddavis over 5 years ago
Updated by dkliban@redhat.com over 5 years ago
- Sprint changed from Sprint 55 to Sprint 56
Updated by daviddavis over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|987193ccce32ee0a2161d05cffe5fe7513612827.
Updated by kersom over 5 years ago
- Copied to Test #5255: Test - Few fields returned by task reported by orphans endpoint set as None added
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Set fields on orphan cleanup task
fixes #4662 https://pulp.plan.io/issues/4662