-
Notifications
You must be signed in to change notification settings - Fork 16.8k
State of this instance has been externally set to removed. Taking the poison pill. #8087
Description
Apache Airflow version: 1.10.2
Environment: Linux EC2 Machine
Cloud provider or hardware configuration: AWS
What happened:
AIiflow Tasks are killed by passing SIGTERM signal
What you expected to happen:
ECSOperator triggered from Airflow has to work smoothly when the AWS policies are attached correctly to the role.
How to reproduce it:
Using Airflow Dags when I run ECS tasks using ECSOperator, the tasks are first triggered and a response of 200 is received which I see in the logs. But the very next log message is
State of this instance has been externally set to removed. Taking the poison pill
This goes and kills the ECS task and a response of 'desiredStatus': 'STOPPED' is returned back. The log messages does not clearly say as why the task was killed.
Under airflow.cfg the configurations are as follow
parallelism = 32
dag_concurrency = 16
dags_are_paused_at_creation = True
max_active_runs_per_dag = 16
non_pooled_task_slot_count = 128
Kindly change the log messages so that we understand what is the root cause of the issue