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


Reply via email to