"rhui-manager" throws error while syncing all repositories on RHUA server, even though entitlement certificate is valid

Solution Verified - Updated -

Issue

  • How to generate and download latest "Content / Entitlement" certificate for RHUA server from customer portal ?

  • rhui-manager fails to sync repositories

    -= Repository Synchronization Status =-
    Last Refreshed: 12:24:55
    
    Next Sync                    Last Sync                    Last Result         
    ------------------------------------------------------------------------------
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (Debug RPMs) (5Server-i386)
    09-23-2013 13:44             08-15-2013 13:44             Error      
    
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (Debug RPMs) (5Server-x86_64)
    09-23-2013 13:44             08-15-2013 13:44             Error      
    
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (RPMs) (5Server-i386)
    09-23-2013 13:44             08-15-2013 13:46             Error      
    
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (RPMs) (5Server-x86_64)
    09-23-2013 13:44             08-15-2013 13:47             Error      
    
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (Source RPMs) (5Server-i386)
    09-23-2013 13:44             08-15-2013 13:45             Error      
    
    Red Hat Enterprise Linux 5 Server - Supplementary from RHUI (Source RPMs) (5Server-x86_64)
    09-23-2013 13:44             08-15-2013 13:45             Error      
    
    Red Hat Enterprise Linux 5 Server from RHUI (Debug RPMs) (5Server-i386)
    09-23-2013 17:44             08-15-2013 11:52             Error      
    
    Red Hat Enterprise Linux 5 Server from RHUI (Debug RPMs) (5Server-x86_64)
    09-23-2013 17:44             08-15-2013 11:55             Error      
    
    Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-i386)
    09-23-2013 17:37             08-15-2013 18:00             Error      
    
    Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-x86_64)
    09-23-2013 17:37             08-15-2013 18:06             Error      
    
  • Below error message seen in grinder.log

    2013-09-23 12:39:23,366 14125:140433789273856: grinder.YumInfo:ERROR: activeobject:160 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com//content/dist/rhel/rhui/server/5/5Server/x86_64/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
    2013-09-23 12:39:23,366 14125:140433789273856: grinder.Retry:ERROR: activeobject:160 Attempt 4: Caught exception: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again. Will retry in 20 seconds.
    
  • After upgrading to RHUI 3.1, syncing repositories from CDN caused error:

    --snip--
    Aug  5 03:28:10 prodrhua pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
    Aug  5 03:28:11 prodrhua pulp: pulp.server.async.tasks:INFO: [2a2873d8] Task failed : [1a4321d8-4d8f-48d0-87878-8319a71a72e9] : Error retrieving metadata: Forbidden
    --snip--
    
  • Below error message seen in /root/.rhui/rhui.log

    Connecting to RHUA [rhua.example.com]...
    Successfully connected to [rhua.example.com]
    This certificate is invalid or expired.
    None
    This certificate is invalid or expired.
    None
    Loading the dict with registered subscriptions
    

Environment

  • Red Hat Update Infrastructure 2.1
  • Red Hat Update Infrastructure 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content