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 2022/01/26 10:31:11 UTC
[GitHub] [airflow] Mengde-Cao opened a new issue #21118: dag can not be thoroughly deleted
Mengde-Cao opened a new issue #21118:
URL: https://github.com/apache/airflow/issues/21118
### Apache Airflow version
2.2.3 (latest released)
### What happened
I delete a dag via both airflow UI and REST api, but the dag is just temporarily deleted and appears again in next dag_dir_list_interval.
The database backend is postgresql-13, during the deletion, record corresponding the dag in the table [tag] is deleted but then resumes.
### What you expected to happen
the dag python file removed
info about the dag disappears from airflow UI
### How to reproduce
_No response_
### Operating System
NAME="Aliyun Linux" VERSION="2.1903 LTS (Hunting Beagle)" ID="alinux" ID_LIKE="rhel fedora centos" VERSION_ID="2.1903" PRETTY_NAME="Aliyun Linux 2.1903 LTS (Hunting Beagle)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/"
### Versions of Apache Airflow Providers
apache-airflow-providers-apache-spark==2.0.3
apache-airflow-providers-celery==2.1.0
apache-airflow-providers-ftp==2.0.1
apache-airflow-providers-http==2.0.1
apache-airflow-providers-imap==2.0.1
apache-airflow-providers-sqlite==2.0.1
### Deployment
Virtualenv installation
### Deployment details
run locally
airflow webserver
airflow scheduler
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #21118: can not delete dag
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #21118:
URL: https://github.com/apache/airflow/issues/21118
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #21118: dag can not be thoroughly deleted
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #21118:
URL: https://github.com/apache/airflow/issues/21118#issuecomment-1022068430
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #21118: can not delete dag
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #21118:
URL: https://github.com/apache/airflow/issues/21118#issuecomment-1022455560
In Airflow DAGs are controlled by the DAGs folder not UI/API/CLI.
You should delete DAG from dags folder first in order to delete it from the UI. Deleting "DAG" from UI/CLI/API removes all DB records for a dag that has been deleted from DAG folder.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org