kaxil commented on issue #15607:
URL: https://github.com/apache/airflow/issues/15607#issuecomment-889267511
> I'm getting the same error with dynamic dags while running with airflow's
docker-compose with `apache/airflow:2.1.2-python3.9`
>
> ```
> Traceback (most recent call last):
> airflow-scheduler_1 | File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py",
line 1531, in _do_scheduling
> airflow-scheduler_1 | self._schedule_dag_run(dag_run,
active_runs_by_dag_id.get(dag_run.dag_id, set()), session)
> airflow-scheduler_1 | File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py",
line 1702, in _schedule_dag_run
> airflow-scheduler_1 | dag = dag_run.dag =
self.dagbag.get_dag(dag_run.dag_id, session=session)
> airflow-scheduler_1 | File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/utils/session.py",
line 67, in wrapper
> airflow-scheduler_1 | return func(*args, **kwargs)
> airflow-scheduler_1 | File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/dagbag.py",
line 186, in get_dag
> airflow-scheduler_1 | self._add_dag_from_db(dag_id=dag_id,
session=session)
> airflow-scheduler_1 | File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/dagbag.py",
line 258, in _add_dag_from_db
> airflow-scheduler_1 | raise SerializedDagNotFound(f"DAG '{dag_id}'
not found in serialized_dag table")
> airflow-scheduler_1 | airflow.exceptions.SerializedDagNotFound: DAG
'cross-sell-v3-new' not found in serialized_dag table
> ```
Please post your DAG file, it won't be possible for us in any way to help
without it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]