Bug 1368158 - Satellite 6.2 - the GUI and Pulp both claim content view has errata though repomd.xml file is empty
Summary: Satellite 6.2 - the GUI and Pulp both claim content view has errata though re...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.2.0
Hardware: x86_64
OS: Linux
unspecified
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-18 14:35 UTC by Ash Westbrook
Modified: 2021-06-10 11:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-01 19:30:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ash Westbrook 2016-08-18 14:35:24 UTC
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:


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