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

Failed to update cluster: downloading binaries: copy: error removing file /usr/bin/kubeadm: remove /usr/bin/kubeadm: permission denied #3769

Closed
3 tasks
cbyniiaii opened this issue Feb 28, 2019 · 2 comments
Labels
co/none-driver triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@cbyniiaii
Copy link

cbyniiaii commented Feb 28, 2019

If this is a bug report, please include:

  • How to replicate the error, including the exact command-lines used.
    minikube start --vm-driver=none
  • The full output of the command that failed
    `😄 minikube v0.34.1 on linux (amd64)
    🤹 Configuring local host environment ...

⚠️ The 'none' driver provides limited isolation and may reduce system security and reliability.
⚠️ For more information, see:
👉 https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md

⚠️ kubectl and minikube configuration will be stored in /home/efuture
⚠️ To use kubectl or minikube commands as your own user, you may
⚠️ need to relocate them. For example, to overwrite your own settings:

▪ sudo mv /home/efuture/.kube /home/efuture/.minikube $HOME
▪ sudo chown -R $USER /home/efuture/.kube /home/efuture/.minikube

💡 This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
🔥 Creating none VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
📶 "minikube" IP address is 172.16.80.25
🐳 Configuring Docker as the container runtime ...
✨ Preparing Kubernetes environment ...
💾 Downloading kubeadm v1.13.3
💾 Downloading kubelet v1.13.3
💣 Failed to update cluster: downloading binaries: copy: error removing file /usr/bin/kubeadm: remove /usr/bin/kubeadm: permission denied

😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new`

  • The operating system name and version used
    'kubectl version'
    Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

minikube version
minikube version: v0.34.1

docker info
`Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 09c8266bf2fcf9519a651b04ae54c967b9ab86ec
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-109-generic
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67GiB
Name: ubuntu
ID: SRK6:T73F:36GF:KHG3:JESA:SISW:CLGK:76DP:MAES:VMJX:Q4P7:QTWP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support`

@afbjorklund
Copy link
Collaborator

afbjorklund commented Feb 28, 2019

Probably same as #3718, i.e. I think you currently need to use sudo -E

@tstromberg
Copy link
Contributor

Dupe of #3760

@tstromberg tstromberg added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/none-driver triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants