Simple content access is failing because date/time is incorrectly set

Solution Verified - Updated -

Issue

  • Unable to enable any repositories with SCA enabled.

    # subscription-manager identity
    system identity: 3b0834b8-b9da-40a9-baf5-ee0cfb834e07
    name: host.example.com
    org name: xxxxxx
    org ID: xxxxxx
    
    # subscription-manager status
    +-------------------------------------------+
       System Status Details
    +-------------------------------------------+
    Overall Status: Disabled
    Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.
    
    System Purpose Status: Disabled
    
    # subscription-manager repos --enable rhel-7-server-rpms
    This system has no repositories available through subscriptions.
    
    # subscription-manager attach --auto
    Ignoring request to auto-attach. It is disabled for org "xxxxxx" because of the content access mode setting.
    
  • The system is not able to fetch the repositories and yum repolist is throwing below messages:-

    # yum repolist
    Updating Subscription Management repositories.
    
    This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
    
    No repositories available
    

Environment

  • Simple Content Access(SCA)
  • Red Hat Subscription Manager(RHSM)
  • Red Hat Enterprise Linux

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