trollhe opened a new issue #15607:
URL: https://github.com/apache/airflow/issues/15607


   hi,team:
   
      i deployment airflow 2.0.2 in docker by docker-compose,airflow service 
start just 1 minute have many dags,bug 1 minute after dag is none,and throws 
bellow error:
   
      already share dag folder to webservice/scheduler/flower container
   
   
![image](https://user-images.githubusercontent.com/41068725/116637904-b498ca00-a997-11eb-8ca2-428f0ff821cd.png)
   
![image](https://user-images.githubusercontent.com/41068725/116638004-ead64980-a997-11eb-96cd-cf5becd7a743.png)
   
   
   ```
   Python version: 3.8.5
   Airflow version: 2.0.2
   Node: airflow-webserver
   
-------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/root/.local/lib/python3.8/site-packages/flask/app.py", line 2447, 
in wsgi_app
       response = self.full_dispatch_request()
     File "/root/.local/lib/python3.8/site-packages/flask/app.py", line 1952, 
in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/root/.local/lib/python3.8/site-packages/flask/app.py", line 1821, 
in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/root/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, 
in reraise
       raise value
     File "/root/.local/lib/python3.8/site-packages/flask/app.py", line 1950, 
in full_dispatch_request
       rv = self.dispatch_request()
     File "/root/.local/lib/python3.8/site-packages/flask/app.py", line 1936, 
in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/local/lib/python3.8/site-packages/airflow/www/auth.py", line 
34, in decorated
       return func(*args, **kwargs)
     File "/usr/local/lib/python3.8/site-packages/airflow/www/decorators.py", 
line 97, in view_func
       return f(*args, **kwargs)
     File "/usr/local/lib/python3.8/site-packages/airflow/www/decorators.py", 
line 60, in wrapper
       return f(*args, **kwargs)
     File "/usr/local/lib/python3.8/site-packages/airflow/www/views.py", line 
1876, in tree
       dag = current_app.dag_bag.get_dag(dag_id)
     File "/usr/local/lib/python3.8/site-packages/airflow/utils/session.py", 
line 70, in wrapper
       return func(*args, session=session, **kwargs)
     File "/usr/local/lib/python3.8/site-packages/airflow/models/dagbag.py", 
line 181, in get_dag
       self._add_dag_from_db(dag_id=dag_id, session=session)
     File "/usr/local/lib/python3.8/site-packages/airflow/models/dagbag.py", 
line 237, in _add_dag_from_db
       raise SerializedDagNotFound(f"DAG '{dag_id}' not found in serialized_dag 
table")
   airflow.exceptions.SerializedDagNotFound: DAG 'dns-basic-1min' not found in 
serialized_dag table
   ```
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to