You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "lzf12 (via GitHub)" <gi...@apache.org> on 2025/04/28 12:44:03 UTC

Re: [D] Scheduler throws an error "Couldn't find dag in DagBag/DB" on each startup. [airflow]

GitHub user lzf12 added a comment to the discussion: Scheduler throws an error "Couldn't find dag in DagBag/DB" on each startup.

[2025-04-28T12:35:54.920+0000] {override.py:1914} ERROR - Creation of Permission View Error: (MySQLdb.OperationalError) (2006, 'Server has gone away')
[SQL: INSERT INTO serialized_dag (dag_id, fileloc, fileloc_hash, data, data_compressed, last_updated, dag_hash, processor_subdir) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)]
[parameters: ('20250422163140_T000005', '/opt/airflow/dags/20250422163140_T000005.py', 17852677489718545, '{"__version": 1, "dag": {"_max_active_tasks": 500, "_dag_id": "20250422163140_T000005", "fileloc": "/opt/airflow/dags/NI ... (108561095 characters truncated) ... equests\': {\'cpu\': \'1000m\', \'memory\': \'8000Mi\', \'nvidia.com/gpu\': None}}}"}, "__type": "operator"}], "dag_dependencies": [], "params": []}}', None, datetime.datetime(2025, 4, 28, 12, 35, 34, 750836), '42320c17324c79621f353eff88039c9c', '/opt/airflow/dags')]
(Background on this error at: https://sqlalche.me/e/14/e3q8)

GitHub link: https://github.com/apache/airflow/discussions/27711#discussioncomment-12969530

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org