You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/19 16:31:49 UTC
[GitHub] [airflow] vedimuthan opened a new issue #15435: Getting approx. 25 emails when dag fails
vedimuthan opened a new issue #15435:
URL: https://github.com/apache/airflow/issues/15435
I have setup a simple dag to run ECS task via ECSOperator and I would like to be notified when it fails. However, i am receiving approx. 25 emails per run for the failures. Can you please tell me why this is happening?
from airflow import DAG
from airflow.contrib.operators.ecs_operator import ECSOperator
from datetime import datetime, timedelta
import json
from botocore.vendored import requests
default_args = {
'owner': 'airflow',
'depends_on_past': False,
'start_date': datetime(2019, 8, 16, 10, 0),
'email': ['xxxxxxxxxx.com'],
'email_on_failure': True,
}
dag = DAG('update_confluence', default_args=default_args,
schedule_interval="0 13 * * *")
t1 = ECSOperator(
task_id='xxxxxxx',
cluster='xxxxxxx',
launch_type='FARGATE',
task_definition='xxxxxx:1',
network_configuration={'awsvpcConfiguration':
{
'subnets': ['subnet-xxxxxxxx'],
'assignPublicIp': 'DISABLED'
}
},
overrides={},
region_name='us-east-1',
aws_conn_id="aws_default",
dag=dag)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] vedimuthan commented on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
vedimuthan commented on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-822816286
Yeah, it is happening in all the dags. I am not sure if it is only due to ECS operator. I have pasted the whole dag code above in the issue description.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal commented on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-822781929
Is the issue happens in a specific workflow or in all your DAGs?
Can you please share a reproduce code that we can actually run?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] vedimuthan closed issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
vedimuthan closed issue #15435:
URL: https://github.com/apache/airflow/issues/15435
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] vedimuthan commented on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
vedimuthan commented on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-823273496
I didn't know what caused the issue. it seems it worked today and i got only one email. I am closing this issue. thanks for checking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-822607527
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] vedimuthan removed a comment on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
vedimuthan removed a comment on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-823273496
I didn't know what caused the issue. it seems it worked today and i got only one email. I am closing this issue. thanks for checking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal edited a comment on issue #15435: Getting approx. 25 emails when dag fails
Posted by GitBox <gi...@apache.org>.
eladkal edited a comment on issue #15435:
URL: https://github.com/apache/airflow/issues/15435#issuecomment-822781929
Is the issue happens in a specific workflow or in all your DAGs? Specific operator or all of them?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org