https://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-05-28T17:30:47ZPulpPython Support - Issue #5400: creating publication failshttps://pulp.plan.io/issues/5400?journal_id=572282020-05-28T17:30:47Zgerrod
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WORKSFORME</i></li></ul><p>Following the limited instructions OP posted I couldn't recreate the same issue. I found that the command OP used to create the publication was incorrect and would produce a different error (see below). The command is missing python/python/ in the repository href as so :
http post :/pulp/api/v3/publications/python/pypi/ repository=/pulp/api/v3/repositories/python/python/2520d915-2928-4468-b568-b45abbacb5a7/</p>
<pre><code>(pulp) [vagrant@pulp3-source-fedora31 pulp_python]$ http post :/pulp/api/v3/publications/python/pypi/ repository=/pulp/api/v3/repositories/2520d915-2928-4468-b568-b45abbacb5a7/
HTTP/1.1 400 Bad Request
Allow: GET, POST, HEAD, OPTIONS
Connection: keep-alive
Content-Length: 52
Content-Type: application/json
Date: Thu, 28 May 2020 17:24:44 GMT
Server: nginx/1.18.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"repository": [
"Invalid hyperlink - No URL match."
]
}
</code></pre> Python Support - Issue #5400: creating publication failshttps://pulp.plan.io/issues/5400?journal_id=572572020-05-28T19:25:31Zdalleydalley@redhat.com
<ul></ul><p>@jaymzh, We'll be doing a new Pulp 3 Python plugin beta for the first time in quite awhile by next week, hopefully it fixes a lot of issues that have accumulated.</p>