Troubleshooting connectivity issues between Argo CD and ISD
Follow the steps below to troubleshoot the connectivity issues between Argo CD and ISD.
Check that the Argo CD appears in "Setup” -> ”Agents" as "NAME-argo-agent" and shows it as "Connected"(Green dot). If connected, follow the next step.
Click on the ">" symbol on the left side of the agent-row. It should show 2 lines with "argocd" and "carinainstance" under the "Integration" column, both as "Connected"(Green dot). If connected, follow the next step.
Check that CD Integration shows up in the "Setup” -> “CD Integration" page. If it does, follow the next step.
Check in the "Home" page (Application Dashboard) if the applications from the connected Argo show up. If you see the applications, follow the next step.
Click on any application and check that the application opens in the UI. If the application opens in UI, we are all set, integration is completed.
"Setup” -> ”Agents" does not show at all:
This means that, in the "New CD Integration" workflow, you have not gone all the way to the end. i.e. "Finish" button has not been clicked. Please follow the on-screen instructions till the end, in one session.
CD Integration in "Setup” -> ”Agents" shows red dot:
This means that the agent has been created but it has not connected successfully to ISD. Please do the following:
Check that the downloaded YAML was applied in the correct directory.
Check that the agent pod is running.
Check the logs of the agent pod. The 1st few lines indicate where it is trying to connect and what happened.
Confirm that the controller URL is configured to reach the agent-grpc service in ISD. Double check the instructions here for configuring the controller URL.
If required, please fix it and restart the agent. If the controller URL has to be changed/correct, please re-download the yaml ("Setup” -> ”Agents" -> click the 3 dots to the far right of the row -> edit ->download), and re-apply it.
Confirm that the agent-pod connects to the controller-URL by checking the logs. It should now show "Green" on the ISD UI.
CD Integration shows up in "Setup” -> “CD Integration" as red i.e. not connected:
Though, generally, it turns green in 30 seconds or so, this could take up to 5 minutes to turn Green. Please wait.
Double-check the URL and token that were edited in the "service.yaml". You can look at it again by using the below command.
Check the logs of the agent pod for any errors and correct them.
None of the applications from the connected Argo appears on Home page:
Double check whether you have the applications in the Argo that you are checking for.
Check that the User-Token generated has permission to view the application you are checking for in ISD-UI.
Check whether the RBAC is fully implemented i.e. if the user is not authorized to see the application in Argo and in ISD, it will not be visible on the screen. Please check the RBAC settings.
Check for logs in carina-pod, agent-pod and the controller pod. If there are any errors in communication, you should see them.
Clicking on any application takes to a page with error/does not show the application:
This happens if the wild-card DNS is configured or wild-TLS is not correctly generated. Please check the procedure used for wild-card URL routing for the vela service.
In the same browser where you are logged into ISD, open a different tab and navigate to https://isd.<vela-service URL configured>/test
If the URL above does not load at all, check the DNS configuration.
If it shows a security notice, please double check the certificates generated and ensure that the certificate SAN has "*.<vela-service URL configured>" listed in it. Check here for a suggested way to do it.
Last updated