Actions
Issue #3208
closedClarify docs to import an uploaded v1 docker image to repository.
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.15.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:
Description
The problem appears while POSTing to import the upload to the repository.
POST command:
curl -kvvv -X POST --user admin:admin -d '{"unit_type_id":"docker_image","upload_id":"0bdb1309-f056-417d-a3e4-7b962108cdf9","unit_key": {}}' https://httpd-pulp.127.0.0.1.nip.io/pulp/api/v2/repositories/test-v1/actions/import_upload/
Operations: import_upload
Resources: test-v1 (repository)
State: Failed
Start Time: 2017-12-15T16:14:34Z
Finish Time: 2017-12-15T16:14:35Z
Result: N/A
Task Id: 86d99743-0947-4876-9509-9a2bd183762f
Progress Report:
Traceback: Traceback (most recent call last): File
"/usr/lib/python2.7/site-packages/celery/app/trace.py", line
367, in trace_task R = retval = fun(*args, **kwargs)
File
"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py",
line 529, in __call__ return super(Task,
self).__call__(*args, **kwargs) File
"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py",
line 107, in __call__ return super(PulpTask,
self).__call__(*args, **kwargs) File
"/usr/lib/python2.7/site-packages/celery/app/trace.py", line
622, in __protected_call__ return self.run(*args,
**kwargs) File
"/usr/lib/python2.7/site-packages/pulp/server/managers/content
/upload.py", line 223, in import_uploaded_unit
unit_type=unit_type_id, summary=result['summary'],
details=result['details'] PulpCodedException: The importer
docker_importer indicated a failed response when uploading
docker_image unit to repository test-v1.
Actions
Update upload documentation for large files.
closes #3208 https://pulp.plan.io/issues/3208