Hello All,
We are Installing MAS on premises, during MAS core Installation we used below ansible to Mirror Container image :-
sudo podman run -tidv /mas/gmarsdev2_setup:/home/local/gmarsdev2_setup --pull always quay.io/ibmmas/cli
Provided all required inputs and got Proceed with these settings [y/N]: entered y as input
Project mas-xxxx-pipelines is created and pipeline mas-install is created but during mas-install pipeline we are getting an error.
In logs it's showing below error
TASK [ibm.mas_devops.ocp_verify : Extract certificate chain into a variable] ***
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'cluster_ingress_tls_crt' is undefined. 'cluster_ingress_tls_crt' is undefined
The error appears to be in '/opt/app-root/lib64/python3.9/site-packages/ansible_collections/ibm/mas_devops/common_tasks/get_signed_ingress_cert.yml': line 99, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
# Break up the certificate into an array
- name: "Extract certificate chain into a variable"
^ here
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
localhost : ok=15 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
Please find the attached document and log file for better understanding.
Regards,
Biswa
------------------------------
Biswaranjan Mishra
------------------------------