Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-11-02T19:35:27ZPulp
Planio RPM Support - Issue #9551 (CLOSED - DUPLICATE): Error passing upload RPMhttps://pulp.plan.io/issues/95512021-11-02T19:35:27Zwibbit
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2317":<a href="https://github.com/pulp/pulp_rpm/issues/2317" class="external">https://github.com/pulp/pulp_rpm/issues/2317</a></p>
<hr>
<p>After uploading an RPM (rpm -qp --all .rpm works fine on the source RPM), I'm greeted with the following error.</p>
<pre><code>{'child_tasks': [],
'created_resources': [],
'error': {'description': 'RPM file cannot be parsed for metadata.',
'traceback': ' File '
'"/opt/bats/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", '
'line 272, in _perform_task\n'
' result = func(*args, **kwargs)\n'
' File '
'"/opt/bats/lib/python3.8/site-packages/pulpcore/app/tasks/base.py", '
'line 34, in general_create\n'
' serializer.is_valid(raise_exception=True)\n'
' File '
'"/opt/bats/lib/python3.8/site-packages/rest_framework/serializers.py", '
'line 220, in is_valid\n'
' self._validated_data = '
'self.run_validation(self.initial_data)\n'
' File '
'"/opt/bats/lib/python3.8/site-packages/rest_framework/serializers.py", '
'line 422, in run_validation\n'
' value = self.validate(value)\n'
' File '
'"/opt/bats/lib/python3.8/site-packages/pulpcore/plugin/serializers/content.py", '
'line 104, in validate\n'
' data = self.deferred_validate(data)\n'
' File '
'"/opt/bats/lib/python3.8/site-packages/pulp_rpm/app/serializers/package.py", '
'line 240, in deferred_validate\n'
' raise NotAcceptable(detail="RPM file cannot be '
'parsed for metadata.")\n'},
'finished_at': datetime.datetime(2021, 11, 2, 19, 12, 12, 382621, tzinfo=tzutc()),
'logging_cid': '3c5f6c83815947bfae0e71cb661ec91f',
'name': 'pulpcore.app.tasks.base.general_create',
'parent_task': None,
'progress_reports': [],
'pulp_created': datetime.datetime(2021, 11, 2, 19, 12, 10, 711408, tzinfo=tzutc()),
'pulp_href': '/pulp/api/v3/tasks/452c9c7e-1715-4751-9462-0f68a649feb3/',
'reserved_resources_record': ['/pulp/api/v3/artifacts/58eb9338-26f8-4f55-a0dc-ddca290fa1fb/'],
'started_at': datetime.datetime(2021, 11, 2, 19, 12, 10, 792329, tzinfo=tzutc()),
'state': 'failed',
'task_group': None,
'worker': None}
</code></pre> RPM Support - Issue #9365 (CLOSED - CURRENTRELEASE): Missing release notes - pulp-rpm (fix nightl...https://pulp.plan.io/issues/93652021-09-09T09:36:39Zwibbit
<p>No release notes published for 3.14.3</p> RPM Support - Issue #9132 (CLOSED - DUPLICATE): As an administrator, I'd like to see the actual m...https://pulp.plan.io/issues/91322021-07-23T06:16:18Zwibbit
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2287":<a href="https://github.com/pulp/pulp_rpm/issues/2287" class="external">https://github.com/pulp/pulp_rpm/issues/2287</a></p>
<hr>
<p>Currently, when pulp3 fails to sync, due to for example an RPM failing to pass a hash check pulp3 reports URL associated with the remote.</p>
<p>When using a mirror list, it would be good to have visibility of the actual mirror we were syncing against at the time of the failure, as opposed to the more generic mirror list.</p>
<p>Ideally this would be reported in the task failure.</p> RPM Support - Story #9131 (CLOSED - DUPLICATE): As an administrator, I'd like RPM repository sync...https://pulp.plan.io/issues/91312021-07-23T06:13:18Zwibbit
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2286":<a href="https://github.com/pulp/pulp_rpm/issues/2286" class="external">https://github.com/pulp/pulp_rpm/issues/2286</a></p>
<hr>
<p>Currently, though Pulp3 supports mirror lists, it does not currently support re-trying against a different host in the mirror list in the event of a package sync failure.</p>
<p>While attempting to use mirror lists while syncing fedora34 updates, after ~15 attempts I was not able to get to version 1 of the repository, as each time it would try and it would get a new mirror, and there would be a failed package of some kind.</p>
<p>Anecdotally I see this a lot when running a dnf update/upgrade where packages will fail and DNF will happily go off and try a new mirror, without this logic, for larger repositories that may have a lot of change, I'm unsure of the value of supporting mirror lists.</p> RPM Support - Issue #8992 (CLOSED - DUPLICATE): Memory usage when destroy repository; The memory ...https://pulp.plan.io/issues/89922021-06-30T07:11:25Zwilful
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2280":<a href="https://github.com/pulp/pulp_rpm/issues/2280" class="external">https://github.com/pulp/pulp_rpm/issues/2280</a></p>
<hr>
<p>When i try to destroy one of repositories, pulp (RQ basically) are using more 3G RAM and crashed by OOM-Killer</p>
<pre><code class="c syntaxhl" data-language="c"><span class="n">Jun</span> <span class="mi">30</span> <span class="mo">06</span><span class="o">:</span><span class="mi">59</span><span class="o">:</span><span class="mi">16</span> <span class="o">***</span> <span class="n">kernel</span><span class="o">:</span> <span class="n">Out</span> <span class="n">of</span> <span class="n">memory</span><span class="o">:</span> <span class="n">Kill</span> <span class="n">process</span> <span class="mi">81458</span> <span class="p">(</span><span class="n">rq</span><span class="p">)</span> <span class="n">score</span> <span class="mi">493</span> <span class="n">or</span> <span class="n">sacrifice</span> <span class="n">child</span>
<span class="n">Jun</span> <span class="mi">30</span> <span class="mo">06</span><span class="o">:</span><span class="mi">59</span><span class="o">:</span><span class="mi">16</span> <span class="o">***</span> <span class="n">kernel</span><span class="o">:</span> <span class="n">Killed</span> <span class="n">process</span> <span class="mi">81458</span> <span class="p">(</span><span class="n">rq</span><span class="p">),</span> <span class="n">UID</span> <span class="mi">1002</span><span class="p">,</span> <span class="n">total</span><span class="o">-</span><span class="n">vm</span><span class="o">:</span><span class="mi">4434448</span><span class="n">kB</span><span class="p">,</span> <span class="n">anon</span><span class="o">-</span><span class="n">rss</span><span class="o">:</span><span class="mi">3936104</span><span class="n">kB</span><span class="p">,</span> <span class="n">file</span><span class="o">-</span><span class="n">rss</span><span class="o">:</span><span class="mi">0</span><span class="n">kB</span><span class="p">,</span> <span class="n">shmem</span><span class="o">-</span><span class="n">rss</span><span class="o">:</span><span class="mi">0</span><span class="n">kB</span>
</code></pre>
<p>State before on my node:</p>
<pre><code class="c syntaxhl" data-language="c"><span class="cp"># free -h
</span> <span class="n">total</span> <span class="n">used</span> <span class="n">free</span> <span class="n">shared</span> <span class="n">buff</span><span class="o">/</span><span class="n">cache</span> <span class="n">available</span>
<span class="n">Mem</span><span class="o">:</span> <span class="mi">7</span><span class="p">.</span><span class="mi">6</span><span class="n">G</span> <span class="mi">1</span><span class="p">.</span><span class="mi">5</span><span class="n">G</span> <span class="mi">3</span><span class="p">.</span><span class="mi">6</span><span class="n">G</span> <span class="mi">2</span><span class="p">.</span><span class="mi">2</span><span class="n">G</span> <span class="mi">2</span><span class="p">.</span><span class="mi">6</span><span class="n">G</span> <span class="mi">3</span><span class="p">.</span><span class="mi">7</span><span class="n">G</span>
<span class="n">Swap</span><span class="o">:</span> <span class="mi">0</span><span class="n">B</span> <span class="mi">0</span><span class="n">B</span> <span class="mi">0</span><span class="n">B</span>
</code></pre>
<pre><code class="c syntaxhl" data-language="c"> <span class="s">"versions"</span><span class="o">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"core"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"3.13.0"</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"rpm"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"3.13.0"</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"python"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"3.4.0"</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"file"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"1.8.0"</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"deb"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"2.13.0"</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s">"component"</span><span class="o">:</span> <span class="s">"container"</span><span class="p">,</span>
<span class="s">"version"</span><span class="o">:</span> <span class="s">"2.6.0"</span>
<span class="p">}</span>
<span class="p">],</span>
</code></pre> RPM Support - Issue #8967 (CLOSED - DUPLICATE): "duplicate key value violates unique constraint" ...https://pulp.plan.io/issues/89672021-06-24T13:23:18Zwilful
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2278":<a href="https://github.com/pulp/pulp_rpm/issues/2278" class="external">https://github.com/pulp/pulp_rpm/issues/2278</a></p>
<hr>
<p>The original issue is difficult to reproduce any longer, but there are similar issues which can be. see <a href="https://pulp.plan.io/issues/8967#note-16" class="external">https://pulp.plan.io/issues/8967#note-16</a></p>
<p>========================</p>
<p>Hi for all!</p>
<p>Me need added for pulp server two repositories:</p>
<p><a href="http://downloads.linux.hpe.com/SDR/repo/spp/redhat/7/x86_64/current/" class="external">http://downloads.linux.hpe.com/SDR/repo/spp/redhat/7/x86_64/current/</a></p>
<p><a href="http://downloads.linux.hpe.com/SDR/repo/mcp/CentOS/7/x86_64/current/" class="external">http://downloads.linux.hpe.com/SDR/repo/mcp/CentOS/7/x86_64/current/</a></p>
<p>But i can't do it, becouse:</p>
<pre><code class="text syntaxhl" data-language="text"> "description": "duplicate key value violates unique constraint \"rpm_package_pkgId_key\"\nDETAIL: Key (\"pkgId\")=(ebf96fb31b880280a25d07c596bde204df50d140) already exists.\
n"
</code></pre>
<p>How can I find out in which repository this package is?</p> RPM Support - Issue #8619 (CLOSED - DUPLICATE): RPM Sync Issue - Duplicate contenthttps://pulp.plan.io/issues/86192021-04-23T14:07:51Zwibbit
<p><strong>Ticket moved to GitHub</strong>: "pulp/pulp_rpm/2271":<a href="https://github.com/pulp/pulp_rpm/issues/2271" class="external">https://github.com/pulp/pulp_rpm/issues/2271</a></p>
<hr>
<p>I've hit an odd sync issue with rpm (<a href="https://pulp.plan.io/issues/8615" class="external">https://pulp.plan.io/issues/8615</a>).</p>
<p>This is syncing against a pulp2 repo that is populated using pulp-admin's upload facility. I think I <em>may</em> know the cause, though this is conjecture.</p>
<p>Speaking with ttereshc, it's been confirmed that the upload command has the same issue as copying content between repositories does not perform any kind of de-duplication of data where the NEVRA is the same, but the hash differs.</p>
<p>I worked around this issue by creating a "dummy" repository, copying the content into it, and then setting the original repository up, to have it's feed set to the dummy repository and syncing it, this then engages the deduplication logic.</p>
<p>A subsequent sync of this repository from Pulp3 worked cleanly.</p>
<p>It strikes me, that Pulp3 probably should have been able to deal with this gracefully, I'm not familiar enough with sync logic to understand where the core problem was.</p> RPM Support - Issue #8009 (CLOSED - CURRENTRELEASE): Documentation Issuehttps://pulp.plan.io/issues/80092020-12-18T11:12:58Zwibbit
<p><a href="https://pulp-rpm.readthedocs.io/en/3.4/workflows/copy.html" class="external">https://pulp-rpm.readthedocs.io/en/3.4/workflows/copy.html</a></p>
<p>!Note associated with Dependancy Solving</p>
<p>This note states that dependency_solving currently is set to false by default.</p>
<p><a href="https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/copy_content" class="external">https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/copy_content</a></p>
<p>States that the default is True</p> RPM Support - Issue #7978 (CLOSED - CURRENTRELEASE): Fix RPM Content Copy documentationhttps://pulp.plan.io/issues/79782020-12-10T17:03:33Zwibbit
<p>The last example below, states that dependency_solving=False, however this should state that it is set to true.</p>
<p><a href="https://pulp-rpm.readthedocs.io/en/3.4/workflows/copy.html#basic-repository-modification-api" class="external">https://pulp-rpm.readthedocs.io/en/3.4/workflows/copy.html#basic-repository-modification-api</a></p> RPM Support - Issue #7814 (CLOSED - NOTABUG): Undocumented Change in API Interfacehttps://pulp.plan.io/issues/78142020-11-10T16:26:54Zwibbit
<p>Going from pulp-rpm 3.6.0 to pulp-rpm 3.7.0 the RpmCopyApi.create changed to RpmCopyApi.copy_content</p>
<p>I've gone over the changelogs and can see no reference to this change.</p> RPM Support - Issue #6981 (CLOSED - CURRENTRELEASE): Broken Documentation Linkshttps://pulp.plan.io/issues/69812020-06-16T11:54:25Zwibbit
<p>The following page has a couple of links that appear broken.</p>
<p><a href="https://pulp-rpm.readthedocs.io/en/latest/bindings.html" class="external">https://pulp-rpm.readthedocs.io/en/latest/bindings.html</a></p>
<p>Namely.
<a href="https://pulp-rpm.readthedocs.io/en/restapi.html" class="external">https://pulp-rpm.readthedocs.io/en/restapi.html</a>
<a href="https://docs.pulpproject.org/en/3.0/nightly/restapi.html" class="external">https://docs.pulpproject.org/en/3.0/nightly/restapi.html</a></p> RPM Support - Issue #4427 (CLOSED - WONTFIX): Failure to Generate HTML Fileshttps://pulp.plan.io/issues/44272019-02-15T11:48:59Zwibbit
<p>While trying to publish a repository I'm being greeted with the following error.</p>
<pre><code>Task Failed
'ascii' codec can't decode byte 0xc0 in position 871702: ordinal not in range(128)
This happens when trying to mirror Fedora 29 Everything Release.
+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+
Id: Testing_Fedora_29_Release
Display Name: None
Description: None
Content Unit Counts:
Distribution: 1
Package Category: 13
Package Environment: 16
Package Group: 187
Package Langpacks: 1
Rpm: 58215
Notes:
Scratchpad:
Checksum Type: sha256
Importers:
Config:
Feed: http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/lin
ux/releases/29/Everything/x86_64/os/
Id: yum_importer
Importer Type Id: yum_importer
Last Override Config:
Last Sync: 2019-02-15T07:46:02Z
Last Updated: 2019-02-14T11:35:13Z
Repo Id: Testing_Fedora_29_Release
Scratchpad:
Repomd Revision: 1540419615
Distributors:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: Testing/Fedora/29/Release/
Repoview: True
Distributor Type Id: yum_distributor
Id: yum_distributor
Last Override Config:
Last Publish: None
Last Updated: 2019-02-14T11:35:13Z
Repo Id: Testing_Fedora_29_Release
Scratchpad:
Auto Publish: False
Config:
Http: True
Https: True
Relative URL: Testing/Fedora/29/Release/
Distributor Type Id: export_distributor
Id: export_distributor
Last Override Config:
Last Publish: None
Last Updated: 2019-02-14T11:35:13Z
Repo Id: Testing_Fedora_29_Release
Scratchpad:
</code></pre> RPM Support - Issue #4250 (CLOSED - WONTFIX): When attach and publishing a new yum_distributor, o...https://pulp.plan.io/issues/42502018-12-10T14:33:25Zwibbit
<p>I am trying to associate multiple yum_distributors to a repository, and have all of them presented and working at the same time, from the documentation I believe this should work.</p>
<p>All of these repositories/distributors/publish requests are done via the API.</p>
<p>We are using pulp 2.17</p>
<p>It's probably worth noting, that when I attach the Distributor, I <strong>ONLY</strong> request that new distributor to be published, I do not request ALL distributors attached to the repo to be published.</p>
<p>Below is an example repository and the data within the published directory, both master and non master.</p>
<p>Let me know if any more information is required.</p>
<pre><code>+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: 1976-01_rhel7_bats
Display Name: bats
Description: None
Content Unit Counts:
Notes:
Parent: None
Platform: rhel7
Release: 1976-01
Scratchpad:
Importers:
Config:
Num Retries: 1
Validate: False
Id: yum_importer
Importer Type Id: yum_importer
Last Override Config:
Last Sync: None
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad: None
Distributors:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/1976-01/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: 1976-01
Last Override Config:
Last Publish: 2018-12-10T13:47:32Z
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats
total 4.0K
drwxr-xr-x 4 apache apache 4.0K Dec 10 08:47 1544449651.75
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 08:47 /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544449651.75
[root@pulp-master ~]# pulp-admin repo list --details --repo-id=1976-01_rhel7_bats
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: 1976-01_rhel7_bats
Display Name: bats
Description: None
Content Unit Counts:
Notes:
Parent: None
Platform: rhel7
Release: 1976-01
Scratchpad:
Importers:
Config:
Num Retries: 1
Validate: False
Id: yum_importer
Importer Type Id: yum_importer
Last Override Config:
Last Sync: None
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad: None
Distributors:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/latest/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: latest
Last Override Config:
Last Publish: 2018-12-10T13:59:18Z
Last Updated: 2018-12-10T13:59:16Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/1976-01/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: 1976-01
Last Override Config:
Last Publish: 2018-12-10T13:47:32Z
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats
total 4.0K
drwxr-xr-x 4 apache apache 4.0K Dec 10 08:59 1544450358.11
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 08:47 /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544449651.75 <---------------------- This link is now broken.
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/latest/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 08:59 /var/lib/pulp/published/yum/http/repos/rhel7/latest/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544450358.11 <----------------------- This works
[root@pulp-master ~]# pulp-admin repo list --details --repo-id=1976-01_rhel7_bats
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: 1976-01_rhel7_bats
Display Name: bats
Description: None
Content Unit Counts:
Notes:
Parent: None
Platform: rhel7
Release: 1976-01
Scratchpad:
Importers:
Config:
Num Retries: 1
Validate: False
Id: yum_importer
Importer Type Id: yum_importer
Last Override Config:
Last Sync: None
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad: None
Distributors:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/latest/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: latest
Last Override Config:
Last Publish: 2018-12-10T13:59:18Z
Last Updated: 2018-12-10T13:59:16Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/even-later/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: even-later
Last Override Config:
Last Publish: 2018-12-10T14:02:54Z
Last Updated: 2018-12-10T14:02:52Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
Auto Publish: True
Config:
Generate Sqlite: True
Http: True
Https: True
Relative URL: rhel7/1976-01/rhel7_bats/
Repoview: True
Distributor Type Id: yum_distributor
Id: 1976-01
Last Override Config:
Last Publish: 2018-12-10T13:47:32Z
Last Updated: 2018-12-10T13:42:54Z
Repo Id: 1976-01_rhel7_bats
Scratchpad:
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats
total 4.0K
drwxr-xr-x 4 apache apache 4.0K Dec 10 09:02 1544450574.11
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 08:47 /var/lib/pulp/published/yum/http/repos/rhel7/1976-01/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544449651.75 <------------------------- Broken link
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/latest/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 08:59 /var/lib/pulp/published/yum/http/repos/rhel7/latest/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544450358.11 <------------------------- Broken link
[root@pulp-master ~]# ls -lh /var/lib/pulp/published/yum/http/repos/rhel7/even-later/rhel7_bats
lrwxrwxrwx 1 apache apache 83 Dec 10 09:02 /var/lib/pulp/published/yum/http/repos/rhel7/even-later/rhel7_bats -> /var/lib/pulp/published/yum/master/yum_distributor/1976-01_rhel7_bats/1544450574.11 <----------------------------- Works
</code></pre> RPM Support - Issue #4247 (CLOSED - WONTFIX): improve performance of uploading ISOhttps://pulp.plan.io/issues/42472018-12-10T02:28:50ZZhiming
<p>Adding a search criteria to filter out units as need to improve performance of "find_repo_content_units" in pulp_rpm/plugins/importers/iso/importer.py</p>
<p>We suffered serious performance issue to uploading units (ISO) to a repository when data volume get larger and larger. After applying the change[1], performance improved. In addition, some our internal function tests had been done, it's pass. We uses pulp 2.15.</p>
<p>[1]<a href="https://github.com/pulp/pulp_rpm/pull/1236" class="external">https://github.com/pulp/pulp_rpm/pull/1236</a></p> RPM Support - Issue #2774 (CLOSED - WONTFIX): Inconsistent Checksum and Checksumtype when uploadi...https://pulp.plan.io/issues/27742017-05-23T06:20:12Zyuzhengyuzheng@redhat.com
<pre><code># rpm -qa pulp-server
pulp-server-2.13.0-1.el7.noarch
</code></pre>
<p>Reproducing steps:<br>
1. Create a rpm repo</p>
<pre><code># pulp-admin rpm repo create --repo-id test-repo10
Successfully created repository [test-repo10]
</code></pre>
<p>2. Upload a drpm to the repo with --checksum-type=md5</p>
<pre><code># pulp-admin rpm repo uploads drpm --repo-id test-repo10 --file /root/test-alpha-1.1-2_1.1-3.noarch.drpm --checksum-type md5
+----------------------------------------------------------------------+
Unit Upload
+----------------------------------------------------------------------+
Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: test-alpha-1.1-2_1.1-3.noarch.drpm
... completed
Creating upload requests on the server...
[==================================================] 100%
Initializing: test-alpha-1.1-2_1.1-3.noarch.drpm
... completed
Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
canceled entirely using the cancel command.
Uploading: test-alpha-1.1-2_1.1-3.noarch.drpm
[==================================================] 100%
3304/3304 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
</code></pre>
<p>3. Check uploaded drpm</p>
<pre><code># pulp-admin rpm repo content drpm --repo-id test-repo10
Arch: noarch
Checksum: f9476caa0f491dfa227a984b092e05f68b637471f7c7c2f648475f067f12fc2e
Checksumtype: md5
Epoch: 0
Filename: drpms/test-alpha-1.1-2_1.1-3.noarch.drpm
Release: 3
Version: 1.1
</code></pre>
<p>Checksumtype is md5, but Checksum shows a value of sha256 checksum.</p>
<pre><code># sha256sum /root/test-alpha-1.1-2_1.1-3.noarch.drpm
f9476caa0f491dfa227a984b092e05f68b637471f7c7c2f648475f067f12fc2e /root/test-alpha-1.1-2_1.1-3.noarch.drpm
</code></pre>