-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🐛 remove duplicate fix for btrfs/zfs support #8376
🐛 remove duplicate fix for btrfs/zfs support #8376
Conversation
|
Welcome @cannonpalms! |
Hi @cannonpalms. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold The code in kind adds a dev mapper for all the containers started by kind; the code in CAPD does the same for all the containers started by CAPD. The two code paths do not overlap, and they must be kept ~in sync because we use the same base images (which is the only thing shared between kind and CAPD at this point). Given that, if the mount is required for the containers started by kind, we should not drop adding the same mount for the containers started by CAPD... am I missing something? |
Also, please add Fixes #8317 to the PR body |
Hmm, I see what you mean. I may have fixed the duplicate mount point issue, but re-broke the original problem. I wrote this on an airplane, so let me take a deeper look tomorrow. I appreciate the feedback. |
/ok-to-test I should be able to try to test this on my setup - will report back if I figure out what the interaction is here. |
The issue here isn't that this overlaps with Kind - the update in #8157 added a second code path which mounts |
@cannonpalms do you think you'll have time to come back to this? |
Picking this back up. Apologies for radio silence! It took me this long just to clear my GitHub notifications /s. |
@cannonpalms I don't have a btrfs system, so can't test. But we are doing a workshop, and I have concerns that some partitipants have btrfs. Could you check the above PR and tell us if it works for you? |
Travelling right now, but I can tell you that it worked for me at the time of last comment, and the workaround is to edit your docker config and change the storage driver to something like |
@killianmuldoon do you think we can merge this, now that the author said it is working for him? |
I think I'd prefer to verify independently - I should be able to do so in the next couple of days though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm testing with btrfs
. I tried running this locally and it got past the issue on the load balancer but failed to bring up any Kubernetes nodes.
AFAIU we need to roll back most of the changes in this PR. The issue is that we try to mount the dev/mapper twice. We should remove the slightly less complete version of that in lines 415-419. I believe that change is sufficient to fix this issue completely.
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.6 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.5 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.5 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@cannonpalms Can you please rebase? |
c51179f
to
bf54ba6
Compare
@sbueringer Done. |
Support for btrfs/zfs was upstreamed to kind in kubernetes-sigs/kind#1464, removing the need for us to hack support in ourselves. Helps kubernetes-sigs#8317 chore: PR feedback Removes the now-unused function mountDevMapper(...) chore: fix ci lint fix: restore missing storage consts chore: fix bad rebase mountDevMapper() is unused
bf54ba6
to
f6fa4ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
pending ci
LGTM label has been added. Git tree hash: 1fae200936ab7755b7a25d911498232b0abdc3b0
|
Thx! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sbueringer: #8376 failed to apply on top of branch "release-1.6":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sbueringer: #8376 failed to apply on top of branch "release-1.5":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area provider/infrastructure-docker |
If btrfs or zfs is used CAPD adds the /dev/mapper mount twice. This PR ensures we only do it once.
xref to where kind implements this: kubernetes-sigs/kind#1464
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #8317