Skip to main content

Kubernetes Upgrade Troubleshooting

Helm Upgrade fails with additional property airflow not allowed

With Release 1.0.0, if you see your helm charts failing to deploy with the below issue -
This means the values passed to the helm charts has a section global.airflow. Airflow configs are replaced with pipelineServiceClient for Helm Charts. The Helm Chart Values JSON Schema helps to catch the above breaking changes and this section will help you resolve and update your configurations for the same. You can read more about JSON Schema with Helm Charts here. You will need to update the existing section of global.airflow values to match the new configurations. ⛔ Before 1.0.0 Helm Chart Release, the global.airflow section would be like -
✅ After 1.0.0 Helm Chart Release, the global.pipelineServiceClient section will replace the above airflow section -
Run the helm lint command on your custom values after making the changes to validate with the JSON Schema.

MySQL Pod fails on Upgrade

This issue will only occur if you are using openmetadata-dependencies helm chart version 0.0.49 and 0.0.50 and upgrading to latest helm chart release.
If your helm dependencies upgrade fails with the below command result -
This issue is related to a minor change that affected the MySQL Database Engine version upgrade from 8.0.28 to 8.0.29 for the Helm Chart Release 0.0.49 and 0.0.50. Then the registry url was updated as we found a work around to fetch previous versions of bitnami/mysql Helm Releases. As a result of the above fixes, anyone who is on OpenMetadata Dependencies Helm Chart Version 0.0.49 and 0.0.50 is affected with the above issue when upgrading for mysql. In order to fix this issue, make sure to follow the below steps -
  1. Backup the Database using Metadata Backup CLI as mentioned here
  2. Uninstall OpenMetadata Dependencies Helm Chart (helm uninstall openmetadata-dependencies)
  3. Remove the unmanaged volume for MySQL Stateful Set Kubernetes Object (kubectl delete pvc data-mysql-0)
  4. Install the latest version of OpenMetadata Dependencies Helm Chart
  5. Restore the Database using Metadata Restore CLI as mentioned here
  6. Next, Proceed with upgrade for OpenMetadata Helm Chart as mentioned here

Azure PostgreSQL pg_trgm Extension Requirement

When upgrading OpenMetadata (e.g., to v1.11.0+), the migration process requires the PostgreSQL extension:
IssueOn Azure Database for PostgreSQL (Flexible Server), this step may fail with:
This occurs because Azure restricts extensions by default, even if they are supported.
Resolution To resolve this, you must explicitly allow and enable the pg_trgm extension. Step 1: Allow the extension Update the server parameter:
  1. Go to Azure PortalPostgreSQL Flexible ServerServer Parameters
  2. Search for: azure.extensions
  3. Add: pg_trgm
If other extensions are already present, append pg_trgm as a comma-separated value.
Step 2: Restart the server After updating the parameter, restart the PostgreSQL server for the changes to take effect. Step 3: Create the extension Run the following SQL:
Step 4: Re-run the migration Once the extension is enabled, re-run the OpenMetadata migration workflow.