fred_reimer
02/08/2023, 2:18 AMairflow version
failed. DB credentials are correct, as we manually tested them. This appears to be for any airflow command. Meltano version is 2.15.1, airflow is pinned at 2.2.4 via pip url in the meltano.yml file.
Any ideas? This all started when we had to move something and I believe Meltano got updated, so we had to update the image that the meltano invoke airflow schedule was run from, as there was a db mismatch.fred_reimer
02/08/2023, 2:50 AM2023-02-08T02:42:47.010137Z [debug ] Saved '/project/.meltano/run/airflow/airflow.cfg'
2023-02-08T02:42:47.437516Z [debug ] Invoking: ['/project/.meltano/orchestrators/airflow/venv/bin/airflow', 'version']
2023-02-08T02:42:50.210998Z [debug ] Deleted configuration at /project/.meltano/run/airflow/airflow.cfg
2023-02-08T02:42:50.211420Z [error ]
2023-02-08T02:42:50.215316Z [debug ] Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
Command `airflow version` failed
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /venv/lib/python3.9/site-packages/meltano/cli/__init__.py:87 in _run_cli │
followed by tons of output that doesn't indicate what the error is. FWIW, I can run that invoke command and get back "2.2.4" which is the version of airflow running.fred_reimer
02/08/2023, 3:15 AMfred_reimer
02/08/2023, 3:17 AMfred_reimer
02/08/2023, 3:21 AMfred_reimer
02/08/2023, 3:50 AMchristoph
02/08/2023, 4:05 AMfred_reimer
02/08/2023, 4:07 AMchristoph
02/08/2023, 4:17 AMalembic.ini
file would need to look like in order to be able to use the alembic
clifred_reimer
02/08/2023, 5:48 AMfred_reimer
02/08/2023, 6:21 AM[2023-02-08, 06:17:24 UTC] {subprocess.py:74} INFO - Running command: ['bash', '-c', 'cd /project; .meltano/run/bin schedule run data_volume_hourly']
[2023-02-08, 06:17:24 UTC] {subprocess.py:85} INFO - Output:
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - {"event": "'false' is not a valid EnvVarMissingBehavior", "exc_info": ["<class 'ValueError'>", "ValueError(\"'false' is not a valid EnvVarMissingBehavior\")", "<traceback object at 0x7f3a89e8dac0>"], "timestamp": "2023-02-08T06:17:27.304770Z", "level": "error"}
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - join our friendly Slack community.
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO -
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - 'false' is not a valid EnvVarMissingBehavior
[2023-02-08, 06:17:27 UTC] {subprocess.py:96} INFO - Command exited with return code 1
[2023-02-08, 06:17:27 UTC] {taskinstance.py:1889} ERROR - Task failed with exception
Traceback (most recent call last):
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.9/site-packages/airflow/operators/bash.py", line 194, in execute
raise AirflowException(
airflow.exceptions.AirflowException: Bash command failed. The command returned a non-zero exit code 1.
Any ideas?fred_reimer
02/08/2023, 6:38 AMfor schedule in schedules:
which will bomb because the new structure returned by meltano schedule list --format=json doesn't work with that.fred_reimer
02/08/2023, 5:53 PM