Hide Forgot
Description of problem: Errata not visible by "yum updateinfo" on Red Hat Satellite 6.2 clients Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. On Red Hat satellite 6.2/6.2.1, have the repository synced. 2. Register client with satellite 3. Execute "yum updateinfo" with or without additional options. Actual results: Do not show errata info. ********************************** # yum updateinfo Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager rhel-7-server-rpms/x86_64 | 2.0 kB 00:00:00 rhel-7-server-satellite-tools-6.1-rpms/x86_64 | 2.1 kB 00:00:00 updateinfo summary done ********************************** Expected results: It should show errata information. For ex: ********************************** # yum updateinfo Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager rhel-7-server-rpms/x86_64 | 2.0 kB 00:00:00 rhel-7-server-satellite-tools-6.1-rpms/x86_64 | 2.1 kB 00:00:00 Updates Information Summary: available 29 Security notice(s) 49 Bugfix notice(s) 6 Enhancement notice(s) updateinfo summary done ********************************** Additional info: - The updateinfo size seems pretty low i.e ".93 B". Probably it is not getting update on satellite and hence client not able to get errata information. ********************************** rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo | 93 B 00:00:00 ********************************** - yum check-update works fine. - tried re-sync repo and republished content view - tried tweaking release version and content view of content host profile - tried regenerating metadata for repository manually
I am not able to reproduce this. Do we have an internal reproducer?: [root@sat-rhel7 ~]# yum updateinfo Loaded plugins: product-id, search-disabled-repos, subscription-manager rhel-7-server-rpms/7Server/x86_64 | 2.0 kB 00:00:00 Updates Information Summary: available 10 Security notice(s) 9 Important Security notice(s) 1 Moderate Security notice(s) 17 Bugfix notice(s)
I was just about to open a case for this as I can reproduce it on RHEL 6 and RHEL7 systems
Case 01718886 opened with sos and foreman-debug. If you need other data let me know (directly or indirectly). This might be linked to https://bugzilla.redhat.com/show_bug.cgi?id=1377725 as well? I also opened a separate case (01718886) for errata not appearing after a repo sync.
Same issue. Case #01718311 opened with sos and foreman-debug.
Would someone that is able to reproduce this be able to check the updateinfo.xml file in the RHEL repository that satellite is generating and upload that to this bz?
Created attachment 1209181 [details] RHEL6 Server RPMs repo updateinfo file
Justin I'm thinking something must be wrong w/ the number of updateinfo.xml.gz files in this location? Will attach one of the .gz's if you need it, but I don't see a link for updateinfo.xml.gz to one of these files. /var/lib/pulp/published/yum/master/yum_distributor/Enterprise_Unix_Engineering-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server/1476191427.62/repodata # ls -la total 82284 drwxr-xr-x. 2 apache apache 8192 Oct 11 09:11 . drwxr-xr-x. 3 apache apache 966656 Oct 11 09:11 .. -rw-r--r--. 1 apache apache 2938 Oct 11 09:11 05318c21725db407ce49c2531aa7b0327183f8e3-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 0bc2139045d18a8d726cb79041ac37d177108c41-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 170689b01757e0b863ecf9ecdb08689f035ad58e-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 19ed019610ef931a4ca22524e2a37783d4456cdf-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 1a249b328461b6f77bf6f8c4a77df7658e56d98a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 1b42e7286dee526710215d288d38284019cdf17a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 1d0f8a1036799e782017ace21c860f1a590c7b05-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 2384385eca97afd58845c955628a770a871dbda4-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 23b1d104a91ef5864745328b1df9938bb75f5495-updateinfo.xml.gz -rw-r--r--. 1 apache apache 29407820 Oct 11 09:11 27d9cd481bbe45fead4f3ce60d4987bf4b97e119-primary.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 2b481d850f8785985e4524c34be16322f1412c2b-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 30bb0a8a700cd10dfc77695516f660ef0cf750a5-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 3c8dc3aaeca7e4f07779871770e0c19b36d1438c-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 3df12ad778a2a765b1eda1ee92d1d9451fcd6ca3-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 429b7c89cc364a076245463c676e787cde49786a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 43b37f529d2d51557cb2c453d42c793a3cd99ba5-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 49457bd1bcfffb6d09cd6836e2187ba168778546-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 4d345bbd9d20574b8d0ca5588b376962b43c6729-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 509bf25d7c38ac281b23edcc1c3df38dd5f6eb7f-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 50ee3b6be5672415f06db6e912e4f2bdee1910a4-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 53dc9c1fdaa32c46e20f924a624ae7ab4f020a83-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 5406bf219ec413b6b1ee8d85dab63a563fc1e625-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1101933 Oct 11 09:11 54e59ffa906d073e1df27b4bed987dd7252e5bc9-comps.xml -rw-r--r--. 1 apache apache 93 Oct 11 09:11 56ff3025c090afe855fbd3fd61ac32c4479f489b-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 581c28eb15d083c86b344d18f9def97bf1a7ac1d-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 593a11fb45df01c2e34787b601b9ae1ee2e7e06a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1444 Oct 11 09:11 5c2ed22750a02dd9f1f7257e3f71f2b9d0853689-updateinfo.xml.gz -rw-r--r--. 1 apache apache 6946 Oct 11 09:11 5e79a0ab9aad7e10562e93a6ea5268c720b0c5db-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 653a60f271969d801fb7b3aee8dfc3650e976175-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1406 Oct 11 09:11 661ff1e49a73dc9be3fcf3b9dfd9d132b5671636-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 67a39eec5f3d72117f87d961c20cbb2f245b2827-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1809 Oct 11 09:11 6abbb0bc41671555716110db9d83da591b4f3a2a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 710a9e0c529ed69079f2f06f031e44dcee051a96-updateinfo.xml.gz -rw-r--r--. 1 apache apache 2150 Oct 11 09:11 71998d743fd1eea160696948e1c60398e9e59791-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 7b53078184e5ce2819159b189f5909a11a258ad5-updateinfo.xml.gz -rw-r--r--. 1 apache apache 34436973 Oct 11 09:11 7da92d71ee82810b23c6538556d281ff3feb2977-filelists.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 80074da2590d9c4d8e3b8045a86d64ba3d31202b-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 88807e10bbe0f9ec1041ade76a5c70204bbdbe70-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1613 Oct 11 09:11 8c2e9919dd45a23d8c9e74f26ddd334aff98a603-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 98fdcd6abcd2833892432540dc3768ce00333c27-updateinfo.xml.gz -rw-r--r--. 1 apache apache 3209 Oct 11 09:11 9d7cad133ddf41b9ef528b733f0fc1db3dc4c7ec-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 a261d6572daa1f26ecf031ebe8bade5500c568a1-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 a45a5e0ce7df0232ffcab08378044f9e112b0aa8-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 a6b02cb71343cdce1076206f2bacd19adc3b2edf-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1681 Oct 11 09:11 a825ab449fe13036557fb28e1d32efab9611a7a4-updateinfo.xml.gz -rw-r--r--. 1 apache apache 14181022 Oct 11 09:11 ae5a0b50eb3c6509e5022e15661828ff56aac688-other.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 b19860ea3568544e48040eac503120affe7d3aed-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 b3c55aec5d4e6c4976beb1ee86a2318ec12c444f-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 b678bd4a8a9ad12e7f4cf421ff854573faab7023-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 b969f09c3f1ebb7eb495046025939a5ad07cd3dc-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 c477755690a2d63f40c3bb55234bcd5f4e10d819-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 c5fe15919c15d151742b6dc9ba0cc13259b1f201-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 d05dd7f99cadd5c1b0c024e91cc4d1e1d7ab0621-updateinfo.xml.gz -rw-r--r--. 1 apache apache 2029 Oct 11 09:11 d2aba2ff88b649f40677fc1608a1e30d841cbe4a-updateinfo.xml.gz -rw-r--r--. 1 apache apache 3657026 Oct 11 09:11 d4c47caebb489d6ff26f9e2c7fc7c91ee8f8f604-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 d973198b64ca1f7e73ec98b61bf62a8a81e7a188-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 db35165adc8c3ad019385672a1af721953903d5f-updateinfo.xml.gz -rw-r--r--. 1 apache apache 93 Oct 11 09:11 dff0af1edca6e9a3e26e3968955278526e048f57-updateinfo.xml.gz -rw-r--r--. 1 apache apache 1706 Oct 11 09:11 e8b9e5ca7725f621c63f293c282edbc15e201fbc-updateinfo.xml.gz lrwxrwxrwx. 1 apache apache 126 Oct 11 09:11 productid -> /var/lib/pulp/content/units/yum_repo_metadata_file/04/acbfa3dff8929de3fff11443183879e710ea7c1896d65bc728c270fae6f874/productid -rw-r--r--. 1 apache apache 2016 Oct 11 09:11 repomd.xml
Will, does the repomd.xml file reference any of those updateinfo.xml.bz files?
it does # grep updateinfo repomd.xml <data type="updateinfo"><location href="repodata/88807e10bbe0f9ec1041ade76a5c70204bbdbe70-updateinfo.xml.gz" /><timestamp>1476191501</timestamp><size>93</size><checksum type="sha1">88807e10bbe0f9ec1041ade76a5c70204bbdbe70</checksum><open-size>58</open-size><open-checksum type="sha1">9d65415ae7cc4f506ce1efc0a2d8a955d10c5ac1</open-checksum></data> Here's the contents of that file # cat 88807e10bbe0f9ec1041ade76a5c70204bbdbe70-updateinfo.xml <?xml version="1.0" encoding="UTF-8"?> #
Updateinfo.xml is valid but has no data. # curl --key key.pem -E cert.pem -k <satellite>/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml Result: updateinfo file is: f48a3992167ba7470bb52978a6e504d6716030f4-updateinfo.xml.gz # curl --key key.pem -E cert.pem -k <satellite>/content/dist/rhel/server/6/6Server/x86_64/os/repodata/f48a3992167ba7470bb52978a6e504d6716030f4-updateinfo.xml.gz --silent | zcat Result: <?xml version="1.0" encoding="UTF-8"?> <updates></updates>
This is probably a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1383463 You can confirm this by looking at the mtime for the updateinfo file that is listed in repomd.xml, and compare it with the mtime of one of the other updateinfo files that appears to have the content you would expect. You can run this command in the repodata directory to see the mtimes sorted: stat -c '%y %n' *-updateinfo.xml.gz | sort
I agree, closing as dup of https://bugzilla.redhat.com/show_bug.cgi?id=1383463 *** This bug has been marked as a duplicate of bug 1383463 ***