Pre-Installation Verifications

During the Pre-Installation Phase, verifications run before installation and uninstallation workflows change the PAS-X MES system state. They ensure that the cluster and environment are in a state that allows the installation to proceed safely.

If a verification fails, further steps are not executed until the issue is resolved. This phase covers the Environment verification, which checks environment and cluster conditions.

The checks are configurable and documented in the Environment verifications section below.

Environment verifications

Environment verification runs automated checks against the target environment before the workflow changes the PAS-X MES system state. These checks are configured in the MES Applications values schema, under Environment readiness verification.

Each environment check has a defined verification type that describes the coverage model used to select and run checks:

  • global: the check runs once against the target environment.

  • k8s-nodes: the check covers each applicable Kubernetes worker node.

Each subsection below documents one environment check. The following describes the meaning of each row in these tables.

  • Description: What this check verifies as part of the environment verification.

  • Enabling property: Configuration field that enables or disables this verification.

  • Verification type: Coverage model used to select and run the verification.

  • Additional properties: Other environment configuration properties this verification requires or uses.

  • Condition: Prerequisite that must be met for the enabling property to apply.

  • Execution scope: Workflow action for which this verification is executed.

Nodes availability and readiness

Description

Verifies that Kubernetes nodes are available and in a ready state.

Enabling property

k8sCluster

Verification type

global

Additional properties

pasxNamespace

Execution scope

Installation and Uninstallation workflows

Kubernetes server version compatibility

Description

Verifies that the Kubernetes API server version matches the expected version. The version must be specified in <major>.<minor> format (e.g., 1.32). Patch versions and build suffixes are ignored during comparison.

On OpenShift, this is the underlying Kubernetes API version, not the OpenShift product version.

Enabling property

k8sCluster

Verification type

global

Additional properties

kubernetesServerVersion

Execution scope

Installation and Uninstallation workflows

Kubernetes namespace existence and readiness

Description

Verifies that the target Kubernetes namespace exists and is in a ready state.

Enabling property

k8sCluster

Verification type

global

Additional properties

pasxNamespace

Execution scope

Installation and Uninstallation workflows

PAS-X MES instance readiness

Description

Verifies that the PAS-X MES Instance resource is in a state that allows an installation workflow to proceed. The verification checks the configured PAS-X MES Instance in the configured namespace.

  • For the installation workflow, the verification passes if the instance does not exist yet, or if the existing instance is in RUNNING or UNDEPLOYED phase. If the instance exists in any other phase, the verification fails and the result is written to the Installation Report.

  • For the uninstallation workflow, the verification passes if the instance does not exist yet, or if the existing instance is in RUNNING, UNDEPLOYED, ERROR or DEPLOYING phase. If the instance exists in any other phase, the verification fails and the result is written to the Installation Report.

Enabling property

k8sCluster

Verification type

global

Additional properties

pasxNamespace

Execution scope

Installation and Uninstallation workflows

PAS-X MES instance DB schema migration readiness

Description

Verifies that the PAS-X MES Instance resource is in a state that allows an installation workflow with database schema migration to proceed.

The verification checks the configured PAS-X MES Instance in the configured namespace. The verification passes if the instance does not exist yet, or if the existing instance is in UNDEPLOYED phase. If the instance exists in any other phase, the verification fails and the result is written to the Installation Report.

Enabling property

k8sCluster

Verification type

global

Condition

Database schema migration is enabled for the installation workflow.

Additional properties

pasxNamespace

Execution scope

Installation workflow, but only when the parameter database-schema-migration is set to ENABLED

Database connectivity on node '<node-name>'

Description

Verifies database connectivity from each Kubernetes node using the configured JDBC URL and credentials. Verifies network reachability, that the JDBC URL is acceptable, and authentication.

Enabling property

database.connection

Verification type

k8s-nodes

Additional properties

databaseUrl, secretName, databaseCertificateSecretName

Execution scope

Installation workflow

PostgreSQL database version compatibility on node '<node-name>'

Description

Verifies that the PostgreSQL database version matches the expected version, executed from each Kubernetes node.

Only the major version of the database is verified (e.g., 17 for a version like 17.3). For more information about PostgreSQL versioning, see PostgreSQL Versioning.

The verification is based on the PQserverVersion function.

This verification is supported for PostgreSQL versions 10 and later.

Enabling property

database.version

Verification type

k8s-nodes

Condition

databaseType is PostgreSQL

Additional properties

databaseType, databaseVersion, databaseUrl, secretName, databaseCertificateSecretName

Execution scope

Installation workflow

Oracle database version compatibility on node '<node-name>'

Description

Verifies that the Oracle database version matches the expected version, executed from each Kubernetes node.

Only the major release and release update version of the database is verified (e.g., 19.9 for a full version like 19.9.0.0.0). For more information about Oracle versioning, see About Oracle Database Release Numbers.

The verification is based on the VERSION_FULL column from the PRODUCT_COMPONENT_VERSION view.

This verification is supported for Oracle Database 18c and later.

Enabling property

database.version

Verification type

k8s-nodes

Condition

databaseType is Oracle

Additional properties

databaseType, databaseUrl, secretName, databaseCertificateSecretName

Execution scope

Installation workflow