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/05/31 16:49:27 UTC

[GitHub] [airflow] sglickman commented on issue #15572: import error

sglickman commented on issue #15572:
URL: https://github.com/apache/airflow/issues/15572#issuecomment-851594955


   Not sure if this is exactly your issue, but I was seeing something like this on Kubernetes, where I got UI errors about modules not found which I knew were present and in $PYTHONPATH (I confirmed this by running `kubectl exec $POD_NAME -it sh` and opening a Python interactive session on the scheduler container).
   
   What ended up doing the trick for me was ensuring that the gitsync completed before the scheduler was brought up - that is, creating an git-sync initcontainer with the `GIT_SYNC_ONE_TIME` flag. hope this helps!


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