Argo Workflows

This section guides you through potential issues that may arise when using Argo Workflows for bootstrapping and the PAS-X MES installation lifecycle.

Workflow is stuck in phase pre-installation-verification

Symptoms

  • The workflow remains in phase pre-installation-verification for an extended period.

  • The installation execution does not start.

Possible causes

Diagnosis

via Argo Workflows Web UI

  1. Open the Argo Workflows Web UI

  2. Navigate to the Workflows section

  3. Select the workflow that is stuck in phase pre-installation-verification.

  4. Check if the summary section shows any errors related to image pulling.

with kubectl

  1. Identify the workflow

    kubectl get workflows -n <namespace>
  2. Check the error message of the workflow with

    kubectl get workflow <workflow-pasx-mes-installation> -n <namespace> -o jsonpath="{.status.nodes.*.message}"

Error Messages and Solutions

ImagePullBackOff: Back-off pulling image <image-name>


Possible cause

The configured container image does not exist in the configured registry.

Solution
  • Ensure that the image exists in the specified Helm repository.

  • Stop the current workflow if it is still running and review the generated Installation Report.

  • Start a new installation attempt only when it is required. Do not use RETRY on the previous workflow run.


Possible cause

The configuration for registry is incorrect.

Solution
  • Check and correct the configuration (see PAS-X MES Workflows)

  • Commit your changes and push them to the Git repository.

  • In the Argo CD Web UI locate the Application mes-workflows

  • Click on REFRESH to apply the changes.

  • In Argo Workflows Web UI select your workflow

  • Click STOP to stop the workflow and wait until it’s marked as stopped.

  • Review the generated Installation Report.

  • Start a new installation attempt only when it is required. Do not use RETRY on the previous workflow run.