-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Closed
Description
I'm attempting to have the various airflow services run on startup of the airflow host (a ubuntu box).
They all work fine except I'm have an issue where by the worker doesn't seem to want run at startup but works fine when called manually (using the same init.d script).
I'm getting the following error in my worker logs:
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 17, in <module>
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 376, in worker
sp = subprocess.Popen(['airflow', 'serve_logs'], env=env)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Do you have any pointers as to what environment variables etc could be causing this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels