cancel
Showing results for 
Search instead for 
Did you mean: 
NSINGH
Mission Specialist
Mission Specialist
  • 1,735 Views

Does't match the vaild repository while disable all default repositories, and then enable

Hi All,
I am trying to setup OpenStack platform on standalone deployment where try to enable repository however, getting below error as does not match the vaild repository id. If someone face same issue or help it's really appreciated.

[stack@localhost ~]$ sudo subscription-manager repos --enable=rhel-8-for-x86_64-baseos-eus-rpms --enable=rhel-8-for-x86_64-appstream-eus-rpms --enable=rhel-8-for-x86_64-highavailability-eus-rpms --enable=ansible-2.9-for-rhel-8-86_64-rpms --enable=openstack-16.1-for-rhel-8-x86_64-rpms --enable=fast-datapath-for-rhel-8-x86_64-rpms --enable=advanced-virt-for-rhel-8-x86_64-rpms

Error: 'ansible-2.9-for-rhel-8-86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Error: 'openstack-16.1-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Error: 'fast-datapath-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Error: 'advanced-virt-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Repository 'rhel-8-for-x86_64-baseos-eus-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-appstream-eus-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-highavailability-eus-rpms' is enabled for this system.

Labels (1)
2 Replies
magnuz
Mission Specialist
Mission Specialist
  • 1,724 Views

Hi @NSINGH 

There is a typo in the repo ID you are trying to enable of ansible-2.9. The right repository ID is ansible-2.9-for-rhel-8-x86_64-rpms.

In the other three cases you will need a Red Hat Subscription that includes those repositories. If you want to check if a particular repository is available in the Red Hat Subscription you can use the following command:

# subscription-manager repos --list | grep <REPO_ID>

NSINGH
Mission Specialist
Mission Specialist
  • 1,562 Views

I have register the subscriptions (not purchage) however, still have the same issue for remaning repository.

Join the discussion
You must log in to join this conversation.