casey
10/05/2021, 8:11 PMcasey
10/05/2021, 8:13 PMcasey
10/05/2021, 8:15 PMlocalhost
base URL. Googling for why, I'm advised to set an env var or config var that indicates the base URL: https://stackoverflow.com/a/49812929/148680casey
10/05/2021, 8:21 PMpip_url
) was taken care of. However, this coupling of versions is requiring a much firmer grasp of Airflow's configuration. But no one else seems to be having these same issues so I think I'm doing something that is against common practice.edgar_ramirez_mondragon
10/06/2021, 12:46 AMAIRFLOW__WEBSERVER__BASE_URL
and have it default to MELTANO_UI_BIND_HOST
). Is that the case, are you deploying Airflow and Meltano under the same base url?edgar_ramirez_mondragon
10/06/2021, 6:45 PMAIRFLOW__WEBSERVER__BASE_URL
directly in the server/container Meltano is running in.edgar_ramirez_mondragon
10/06/2021, 6:45 PMcasey
10/06/2021, 10:10 PMwebserver.base_url
failed.
As a workaround (which I'll add to the issue you created) I set AIRFLOW__WEBSERVER__BASE_URL
in the shell that runs meltano invoke airflow webserver
.
Regarding the other issue of Airflow 2 AuthN: it seems that one must manipulate $AIRFLOW_HOME/webserer_config.py.
As it stands, a default file is put in place with the line AUTH_DB
uncommented. It would be nice to avoid keeping this file in version control and/or manipulating it in the container. There is an issue for this here: https://gitlab.com/meltano/meltano/-/issues/2909 and here are the relevant Airflow docs: http://airflow.apache.org/docs/apache-airflow/2.1.2/security/webserver.html#web-authenticationedgar_ramirez_mondragon
10/07/2021, 3:45 PMwebserver_config.py
seems like something we can figure out with a short turnaround