Skip to content
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

Fix Windows minikube ISO download #22

Conversation

douglaswth
Copy link

Signed-off-by: Douglas Thrift dthrift@flexera.com
(cherry picked from commit ade5501)

Description

Related issue(s)

- On Windows, `minikube` passes in a file URL like `"file://C:/Users/douglas/.minikube/cache/iso/minikube-v1.2.0.iso"`,
  however, due to the way that Go parses URLs, the `"C:"` part is actually
  parsed as the hostname portion instead of staying at the beginning of
  the path (golang/go#6027). If `minikube` is run with a working directory on a different drive
  from where its cache directory resides, it will fail since
  `libmachine` is only looking at the path portion (in this case:
  `"/Users/douglas/.minikube/cache/iso/minikube-v1.2.0.iso"`) so it
  fails to find the file (kubernetes/minikube#1574).

Signed-off-by: Douglas Thrift <dthrift@flexera.com>
(cherry picked from commit ade5501)
@tstromberg
Copy link

/cc @afbjorklund @gbraad

@afbjorklund
Copy link

Reported upstream as docker#4734

@medyagh
Copy link

medyagh commented Oct 30, 2019

I dont see any activity or update on the upstream... is there any ohter way we can have this fix?

@sharifelgamal
Copy link

@afbjorklund Let's go ahead and merge this PR in the fork, upstream isn't really accepting PRs from what I can tell.

@afbjorklund
Copy link

@sharifelgamal : OK, will do. can you update minikube once it is merged ?

@afbjorklund afbjorklund merged commit b39d5b5 into machine-drivers:master Nov 9, 2019
@douglaswth douglaswth deleted the fix_windows_minikube_iso_download_machine_drivers branch December 16, 2019 22:56
anjannath pushed a commit to anjannath/machine that referenced this pull request Apr 4, 2024
Return an error when BundleName is not set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants