Subscription manager fails, returning "does not match a valid repository ID" error message

Solution Unverified - Updated -

Issue

  • I can not enable a repo using subscription-manager.
  • Why do I receive the error message: "Error: '' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories."" when trying to enable a repo?
  • Subscription Manager returns error "does not match a valid repository".
  • How to resolve the following error?

    Error: 'rhel-7-fast-datapath-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
    

Environment

  • Red Hat Mobile Application Platform (RHMAP) 3.17
  • OpenShift Container Platform 3.5
  • Subscription Manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.