RHEL download patch having issue

Hi,

I am trying to install RHBA-2016:2330 - Hyperv-Daemons Bug Fix Update - Red Hat Enterprise Linux 7 from Patches for RHEL 7 site. I am getting a download error. Below is the RHEL download plug in log. I have updated the RHEL plug in to the latest version and still I have the same issue

[Thu Dec 15 14:56:41 2016] Successfully logged in to Red Hat!
[Thu Dec 15 14:56:41 2016] Searching for kernel-3.10.0-514.2.2.el7.x86_64.rpm at https://access.redhat.com/errata/product/69/ver=/rhel---7/x86_64/RHBA-2016:2330
[Thu Dec 15 14:56:44 2016] URL for kernel-3.10.0-514.2.2.el7.x86_64.rpm not found in https://access.redhat.com/errata/product/69/ver=/rhel---7/x86_64/RHBA-2016:2330. Will search for the file instead.
[Thu Dec 15 14:56:44 2016] Searching for kernel-3.10.0-514.2.2.el7.x86_64.rpm at https://access.redhat.com/downloads/content/69/ver=/rhel---7/x86_64/binary/packages-datatable?sEcho=1&iColumns=6&sColumns=&iDisplayStart=0&iDisplayLength=10000&sSearch=kernel&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=false&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=false&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=false
[Thu Dec 15 14:57:12 2016] URL for kernel-3.10.0-514.2.2.el7.x86_64.rpm not found in https://access.redhat.com/downloads/content/69/ver=/rhel---7/x86_64/binary/packages-datatable?sEcho=1&iColumns=6&sColumns=&iDisplayStart=0&iDisplayLength=10000&sSearch=kernel&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=false&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=false&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=false
[Thu Dec 15 14:57:12 2016] ERROR: Download for RedHatProtocol://RHEL7/Server/x86_64/RHBA-2016:2330/kernel-3.10.0-514.2.2.el7.x86_64.rpm failed: Request failed: Could not find package specified by RedHatProtocol://RHEL7/Server/x86_64/RHBA-2016:2330/kernel-3.10.0-514.2.2.el7.x86_64.rpm:

I too am having trouble downloading ANY patches for RHEL 7. I didn’t have any issues last month when RHEL updated the 250~ patches for 7.3 but none of the latest batch are working.

[+] Download error: “Could not find package specified by RedHatProtocol://RHEL7/Server/x86_64/RHSA-2016:2674/libgcrypt-1.5.3-13.el7_3.1.x86_64.rpm: (See C:\Program Files (x86)\BigFix Enterprise\BES Server\DownloadPlugins\RedHatProtocol\logs\RedHatPlugin_2016-12-20_10-12-51.log)”

My Red Hat Download cacher is at the latest version - 2.8.11.0

We too are experiencing this issue, and while we thought it was simply the case of something having gone awry with our Big Fix instance, this thread is seemingly implying that the scope of the issue is much bigger. We confirmed that our Red Hat Download Cacher is also at the latest version (2.8.11.0), and we went through the troubleshooting steps of manually navigating to the URL’s referenced in the various RedHatProtocol logs on the Big Fix server, using the same RHN user as what is configured in Big Fix, and we were able to download the RPM’s just fine. As we already have a process to sync Yum repo’s from Red Hat and make them available to our systems, we are considering going the Custom Repo route, which will ultimately resolve this for us, but it seems there’s a significant issue here that needs to be resolved, nonetheless.

We also have the same issue. I agree with bgestwicki that turning to yum is the best option for the moment. I expect we’ll see resolution on the issue soon. Support says multiple tickets have been opened against the problem. My guess is RedHat changed the download directory structure for RH7 patches.

A new RHSM Download Plugin and cacher has been released along with updated content in the Patches for RHEL 7 site (in fact, Patches for RHEL6 Native Tools has also been updated to use the new download plugin).

Perhaps try using the new plugin and see if it fixes the issue.

For reference:

Thank you for the information.

But after configuring RHSM also , the fixlets are still using RHEL plug in for “Patches for RHEL 6 - Native tools” site. My site version is 261. Sample fixlets - RHSA 2015-1482 and RHSA 2016-2972. :frowning:

Are you by any chance using a Baseline or custom copy created before the v261 released? That could be the reason why its still using the older plugin.

No. I am directly applying the source fixlet from version 261 - “patches for RHEL 6 -Native tools” site.

You’re right. It seems some propagation issue caused the old site to be visible again. I’ve initiated a request to republish the site with the new content and we should be seeing that update soon in site v262.

Update: v262 is now published

@chowky - Thank you for making the necessary modification

I have configured RHSM plugin and its working fine. But I have a concern still. I can see a lot of download error in the download plugin log before it eventually downloads it from RHN. These errors will take few minutes before it actually download the required rpms. Any idea why is it so? This way we will be loosing many minutes before each patch download.

Please find the log

2017-01-02 17:41:58 : Level 1911 : RHSM Download Plugin version 0.0.0.13. Gonna get to work now.
2017-01-02 17:41:58 : INFO : Using regular HTTP wrapper.
2017-01-02 17:41:58 : INFO : New download: {‘size’: None, ‘id’: 5116, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\indexed_159568_1’, ‘sha1’: None, ‘url’: ‘RHSMProtocol://get.repo.list.content/server/7/x86_64’}
2017-01-02 17:41:58 : INFO : RHSM Plugin download url RHSMProtocol://get.repo.list.content/server/7/x86_64.
2017-01-02 17:41:58 : INFO : Download failed. Will retry.
2017-01-02 17:42:03 : INFO : Download failed. Will retry.
2017-01-02 17:42:11 : INFO : Download failed. Will retry.
2017-01-02 17:42:16 : INFO : Download failed. Will retry.
2017-01-02 17:42:20 : INFO : Download failed. Will retry.
2017-01-02 17:42:25 : INFO : Download failed. Will retry.
2017-01-02 17:42:38 : INFO : Download failed. Will retry.
2017-01-02 17:42:43 : INFO : Download failed. Will retry.
2017-01-02 17:42:48 : INFO : Download failed. Will retry.
2017-01-02 17:42:54 : INFO : Download successful.
2017-01-02 17:42:54 : INFO : New download: {‘size’: None, ‘id’: 5117, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\indexed_159568_2’, ‘sha1’: None, ‘url’: ‘RHSMProtocol://get.repo.list.content/client/7/x86_64’}
2017-01-02 17:42:54 : INFO : RHSM Plugin download url RHSMProtocol://get.repo.list.content/client/7/x86_64.
2017-01-02 17:42:54 : INFO : Download failed. Will retry.
2017-01-02 17:42:54 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/oracle-java/os/repodata/repomd.xml.
2017-01-02 17:42:54 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/oracle-java/os/repodata/repomd.xml
2017-01-02 17:42:54 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:54 : INFO : Download failed. Will retry.
2017-01-02 17:42:55 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/extras/os/repodata/repomd.xml.
2017-01-02 17:42:55 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/extras/os/repodata/repomd.xml
2017-01-02 17:42:55 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:55 : INFO : Download failed. Will retry.
2017-01-02 17:42:55 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/os/repodata/repomd.xml.
2017-01-02 17:42:55 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/os/repodata/repomd.xml
2017-01-02 17:42:55 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:55 : INFO : Download failed. Will retry.
2017-01-02 17:42:56 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/fastrack/rhel/client/7/x86_64/os/repodata/repomd.xml.
2017-01-02 17:42:56 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/fastrack/rhel/client/7/x86_64/os/repodata/repomd.xml
2017-01-02 17:42:56 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:56 : INFO : Download failed. Will retry.
2017-01-02 17:42:56 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/supplementary/os/repodata/repomd.xml.
2017-01-02 17:42:56 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/supplementary/os/repodata/repomd.xml
2017-01-02 17:42:56 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:56 : INFO : Download failed. Will retry.
2017-01-02 17:42:56 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/rh-common/os/repodata/repomd.xml.
2017-01-02 17:42:56 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/rh-common/os/repodata/repomd.xml
2017-01-02 17:42:56 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:56 : INFO : Download failed. Will retry.
2017-01-02 17:42:57 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/fastrack/rhel/client/7/x86_64/optional/os/repodata/repomd.xml.
2017-01-02 17:42:57 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/fastrack/rhel/client/7/x86_64/optional/os/repodata/repomd.xml
2017-01-02 17:42:57 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:57 : INFO : Download failed. Will retry.
2017-01-02 17:42:57 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/rhn-tools/os/repodata/repomd.xml.
2017-01-02 17:42:57 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/rhn-tools/os/repodata/repomd.xml
2017-01-02 17:42:57 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:57 : INFO : Download failed. Will retry.
2017-01-02 17:42:58 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/optional/os/repodata/repomd.xml.
2017-01-02 17:42:58 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/x86_64/optional/os/repodata/repomd.xml
2017-01-02 17:42:58 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:58 : INFO : Download successful.
2017-01-02 17:42:58 : INFO : New download: {‘size’: None, ‘id’: 5118, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\indexed_159568_3’, ‘sha1’: None, ‘url’: ‘RHSMProtocol://get.repo.list.content/workstation/7/x86_64’}
2017-01-02 17:42:58 : INFO : RHSM Plugin download url RHSMProtocol://get.repo.list.content/workstation/7/x86_64.
2017-01-02 17:42:58 : INFO : Download failed. Will retry.
2017-01-02 17:42:58 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/fastrack/rhel/workstation/7/x86_64/optional/os/repodata/repomd.xml.
2017-01-02 17:42:58 : ERROR : All Key and Cert pairs in ‘rootCertDir’ cannot access: https://cdn.redhat.com/content/fastrack/rhel/workstation/7/x86_64/optional/os/repodata/repomd.xml
2017-01-02 17:42:58 : WARNING : Download failed. Please enable DEBUG logs for more information.
2017-01-02 17:42:58 : INFO : Download failed. Will retry.
2017-01-02 17:42:59 : WARNING : Download failed with an exception for URL https://cdn.redhat.com/content/dist/rhel/workstation/7/7Workstation/x86_64/optional/os/repodata/repomd.xml.

<<<<<<<<<<<<<<>>>>>>>>>>>>>

2017-01-02 17:44:40 : INFO : New download: {‘id’: 5125, ‘url’: ‘RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Rpc3QvcmhlbC9zZXJ2ZXIvNy83U2VydmVyL3g4Nl82NC9leHRyYXMvb3Mv/repodata/00a4bc9ad7c6c46a2e3ce704a596fcb40dfd71c4-filelists.sqlite.bz2’, ‘size’: 130348, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\dynamic_00a4bc9ad7c6c46a2e3ce704a596fcb40dfd71c4’, ‘\x0cþoN’: {‘value’: ‘00a4bc9ad7c6c46a2e3ce704a596fcb40dfd71c4’, ‘algorithm’: ‘sha1’}}
2017-01-02 17:44:40 : INFO : RHSM Plugin download url RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Rpc3QvcmhlbC9zZXJ2ZXIvNy83U2VydmVyL3g4Nl82NC9leHRyYXMvb3Mv/repodata/00a4bc9ad7c6c46a2e3ce704a596fcb40dfd71c4-filelists.sqlite.bz2.
2017-01-02 17:44:41 : INFO : Download successful.
2017-01-02 17:44:41 : INFO : New download: {‘id’: 5126, ‘url’: ‘RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzcveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/02403eceef268ed5b55dfe0735afa8b7bfed62b0-filelists.sqlite.bz2’, ‘size’: 571, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\dynamic_02403eceef268ed5b55dfe0735afa8b7bfed62b0’, ‘\x0cþoN’: {‘value’: ‘02403eceef268ed5b55dfe0735afa8b7bfed62b0’, ‘algorithm’: ‘sha1’}}
2017-01-02 17:44:41 : INFO : RHSM Plugin download url RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzcveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/02403eceef268ed5b55dfe0735afa8b7bfed62b0-filelists.sqlite.bz2.
2017-01-02 17:44:41 : INFO : Download successful.
2017-01-02 17:44:41 : INFO : New download: {‘id’: 5127, ‘url’: ‘RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Rpc3QvcmhlbC9zZXJ2ZXIvNy83U2VydmVyL3g4Nl82NC9vcHRpb25hbC9vcy8=/repodata/067cd3ff1e20ae1d796b3820a46847950b1f4bd4-comps.xml’, ‘size’: 25948, ‘file’: ‘D:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\ActiveDownloads\dynamic_067cd3ff1e20ae1d796b3820a46847950b1f4bd4’, ‘\x0cþoN’: {‘value’: ‘067cd3ff1e20ae1d796b3820a46847950b1f4bd4’, ‘algorithm’: ‘sha1’}}
2017-01-02 17:44:41 : INFO : RHSM Plugin download url RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Rpc3QvcmhlbC9zZXJ2ZXIvNy83U2VydmVyL3g4Nl82NC9vcHRpb25hbC9vcy8=/repodata/067cd3ff1e20ae1d796b3820a46847950b1f4bd4-comps.xml.
2017-01-02 17:44:42 : INFO : Download successful.

<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

2017-01-02 17:45:17 : INFO : Download successful.
2017-01-02 17:45:17 : INFO : Plugin returned with code 0.

1 Like

Its hard to say why that Download Failed. Maybe try turning the loglevel to DEBUG for more details. Open a PMR with IBM Support to troubleshoot further if the logs doesn’t provide enough information for you to resolve it yourself.

To change the loglevel to DEBUG, edit the plugin.ini file in the RHSMPlugin directory.

  • On Linux systems, the file is in the root directory tree occupied by the download plug-in. For example, /var/opt/BESServer/DownloadPlugins/RHSMProtocol.

  • On Windows systems, the file is in the BigFix server installation directory. For example, %PROGRAM FILES%\BigFix Enterprise\BES Server\DownloadPlugins\RHSMProtocol.

As to some of the Download failed with an exception for URL messages, it could be because the certs provided does not have entitlement to the repos.

(edited to add the plugin.ini file location)

dilu,

I had the same issue with wasting many minutes and while log filled with errors. We edited the json file to remove all “client” and “workstation” entries, leaving only the “server” statements. This did help, but does not seem like the long term fix. This also causes the BF console to report file does not match expected checksum.

Thank you for the reply.
I have some additional issue now. Even through the certificate is entitled to access some repo, still it is not able to download the repo.xml file. I have raised a PMR and IBm support is looking into it.