Registering to a Red Hat Satellite Server 6 fails with WARN: Failed to connect when running 'subscription-manager repos --enable rhel-7-server-rpms --enable' in Red Hat OpenStack Platform 10
Issue
Registering to a Red Hat Satellite Server 6 fails with WARN: Failed to connect when running 'subscription-manager repos --enable rhel-7-server-rpms --enable'
in Red Hat OpenStack Platform 10
INFO: Ran 'subscription-manager register --force --activationkey=<activation key> --org=<org>' successfully, not retrying...
INFO: Sleeping 2.0 ...
INFO: Executing 'subscription-manager repos --enable rhel-7-server-rpms --enable' ...
subscription-manager: error: --enable option requires an argument
WARN: Failed to connect when running 'subscription-manager repos --enable rhel-7-server-rpms --enable', retrying (attempt #0 )...
INFO: Sleeping 2.0 ...
INFO: Executing 'subscription-manager repos --enable rhel-7-server-rpms --enable' ...
subscription-manager: error: --enable option requires an argument
WARN: Failed to connect when running 'subscription-manager repos --enable rhel-7-server-rpms --enable', retrying (attempt #1 )...
INFO: Sleeping 2.0 ...
INFO: Executing 'subscription-manager repos --enable rhel-7-server-rpms --enable' ...
Environment
Red Hat OpenStack Platform 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.