Validated Patterns

Troubleshooting the RHOSO GitOps pattern

Validate the RHOSO GitOps pattern deployment and inspect Argo CD application and pod status. Use these procedures when child applications fail to sync, pods are unhealthy, or you need to confirm a successful deployment.

For known issues that can affect deployment, see Known issues in About the RHOSO GitOps pattern.

Validating the pattern

Run the following pattern validation commands from the pattern repository root:

  1. Validate prerequisites:

    $ ./pattern.sh make validate-prereq
  2. Validate the schema:

    $ ./pattern.sh make validate-schema
  3. Check Argo CD health:

    $ ./pattern.sh make argo-healthcheck

Checking Argo CD application status

Confirm the health of the Argo CD applications.

  1. Confirm that all Argo CD applications run in the vp-gitops namespace:

    $ oc get applications -n vp-gitops
  2. Inspect any child application that is out of sync or unhealthy:

    $ oc describe application <application_name> -n vp-gitops
  3. Use the Argo CD UI in the vp-gitops namespace to review application status, resource health, and diff details for upstream overlays.

Checking pod status

To verify that workloads deployed successfully, list pods that are not Running or Completed:

$ oc get pods -A | grep -v Running | grep -v Completed

Review logs for a specific pod:

$ oc logs -n <namespace> <pod_name>

For community support, open an issue in the pattern repository.