https://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-07-24T10:17:03ZPulpRPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=598752020-07-24T10:17:03Zipanova@redhat.comipanova@redhat.com
<ul></ul><p>The default value for <code>metadata_checksum_type</code> and <code>package_checksum_type</code> if not specified is sha256, so if you have not explicitly specified what checksum type it should be, repodata should have sha256. Same would have been with packages if you would not have downloaded with on_demand policy. Because only sha1 is available on the remote repo and you have downloaded with on_demand we have no way how to create sha256. If you would have downloaded with immediate, you would have sha256 in the primary.xml</p>
<p>This is not a bug but maybe we could use some docs that would explain these nuances.</p>
<p><a href="https://github.com/pulp/pulp_rpm/pull/1655#discussion_r405529453" class="external">https://github.com/pulp/pulp_rpm/pull/1655#discussion_r405529453</a></p> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=602432020-07-30T16:16:54Zdaviddavis
<ul></ul><p>Also, I noticed that even if I explicitly create the publication with sha256:</p>
<pre><code>http :/pulp/api/v3/publications/rpm/rpm/ repository_version=/pulp/api/v3/repositories/rpm/rpm/615d4d10-cd16-40d2-ab75-dd042e77d27e/versions/1/ metadata_checksum_type=sha256 package_checksum_type=sha256
</code></pre>
<p>The primary.xml still ends up being sha1. I would expect an error but if we decide to document this issue, we should document this too.</p> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=611522020-08-20T15:26:05Zttereshcttereshc@redhat.com
<ul><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Sprint</strong> set to <i>Sprint 79</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=613292020-08-24T11:10:47Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 79</i> to <i>Sprint 80</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=620012020-09-04T15:24:22Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 80</i> to <i>Sprint 81</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=623582020-09-17T13:30:51Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Tags</strong> <i>Documentation</i> added</li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=624142020-09-18T12:09:18Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>ipanova@redhat.com</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=624762020-09-18T19:30:49Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 81</i> to <i>Sprint 82</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=632402020-10-02T16:05:17Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 82</i> to <i>Sprint 83</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=637202020-10-14T11:04:14Zpulpbot
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p>PR: <a href="https://github.com/pulp/pulp_rpm/pull/1872" class="external">https://github.com/pulp/pulp_rpm/pull/1872</a></p> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=638042020-10-15T21:48:49Zrchan
<ul><li><strong>Sprint</strong> changed from <i>Sprint 83</i> to <i>Sprint 84</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=638852020-10-20T13:00:50Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li></ul><p>Applied in changeset <a class="changeset" title="Added documentation clarification around how checksum_types work during the Publication. closes ..." href="https://pulp.plan.io/projects/pulp_rpm/repository/9/revisions/7105778f448b5b3ae812cf212317af4c73020460">7105778f448b5b3ae812cf212317af4c73020460</a>.</p> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=647942020-11-13T00:06:20Zdalleydalley@redhat.com
<ul><li><strong>Sprint/Milestone</strong> set to <i>3.8.0</i></li></ul> RPM Support - Issue #7203: The checksum in primary.xml does not match publicationhttps://pulp.plan.io/issues/7203?journal_id=648362020-11-13T18:22:36Zpulpbot
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul>