Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-10-07T12:13:21ZPulp
Planio RPM Support - Story #7665 (CLOSED - DUPLICATE): Related to #7535 - Document how to synchronise re...https://pulp.plan.io/issues/76652020-10-07T12:13:21ZAant
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2256":<a href="https://github.com/pulp/pulp_rpm/issues/2256" class="external">https://github.com/pulp/pulp_rpm/issues/2256</a></p>
<hr>
<p>I added a note to <a class="issue tracker-1 status-10 priority-6 priority-default closed" title="Issue: Pulp_rpm sync reports "completed" but does not update packages (CLOSED - WORKSFORME)" href="https://pulp.plan.io/issues/7535">#7535</a> but could not reopen the case.</p>
<p>I created a repo > remote > then synced the repo > publication > distribution.
When I synchronise the repo again, is the distribution expected to contain the new packages?
What is the most efficient way to add the new packages to the distribution, e.g. delete it and create it again?</p>
<p>It looks like the documentation (<a href="https://pulp-rpm.readthedocs.io/en/latest/" class="external">https://pulp-rpm.readthedocs.io/en/latest/</a>) does not anwer these questions.</p> RPM Support - Story #6729 (CLOSED - CURRENTRELEASE): As user, I can sync SUSE repos which requir...https://pulp.plan.io/issues/67292020-05-14T07:55:02Zabrix
<p>Hi,</p>
<p>with Pulp 3 the possibility of mirroring a SUSE or any other repository which requires an auth-token, does not seem to be available anymore as it was possible with Pulp 2 [1].</p>
<p>There's also no reference in the API documentation [2] to the use of an auth-token in the remotes.</p>
<p>Best regards,</p>
<p>Alex</p>
<p><strong>403 error during repo sync:</strong></p>
<pre><code class="text syntaxhl" data-language="text">{
"created_resources": [],
"error": {
"description": "403, message='Forbidden', url=URL('https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP4/x86_64/product/.treeinfo')",
"traceback": " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/worker.py\", line 884, in perform_job\n rv = job.perform()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py\", line 664, in perform\n self._result = self._execute()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py\", line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 125, in synchronize\n treeinfo = get_treeinfo_data(remote)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulp_rpm/app/kickstart/treeinfo.py\", line 24, in get_treeinfo_data\n result = downloader.fetch()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/download/base.py\", line 154, in fetch\n return done.pop().result()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/download/base.py\", line 221, in run\n return await self._run(extra_data=extra_data)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/backoff/_async.py\", line 133, in retry\n ret = await target(*args, **kwargs)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/download/http.py\", line 185, in _run\n response.raise_for_status()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/aiohttp/client_reqrep.py\", line 946, in raise_for_status\n headers=self.headers)\n"
},
"finished_at": "2020-05-14T06:50:14.111981Z",
"name": "pulp_rpm.app.tasks.synchronizing.synchronize",
"progress_reports": [],
"pulp_created": "2020-05-14T06:50:13.791631Z",
"pulp_href": "/pulp/api/v3/tasks/ce86f248-93d3-4da7-b6ef-49e00693497e/",
"reserved_resources_record": [
"/pulp/api/v3/remotes/rpm/rpm/5adfc022-9992-4e09-8d31-454a41f0f805/",
"/pulp/api/v3/repositories/rpm/rpm/6193f212-d07a-43de-acc4-c3bb331c372b/"
],
"started_at": "2020-05-14T06:50:13.898656Z",
"state": "failed",
"worker": "/pulp/api/v3/workers/85fb61f8-f74e-4f3a-a95d-07f8caa24c7d/"
}
</code></pre>
<p>[1] [[https://pulpproject.org/2015/12/09/syncing-and-publishing-suse-repositories-with-pulp/]]</p>
<p>[2] [[https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/remotes_rpm_rpm_create]]</p>
<p><strong>Proposed solution:</strong></p>
<ul>
<li>Create new RpmRemote and its serializer with one extra field for a auth token</li>
<li>Create new downloader (and downloader chooser) which can use newly created remotes with auth-token</li>
</ul> RPM Support - Test #5320 (CLOSED - WONTFIX): Module Streams not copying correctly with recursive ...https://pulp.plan.io/issues/53202019-08-21T12:47:54Zbherring
<ol>
<li>
<p>Create and sync the following yum repo (Source) -> <a href="https://partha.fedorapeople.org/test-repos/pteradactyl/" class="external">https://partha.fedorapeople.org/test-repos/pteradactyl/</a></p>
</li>
<li>
<p>Create another repo Dest which will serve as the destination repo</p>
</li>
<li>
<p>Go to mongo and pick up a uuid for the pteradactly:2 module stream. This stream will be copied from source to dest .</p>
</li>
<li>
<p>run the following command</p>
<pre><code>https://<fqdn>/pulp/api/v2/repositories/Dest/actions/associate/: {"source_repo_id":"Source","criteria":{"type_ids":["modulemd"],"filters":{"association":{"unit_id":{"$in":[<$MODULE UUID>]}}}},"override_config":{"recursive":true}}: {"content_type"=>"application/json", "accept"=>"application/json"}
</code></pre>
</li>
<li>
<p>pulp-admin rpm repo list. Check for the number of module mds copied over by the above call.</p>
</li>
<li>
<p>notice that with recursive set to true all the pteradactyl module streams gets copied over, instead of just pteradactly:2 and packages belonging to that</p>
</li>
<li>
<p>Behavior is similar for recursive conservative</p>
</li>
</ol> RPM Support - Task #4574 (CLOSED - CURRENTRELEASE): Switch Travis installer to use Ansbile roleshttps://pulp.plan.io/issues/45742019-03-25T16:27:03Zamacdona@redhat.comaustin@redhat.com
<p>Using <a href="https://pulp.plan.io/issues/4312" class="external">https://pulp.plan.io/issues/4312</a>, specifically <a href="https://github.com/pulp/pulpcore/pull/41" class="external">https://github.com/pulp/pulpcore/pull/41</a> as a guide, install pulpcore, pulpcore-plugin, and pulp_rpm with the Ansible installer.</p> RPM Support - Story #3680 (CLOSED - WONTFIX): As a user I can sync from COPR repositorieshttps://pulp.plan.io/issues/36802018-05-17T15:01:49Zamacdona@redhat.comaustin@redhat.comRPM Support - Refactor #1056 (CLOSED - WONTFIX): Restructure distribution units to allow deprecat...https://pulp.plan.io/issues/10562015-06-15T13:39:27Zbcourtbcourt@redhat.com
<p>Currently distribution units keep a "files" attribute that lists each file that is part of the distribution. This should be changed to allow the contents of the distribution unit to be overlaid on top of the repository without needing to list every file.</p>
<p>1) The (treeinfo/.treeinfo) file is renamed to "treeinfo" during the sync.<br>
2) The existence of the treeinfo file is indicated on the unit object<br>
3) During publish time the contents of the distribution are overlaid on the repository being generated.<br>
4) The files attribute can be deprecated/removed</p> RPM Support - Story #211 (CLOSED - WONTFIX): [RFE] pulp allows corrupt rpms to be pushed into reposhttps://pulp.plan.io/issues/2112015-02-19T01:12:08ZAnonymous
<p>+<span>+ This bug was initially created as a clone of <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1023335" class="external">Bugzilla Bug #1023335</a> +</span>+</p>
<p>Description of problem:</p>
<p>Description of problem:<br>
I create a repo, and push to it a corrupt rpm, which won't install.</p>
<p>Version-Release number of selected component (if applicable):<br>
2.2.0-1</p>
<p>How reproducible:<br>
always</p>
<p>Steps to Reproduce:</p>
<p>1. locate a corrupt rpm:<br>
rpm -K /tmp/corruptrpm-1.0-1.noarch.rpm: RSA sha1 ((MD5) PGP) md5 NOT OK (MISSING KEYS: (MD5) PGP#f44e7eb7)</p>
<p>2. pulp-admin rpm repo create --repo-id test-repo2 --relative-url test-repo2</p>
<p>3. pulp-admin rpm repo uploads rpm -f /tmp/corruptrpm-1.0-1.noarch.rpm --repo-id=test-repo2<br>
<span>----------------------------------------------------------------------</span><br>
Unit Upload<br>
<span><del>--------------------------------------------------------------------</del></span></p>
<p>Extracting necessary metadata for each request...<br>
[==================================================] 100%<br>
Analyzing: corruptrpm-1.0-1.noarch.rpm<br>
... completed</p>
<p>Creating upload requests on the server...<br>
[==================================================] 100%<br>
Initializing: corruptrpm-1.0-1.noarch.rpm<br>
... completed</p>
<p>Starting upload of selected units. If this process is stopped through ctrl+c,<br>
the uploads will be paused and may be resumed later using the resume command or<br>
cancelled entirely using the cancel command.</p>
<p>Uploading: corruptrpm-1.0-1.noarch.rpm<br>
[==================================================] 100%<br>
2729160/2729160 bytes<br>
... completed</p>
<p>Importing into the repository...<br>
... completed</p>
<p>Deleting the upload request...<br>
... completed</p>
<p>Actual results:</p>
<p>Corrult rpm successfully pushed into pulp.</p>
<p>Expected results:</p>
<p>rpm upload should fail due to incorrect checksum</p>
<p>Additional info:</p>
<p>--- Additional comment from <a href="mailto:petter.hassberg@netent.com" class="email">petter.hassberg@netent.com</a> at 10/25/2013 08:49:45 ---</p>
<p>this was not a corrupt rpm after all.</p>
<p>--- Additional comment from <a href="mailto:petter.hassberg@netent.com" class="email">petter.hassberg@netent.com</a> at 11/11/2013 14:49:22 ---</p>
<p>This also is applicable with actual corrupt rpm:s with sha1sum mismatch,.</p>
<p>--- Additional comment from <a href="mailto:skarmark@redhat.com" class="email">skarmark@redhat.com</a> at 11/13/2013 16:56:04 ---</p>
<p>***** Bug 1029085 has been marked as a duplicate of this bug. ***</p> RPM Support - Story #63 (CLOSED - WONTFIX): Errata Applicability Stress Testshttps://pulp.plan.io/issues/632014-12-18T16:12:41ZAnonymousRPM Support - Story #60 (CLOSED - WONTFIX): As an API user, I have documentation describing the I...https://pulp.plan.io/issues/602014-12-18T16:12:41ZAnonymous
<p>We need to document the ISO sync progress report format for API users.</p> RPM Support - Story #58 (CLOSED - WONTFIX): Consumer applicability scalability and performance te...https://pulp.plan.io/issues/582014-12-18T16:12:41ZAnonymousRPM Support - Story #54 (CLOSED - WONTFIX): Client: RPM Bind Command UI Clean Uphttps://pulp.plan.io/issues/542014-12-18T16:12:40ZAnonymousRPM Support - Story #38 (CLOSED - WONTFIX): Yum Plugins: Revisit search indexeshttps://pulp.plan.io/issues/382014-12-18T16:12:38ZAnonymousRPM Support - Story #27 (CLOSED - WONTFIX): Yum Plugins: Resolution for retain-old-count & errata...https://pulp.plan.io/issues/272014-12-18T16:12:37ZAnonymous
<p>Deliverable: decide what needs to happen, but don't write any new code decide if it is ok for --retain-old-count to break availability of RPMs for errata</p> RPM Support - Story #12 (CLOSED - DUPLICATE): As a user, I can upload environment groupshttps://pulp.plan.io/issues/122014-12-18T16:12:35ZAnonymous
<p>Deliverables:</p>
<ul>
<li>yum importer can handle uploads of environment groups</li>
<li>CLI has a command to upload environment groups</li>
</ul> RPM Support - Refactor #5 (CLOSED - WONTFIX): [Task] Make pulp_rpm sync use step processing frame...https://pulp.plan.io/issues/52014-12-18T16:12:34ZAnonymous