Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better diagnostics for ARM for MySQL and MSSQL #24185

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jun 4, 2022

Until we have debian suppor tof MySQL and MSSQL ARM, runnign
those on ARM platform is not supported. However error about it
was not clear (pulling docker image failed).

This PR adds platform checking also in breeze and fails fast
without even attempting to enter breeze shell when you are on
ARM and wants to run MsSQL or MySQL breeze shell.

Also some errors with running different backend versions via
breeze have been removed.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragement file, named {pr_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes labels Jun 4, 2022
@potiuk potiuk force-pushed the better-information-about-mysql-mssql-arm-incompatibility branch 4 times, most recently from d513d28 to b662d57 Compare June 4, 2022 18:45
Copy link
Contributor

@chethanuk chethanuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@potiuk potiuk force-pushed the better-information-about-mysql-mssql-arm-incompatibility branch 3 times, most recently from 00b8ab4 to 377536a Compare June 5, 2022 10:26
@potiuk potiuk force-pushed the better-information-about-mysql-mssql-arm-incompatibility branch 2 times, most recently from fdd5c78 to 28a93f3 Compare June 5, 2022 15:25
Copy link
Contributor

@koconder koconder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the feedback

Until we have debian suppor tof MySQL and MSSQL ARM, runnign
those on ARM platform is not supported. However error about it
was not clear (pulling docker image failed).

This PR adds platform checking also in breeze and fails fast
without even attempting to enter breeze shell when you are on
ARM and wants to run MsSQL or MySQL breeze shell.

Also some errors with running different backend versions via
breeze have been removed.
@potiuk potiuk force-pushed the better-information-about-mysql-mssql-arm-incompatibility branch from 28a93f3 to a6920d4 Compare June 7, 2022 06:49
@potiuk
Copy link
Member Author

potiuk commented Jun 8, 2022

Anyone :) ?

@potiuk potiuk requested review from dimberman, dstandish, kaxil and turbaszek and removed request for dimberman June 10, 2022 22:23
@potiuk
Copy link
Member Author

potiuk commented Jun 12, 2022

🙏

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Jun 12, 2022
@github-actions
Copy link

The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk merged commit 00d2a3c into apache:main Jun 12, 2022
@potiuk potiuk deleted the better-information-about-mysql-mssql-arm-incompatibility branch June 12, 2022 15:14
potiuk added a commit to potiuk/airflow that referenced this pull request Jun 29, 2022
Until we have debian suppor tof MySQL and MSSQL ARM, runnign
those on ARM platform is not supported. However error about it
was not clear (pulling docker image failed).

This PR adds platform checking also in breeze and fails fast
without even attempting to enter breeze shell when you are on
ARM and wants to run MsSQL or MySQL breeze shell.

Also some errors with running different backend versions via
breeze have been removed.

(cherry picked from commit 00d2a3c)
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.3 milestone Jun 30, 2022
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools area:production-image Production image improvements and fixes changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) okay to merge It's ok to merge this PR as it does not require more tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants