-
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
Minikube v1.22.0 cannot load E:\image tar.gz #11992
Comments
Any update on this issue? Or do you need any more information? |
This definitely seems like a bug in our cc @afbjorklund |
Pretty sure that |
Sadly the image load command doesn't show any output to the console, so all the information would be in the minikube log
|
Thanks @afbjorklund, just tried, you are right, if i cd into the folder and then load the image with file name (but not the full file path), it worked, so we got a workaround for this issue. But as i mentioned, loading with the full file path used to work in v1.20, and broke in v1.21. Since the root cause is clear, could you guys help to fix? Thanks And below is the output with the full file path: stderr: |
Seems to be a bug introduced in 32a91d6
It assumes that the filename is the same as the image name, which is only true in the cache - but fails when loading files. Care to have a look, @spowelljr ? |
@afbjorklund I created a PR that solves the issue, but if you have a better way in mind feel free to comment on it. I'm going to add a test to catch this case tomorrow. |
I used to run the following command to load an image archive file into Minikube. It worked pretty well in V1.20.0. But when i upgraded to V1.22.0, it didn't work anymore, there was no error message, but when i ran "minikube image list", the image didn't show up. I also tried v1.21.0, it didn't work either.
minikube image load e:\myimage.tar.gz
minikube image list
The text was updated successfully, but these errors were encountered: