6 Replies Latest reply on Jul 20, 2016 11:24 AM by Bill Robinson

    RHEL 7.0 Patch Catalogue giving error while updating.

    Bhim Singh

      Hello Team,

       

      We have created online patch catalogue for RHEL 7.0, but while updatin the same we are getting below error-

       

      Validation Error :- BLPAT1211 - Unable to find sqlite db required by yum

      Possible remediation steps :- Please check the yum_metadata_generator.log file generated in repo directory

       

      have checked yum_metadata_generator.log found below -

       

      Started executing yum metadata generator script

      Fri Jul 15 12:51:02 IST 2016 : cache dir path is /Bsa_Patch/RedHat_Linux_V7_x64/cachedir

      Config time: 0.007

      Yum Version: 3.2.29

      https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy 'XXX'"

      Trying other mirror.

      repo id            repo name                                              status

      rhel-7-server-rpms Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_6 0

      repolist: 0

      Fri Jul 15 12:51:02 IST 2016 : No Repo DB Found, Command Exit Code - 0

       

      I tried accessing https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml from my machine while accessing got below response -

       

      Access Denied

      You don't have permission to access "http://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml" on this server.

      Reference #18.74857a5c.14687454781.38c11eda

       

      Can anybody suggest solution for this above problem.

       

      Thanks in advance.

       

      Regards

      Bhim

        • 1. Re: RHEL 7.0 Patch Catalogue giving error while updating.
          Davorin Stevanovic

          Hi Bhim,

           

          It looks like your appserver cannot resolve https://cdn.redhat.com

          could you please go on appserver and try to ping or run ns/dig lookup against above URL. Also if you are using proxy verify if it is working and it is configured in bladelogic.

           

          Also just to be sure try to login on redhat network via web browser so you are sure your username and password are working properly.

           

          Thanks

          D.

          • 2. Re: RHEL 7.0 Patch Catalogue giving error while updating.
            Bhim Singh

            Hello Davorin,

             

            We have by passed this URL from the proxy server, still we are not able to access the URL from BSA APP server.

             

            i have tried accessing URL from machine where i have full access to the internet but the problem is same am getting same below error.

             

            Access Denied

            You don't have permission to access "http://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml" on this server.

            Reference #18.875e6cc1.1468841502.2d115856

             

             

            we are able to download the patch catalogue for RHEL 5 & 6 and it is working fine.

             

            Regards

            Bhim

            • 3. Re: RHEL 7.0 Patch Catalogue giving error while updating.
              Bill Robinson

              that url will require authentication w/ your redhat credentials, so just using wget or something to hit the url will likely not work.

               

              which system is defined as the redhat 7 repo location?  that is the one that is making the request out - can that server resolve your http proxy and the redhat site ?  and that system is registered w/ redhat, you have the redhat certs, etc ?

              1 of 1 people found this helpful
              • 4. Re: RHEL 7.0 Patch Catalogue giving error while updating.
                Bhim Singh

                Hello Bill,

                 

                Adding Proxy server entry in the Repo server host file resolves the issue.

                 

                Regards

                Bhim

                • 5. Re: RHEL 7.0 Patch Catalogue giving error while updating.
                  Bhim Singh

                  Hello Experts,

                   

                  Patch catalogue job was in progress and almost 9GB of pathces got downloaded and after that Job was failed.

                  Below is the error message in yum.metadata-generator.log-

                   

                  [rhel-7-server-rpms: 11064 of 11064 ] Downloading Packages/zziplib-0.13.62-5.el7.x86_64.rpm

                  Could not retrieve package zziplib-0.13.62-5.el7.x86_64. Error was failure: Packages/zziplib-0.13.62-5.el7.x86_64.rpm from rhel-7-server-rpms: [Errno 256] No more mirrors to try.

                  Wed Jul 20 09:47:12 IST 2016 : Error occurred in reposync for repo rhel-7-server-rpms, Command Exit Code - 1

                   

                  After clearing everything, when I am executing Patch catalogue job again, I am getting below error message-

                   

                  Validation Error :- BLPAT1211 - Unable to find sqlite db required by yum

                  Possible remediation steps :- Please check the yum_metadata_generator.log file generated in repo directory

                   

                  After checking yum_metadata_generator.log file, I observed 2 scenarios as listed below:-

                   

                  1) Error message while running patch catalogue job with proxy server configuration in BSA-

                   

                  Started executing yum metadata generator script

                  Wed Jul 20 15:20:03 IST 2016 : cache dir path is /Bsa_Patch/RedHat_Linux_V7_x64/cachedir

                  Config time: 0.007

                  Yum Version: 3.2.29

                  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "HTTP response code said error"

                  Trying other mirror.

                  repo id            repo name                                              status

                  rhel-7-server-rpms Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_6 0

                  repolist: 0

                  Wed Jul 20 15:20:03 IST 2016 : No Repo DB Found, Command Exit Code - 0

                   

                  2) Error message while running patch catalogue job without proxy server configuration in BSA-

                   

                  Started executing yum metadata generator script

                  Wed Jul 20 15:20:03 IST 2016 : cache dir path is /Bsa_Patch/RedHat_Linux_V7_x64/cachedir

                  Config time: 0.007

                  Yum Version: 3.2.29

                  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - could not resolve hostname "cdn.redhat.com"

                  Trying other mirror.

                  repo id            repo name                                              status

                  rhel-7-server-rpms Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_6 0

                  repolist: 0

                  Wed Jul 20 15:20:03 IST 2016 : No Repo DB Found, Command Exit Code - 0

                   

                  Any suggestions on what is going wrong here?

                   

                  Thanks in advance

                   

                  Regards

                  Bhim

                  • 6. Re: RHEL 7.0 Patch Catalogue giving error while updating.
                    Bill Robinson

                    redownload the certs from the redhat site ?  sometimes they are revoked.