[ https://issues.apache.org/jira/browse/AIRFLOW-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654899#comment-16654899 ]
Ash Berlin-Taylor commented on AIRFLOW-3227: -------------------------------------------- {{loadairflow.py}} is in your dags/ folder, not part of airflow - this is your file. > Airflow is broken when deleting a Variable > ------------------------------------------ > > Key: AIRFLOW-3227 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3227 > Project: Apache Airflow > Issue Type: Bug > Affects Versions: 1.10.0 > Reporter: jack > Priority: Critical > > I created a Variable and used it with one of my DAGs. > After a while I modified the DAG and it no longer requires this Variable. > I deleted the Variable from the UI using the delete button and then Airflow > generates this message: > {color:#242729}Broken DAG: [/home/ubuntu/airflow/dags/loadairflow.py] > u'Variable order_id_imported does not exist'{color} > > Only when re-creating the Variable the message disappears. > This message has nothing to do with my DAG. It's a BUG in loadairflow.py file > > Please issue a fix for this. It forces me to keep having Variables I don't > need. > > StackOverflow issue: > https://stackoverflow.com/questions/52856018/why-airflow-force-me-to-have-variable-which-i-dont-need -- This message was sent by Atlassian JIRA (v7.6.3#76005)