@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.