Actions
Issue #6854
closedUpload and Manage Content Workflow Documentation Error
Status:
MODIFIED
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version - Python:
Platform Release:
3.0.0
Target Release - Python:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Following the documentation at https://pulp-python.readthedocs.io/en/latest/workflows/upload.html , I got the error pasted below. Also, the documentation isn't very clear about the type of content that can be uploaded, using only the generic term 'file' in the example.
(pulp) [vagrant@pulp3-source-fedora31 pulp_python]$ http POST $BASE_ADDR/pulp/api/v3/content/python/ artifact=http://localhost:24817/pulp/api/v3/artifacts/f6b2f040-654f-4632-b8db-26f7cb7f13af/ filename=setup.py
HTTP/1.1 404 Not Found
Connection: keep-alive
Content-Length: 77
Content-Type: text/html
Date: Thu, 28 May 2020 13:45:48 GMT
Server: nginx/1.18.0
X-Frame-Options: SAMEORIGIN
<h1>Not Found</h1><p>The requested resource was not found on this server.</p>
Actions
Updated Upload and Manage Content Workflow Documentation
Fixed the workflow commands to correctly create an artifact, make a package content from that artifact, and then add that content to a repository. Also added some additional details to the instructions for clarity.
fixes #6854 https://pulp.plan.io/issues/6854