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

How to add IP address for minikube #10244

Closed
Alenjojo opened this issue Jan 24, 2021 · 16 comments · Fixed by #10309
Closed

How to add IP address for minikube #10244

Alenjojo opened this issue Jan 24, 2021 · 16 comments · Fixed by #10309
Labels
co/generic-driver kind/documentation Categorizes issue or PR as related to documentation. kind/support Categorizes issue or PR as a support question. needs-solution-message Issues where where offering a solution for an error would be helpful

Comments

@Alenjojo
Copy link

Alenjojo commented Jan 24, 2021

When i tart minikube i am facing the error saying that failed to start ssh bare metal machine and how to provide an IP into it.
All the software are upto date

`~$ minikube start --driver=ssh
😄 minikube v1.17.0 on Debian kali-rolling (vbox/amd64)
✨ Using the ssh driver based on existing profile

🧯 The requested memory allocation of 2200MiB does not leave room for system overhead (total system memory: 2996MiB). You may face stability issues.
💡 Suggestion: Start minikube with less memory allocated: 'minikube start --memory=2200mb'

👍 Starting control plane node minikube in cluster minikube
🤦 StartHost failed, but will try again: config: please provide an IP address
😿 Failed to start ssh bare metal machine. Running "minikube delete" may fix it: config: please provide an IP address

❌ Exiting due to GUEST_PROVISION: Failed to start host: config: please provide an IP address`

@afbjorklund
Copy link
Collaborator

See https://minikube.sigs.k8s.io/docs/drivers/ssh/ on how to input the IP address to your existing virtual machine.

If you don't already have one, you are better off using one of the other drivers and let minikube create it for you...

@afbjorklund afbjorklund added os/linux kind/support Categorizes issue or PR as a support question. co/generic-driver labels Jan 24, 2021
@huanvliu
Copy link

I have the same error. Have you solved it?

@Alenjojo
Copy link
Author

No. i couldn't find a solution for it till now!
@afbjorklund - Can you look into this

@DmytroVons
Copy link

@Alenjojo if u find solution please send to us

@huanvliu
Copy link

@Alenjojo Hi, 'minikube start --driver=ssh' is use for remote server. Maybe we need use "minikube start --driver=docker", And the docker need user rights。

@afbjorklund
Copy link
Collaborator

It would be great if you could provide some more details, like how you are trying your providing your own VM ?

Like the documentation says, it is a somewhat advanced feature when not able to use the usual drivers.

You will have to install the operating system and the container runtime yourself, instead of letting minikube do it.

The recommendation is to go with VirtualBox (or any hypervisor), until needing the more advanced drivers.

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 26, 2021

OK, I think I can guess what happened here. No hypervisor or container engine was installed by the user (at all).

And then the ssh driver was the only one that didn't have any prerequisites, and was chosen by minikube start:

I0126 13:12:47.022266     150 global.go:102] Querying for installed drivers using PATH=/home/testuser/.minikube/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
I0126 13:12:47.022471     150 global.go:110] kvm2 priority: 8, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "virsh": executable file not found in $PATH Reason: Fix:Install libvirt Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/}
I0126 13:12:47.022738     150 global.go:110] none priority: 4, state: {Installed:false Healthy:false Running:true NeedsImprovement:false Error:exec: "iptables": executable file not found in $PATH Reason: Fix:iptables must be installed Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/none/}
I0126 13:12:47.022955     150 global.go:110] podman priority: 3, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "podman": executable file not found in $PATH Reason: Fix:Install Podman Doc:https://minikube.sigs.k8s.io/docs/drivers/podman/}
I0126 13:12:47.023063     150 global.go:110] ssh priority: 6, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc:}
I0126 13:12:47.023354     150 global.go:110] virtualbox priority: 6, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:unable to find VBoxManage in $PATH Reason: Fix:Install VirtualBox Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/virtualbox/}
I0126 13:12:47.023546     150 global.go:110] vmware priority: 7, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker-machine-driver-vmware": executable file not found in $PATH Reason: Fix:Install docker-machine-driver-vmware Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/}
I0126 13:12:47.023761     150 global.go:110] docker priority: 9, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Reason: Fix:Install Docker Doc:https://minikube.sigs.k8s.io/docs/drivers/docker/}
I0126 13:12:47.023922     150 driver.go:286] Picked: ssh
I0126 13:12:47.023986     150 driver.go:287] Alternatives: []
I0126 13:12:47.024142     150 driver.go:288] Rejects: [kvm2 none podman virtualbox vmware docker]
I0126 13:12:47.026560     150 out.go:119] * Automatically selected the ssh driver
! StartHost failed, but will try again: config: please provide an IP address
* Failed to start ssh bare metal machine. Running "minikube delete" may fix it: config: please provide an IP address

X Exiting due to GUEST_PROVISION: Failed to start host: config: please provide an IP address

That is a bug, I think. It needs to be opt-in, like the none driver is*.

* although for a weird reason, "requires root" (but all drivers do)

@huanvliu
Copy link

My os is “ubuntu 18.04”,docker version is 19.03.
below is details.
first: sudo usermod -aG docker $USER && newgrp docker
second: minikube start --driver=docker --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers'

  • minikube v1.17.0 on Ubuntu 18.04 (amd64)
  • Using the docker driver based on existing profile
  • Starting control plane node minikube in cluster minikube
  • Pulling base image ...
  • docker "minikube" container is missing, will recreate.
  • Creating docker container (CPUs=2, Memory=2200MB) ...
  • Preparing Kubernetes v1.20.2 on Docker 20.10.2 ...
    • Generating certificates and keys ...
    • Booting up control plane ...
    • Configuring RBAC rules ...
  • Verifying Kubernetes components...
  • Enabled addons: storage-provisioner, default-storageclass
  • kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
  • Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
    test@lj:~$ minikube version
    minikube version: v1.17.0
    then: minikube kubectl -- get pods -A

This is another way to create a minikube cluster

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 26, 2021

@huanvliu :

This is another way to create a minikube cluster

That is great, but it was not using --driver=ssh ?

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 26, 2021

Created #10268 for when the driver got selected by default, when you didn't mean to use it.

minikube start

Leaving this issue open for when you do want to use it, but "forgot" to provide the IP address.

minikube start --driver=ssh --ssh-ip-address=vm.example.com


Maybe the error message needs to be improved ?

X Exiting due to GUEST_PROVISION: Failed to start host: config: please provide an IP address
* 
* If the above advice does not help, please let us know: 
  - https://github.com/kubernetes/minikube/issues/new/choose

Or provide a link to the documentation perhaps ?

Try specifying --ssh-ip-address, or see https://minikube.sigs.k8s.io/docs/drivers/ssh/

@afbjorklund afbjorklund added the kind/documentation Categorizes issue or PR as related to documentation. label Jan 26, 2021
@Alenjojo
Copy link
Author

So minikube start --driver=ssh --ssh-ip-address=vm.example.com is used to add the missing IP?

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 28, 2021

So minikube start --driver=ssh --ssh-ip-address=vm.example.com is used to add the missing IP?

Yes. Should probably have some more examples of how to use key, port and user params as well.

      --ssh-ip-address='': IP address (ssh driver only)
      --ssh-key='': SSH key (ssh driver only)
      --ssh-port=22: SSH port (ssh driver only)
      --ssh-user='root': SSH user (ssh driver only)

Especially now, with the default keys and agent being broken* (although that is just temporary...)

SSH(1)

-i identity_file
Selects a file from which the identity (private key) for public key authentication is read. The default is ~/.ssh/id_dsa,
~/.ssh/id_ecdsa, ~/.ssh/id_ecdsa_sk, ~/.ssh/id_ed25519, ~/.ssh/id_ed25519_sk and ~/.ssh/id_rsa.

SSH-AGENT(1)

DESCRIPTION
ssh-agent is a program to hold private keys used for public key authentication. Through use of environment variables the agent can be located
and automatically used for authentication when logging in to other machines using ssh(1).

* See #10289

But it (ssh) is an advanced driver (like the none driver), so it will not show you how to set up a VM.

We already have all the other hypervisor/VM drivers for that, i.e. like the traditional VirtualBox driver

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 28, 2021

Supporting ssh-agent will take a while, so that will be scoped out (for now).

To start with the usual key with minikube 1.17.0, use:

minikube start --driver=ssh --ssh-ip-address=vm.example.com \
--ssh-key=$HOME/.ssh/id_rsa --native-ssh=false

It's not possible to use ~/.ssh/id_rsa (or nothing), and not to use native (go) ssh.

@amjad-Alhusseini
Copy link

Hello
When i run
minikube start --driver=ssh --ssh-ip-address=vm.example.com
i get
Exiting due to MK_USAGE: lookup vm.example.com: no such host

What am i doing wrong here? sorry i am a beginner trying to learn K8s

@afbjorklund
Copy link
Collaborator

Just run minikube start, and it will select a suitable driver for you.

@brandonros
Copy link

mkdir flatcar
cd flatcar
wget https://stable.release.flatcar-linux.net/arm64-usr/current/flatcar_production_pxe.vmlinuz
wget https://stable.release.flatcar-linux.net/arm64-usr/current/flatcar_production_pxe_image.cpio.gz
qemu-system-aarch64 \
  -M virt \
  -m 2048M \
  -smp 2 \
  -cpu cortex-a57 \
  -kernel flatcar_production_pxe.vmlinuz \
  -initrd flatcar_production_pxe_image.cpio.gz \
  -append "flatcar.first_boot=1 sshkey=\"ssh-rsa REDACTED brandonros@Brandons-MacBook-Air.local\"" \
  -netdev user,id=mynet0,hostfwd=tcp::2222-:22 \
  -device e1000,netdev=mynet0 \
  -nographic
minikube start --driver=ssh --container-runtime=cri-o --ssh-ip-address=127.0.0.1 --ssh-port=2222 --ssh-user=core --ssh-key='~/.ssh/id_rsa' --alsologtostderr --v=2
Brandons-MacBook-Air:flatcar brandonros 2022-03-27 17:44:30 $ minikube start --driver=ssh --container-runtime=cri-o --ssh-ip-address=127.0.0.1 --ssh-port=2222 --ssh-user=core --ssh-key='~/.ssh/id_rsa' --alsologtostderr --v=2
I0327 17:44:34.310401   46114 out.go:297] Setting OutFile to fd 1 ...
I0327 17:44:34.310515   46114 out.go:349] isatty.IsTerminal(1) = true
I0327 17:44:34.310519   46114 out.go:310] Setting ErrFile to fd 2...
I0327 17:44:34.310523   46114 out.go:349] isatty.IsTerminal(2) = true
I0327 17:44:34.310602   46114 root.go:315] Updating PATH: /Users/brandonros/.minikube/bin
W0327 17:44:34.310700   46114 root.go:293] Error reading config file at /Users/brandonros/.minikube/config/config.json: open /Users/brandonros/.minikube/config/config.json: no such file or directory
I0327 17:44:34.310977   46114 out.go:304] Setting JSON to false
I0327 17:44:34.334106   46114 start.go:112] hostinfo: {"hostname":"Brandons-MacBook-Air.local","uptime":617267,"bootTime":1647800207,"procs":381,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"12.3","kernelVersion":"21.4.0","kernelArch":"arm64","virtualizationSystem":"","virtualizationRole":"","hostId":"0e1716e5-b38b-5788-b067-7c2c4122bef6"}
W0327 17:44:34.334234   46114 start.go:120] gopshost.Virtualization returned error: not implemented yet
I0327 17:44:34.353313   46114 out.go:176] 😄  minikube v1.25.2 on Darwin 12.3 (arm64)
😄  minikube v1.25.2 on Darwin 12.3 (arm64)
I0327 17:44:34.353758   46114 notify.go:193] Checking for updates...
W0327 17:44:34.353901   46114 preload.go:295] Failed to list preload files: open /Users/brandonros/.minikube/cache/preloaded-tarball: no such file or directory
I0327 17:44:34.354181   46114 config.go:176] Loaded profile config "minikube": Driver=ssh, ContainerRuntime=crio, KubernetesVersion=v1.23.3
W0327 17:44:34.354602   46114 start.go:706] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I0327 17:44:34.355109   46114 driver.go:344] Setting default libvirt URI to qemu:///system
W0327 17:44:34.355164   46114 start.go:706] api.Load failed for minikube: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I0327 17:44:34.371842   46114 out.go:176] ✨  Using the ssh driver based on existing profile
✨  Using the ssh driver based on existing profile
I0327 17:44:34.371855   46114 start.go:281] selected driver: ssh
I0327 17:44:34.371859   46114 start.go:798] validating driver "ssh" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.30@sha256:02c921df998f95e849058af14de7045efc3954d90320967418a0d1f182bbc0b2 Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:ssh HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:127.0.0.1 SSHUser:core SSHKey:~/.ssh/id_rsa SSHPort:2222 KubernetesConfig:{KubernetesVersion:v1.23.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:crio CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[{Component:kubelet Key:housekeeping-interval Value:5m}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false}
I0327 17:44:34.371944   46114 start.go:809] status for ssh: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc: Version:}
I0327 17:44:34.372415   46114 cni.go:93] Creating CNI manager for ""
I0327 17:44:34.372568   46114 cni.go:163] "ssh" driver + crio runtime found, recommending bridge
I0327 17:44:34.372586   46114 start_flags.go:302] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.30@sha256:02c921df998f95e849058af14de7045efc3954d90320967418a0d1f182bbc0b2 Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:ssh HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:127.0.0.1 SSHUser:core SSHKey:~/.ssh/id_rsa SSHPort:2222 KubernetesConfig:{KubernetesVersion:v1.23.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:crio CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[{Component:kubelet Key:housekeeping-interval Value:5m}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false}
I0327 17:44:34.391095   46114 out.go:176] 👍  Starting control plane node minikube in cluster minikube
👍  Starting control plane node minikube in cluster minikube
I0327 17:44:34.391292   46114 preload.go:132] Checking if preload exists for k8s version v1.23.3 and runtime crio
I0327 17:44:34.391554   46114 profile.go:148] Saving config to /Users/brandonros/.minikube/profiles/minikube/config.json ...
I0327 17:44:34.392970   46114 cache.go:107] acquiring lock: {Name:mkefcd807802f3a3953ffeea73e357a7eb439d73 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392970   46114 cache.go:107] acquiring lock: {Name:mkc8f5ad63eaf19eed042407a0382d420dc97cc3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392983   46114 cache.go:107] acquiring lock: {Name:mk3ff15aefab60b7f3b46e2de38f6fe8e5d851c4 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392991   46114 cache.go:107] acquiring lock: {Name:mka018dd765d91d0dc226c67657d3b3654bfecc2 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.393041   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/metrics-scraper_v1.0.7 exists
I0327 17:44:34.393046   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/dashboard_v2.3.1 exists
I0327 17:44:34.393032   46114 cache.go:107] acquiring lock: {Name:mkd34c24745bfddc7b646048be97ca04dee103ae Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392974   46114 cache.go:107] acquiring lock: {Name:mkbe44b448e5cc884dc9f8eebec7e4e18672ae5c Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392985   46114 cache.go:107] acquiring lock: {Name:mk049b7610ad69aee18a76c2ef7a6fb788355dbd Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.392972   46114 cache.go:107] acquiring lock: {Name:mk2790a01865c9bf2499ec1971777d454bc53c3a Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.393143   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-controller-manager_v1.23.3 exists
I0327 17:44:34.393148   46114 cache.go:96] cache image "k8s.gcr.io/kube-controller-manager:v1.23.3" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-controller-manager_v1.23.3" took 330.792µs
I0327 17:44:34.393157   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-scheduler_v1.23.3 exists
I0327 17:44:34.393161   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-apiserver_v1.23.3 exists
I0327 17:44:34.393163   46114 cache.go:96] cache image "k8s.gcr.io/kube-scheduler:v1.23.3" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-scheduler_v1.23.3" took 327.417µs
I0327 17:44:34.393166   46114 cache.go:96] cache image "k8s.gcr.io/kube-apiserver:v1.23.3" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-apiserver_v1.23.3" took 369.625µs
I0327 17:44:34.393043   46114 cache.go:107] acquiring lock: {Name:mkad7a008055115664afa235bc26815369901f70 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.393060   46114 cache.go:96] cache image "docker.io/kubernetesui/metrics-scraper:v1.0.7" -> "/Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/metrics-scraper_v1.0.7" took 262.584µs
I0327 17:44:34.393223   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-proxy_v1.23.3 exists
I0327 17:44:34.393229   46114 cache.go:96] cache image "k8s.gcr.io/kube-proxy:v1.23.3" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-proxy_v1.23.3" took 419.542µs
I0327 17:44:34.393059   46114 cache.go:107] acquiring lock: {Name:mkd06538512677247fd668a3971fc57fb0f90e46 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0327 17:44:34.393249   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/pause_3.6 exists
I0327 17:44:34.393061   46114 cache.go:96] cache image "docker.io/kubernetesui/dashboard:v2.3.1" -> "/Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/dashboard_v2.3.1" took 241.542µs
I0327 17:44:34.393258   46114 cache.go:96] cache image "k8s.gcr.io/pause:3.6" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/pause_3.6" took 218.125µs
I0327 17:44:34.393281   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/etcd_3.5.1-0 exists
I0327 17:44:34.393287   46114 cache.go:80] save to tar file k8s.gcr.io/kube-scheduler:v1.23.3 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-scheduler_v1.23.3 succeeded
I0327 17:44:34.393286   46114 cache.go:96] cache image "k8s.gcr.io/etcd:3.5.1-0" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/etcd_3.5.1-0" took 227.291µs
I0327 17:44:34.393303   46114 cache.go:80] save to tar file k8s.gcr.io/kube-apiserver:v1.23.3 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-apiserver_v1.23.3 succeeded
I0327 17:44:34.393305   46114 cache.go:80] save to tar file k8s.gcr.io/etcd:3.5.1-0 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/etcd_3.5.1-0 succeeded
I0327 17:44:34.393129   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/gcr.io/k8s-minikube/storage-provisioner_v5 exists
I0327 17:44:34.393310   46114 cache.go:80] save to tar file docker.io/kubernetesui/metrics-scraper:v1.0.7 -> /Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/metrics-scraper_v1.0.7 succeeded
I0327 17:44:34.393313   46114 cache.go:96] cache image "gcr.io/k8s-minikube/storage-provisioner:v5" -> "/Users/brandonros/.minikube/cache/images/arm64/gcr.io/k8s-minikube/storage-provisioner_v5" took 481.958µs
I0327 17:44:34.393196   46114 cache.go:115] /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/coredns/coredns_v1.8.6 exists
I0327 17:44:34.393295   46114 cache.go:80] save to tar file k8s.gcr.io/pause:3.6 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/pause_3.6 succeeded
I0327 17:44:34.393297   46114 cache.go:80] save to tar file k8s.gcr.io/kube-proxy:v1.23.3 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-proxy_v1.23.3 succeeded
I0327 17:44:34.393295   46114 cache.go:80] save to tar file k8s.gcr.io/kube-controller-manager:v1.23.3 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/kube-controller-manager_v1.23.3 succeeded
I0327 17:44:34.393298   46114 cache.go:80] save to tar file docker.io/kubernetesui/dashboard:v2.3.1 -> /Users/brandonros/.minikube/cache/images/arm64/docker.io/kubernetesui/dashboard_v2.3.1 succeeded
I0327 17:44:34.393120   46114 cache.go:208] Successfully downloaded all kic artifacts
I0327 17:44:34.393318   46114 cache.go:80] save to tar file gcr.io/k8s-minikube/storage-provisioner:v5 -> /Users/brandonros/.minikube/cache/images/arm64/gcr.io/k8s-minikube/storage-provisioner_v5 succeeded
I0327 17:44:34.393321   46114 cache.go:96] cache image "k8s.gcr.io/coredns/coredns:v1.8.6" -> "/Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/coredns/coredns_v1.8.6" took 494.792µs
I0327 17:44:34.393345   46114 cache.go:80] save to tar file k8s.gcr.io/coredns/coredns:v1.8.6 -> /Users/brandonros/.minikube/cache/images/arm64/k8s.gcr.io/coredns/coredns_v1.8.6 succeeded
I0327 17:44:34.393349   46114 cache.go:87] Successfully saved all images to host disk.
I0327 17:44:34.393354   46114 start.go:313] acquiring machines lock for minikube: {Name:mk8c213c6346d0e843654524f8eb4dfd51167654 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I0327 17:44:34.393386   46114 start.go:317] acquired machines lock for "minikube" in 24.958µs
I0327 17:44:34.393407   46114 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.30@sha256:02c921df998f95e849058af14de7045efc3954d90320967418a0d1f182bbc0b2 Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:ssh HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:127.0.0.1 SSHUser:core SSHKey:~/.ssh/id_rsa SSHPort:2222 KubernetesConfig:{KubernetesVersion:v1.23.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:crio CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[{Component:kubelet Key:housekeeping-interval Value:5m}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false} &{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}
I0327 17:44:34.393487   46114 start.go:126] createHost starting for "" (driver="ssh")
I0327 17:44:34.393750   46114 ssh_runner.go:195] Run: systemctl --version
I0327 17:44:34.394233   46114 retry.go:31] will retry after 276.165072ms: new client: new client: Error creating new ssh host from driver: Error getting ssh host name for driver: IP address is not set
I0327 17:44:34.671553   46114 retry.go:31] will retry after 540.190908ms: new client: new client: Error creating new ssh host from driver: Error getting ssh host name for driver: IP address is not set
I0327 17:44:35.212941   46114 retry.go:31] will retry after 655.06503ms: new client: new client: Error creating new ssh host from driver: Error getting ssh host name for driver: IP address is not set
I0327 17:44:35.869447   46114 start.go:129] duration metric: createHost completed in 1.475955s
I0327 17:44:35.869493   46114 start.go:80] releasing machines lock for "minikube", held for 1.476130667s
W0327 17:44:35.870062   46114 start.go:570] error starting host: config: please provide real IP address
I0327 17:44:35.870360   46114 cli_runner.go:133] Run: docker container inspect minikube --format={{.State.Status}}
W0327 17:44:36.732667   46114 cli_runner.go:180] docker container inspect minikube --format={{.State.Status}} returned with exit code 1
I0327 17:44:36.732723   46114 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": docker container inspect minikube --format={{.State.Status}}: exit status 1
stdout:


stderr:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I0327 17:44:36.732852   46114 cli_runner.go:133] Run: podman container inspect minikube --format={{.State.Status}}
I0327 17:44:36.732868   46114 delete.go:46] couldn't inspect container "minikube" before deleting: unknown state "minikube": podman container inspect minikube --format={{.State.Status}}: exec: "podman": executable file not found in $PATH
stdout:

stderr:
W0327 17:44:36.732882   46114 start.go:575] delete host: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
W0327 17:44:36.733177   46114 out.go:241] 🤦  StartHost failed, but will try again: config: please provide real IP address
🤦  StartHost failed, but will try again: config: please provide real IP address
I0327 17:44:36.733182   46114 start.go:585] Will try again in 5 seconds ...
I0327 17:44:41.733773   46114 start.go:313] acquiring machines lock for minikube: {Name:mk8c213c6346d0e843654524f8eb4dfd51167654 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I0327 17:44:41.734184   46114 start.go:317] acquired machines lock for "minikube" in 297.584µs
I0327 17:44:41.734228   46114 start.go:89] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.30@sha256:02c921df998f95e849058af14de7045efc3954d90320967418a0d1f182bbc0b2 Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:ssh HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:127.0.0.1 SSHUser:core SSHKey:~/.ssh/id_rsa SSHPort:2222 KubernetesConfig:{KubernetesVersion:v1.23.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:crio CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[{Component:kubelet Key:housekeeping-interval Value:5m}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/Users:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false} &{Name: IP: Port:8443 KubernetesVersion:v1.23.3 ContainerRuntime:crio ControlPlane:true Worker:true}
I0327 17:44:41.734595   46114 start.go:126] createHost starting for "" (driver="ssh")
I0327 17:44:41.734702   46114 start.go:129] duration metric: createHost completed in 86.042µs
I0327 17:44:41.734738   46114 start.go:80] releasing machines lock for "minikube", held for 511.791µs
W0327 17:44:41.735117   46114 out.go:241] 😿  Failed to start ssh bare metal machine. Running "minikube delete" may fix it: config: please provide real IP address
😿  Failed to start ssh bare metal machine. Running "minikube delete" may fix it: config: please provide real IP address
I0327 17:44:41.755731   46114 out.go:176] 

W0327 17:44:41.756129   46114 out.go:241] ❌  Exiting due to GUEST_PROVISION: Failed to start host: config: please provide real IP address
❌  Exiting due to GUEST_PROVISION: Failed to start host: config: please provide real IP address
W0327 17:44:41.756153   46114 out.go:241] 

W0327 17:44:41.758412   46114 out.go:241] ╭───────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                           │
│    😿  If the above advice does not help, please let us know:                             │
│    👉  https://github.com/kubernetes/minikube/issues/new/choose                           │
│                                                                                           │
│    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    │
│                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                           │
│    😿  If the above advice does not help, please let us know:                             │
│    👉  https://github.com/kubernetes/minikube/issues/new/choose                           │
│                                                                                           │
│    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    │
│                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0327 17:44:41.810729   46114 out.go:176] 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/generic-driver kind/documentation Categorizes issue or PR as related to documentation. kind/support Categorizes issue or PR as a support question. needs-solution-message Issues where where offering a solution for an error would be helpful
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants