Hi all,

I am trying to install OpenStack(Bobcat 2023.2 release) using OpenStack Ansible 
All-In-One on a RHEL9.3 machine following the install guide here 
-https://docs.openstack.org/openstack-ansible/2023.2/user/aio/quickstart.html

When I get to Run the playbooks stage and run this setup-hosts playbook, I get 
below error.
$ openstack-ansible setup-hosts.yml
....
TASK [openstack_hosts : Add dnf extra conf] 
*********************************************************************************************************
skipping: [aio1]

TASK [openstack_hosts : Add rdo repositories via url for trunk based 
installation] ******************************************************************
skipping: [aio1]

TASK [openstack_hosts : Install centos-release-openstack package for cloudsig 
based installation] ***************************************************
skipping: [aio1]

TASK [openstack_hosts : Enable CodeReadyBuilder repository] 
*****************************************************************************************
fatal: [aio1]: FAILED! => {"changed": false, "cmd": ["dnf", "config-manager", 
"--set-enabled", "crb"], "delta": "0:00:00.776909", "end": "2024-01-21 
21:00:53.657910", "msg": "non-zero return code", "rc": 1, "start": "2024-01-21 
21:00:52.881001", "stderr": "Error: No matching repo to modify: crb.", 
"stderr_lines": ["Error: No matching repo to modify: crb."], "stdout": 
"Updating Subscription Management repositories.", "stdout_lines": ["Updating 
Subscription Management repositories."]}

PLAY RECAP 
******************************************************************************************************************************************
aio1                       : ok=22   changed=2    unreachable=0    failed=1    
skipped=7    rescued=0    ignored=0   
localhost                  : ok=20   changed=0    unreachable=0    failed=0    
skipped=25   rescued=0    ignored=0   

EXIT NOTICE [Playbook execution failure] **************************************

I tried enabling below repos and re-ran the playbook , but still I see the same 
error.
root@aio1 ~]# subscription-manager repos --enable 
codeready-builder-for-rhel-9-x86_64-rpms
Repository 'codeready-builder-for-rhel-9-x86_64-rpms' is enabled for this 
system.

If anyone has a solution/workaround for this issue, please suggest.

Thank you,
Shashi
_______________________________________________
users mailing list -- users@lists.rdoproject.org
To unsubscribe send an email to users-le...@lists.rdoproject.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

To unsubscribe: %(_internal_name)s-unsubscribe@%(host_name)s

Reply via email to