Skip to content

Can't start airflow 3 on Ubuntu 22.04 in WSL 2 #50168

@klonuo

Description

@klonuo

Apache Airflow version

3.0.0

If "Other Airflow 2 version" selected, which one?

No response

What happened?

I'm on Windows 11 with WSL 2, and using virtualenv with pip to install airflow:

pip install -U "apache-airflow[celery]==3.0.0" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.0/constraints-3.12.txt"

I can run airflow 2.10.5 without issues, while when I try current 3.0 I can't start the server ("child process died"):

Image

I suspect problem with the new fastapi backend.

I tried using gevent: _AIRFLOW_PATCH_GEVENT=True, but it's the same result.

Any ideas how to approach to solve this?

What you think should happen instead?

No response

How to reproduce

run $ airflow api-server

Operating System

Ubuntu 22.04.5 LTS

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:APIAirflow's REST/HTTP APIarea:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions