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

[ Full content available at: 
https://github.com/apache/incubator-airflow/pull/3797 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to