Closed padmankosalaram closed 1 month ago
We noticed api_url is returned empty from the logs.
Code Ref : https://github.com/ibm-mas/ansible-devops/blob/0a46ceb73e990e23b6bad3dcd670de43275ebc0f/ibm/mas_devops/roles/ocp_provision/tasks/providers/rosa.yml#L124
Logs
TASK [ibm.mas_devops.ocp_provision : rosa/provision : Debug cluster admin creation] *** ok: [localhost] => msg: - '{' - ' "api_url": "",' - ' "username": "cluster-admin"' - '}'
Expected change: We may need to look up the api_url via the below cli execution and read from {api.url} and add a wait & retry till it is present rosa describe cluster -c <cluster_name>
rosa describe cluster -c <cluster_name>
We noticed api_url is returned empty from the logs.
Code Ref : https://github.com/ibm-mas/ansible-devops/blob/0a46ceb73e990e23b6bad3dcd670de43275ebc0f/ibm/mas_devops/roles/ocp_provision/tasks/providers/rosa.yml#L124
Logs
Expected change: We may need to look up the api_url via the below cli execution and read from {api.url} and add a wait & retry till it is present
rosa describe cluster -c <cluster_name>