BSA: RHEL catalog update is failing with error - PYCURL ERROR 5 - "Couldn't resolve proxy 'my.proxy.com'"

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BladeLogic Server Automation Suite


    COMPONENT:

    BladeLogic Server Automation


    APPLIES TO:

    All BSA versions



    PROBLEM:

    A RedHat Catalog Update Job fails with the below error observed in the job run log:

     

    2017/11/24 14:18:50,INFO,2017/11/24 14:18:58,StdOut : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy 'my.proxy.com'" 2017/11/24 14:18:50,INFO,2017/11/24 14:18:58,StdOut : Trying other mirror. ... 2017/11/24 14:18:50,ERROR,2017/11/24 14:19:02,"Validation Error :- BLPAT1212 - Failed to run reposync on repo directory Possible remediation steps :- For more details, please check the yum_metadata_generator.log file generated in repository location. ...
      
    And the below in the   yum_metadata_generator.log
       
    https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy 'my.proxy.com'" Trying other mirror. ... Setting up Package Sacks Error setting up repositories: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again Fri Nov 24 23:18:58 JST 2017 : Error occurred in reposync --download-metadata for repo rhel-x86_64-server-6. Error: Error setting up repositories: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again ...
      

      

     


    CAUSE:

    DNS issue (could not resolve proxy server hostname)


    SOLUTION:

    The Couldn't resolve proxy error indicates that the RedHat repo server cannot resolve the proxy name to an IP address.  Ensure the repo server can resolve the proxy host name.


     


    Article Number:

    000145525


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles