Error: 'rhel-7-fast-datapath-rpms' does not match a valid repository ID.

Solution In Progress - Updated -

Environment

OpenShift Container Platform 3.5

Issue

When enabling 3.5 repos, this error is raised :

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

Resolution

  • Try the following procedure to unsubscribe, reattach, clean, disable and re-enable repositories :
subscription-manager unsubscribe --all
yum clean all
subscription-manager attach --pool=<pool-id>
subscription-manager repos --disable="*"
subscription-manager repos \
--enable="rhel-7-server-ose-3.5-rpms" \
--enable="rhel-7-server-extras-rpms" \
--enable="rhel-7-fast-datapath-rpms" 
  • If above procedure does not work, it is possible that a manual refresh of your account can be needed, please contact red hat customer service or open a support ticket.

Root Cause

Starting from OCP 3.5 openvswitch 2.6 is used from rhel-7-fast-datapath repository instead of the former rhel-7-server-ose-3.X-rpms one, sometimes the repository is not available until the system is subscribe/unsubscribe.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments