Upstream bug assigned to jsherril
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16559 has been resolved.
Verified with sat6.3 snap28 Checksum is correctly updated on already synced repo and at capsule as well. Created repo w/ sha256 and published in cv with version4 ======================================================== on satellite repodata]# cat repomd.xml | grep sha <data type="filelists"><location href="repodata/7bb67d81716a3312747b7e382d02ef84ddcdf19657a2538b7eb5e0ca94c7e009-filelists.xml.gz"/><timestamp>1513238030</timestamp><size>1983</size><checksum type="sha256">7bb67d81716a3312747b7e382d02ef84ddcdf19657a2538b7eb5e0ca94c7e009</checksum><open-size>6545</open-size><open-checksum type="sha256">c3c6e235fea060df5659cdf1dec8efdc222db4b445e9a7939a8c73d4bd1be86f</open-checksum></data> <data type="other"><location href="repodata/8a9ee1e6d4f27c610e27c5bd89f12861dd2e0647510f4498372c5dd78b1cabf1-other.xml.gz"/><timestamp>1513238030</timestamp><size>1822</size><checksum type="sha256">8a9ee1e6d4f27c610e27c5bd89f12861dd2e0647510f4498372c5dd78b1cabf1</checksum><open-size>5502</open-size><open-checksum type="sha256">011d70b0fce67710cb9ea3a7e3efc01ace611c5891ad57ea6887bb0f87cc9688</open-checksum></data> <data type="primary"><location href="repodata/4b0713cd9923b619bcb4b90ff7ff18819d979081358f3228c138897959c6601b-primary.xml.gz"/><timestamp>1513238030</timestamp><size>3696</size><checksum type="sha256">4b0713cd9923b619bcb4b90ff7ff18819d979081358f3228c138897959c6601b</checksum><open-size>34434</open-size><open-checksum type="sha256">c577c3186109ed4f9635a6ad9c61315c72fb73af9a9baa6a0aa05744425cd83d</open-checksum></data> <data type="updateinfo"><location href="repodata/8698ff6fabecbe1bd14cdf2421a345bdafc934f57c2fd8cc7059af274e3209dd-updateinfo.xml.gz"/><timestamp>1513238030</timestamp><size>608</size><checksum type="sha256">8698ff6fabecbe1bd14cdf2421a345bdafc934f57c2fd8cc7059af274e3209dd</checksum><open-size>3402</open-size><open-checksum type="sha256">5fe9fd7fc81163d92447a1de87e8e116074d78a92a86b174bf8326719a85da02</open-checksum></data> <data type="group"><location href="repodata/87cfcf84fbe80f2f8593194797744d0a9256c8769c0d1d74f4ba0337c0e387b5-comps.xml"/><timestamp>1513238030</timestamp><size>2224</size><checksum type="sha256">87cfcf84fbe80f2f8593194797744d0a9256c8769c0d1d74f4ba0337c0e387b5</checksum></data> [root@cloud-qe-14 repodata]# cd .. [root@cloud-qe-14 1513238030.56]# cd Packages/b/ [root@cloud-qe-14 b]# ll total 0 lrwxrwxrwx. 1 apache apache 119 Dec 14 02:53 bear-4.1-1.noarch.rpm -> /var/lib/pulp/content/units/rpm/ab/3ea930ed03164dcb8e0b0a02d5a48fe7f33225a34ac129dbe4317549ec7d39/bear-4.1-1.noarch.rpm [root@cloud-qe-14 b]# ^C [root@cloud-qe-14 b]# pwd /var/lib/pulp/published/yum/master/yum_distributor/1-cv_rhel73-v4_0-4fe5914d-ef1b-4f0b-b41c-9548b35855c4/1513238030.56/Packages/b [root@cloud-qe-14 b]# On satellite after changing the checksum to sha1 and publishing it with cv version6 ============================================ [root@cloud-qe-14 yum_distributor]# cd 1-cv_rhel73-v6_0-4fe5914d-ef1b-4f0b-b41c-9548b35855c4 [root@cloud-qe-14 1-cv_rhel73-v6_0-4fe5914d-ef1b-4f0b-b41c-9548b35855c4]# cd 1513241699.65/ [root@cloud-qe-14 1513241699.65]# ll total 4 drwxr-xr-x. 17 apache apache 141 Dec 14 03:53 Packages drwxr-xr-x. 2 apache apache 4096 Dec 14 03:53 repodata [root@cloud-qe-14 1513241699.65]# cd Packages/ [root@cloud-qe-14 Packages]# ll total 0 drwxr-xr-x. 2 apache apache 35 Dec 14 03:53 b drwxr-xr-x. 2 apache apache 226 Dec 14 03:53 c drwxr-xr-x. 2 apache apache 101 Dec 14 03:53 d drwxr-xr-x. 2 apache apache 39 Dec 14 03:53 e drwxr-xr-x. 2 apache apache 63 Dec 14 03:53 f drwxr-xr-x. 2 apache apache 72 Dec 14 03:53 g drwxr-xr-x. 2 apache apache 37 Dec 14 03:53 h drwxr-xr-x. 2 apache apache 39 Dec 14 03:53 k drwxr-xr-x. 2 apache apache 35 Dec 14 03:53 l drwxr-xr-x. 2 apache apache 39 Dec 14 03:53 m drwxr-xr-x. 2 apache apache 69 Dec 14 03:53 p drwxr-xr-x. 2 apache apache 100 Dec 14 03:53 s drwxr-xr-x. 2 apache apache 67 Dec 14 03:53 t drwxr-xr-x. 2 apache apache 129 Dec 14 03:53 w drwxr-xr-x. 2 apache apache 36 Dec 14 03:53 z [root@cloud-qe-14 Packages]# cd b/ [root@cloud-qe-14 b]# ll total 0 lrwxrwxrwx. 1 apache apache 119 Dec 14 03:54 bear-4.1-1.noarch.rpm -> /var/lib/pulp/content/units/rpm/ab/3ea930ed03164dcb8e0b0a02d5a48fe7f33225a34ac129dbe4317549ec7d39/bear-4.1-1.noarch.rpm [root@cloud-qe-14 b]# cd .. [root@cloud-qe-14 Packages]# cd .. [root@cloud-qe-14 1513241699.65]# cd repodata/ [root@cloud-qe-14 repodata]# cat repomd.xml | grep sha1 <data type="filelists"><location href="repodata/c3ef2d721d22ff9b377983060dd404dd23903ac8-filelists.xml.gz"/><timestamp>1513241699</timestamp><size>1983</size><checksum type="sha1">c3ef2d721d22ff9b377983060dd404dd23903ac8</checksum><open-size>6545</open-size><open-checksum type="sha1">0136b5e5fe90c351b506eaac219979c822f2a375</open-checksum></data> <data type="other"><location href="repodata/b9ef1e8c072e2d0b76014541be8692f2c977ad31-other.xml.gz"/><timestamp>1513241699</timestamp><size>1822</size><checksum type="sha1">b9ef1e8c072e2d0b76014541be8692f2c977ad31</checksum><open-size>5502</open-size><open-checksum type="sha1">d0701e57c194610d48e78944ba332c7f327119e1</open-checksum></data> <data type="primary"><location href="repodata/342a25cd1b4a59215857d577274a774050670dfc-primary.xml.gz"/><timestamp>1513241699</timestamp><size>3696</size><checksum type="sha1">342a25cd1b4a59215857d577274a774050670dfc</checksum><open-size>34434</open-size><open-checksum type="sha1">8c8269dbe04c3eb182e2911c90d9026281a65e55</open-checksum></data> <data type="updateinfo"><location href="repodata/d81e458208620a5fbf5fd476f95ae57bb212b888-updateinfo.xml.gz"/><timestamp>1513241699</timestamp><size>608</size><checksum type="sha1">d81e458208620a5fbf5fd476f95ae57bb212b888</checksum><open-size>3402</open-size><open-checksum type="sha1">641e9de3e22f73becfcf6f817ab0d9595239902e</open-checksum></data> <data type="group"><location href="repodata/8751c73eaa6a4bd542fd26fa5f9926d019fd731e-comps.xml"/><timestamp>1513241699</timestamp><size>2224</size><checksum type="sha1">8751c73eaa6a4bd542fd26fa5f9926d019fd731e</checksum></data>
on capsule, before updating the checksum ========================================== [root@cloud-qe-06 repodata]# cat repomd.xml | grep sha256 | wc -l 5 [root@cloud-qe-06 repodata]# pwd /var/lib/pulp/published/yum/https/repos/Default_Organization/Dev/cv_rhel73/custom/customProduct/checksumrepo/repodata [root@cloud-qe-06 repodata]# cat repomd.xml | grep sha256 <data type="filelists"><location href="repodata/277c1f272b7e725f610ca2485a6f04ecdf60a22f17f71f2967f4a6cb04b06c5d-filelists.xml.gz" /><timestamp>1513239147</timestamp><size>1983</size><checksum type="sha256">277c1f272b7e725f610ca2485a6f04ecdf60a22f17f71f2967f4a6cb04b06c5d</checksum><open-size>6545</open-size><open-checksum type="sha256">184016cedbf19f67b9ec9fcbeaa40ee91808283c9907c77ed376c1ed9c5d4214</open-checksum></data> <data type="other"><location href="repodata/4c014695e1e8ba22076ddd9e73b3afec1baf234b1fe7bbfeddda1385a9cd9c39-other.xml.gz" /><timestamp>1513239147</timestamp><size>1818</size><checksum type="sha256">4c014695e1e8ba22076ddd9e73b3afec1baf234b1fe7bbfeddda1385a9cd9c39</checksum><open-size>5502</open-size><open-checksum type="sha256">6fa94c194da57b8c2498b2face799fd6365d817b3ab3cf272bd5e51f8435147f</open-checksum></data> <data type="primary"><location href="repodata/d3f410bb1ed8c2952c820ab68e087cbdc2484fccd844135e7a5da82fec357a16-primary.xml.gz" /><timestamp>1513239147</timestamp><size>3676</size><checksum type="sha256">d3f410bb1ed8c2952c820ab68e087cbdc2484fccd844135e7a5da82fec357a16</checksum><open-size>34434</open-size><open-checksum type="sha256">36f1d1d5eb1fd01258c8b20dac6eb272969b2ae5570199b1fdd6dc328d636bc0</open-checksum></data> <data type="updateinfo"><location href="repodata/400340ea69dd876aa6788809e68ad01988b551fbc3df83968c8a218001d4c08d-updateinfo.xml.gz" /><timestamp>1513239148</timestamp><size>624</size><checksum type="sha256">400340ea69dd876aa6788809e68ad01988b551fbc3df83968c8a218001d4c08d</checksum><open-size>3530</open-size><open-checksum type="sha256">8920de8889a9fe872a178c9d35fa593803cf8720fad7433ea4e6fade44b6a9bd</open-checksum></data> <data type="group"><location href="repodata/87cfcf84fbe80f2f8593194797744d0a9256c8769c0d1d74f4ba0337c0e387b5-comps.xml" /><timestamp>1513239148</timestamp><size>2224</size><checksum type="sha256">87cfcf84fbe80f2f8593194797744d0a9256c8769c0d1d74f4ba0337c0e387b5</checksum></data> [root@cloud-qe-06 repodata]# on capsule, after updating checksum ====================================== b]# cd /var/lib/pulp/published/yum/https/repos/Default_Organization/Dev/cv_rhel73/custom/customProduct/checksumrepo/repodata [root@cloud-qe-06 repodata]# cat repomd.xml | grep sha <data type="filelists"><location href="repodata/693ec528951a8bae6bb9a40fc7dcdb45193408c7-filelists.xml.gz" /><timestamp>1513241127</timestamp><size>1983</size><checksum type="sha1">693ec528951a8bae6bb9a40fc7dcdb45193408c7</checksum><open-size>6545</open-size><open-checksum type="sha1">49f764b6f52dfa8055045d01ee92c623a3a07054</open-checksum></data> <data type="other"><location href="repodata/f9930e811a03dbc703444530737304111988cdd2-other.xml.gz" /><timestamp>1513241127</timestamp><size>1818</size><checksum type="sha1">f9930e811a03dbc703444530737304111988cdd2</checksum><open-size>5502</open-size><open-checksum type="sha1">ed94ef4f12387dfc65a21b7eb57d3896110084bc</open-checksum></data> <data type="primary"><location href="repodata/18d72a1b55d12e7ae048082a2e0e939e001154b9-primary.xml.gz" /><timestamp>1513241127</timestamp><size>3676</size><checksum type="sha1">18d72a1b55d12e7ae048082a2e0e939e001154b9</checksum><open-size>34434</open-size><open-checksum type="sha1">6d47f4469c2bd23a045fb6120bc95a611857b73d</open-checksum></data> <data type="updateinfo"><location href="repodata/db85a58fdf4d7bfd37f9188850a54b9fb0bf7c1e-updateinfo.xml.gz" /><timestamp>1513241127</timestamp><size>624</size><checksum type="sha1">db85a58fdf4d7bfd37f9188850a54b9fb0bf7c1e</checksum><open-size>3530</open-size><open-checksum type="sha1">092034cf3a46d21656d417d35fd566d4c5b018e1</open-checksum></data> <data type="group"><location href="repodata/8751c73eaa6a4bd542fd26fa5f9926d019fd731e-comps.xml" /><timestamp>1513241127</timestamp><size>2224</size><checksum type="sha1">8751c73eaa6a4bd542fd26fa5f9926d019fd731e</checksum></data> [root@cloud-qe-06 repodata]# pwd /var/lib/pulp/published/yum/https/repos/Default_Organization/Dev/cv_rhel73/custom/customProduct/checksumrepo/repodata
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. > > > > For information on the advisory, and where to find the updated files, follow the link below. > > > > If the solution does not work for you, open a new bug report. > > > > https://access.redhat.com/errata/RHSA-2018:0336