-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Description
Apache Airflow version
2.3.0 (latest released)
What happened
The automatic cloud_sql_proxy download via the CloudSqlProxyRunner is not working because the environment is using the uname -a info and it is pull x86_64. The url for the cloud_sql_proxy binaries are no longer using x86_64. Instead, the binaries are now using amd64 indicator.
What you think should happen instead
The hardcoded process should be opened up to include a user defined option via an extra parameter for the CloudSQLDatabaseHook and other hooks. This would hedge for future URL updates without the need for a full blown release.
How to reproduce
Run in an environment that has no local copy of the cloud_sql_proxy and the uname -a gives x86_64.
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Composer
Deployment details
No response
Anything else
This will happen every time the _download_sql_proxy_if_needed is ran in an x86_64 environment.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct