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 -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 -
global.pipelineServiceClient section will replace the above airflow section -
MySQL Pod fails on Upgrade
If your helm dependencies upgrade fails with the below command result -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 -
- Backup the Database using Metadata Backup CLI as mentioned here
- Uninstall OpenMetadata Dependencies Helm Chart (
helm uninstall openmetadata-dependencies) - Remove the unmanaged volume for MySQL Stateful Set Kubernetes Object (
kubectl delete pvc data-mysql-0) - Install the latest version of OpenMetadata Dependencies Helm Chart
- Restore the Database using Metadata Restore CLI as mentioned here
- 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:pg_trgm extension.
Step 1: Allow the extension
Update the server parameter:
- Go to Azure Portal → PostgreSQL Flexible Server → Server Parameters
- Search for:
azure.extensions - Add:
pg_trgm
If other extensions are already present, append
pg_trgm as a comma-separated value.