Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1388094 - checksum-type does not updated on already synced repository at Satellite Capsule.
Summary: checksum-type does not updated on already synced repository at Satellite Caps...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.1.4
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On: 1288656
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-24 12:48 UTC by Mike McCune
Modified: 2019-12-16 07:12 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1288656
Environment:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15377 0 None None None 2016-10-24 12:48:08 UTC
Foreman Issue Tracker 16559 0 None None None 2016-10-24 12:48:08 UTC
Red Hat Knowledge Base (Solution) 2076433 0 None None None 2016-10-24 12:48:08 UTC

Comment 1 Bryan Kearney 2016-10-24 14:20:21 UTC
Upstream bug assigned to jsherril

Comment 2 Bryan Kearney 2016-10-24 14:20:27 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16559 has been resolved.

Comment 6 Sachin Ghai 2017-12-14 09:56:57 UTC
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>

Comment 7 Sachin Ghai 2017-12-14 09:58:32 UTC
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

Comment 8 Satellite Program 2018-02-21 16:54:37 UTC
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


Note You need to log in before you can comment on or make changes to this bug.