Page MenuHomePhabricator

Upgrade Airflow to 2.11.2
Closed, ResolvedPublic

Description

We need to upgrade our Airflow instances to version 2.11.2, which is expected to be the last version in the 2.x line.

See: https://airflow.apache.org/docs/apache-airflow/stable/installation/supported-versions.html#version-life-cycle

This will be a pre-requisite for upgrading to the Airflow 3.x line.

We are currently on version 2.10.5 of Airflow.

  • Read https://airflow.apache.org/docs/apache-airflow/2.11.2/installation/upgrading.html
  • Read the release notes from 2.11.0
  • Read the release notes from 2.11.1
  • Read the release notes from 2.11.2
  • Create an updated Airflow image using version 2.11.2
  • Update the airflow chart as required - No updates seem to be required
  • Deploy the new version to an airflow-devenv environment
  • Deploy the new version to all instances
    • test-k8s
    • analytics-test
    • main
    • research
    • search
    • platform-eng
    • analytics-product
    • wmde
    • wikidata
    • sre
    • fr-tech
    • ml

Related Objects

StatusSubtypeAssignedTask
ResolvedBTullis
In Progressatsuko
Resolvedatsuko
Resolvedatsuko
StalledNone
Resolvedatsuko
OpenNone
OpenNone
Resolvedatsuko
In Progressatsuko
Resolvedatsuko
Resolvedatsuko
Resolvedatsuko
OpenNone
In ProgressRKemper
OpenNone
In ProgressNone
In ProgressAhoelzl
OpenNone
OpenNone
OpenNone
OpenNone
In ProgressNone
OpenNone
In ProgressNone
OpenNone
ResolvedRKemper
In Progressatsuko
Resolvedatsuko
Resolvedbrouberol

Event Timeline

BTullis triaged this task as Medium priority.

I have tested the new image in a devenv and everything seems good so far.

I used this command:

airflow-devenv create -d test_k8s -b geoip_test_dag --set app.version=airflow-2.11.2-py3.11-2026-04-16-134304-f4802bd4391b8fc561804913728472d5a2721d42@sha256:976f939064787fa65c1c551e72f697120e611e5610441d6869c7523d723d429b,app.executor_pod_image_version=airflow-2.11.2-py3.11-2026-04-16-134304-f4802bd4391b8fc561804913728472d5a2721d42@sha256:976f939064787fa65c1c551e72f697120e611e5610441d6869c7523d723d429b

...and I documented this testing process here: https://wikitech.wikimedia.org/wiki/Data_Platform/Systems/Airflow/Developer_guide#Testing_a_pre-release_Airflow_image_in_your_development_environment

image.png (2,387×1,208 px, 247 KB)

image.png (2,375×460 px, 246 KB)

All seems fine so far. I have launched a task with the standard KubernetesExecutor and another with the KubernetesPodOperator and both were fine.

I'll claim the task and look to roll out the other instances next week, all being well.

Change #1275854 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version as the default for devenvs

https://gerrit.wikimedia.org/r/1275854

Change #1275855 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the test-k8s instance

https://gerrit.wikimedia.org/r/1275855

Change #1275856 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the analytics-test instance

https://gerrit.wikimedia.org/r/1275856

Change #1275857 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new airflow version to the main instance

https://gerrit.wikimedia.org/r/1275857

Change #1275858 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the platform-eng instance

https://gerrit.wikimedia.org/r/1275858

Change #1275859 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new airflow version to the search instance

https://gerrit.wikimedia.org/r/1275859

Change #1275860 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the analytics-product instance

https://gerrit.wikimedia.org/r/1275860

Change #1275861 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the research instance

https://gerrit.wikimedia.org/r/1275861

Change #1275862 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the ml instance

https://gerrit.wikimedia.org/r/1275862

Change #1275863 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the sre instance

https://gerrit.wikimedia.org/r/1275863

Change #1275864 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the wmde instance

https://gerrit.wikimedia.org/r/1275864

Change #1275865 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the wikidata instance

https://gerrit.wikimedia.org/r/1275865

Change #1275866 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/deployment-charts@master] Deploy the new Airflow version to the fr-tech instance

https://gerrit.wikimedia.org/r/1275866

Change #1275854 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version as the default for devenvs

https://gerrit.wikimedia.org/r/1275854

Change #1275855 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the test-k8s instance

https://gerrit.wikimedia.org/r/1275855

Change #1275856 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the analytics-test instance

https://gerrit.wikimedia.org/r/1275856

Change #1275857 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new airflow version to the main instance

https://gerrit.wikimedia.org/r/1275857

Change #1275858 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the platform-eng instance

https://gerrit.wikimedia.org/r/1275858

Change #1275859 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new airflow version to the search instance

https://gerrit.wikimedia.org/r/1275859

Change #1275860 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the analytics-product instance

https://gerrit.wikimedia.org/r/1275860

Change #1275861 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the research instance

https://gerrit.wikimedia.org/r/1275861

Change #1275862 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the ml instance

https://gerrit.wikimedia.org/r/1275862

Change #1275863 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the sre instance

https://gerrit.wikimedia.org/r/1275863

Change #1275864 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the wmde instance

https://gerrit.wikimedia.org/r/1275864

Change #1275865 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the wikidata instance

https://gerrit.wikimedia.org/r/1275865

Change #1275866 merged by jenkins-bot:

[operations/deployment-charts@master] Deploy the new Airflow version to the fr-tech instance

https://gerrit.wikimedia.org/r/1275866

BTullis updated the task description. (Show Details)