KubernetesExecutor Airflow 2.0.0 different AirflowExceptions and tasks not getting scheduled #15305
Labels
affected_version:2.0
Issues Reported for 2.0
kind:bug
This is a clearly a bug
provider:cncf-kubernetes
Kubernetes provider related issues
Apache Airflow version:
``
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
What happened:
The tasks are not getting scheduled. In order to try the scheduler I did a simple DummyOperator DAG:
I tested the following getting different results:
airflow tasks test hello_world dummy_task 2021-01-01 --> No error at all
airflow tasks run hello_world dummy_task 2021-01-01
What you expected to happen:
The tasks should run completely. Just the first one is marked as successful and the next task is never added to the scheduler.
No idea what went wrong. I already patch the code with: https://github.com/apache/airflow/pull/14160/files which I found from another similar issue.
How to reproduce it:
Use minikube and use the following setup:
airflow.yaml.txt
configmaps.yaml.txt
postgres.yaml.txt
secrets.yaml.txt
volumes.yaml.txt
namespace.yaml.txt
deploy.sh.txt
run_this_one.sh.txt
I already provided the DAG and the image file before.
Anything else we need to know:
It occurs every time with the same output even when recreated with minikube.
The text was updated successfully, but these errors were encountered: