-
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
Unable to build minikube ISO locally #1854
Comments
It works on my machine. Looks like it has something to do with how we're generating the --user flag. We do |
Just tested this @ HEAD, unable to repro, it is also working on my Ubuntu 14.04 machine. I will test on a Fedora 25 machine and see if I am able to repro. Not quite sure what the issue is but I believe that it is related to the '--user' flag as r2d4 mentioned: |
@budhrg did you figure this out? do we need to add some additional documentation or rules for fedora? |
@budhrg any progress on this? Do you also want me to have a look at this? |
@gbraad , please go ahead as well. I am still getting issue with Fedora 25 so I am now trying with Ubuntu VM and now with GCE Ubuntu instance where I was able to create iso. Locally with Ubuntu VM, I am having some issue during |
For me it seems to work. UID=1000:GID=1000
|
I think thats a red herring: The real error should be before that (I think its a weird gpg signing issue that resolves itself after the command has been ran twice). As a last ditch effort, buildroot attempts to fetch the package from its own sources, which don't contain the rkt package. |
OK, so will do the same and build it on a remote host, as it seems network connectivity is quite important. Haven't looked into the fact why it failed for @budhrg with a different UID |
Some logs while creating container with following command
Mounting failed due to SELinux
@r2d4 Does SELinux need to be disabled in this case? |
After configuring SELinux for |
@budhrg Were you ever able to build with ubuntu? I get an error hours into the build. I'm using the standard golang image as a base. Error
|
@philgebhardt You should use the base image that we provide, and the makefile |
Thanks @r2d4, this wasn't immediately obvious from the build documentation. But I realize now, what I was doing was a bit funky. The following command gets past the issue I mentioned above (which is basically what
|
Build still fails (hours into the build), this time on Is the provided image supposed to have go installed? There is no step to install it from what I can tell by looking at the Dockerfile.
Let me know if I should open this as a separate issue. |
I'm not sure exactly why this requirement is there, but crio-bin builds with the host go toolchain, outside of docker. You need go 1.8 on the host machine to build the minikube iso (even in docker). That probably warrants its own issue. ref #1998 |
I will verify again. |
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. |
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I'm seeing this too: |
@kfox1111 : I don't think the image has ever been pushed, to build it use: |
Ah, ok. That seems to be working. Thanks. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Environment:
Fedora 25 (Linux)
Docker version
1.12.6
What happened:
I am unable to generate minikube ISO with instruction here https://github.com/kubernetes/minikube/blob/master/docs/contributors/minikube_iso.md#build-instructions.
Getting permission error:
Getting following error:
I doubt the volume mount didn't happen properly.
What you expected to happen:
minikube ISO should be generated at
out/minikube.iso
.The text was updated successfully, but these errors were encountered: