airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] dimberman commented on issue #3797: [AIRFLOW-2952] Splits CI into k8s + docker-compose
Date Wed, 12 Sep 2018 20:51:06 GMT
dimberman commented on issue #3797: [AIRFLOW-2952] Splits CI into k8s + docker-compose
URL: https://github.com/apache/incubator-airflow/pull/3797#issuecomment-420793289
 
 
   @Fokko @bolkedebruin @ashb I am seeing multiple errors with the kubernetes executor once
running:
   
   1. The API calls are failing because airflow thinks that `orm_dag` is None
   
   ```
   [2018-09-12 20:41:01,730] ERROR in app: Exception on /api/experimental/dags/example_kubernetes_annotation/paused/false
[GET]
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
       response = self.full_dispatch_request()
     File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/local/lib/python2.7/dist-packages/airflow/api/auth/backend/default.py", line
32, in decorated
       return function(*args, **kwargs)
     File "/usr/local/lib/python2.7/dist-packages/airflow/www_rbac/api/experimental/endpoints.py",
line 156, in dag_paused
       orm_dag.is_paused = False
   AttributeError: 'NoneType' object has no attribute 'is_paused'
   ```
   
   2. When I log into the webserver (both through k-d-c and through minikube), I am unable
to see any DAGs even though the logs show them as loaded and the files are in the correct
directory. 
   
   3. When I attempt to ping through k-d-c it just hangs infinitely. 
   
   For these reasons I think this is a high priority bug. Especially since every PR we add
from here on just makes the k8s executor more and more broken.  I realize reverting the docker-compose
CI would be a pain, but if we don't either do that or fix these bugs in the short term I fear
the k8sexecutor work will become even more broken.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Mime
View raw message