Actions
Issue #4685
closedEnable sync in case when registry does not provide scope in the response headers
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 51
Quarter:
Description
$ http GET :8000/pulp/api/v3/tasks/e881628c-6eb3-4f93-87e4-b700b2a70827/
HTTP/1.1 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Connection: close
Content-Length: 3007
Content-Type: application/json
Date: Mon, 15 Apr 2019 14:33:19 GMT
Server: gunicorn/19.9.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"_created": "2019-04-15T14:33:09.988597Z",
"_href": "/pulp/api/v3/tasks/e881628c-6eb3-4f93-87e4-b700b2a70827/",
"created_resources": [],
"error": {
"code": null,
"description": "401, message='UNAUTHORIZED'",
"traceback": " File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/worker.py\", line 799, in perform_job\n rv = job.perform()\n File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py\", line 600, in perform\n self._result = self._execute()\n File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py\", line 606, in _execute\n return self.func(*self.args, **self.kwargs)\n File \"/home/vagrant/devel/pulp_docker/pulp_docker/app/tasks/synchronize.py\", line 48, in synchronize\n dv.create()\n File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/stages/declarative_version.py\", line 169, in create\n loop.run_until_complete(pipeline)\n File \"/usr/lib64/python3.7/asyncio/base_events.py\", line 568, in run_until_complete\n return future.result()\n File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/stages/api.py\", line 209, in create_pipeline\n await asyncio.gather(*futures)\n File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/stages/api.py\", line 43, in __call__\n await self.run()\n File \"/home/vagrant/devel/pulp_docker/pulp_docker/app/tasks/sync_stages.py\", line 52, in run\n await list_downloader.run()\n File \"/home/vagrant/devel/pulpcore-plugin/pulpcore/plugin/download/base.py\", line 212, in run\n return await self._run(extra_data=extra_data)\n File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/backoff/_async.py\", line 131, in retry\n ret = await target(*args, **kwargs)\n File \"/home/vagrant/devel/pulp_docker/pulp_docker/app/downloaders.py\", line 67, in _run\n return await self._run(handle_401=False)\n File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/backoff/_async.py\", line 131, in retry\n ret = await target(*args, **kwargs)\n File \"/home/vagrant/devel/pulp_docker/pulp_docker/app/downloaders.py\", line 56, in _run\n response.raise_for_status()\n File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/client_reqrep.py\", line 942, in raise_for_status\n headers=self.headers)\n"
},
"finished_at": "2019-04-15T14:33:12.678060Z",
"name": "pulp_docker.app.tasks.synchronize.synchronize",
"non_fatal_errors": [],
"parent": null,
"progress_reports": [
{
"done": 0,
"message": "Downloading tag list",
"state": "failed",
"suffix": "",
"task": "/pulp/api/v3/tasks/e881628c-6eb3-4f93-87e4-b700b2a70827/",
"total": 1
},
{
"done": 0,
"message": "Downloading Artifacts",
"state": "canceled",
"suffix": "",
"task": "/pulp/api/v3/tasks/e881628c-6eb3-4f93-87e4-b700b2a70827/",
"total": null
},
{
"done": 0,
"message": "Associating Content",
"state": "canceled",
"suffix": "",
"task": "/pulp/api/v3/tasks/e881628c-6eb3-4f93-87e4-b700b2a70827/",
"total": null
}
],
"spawned_tasks": [],
"started_at": "2019-04-15T14:33:10.059034Z",
"state": "failed",
"worker": "/pulp/api/v3/workers/69588a82-96cb-4cc5-b5b3-2f4d53568ac3/"
}
see pulp2 issue https://pulp.plan.io/issues/3573 for more info
Related issues
Updated by ipanova@redhat.com over 5 years ago
- Status changed from NEW to POST
- Assignee set to ipanova@redhat.com
- Triaged changed from No to Yes
- Sprint set to Sprint 51
Added by ipanova@redhat.com over 5 years ago
Added by ipanova@redhat.com over 5 years ago
Revision 3ed72dc4 | View on GitHub
Enable sync in case when registry does not provide scope in the response headers
Added by ipanova@redhat.com over 5 years ago
Revision 3ed72dc4 | View on GitHub
Enable sync in case when registry does not provide scope in the response headers
Added by ipanova@redhat.com over 5 years ago
Revision 3ed72dc4 | View on GitHub
Enable sync in case when registry does not provide scope in the response headers
Updated by ipanova@redhat.com over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset commit:pulp_docker|3ed72dc4881ae191f195d82a111ad372fb191aad.
Updated by ipanova@redhat.com over 5 years ago
Applied in changeset 3ed72dc4881ae191f195d82a111ad372fb191aad.
Updated by kersom over 5 years ago
- Related to Test #4752: Test sync in case when registry does not provide scope in the response headers added
Updated by ipanova@redhat.com about 5 years ago
- Project changed from Docker Support to Container Support
Updated by ipanova@redhat.com about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Enable sync in case when registry does not provide scope in the response headers
closes #4685 https://pulp.plan.io/issues/4685