-
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
autoset --preload=false when storage driver is not overlay #7626
Comments
when we generate the preload we include the storage name in the file name, check the sotrage driver of the user, if it exists then proceed if not, then dont proceed. (that way in the futrure if we generate the preload image for those drivers we can use them |
For this to work, the storage driver needs to be added to the API (after the runtime) |
The main goal wasn't to provide tarballs for deprecated or specialized storage drivers. |
This was for using the For the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I've been running into some problems with this on a laptop running on ZFS, where
While explicitly passing
This sent me down a bit of a wild goose chase, before finally realising that the problem was the preload, and that this works:
Docker's documentation on storage drivers has a table of supported backing filesystems for each, and I think we should look to detect if we're about to run into this problem, and disable preloading by default if we are. The easiest way to do this might be to just ask the host's dockerd which one it's using, and disable preloading if it answers |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
So if your docker daemon runs anything else, it is broken after the
minikube start
.The systemd status is a silly
docker.service: Failed with result 'exit-code'.
But the journal has the real error:
failed to start daemon: error initializing graphdriver: /var/lib/docker contains several valid graphdrivers: aufs, overlay2; Please cleanup or explicitly choose storage driver (-s <DRIVER>)
We should check the actual driver used, in case something else replaces "overlay2" in the future.
To restore the functionality, one needs to first
sudo rm -r /var/lib/docker/overlay2
(and restart)Note that we do use the storage driver when writing the tarball. Just not when actually reading it.
And of course, it's not flexible there either:
There is a driver check
verifyDockerStorage
, but it doesn't seem to actually be used forstart
.The right thing to do is probably to just skip the preload, and let docker load the images as usual ?
The text was updated successfully, but these errors were encountered: