Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting config_filepath error while using dag factory on GCP Cloud Composer #126

Open
manishnanda opened this issue Feb 11, 2022 · 0 comments

Comments

@manishnanda
Copy link

After adding dag-factory as part of PYPI packages in GCP Cloud composer and corresponding dag and yml file into DAGs folder getting broken DAG on Airflow UI with below error:-

Broken DAG: [/home/airflow/gcs/dags/dag_gcp_test.py] Traceback (most recent call last):
File "/opt/python3.8/lib/python3.8/site-packages/dagfactory/dagfactory.py", line 32, in init
DagFactory._validate_config_filepath(config_filepath=config_filepath)
File "/opt/python3.8/lib/python3.8/site-packages/dagfactory/dagfactory.py", line 45, in _validate_config_filepath
raise Exception("DAG Factory config_filepath must be absolute path")
Exception: DAG Factory config_filepath must be absolute path

Please help in providing root cause and resolution for this as require to move the Airflow setup of important project from local to GCP as having many DAGs build through dag-factory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant