Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Following https://mojo.redhat.com/docs/DOC-1037615 but used a published content view instead of katello-disconnected. The published version of the content view had repomd.xml files that pointed to the latest update as well, and not an XML with all the errata!
You can see in the example below (RHEL7 repo) how the repomd.xml is pointing to the 278* XML file, but it's empty and there are others that have much more data (earlier in the repo). However, the GUI and Pulp both claim this content view has a ton of Errata in it!
[root@satellite6 ~]# cd /var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/Pub_all/2.0/content/dist/rhel/server/7/7Server/x86_64/os/repodata
[root@satellite6 repodata]# ls -lhat | grep updateinfo
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 278cff32777edcc871e26bf2df81f56c5b93d2c9-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 a488e0622326cbdfd973c789653a11eae47e5850-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 152480ffe334ae3af45e9cd221cc7e7ba3201c89-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 a18fe539efff1780f23654cfa895f38df99b16c8-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 cfcbae2efb602777fa69c0bd2e110c18a8dc3dd5-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 5.4K Aug 16 10:06 7cba548a625a37b3980167244ec9ac8fd6a79de1-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 8e10215c2d3e0e6de3cce3f96751f41852f5ea17-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 c8cbb187c7f2700ba1193414aedb06599d209296-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 069bb8f278299039a49afdd0666f48ffd8a09c31-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 968c8540ec72a0cd52a50385241074e99f2b3e50-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 a736d923ee3124302e2beeff81b0698e50e58fda-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 aab10a987b481562a7f15104e0e4d2d2454ca0d9-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 1558da69a1215924a39d4ba048d5db3406b40bec-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 95d469b7323c862e6f4465483dbd73134c9847cf-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 f23b045b2191cf73ec7f89cb68dd73008968ef15-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 bdb30d7d104ad11da052a74e0c36cd52c8f108e6-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 dd2f63c75e240cc91b3b3b3c5d07384d65296b9e-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 f40ea45002d3dd57dae800f84ab7f48a6d53b84a-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 1.5K Aug 16 10:06 d3373e1ad268f83b032b64527cc3bd25cab1f1d4-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 1.3M Aug 16 10:06 cf8e9ed65e2b631111ce0bb95832018c4327ae46-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 93 Aug 16 10:06 9b91969a89f1e5572d7f2d163e3e2af882ccea9a8308fb6d6226e93e0a13745b-updateinfo.xml.gz
[root@satellite6 repodata]# cat repomd.xml | grep updateinfo
<data type="updateinfo"><location href="repodata/278cff32777edcc871e26bf2df81f56c5b93d2c9-updateinfo.xml.gz"/><timestamp>1471375624</timestamp><size>93</size><checksum type="sha1">278cff32777edcc871e26bf2df81f56c5b93d2c9</checksum><open-size>58</open-size><open-checksum type="sha1">9d65415ae7cc4f506ce1efc0a2d8a955d10c5ac1</open-checksum></data>
[root@satellite6 repodata]#
Version-Release number of selected component (if applicable):
Satellite 6.2.0
How reproducible:
Always
Steps to Reproduce:
1. https://mojo.redhat.com/docs/DOC-1037615
2. publish new content view
3.
Actual results:
webui says errata are available but filesystem, repomd.xml, says differently.
Expected results:
repomd.xml should match webui
Additional info: