Hi,
I followed the guide for offline installer (
https://docs.onap.org/projects/onap-oom-offline-installer/en/latest/BuildGuide.html)
and generated packages for centos build, when I run the ansible playbook
I'm getting the below error, can anyone please help me
PLAY [Setup infrastructure servers]
******************************************************************************************************************************************************
TASK [Gathering Facts]
*******************************************************************************************************************************************************************
ok: [infrastructure-server]
TASK [package-repository-check : include_tasks]
******************************************************************************************************************************************
included: /ansible/roles/package-repository-check/tasks/RedHat.yml for
infrastructure-server
TASK [package-repository-check : Clean yum cache]
****************************************************************************************************************************************
fatal: [infrastructure-server]: FAILED! => {"changed": true, "cmd": ["yum",
"clean", "all"], "delta": "0:00:00.099008", "end": "2022-03-05
07:21:09.612158", "msg": "non-zero return code", "rc": 1, "start":
"2022-03-05 07:21:09.513150", "stderr": "\n\nFile contains parsing errors:
file:///etc/yum.repos.d/none.repo\n\t[line 7]: []", "stderr_lines": ["",
"", "File contains parsing errors: file:///etc/yum.repos.d/none.repo",
"\t[line 7]: []"], "stdout": "Loaded plugins: fastestmirror",
"stdout_lines": ["Loaded plugins: fastestmirror"]}
TASK [package-repository-check : Fail if yum cache updating failed]
**********************************************************************************************************************
fatal: [infrastructure-server]: FAILED! => {"changed": false, "msg":
"Couldn't refresh yum cache, repositories not configured properly. Check
ansible logs for details."}
PLAY RECAP
*******************************************************************************************************************************************************************************
infrastructure-server : ok=22 changed=3 unreachable=0 failed=1
skipped=7 rescued=1 ignored=0
kubernetes-node-1 : ok=12 changed=3 unreachable=0 failed=0
skipped=2 rescued=0 ignored=0
kubernetes-node-2 : ok=12 changed=3 unreachable=0 failed=0
skipped=2 rescued=0 ignored=0
kubernetes-node-3 : ok=12 changed=3 unreachable=0 failed=0
skipped=2 rescued=0 ignored=0
resource-host : ok=3 changed=0 unreachable=0 failed=0
skipped=2 rescued=0 ignored=0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23894): https://lists.onap.org/g/onap-discuss/message/23894
Mute This Topic: https://lists.onap.org/mt/89607707/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-