-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
ensure that /dev has settled before operating #3195
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Can one of the admins verify this patch? |
509153f
to
f3aeee1
Compare
I have a cncf account, I'm not sure why the bot didn't pick it up. |
Minikube automount relies on a VM disk to be mounted (usually /dev/sda) to provide .ssh credentials. This commit adds a dependency on systemd-udev-settle to ensure that all devices (including disks) are up and available before executing the mount script. We use systemd-udev-settle https://github.com/systemd/systemd/blob/master/units/systemd-udev-settle.service.in To ensure this. Note that in the above link, we can read a comment stating that systemd-udev-settle is used to ensure a populated /dev during bootup, which is exaclty what we want. Signed-off-by: David Genest <david.genest@gmail.com>
f3aeee1
to
bb07acd
Compare
The boot sequence is now as desired:
occurs before the minikube-automount script is run, (Below I only pasted a partial output (related to /dev/sda)):
|
I believe #2126 is related and would be fixed by this. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: davidovich 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 |
@minikube-bot - OK to test |
Minikube automount relies on a VM disk to be mounted (usually /dev/sda)
to provide .ssh credentials.
This commit adds a dependency on systemd-udev-settle to ensure that all devices
(including disks) are up and available before executing the mount
script.
We use systemd-udev-settle
https://github.com/systemd/systemd/blob/master/units/systemd-udev-settle.service.in
To ensure this. Note that in the above link, we can read a comment
stating that systemd-udev-settle is used to ensure a populated /dev
during bootup, which is exaclty what we want.
closes #3167
Note that it may close other ssh related issues on several platforms.