Does Airflow get installed when the Docker image r...
# docker
j
Does Airflow get installed when the Docker image runs ? I am getting this error when Meltano starts up in Docker
Copy code
[AirflowWorker][ERROR][2020-02-03 21:59:05,944] Failed to start plugin <meltano.core.plugin.airflow.Airflow object at 0x7f4868980ef0>.
Exception in thread AirflowWorker:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.6/site-packages/meltano/api/workers/airflow_worker.py", line 88, in run
    self.start_all()
  File "/usr/local/lib/python3.6/site-packages/meltano/api/workers/airflow_worker.py", line 74, in start_all
    "scheduler", "--pid", str(self.pid_file), stdout=logs_file
  File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin_invoker.py", line 141, in invoke
    process = subprocess.Popen(popen_args, **Popen_options)
  File "/usr/local/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/local/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/project/.meltano/orchestrators/airflow/venv/bin/airflow': '/project/.meltano/orchestrators/airflow/venv/bin/airflow'
m
Yes it does, and it seems to have failed here. I created an issue to iron out this flow in https://gitlab.com/meltano/meltano/issues/1667
You can run
meltano add orchestrator airflow
to reinstall it (in your container).