-
Bug
-
Resolution: Done
-
Blocker
-
rhos-18.0.3
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
None
-
-
Bug Fix
-
Done
-
-
-
Important
While deploying edpm / compute node in RHOSO we need to register the nodes and there is command missing to pass pool ID which is important if multiple subscriptions are provided to customer [1]
If pool ID is not passed it throws error like
Error: TASK [osp.edpm.edpm_bootstrap : Bootstrap command output] ********************** task path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_bootstrap/tasks/bootstrap_command.yml:20 fatal: [edpm-compute-0]: FAILED! => { "msg": { "stderr": [ "Network error: Name or service not known (error code -2)", "This system is not yet registered. Try 'subscription-manager register --help' for more information." ], "stdout": [ "Registering to: subscription.rhsm.redhat.com:443/subscription", "This system has no repositories available through subscriptions.", "This system has no repositories available through subscriptions." ] } }
It should look like
edpm_bootstrap_command: | subscription-manager register --username {{ subscription_manager_username }} --password {{ subscription_manager_password }} subscription-manager attach --pool=<pool_id> subscription-manager release --set=9.4 subscription-manager repos --disable=* subscription-manager repos --enable=rhel-9-for-x86_64-baseos-eus-rpms --enable=rhel-9-for-x86_64-appstream-eus-rpms --enable=rhel-9-for-x86_64-highavailability-eus-rpms --enable=fast-datapath-for-rhel-9-x86_64-rpms --enable=rhoso-18.0-for-rhel-9-x86_64-rpms --enable=rhceph-7-tools-for-rhel-9-x86_64-rpms