-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fixes location of mssql volume to only empty data #16143
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
Fixes location of mssql volume to only empty data #16143
Conversation
Seems that running mssql on self-hosted runner makes mssql container fail with empty volume. This PR is to check if just providing the empty 'data' and not removing logs folder causes the failure.
|
cc: @aneesh-joseph |
|
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
|
Did not help it seems . I will remove the volume completely and see how it works. |
|
Not helping. Time to try to reproduce it in the runner itself: Same error (from the artifacts): |
|
Ok. I think I found the reason. Seems that our docker engine is using ZFS as backing storage and MsSQL does not work with it: The solution will be to change backing storage for our docker engine. It also might be (although this is less likely) that it is caused by the fact that we are using tmpfs under the hood (but I think this should have no impact whatsoever as this is one layer "deeper" in the file-system approach and docker uses a backing storage filesystem on top of the underlying tmpfs. |
|
oh NO. It is the problem with tmpfs :( |
|
What we can do is to have two docker engine installation and for MsSQL we could choose the file-backed one. It will be slower, but it will work. |
|
closing this PR then to solve it differently. |
Could we volume mount a different path that isn't on tmpfs? (That seems less work then a second docker daemon) |
Might be better option indeed. Worth checking. |
Seems that running mssql on self-hosted runner makes mssql
container fail with empty volume. This PR is to check if
just providing the empty 'data' and not removing logs folder
causes the failure.
^ 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 UPDATING.md.