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 2021/02/08 17:55:02 UTC

[GitHub] [airflow] Nnn7bb opened a new issue #14136: Damn, oh well. I will put in a new issue.

Nnn7bb opened a new issue #14136:
URL: https://github.com/apache/airflow/issues/14136


   Damn, oh well. I will put in a new issue.
   
   (I meant 2.0.1, typo)
   
   _Originally posted by @fjmacagno in https://github.com/apache/airflow/issues/13893#issuecomment-775310886_


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] damon09273 commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
damon09273 commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-793353749


   @ashb It happens in the staging environment, but didn't in the local environment, I use same Image.
   ![image](https://user-images.githubusercontent.com/17487840/110416934-8d2c2c00-80cf-11eb-8c33-9d911adbf1fe.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #14136: Damn, oh well. I will put in a new issue.

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-775328864


   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.

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



[GitHub] [airflow] ashb commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-775409855


   Could you try and give us reproduction steps @Nnn7bb please?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] danarwix commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
danarwix commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-795054145


   Hi, 
   Just got the same error while performing the astronomer certification.
   
   steps to reproduce:
   
   1. install the astronomer [cli ](https://www.astronomer.io/docs/cloud/stable/develop/cli-quickstart)
   2. open a terminal
   3. run: `mkdir <your directory name>`
   4. run: `astro dev init`
   5. open the `Dockerfile` and replace its content with ```bash FROM quay.io/astronomer/ap-airflow:2.0.0-2-buster-onbuild```
   6. open the airflow UI at `http:// localhost:8080`
   7. open the `example_dag`
   
   expected result:
   the DAG should be visible
   
   actual result:
   The following error is shown:
   ```python
   Traceback (most recent call last):
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2447, in wsgi_app
   response = self.full_dispatch_request()
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1952, in full_dispatch_request
   rv = self.handle_user_exception(e)
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1821, in handle_user_exception
   reraise(exc_type, exc_value, tb)
   File “/usr/local/lib/python3.7/site-packages/flask/_compat.py”, line 39, in reraise
   raise value
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1950, in full_dispatch_request
   rv = self.dispatch_request()
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1936, in dispatch_request
   return self.view_functionsrule.endpoint
   File “/usr/local/lib/python3.7/site-packages/airflow/www/auth.py”, line 34, in decorated
   return func(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/decorators.py”, line 97, in view_func
   return f(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/decorators.py”, line 60, in wrapper
   return f(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/views.py”, line 1861, in tree
   dag = current_app.dag_bag.get_dag(dag_id)
   File “/usr/local/lib/python3.7/site-packages/airflow/utils/session.py”, line 65, in wrapper
   return func(*args, session=session, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/models/dagbag.py”, line 171, in get_dag
   self._add_dag_from_db(dag_id=dag_id, session=session)
   File “/usr/local/lib/python3.7/site-packages/airflow/models/dagbag.py”, line 227, in _add_dag_from_db
   raise SerializedDagNotFound(f"DAG ‘{dag_id}’ not found in serialized_dag table")
   airflow.exceptions.SerializedDagNotFound: DAG ‘example_dag’ 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:
users@infra.apache.org



[GitHub] [airflow] danarwix commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
danarwix commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-795342922


   > @danarwix Could you try with `2.0.0-3-buster-onbuild` please? -- that has the fix backported from 2.0.1 for this issue.
   
   @ashb that most certainly did the trick 😺 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] danarwix edited a comment on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
danarwix edited a comment on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-795054145


   Hi, 
   Just got the same error while performing the astronomer certification.
   
   steps to reproduce:
   
   1. install the astronomer [cli ](https://www.astronomer.io/docs/cloud/stable/develop/cli-quickstart)
   2. open a terminal
   3. run: `mkdir <your directory name>`
   4. run: `astro dev init`
   5. open the `Dockerfile` and replace its content with ```bash FROM quay.io/astronomer/ap-airflow:2.0.0-2-buster-onbuild```
   6. open the airflow UI at `http:// localhost:8080`
   7. open the `example_dag`
   
   expected result:
   the DAG should be visible
   
   actual result:
   The following error is shown:
   ```python
   Traceback (most recent call last):
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2447, in wsgi_app
   response = self.full_dispatch_request()
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1952, in full_dispatch_request
   rv = self.handle_user_exception(e)
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1821, in handle_user_exception
   reraise(exc_type, exc_value, tb)
   File “/usr/local/lib/python3.7/site-packages/flask/_compat.py”, line 39, in reraise
   raise value
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1950, in full_dispatch_request
   rv = self.dispatch_request()
   File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1936, in dispatch_request
   return self.view_functionsrule.endpoint
   File “/usr/local/lib/python3.7/site-packages/airflow/www/auth.py”, line 34, in decorated
   return func(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/decorators.py”, line 97, in view_func
   return f(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/decorators.py”, line 60, in wrapper
   return f(*args, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/www/views.py”, line 1861, in tree
   dag = current_app.dag_bag.get_dag(dag_id)
   File “/usr/local/lib/python3.7/site-packages/airflow/utils/session.py”, line 65, in wrapper
   return func(*args, session=session, **kwargs)
   File “/usr/local/lib/python3.7/site-packages/airflow/models/dagbag.py”, line 171, in get_dag
   self._add_dag_from_db(dag_id=dag_id, session=session)
   File “/usr/local/lib/python3.7/site-packages/airflow/models/dagbag.py”, line 227, in _add_dag_from_db
   raise SerializedDagNotFound(f"DAG ‘{dag_id}’ not found in serialized_dag table")
   airflow.exceptions.SerializedDagNotFound: DAG ‘example_dag’ not found in serialized_dag table
   
   ```
   
   @eladkal 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] damon09273 edited a comment on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
damon09273 edited a comment on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-793353749


   @ashb It happens in the staging environment, but didn't in the local environment, I use same Image.
   
   ![image](https://user-images.githubusercontent.com/17487840/110416934-8d2c2c00-80cf-11eb-8c33-9d911adbf1fe.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-795350259


   Marking this as fixed then!


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-792651372


   @damon09273 We'll need reproduction steps then please. How/when does this error come up?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] damon09273 commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
damon09273 commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-792636393


   @ashb I'm use 2.0.1, but I get a lot of same error too.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14136:
URL: https://github.com/apache/airflow/issues/14136#issuecomment-795307066


   @danarwix Could you try with `2.0.0-3-buster-onbuild` please? -- that has the fix backported from 2.0.1 for this issue.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] ashb closed issue #14136: DAG not found in serialized table

Posted by GitBox <gi...@apache.org>.
ashb closed issue #14136:
URL: https://github.com/apache/airflow/issues/14136


   


----------------------------------------------------------------
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:
users@infra.apache.org