Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-08-02T19:37:16ZPulp
Planio Migration Plugin - Issue #9191 (CLOSED - DUPLICATE): Migrated advisories with dates-as-timestamps...https://pulp.plan.io/issues/91912021-08-02T19:37:16Zggainey
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp-2to3-migration/issues/483": <a href="https://github.com/pulp/pulp-2to3-migration/issues/483" class="external">https://github.com/pulp/pulp-2to3-migration/issues/483</a></p> Pulp - Issue #7715 (CLOSED - CURRENTRELEASE): Spelling error in import-export workflow dochttps://pulp.plan.io/issues/77152020-10-15T15:35:04Zggainey
<p>From <a href="https://docs.pulpproject.org/pulpcore/workflows/import-export.html" class="external">https://docs.pulpproject.org/pulpcore/workflows/import-export.html</a>:</p>
<p>"Finally, if we need complete comtrol over incremental exporting, " - 'comtrol' is not a word :)</p> Pulp - Issue #3889 (CLOSED - CURRENTRELEASE): psycopg2 warninghttps://pulp.plan.io/issues/38892018-07-30T19:48:06Zbmbouterbmbouter@redhat.com
<p>Whenever the Pulp3 database driver connects to Postgresql it emits this warning:</p>
<pre><code>/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
</code></pre>
<p>It would be great to start Pulp3 without these warnings</p> File Support - Issue #3410 (CLOSED - CURRENTRELEASE): Rename content field "path" to "relative_path"https://pulp.plan.io/issues/34102018-02-28T13:54:51Zkersom
<p>When reading content from a repository, the response is:</p>
<pre><code> {'next': None,
'previous': None,
'results': [{'_href': 'http://f27-p3:8000/api/v3/content/file/44f4dfa2-1b80-459c-960b-079c4dd6e48c/',
'artifacts': {'2.iso': 'http://f27-p3:8000/api/v3/artifacts/cbce4558-59b9-4674-83d2-7f6dd2875b6e/'},
'digest': '3a1b7f18cb8e51f381a9ceb32447fcdaa070d41bbf2d9bd12f5ea1731dfe0b0b',
'notes': {},
'path': '2.iso',
'type': 'file'}]}
</code>
</code></pre>
<p>"path" should be renamed to "relative_path" to better denote its purpose.</p> Pulp - Issue #3391 (CLOSED - DUPLICATE): Missing repository field when creating a publication https://pulp.plan.io/issues/33912018-02-22T18:51:10Zkersom
<p>When creating a publication using the following endpoint.</p>
<pre><code class="text syntaxhl" data-language="text">/api/v3/publishers/file/{id}/publish/
</code></pre>
<p>the repository _href has to be provided. This is not mentioned in the current version of the DRF OpenAPI documentation</p> Pulp - Issue #3390 (CLOSED - DUPLICATE): Missing repository field when syncing an importerhttps://pulp.plan.io/issues/33902018-02-22T18:48:03Zkersom
<p>When syncing an importer using the following endpoint.</p>
<pre><code class="text syntaxhl" data-language="text">/api/v3/importers/file/{id}/sync/
</code></pre>
<p>the repository _href has to be provided. This is not mentioned in the current version of the DRF OpenAPI documentation.</p> Pulp - Issue #3387 (CLOSED - CURRENTRELEASE): Improve error message when uploading a file already...https://pulp.plan.io/issues/33872018-02-20T22:13:11Zkersom
<p>Add a more descriptive error message when uploading a file already in Pulp.</p>
<p>Right now, when using POST /api/v3/artifacts/, with a file that already exists in Pulp is sending back a HTTP 400, and the following message.</p>
<pre><code class="text syntaxhl" data-language="text">{'non_field_errors': ['sha512 checksum must be unique.']}
</code></pre> Pulp - Issue #3382 (CLOSED - WONTFIX): listing tasks with pulp-admin -vvv returns incorrect infor...https://pulp.plan.io/issues/33822018-02-17T20:51:09Zdalleydalley@redhat.com
<p>This is a similar issue to the recent worker_name issue, but it only applies to the list view</p>
<p>pulp-admin -vvv tasks list --all</p>
<pre><code>[
......
{
"exception": null,
"task_type": null,
"_href": "/pulp/api/v2/tasks/2c45e8a8-b796-47a3-8130-c1288a9e5ed2/",
"task_id": "2c45e8a8-b796-47a3-8130-c1288a9e5ed2",
"tags": [
"pulp:repository:zoo",
"pulp:action:publish"
],
"finish_time": "2018-02-17T20:45:15Z",
"_ns": "task_status",
"start_time": "2018-02-17T20:45:15Z",
"traceback": null,
"spawned_tasks": [],
"progress_report": {},
"state": "finished",
"worker_name": "reserved_resource_worker-0@pulp2.dev",
"result": null,
"error": null,
"_id": {
"$oid": "5a88945bc7fdea845d0b29c7"
},
"id": "5a88945bc7fdea845d0b29c7"
}
]
</code></pre>
<p>pulp-admin -vvv tasks details --task-id 2c45e8a8-b796-47a3-8130-c1288a9e5ed2</p>
<pre><code> {
"exception": null,
"task_type": "pulp.server.managers.repo.publish.publish",
"_href": "/pulp/api/v2/tasks/2c45e8a8-b796-47a3-8130-c1288a9e5ed2/",
"task_id": "2c45e8a8-b796-47a3-8130-c1288a9e5ed2",
"tags": [
"pulp:repository:zoo",
"pulp:action:publish"
],
"finish_time": "2018-02-17T20:45:15Z",
"_ns": "task_status",
"start_time": "2018-02-17T20:45:15Z",
"traceback": null,
"spawned_tasks": [],
"progress_report": {},
"queue": "reserved_resource_worker-0@pulp2.dev.dq2",
"state": "finished",
"worker_name": "reserved_resource_worker-0@pulp2.dev",
"result": {
"exception": null,
"repo_id": "zoo",
"started": "2018-02-17T20:45:15Z",
"_ns": "repo_publish_results",
"completed": "2018-02-17T20:45:15Z",
"traceback": null,
"distributor_type_id": "yum_distributor",
"error_message": null,
"summary": "Skipped: Repository content has not changed since last publish.",
"result": "skipped",
"distributor_id": "yum_distributor",
"id": "5a88945b30f2524eb69dbd81",
"details": "Skipped: Repository content has not changed since last publish."
},
"error": null,
"_id": {
"$oid": "5a88945bc7fdea845d0b29c7"
},
"id": "5a88945bc7fdea845d0b29c7"
}
</code></pre> Pulp - Issue #3368 (CLOSED - WONTFIX): batch_regenerate_applicability tasks have no action tag, s...https://pulp.plan.io/issues/33682018-02-13T16:19:41Zdalleydalley@redhat.com
<pre><code>[vagrant@pulp2 ~]$ pulp-admin -vv tasks details --task-id 8951c4b6-2b3c-460d-b84d-e9574b093c1e
+----------------------------------------------------------------------+
Task Details
+----------------------------------------------------------------------+
2018-02-13 16:06:24,701 - DEBUG - sending GET request to /pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/
2018-02-13 16:06:24,739 - INFO - GET request to /pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/ with parameters None
2018-02-13 16:06:24,739 - INFO - Response status : 200
2018-02-13 16:06:24,739 - INFO - Response body :
{
"exception": null,
"task_type": "pulp.server.managers.consumer.applicability.batch_regenerate_applicability",
"_href": "/pulp/api/v2/tasks/8951c4b6-2b3c-460d-b84d-e9574b093c1e/",
"task_id": "8951c4b6-2b3c-460d-b84d-e9574b093c1e",
"tags": [],
"finish_time": "2018-02-13T16:02:33Z",
"_ns": "task_status",
"start_time": "2018-02-13T16:02:31Z",
"traceback": null,
"spawned_tasks": [],
"progress_report": {},
"queue": "reserved_resource_worker-3@pulp2.dev.dq2",
"state": "finished",
"worker_name": "reserved_resource_worker-3@pulp2.dev",
"result": null,
"error": null,
"_id": {
"$oid": "5a830bf49664af7dc4901870"
},
"id": "5a830bf49664af7dc4901870"
}
Operations:
Resources:
State: Successful
Start Time: 2018-02-13T16:02:31Z
Finish Time: 2018-02-13T16:02:33Z
Result: N/A
Task Id: 8951c4b6-2b3c-460d-b84d-e9574b093c1e
Worker Name: reserved_resource_worker-3@pulp2.dev
Progress Report:
</code></pre>
<p>The only way to know what a task did is to view the "task_type" field from the record. pulp-admin's "Operations" field works based off of "tags", which are not provided for batch_regenerate_applicability tasks [0].</p>
<p>Tanya suspects it might have something to do with task groups.</p>
<p>[0] <a href="https://github.com/pulp/pulp/blob/master/server/pulp/server/managers/consumer/applicability.py#L169" class="external">https://github.com/pulp/pulp/blob/master/server/pulp/server/managers/consumer/applicability.py#L169</a></p> Docker Support - Issue #2983 (CLOSED - WONTFIX): Default httpd configuration makes directory list...https://pulp.plan.io/issues/29832017-08-15T13:55:32Ztwaughtwaugh@redhat.com
<p>Because .../manifests/2 and .../manifests/list set specific media types in responses, directory listings for these locations also use those media types instead of text/html.</p>
<p>For example: using a web browser, navigate to <a href="https://pulp.example.com/pulp/docker/v2/repository-name/manifests/2/" class="external">https://pulp.example.com/pulp/docker/v2/repository-name/manifests/2/</a></p> Pulp - Issue #2943 (CLOSED - WONTFIX): Cancelling a task group with no tasks throws a 404https://pulp.plan.io/issues/29432017-07-26T16:53:29Zjsherril@redhat.comjsherril@redhat.com
<p>If a task group such as applicability generation has no tasks, it throws an error. This is incredibly confusing to the point that i thought i was doing something wrong. A user would not expect that when given a task group id, canceling that task group would throw a 404.</p>
<p>To reproduce, generate applicability for a repository with no bound consumers, grab the task id, and attempt to cancel it.</p> Infrastructure - Issue #2913 (CLOSED - WONTFIX): Build is not marked as failed in some cases when...https://pulp.plan.io/issues/29132017-07-17T09:48:57Zttereshcttereshc@redhat.com
<p>Example: <a href="https://pulpadmin.fedorapeople.org/jenkins/jobs/unittest-pulp_deb-pr/builds/59/" class="external">https://pulpadmin.fedorapeople.org/jenkins/jobs/unittest-pulp_deb-pr/builds/59/</a></p>
<p>I guess build is marked as failed when at least one unit test didn't pass.<br>
But unit tests didn't run at all in the example, failure happened earlier.<br>
It's expected to see FAILED result in the table from example.</p> RPM Support - Issue #2871 (CLOSED - WONTFIX): Old references to checksum_type need to be updated ...https://pulp.plan.io/issues/28712017-07-06T20:57:42Zkdelee@redhat.com
<p>API documentation [0] refer to the field<br>
<code>"unit_metadata": {"checksum_type": null}</code></p>
<p>For use in uploading to a repository, but use of this in an API call to upload a drpm results in the error:<br>
<code>"{'errors': ["unexpected error occurred importing uploaded file: The field 'checksum_type' does not exist on the document 'DRPM'"]}"</code></p>
<p>An old reference to <code>'checksum_type'</code> is also found in the yum importer <code>upload.py</code> [1]</p>
<p>This causes an invalid combination of a valid sha256 <code>'checksum'</code> combined with a <code>'checksumtype'</code> OTHER than sha256 to succeed, when the proper behaviour would be failure.</p>
<p>[0] <a href="http://docs.pulpproject.org/dev-guide/integration/rest-api/content/upload.html#creating-an-upload-request" class="external">http://docs.pulpproject.org/dev-guide/integration/rest-api/content/upload.html#creating-an-upload-request</a><br>
[1] <a href="https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/importers/yum/upload.py#L395" class="external">https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/importers/yum/upload.py#L395</a></p> Python Support - Issue #2838 (CLOSED - WONTFIX): Updating/Adding a sync schedule does not trigger...https://pulp.plan.io/issues/28382017-06-24T04:42:30Zmikea
<p>In the RPM/Yum plugin whenever you add a sync schedule without a start time in the future (for example, P1D) it starts a sync task immediately.</p>
<p>The Python plugin does not do this. It should be consistent.</p> Nectar - Issue #2809 (CLOSED - WONTFIX): Logging fails in case of non-ascii characters in the urlhttps://pulp.plan.io/issues/28092017-06-09T19:26:49Zehalcik
<p>i have a repo defined as :</p>
<pre><code>pulp-admin rpm repo create --repo-id=oel-addons-x86_64-6 --feed=http://yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/ --relative-url=addons/oel/x86_64/6 --description "oel-addons-x86_64-6" --serve-http=true
</code></pre>
<p>Issuing the command <code>pulp-admin rpm repo sync run --repo-id=oel-addons-x86_64-6</code> results in this error.</p>
<pre><code>Task Failed
'ascii' codec can't decode byte 0xc3 in position 48: ordinal not in range(128)
</code></pre>
<p>/var/log/messages says this:</p>
<pre><code>pulp: celery.worker.job:ERROR: (14295-74720) Task pulp.server.managers.repo.sync.sync[7f04fd3b-d2d8-4b8b-ad1a-f30816a6e095] raised unexpected: UnicodeDecodeError('ascii', 'Downloading metadata from http://yum.oracle.com/\xc3\xa2\xc2\x80\xc2\x8brepo/\xc3\xa2\xc2\x80\xc2\x8bOracleLinux/\xc3\xa2\xc2\x80\xc2\x8bOL6/\xc3\xa2\xc2\x80\xc2\x8baddons/\xc3\xa2\xc2\x80\xc2\x8bx86_64/.', 48, 49, 'ordinal not in range(128)')
</code></pre>
<p>My other repos sync just fine.</p>