kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
28.88k stars 4.83k forks source link

ssh driver doesn't work. Can someone confirm that it works connecting from a macbook m1 to another linux x86 VM? #15604

Closed bayeslearner closed 1 month ago

bayeslearner commented 1 year ago

What Happened?

See below. Running minikube in x86 (rosetta mode). See the errors below. Without rosetta, it seems to be download ARM64 version of kubernetes components to remote?

bayes-pro:~ kundeng$  minikube start -p minikube --driver=ssh --ssh-ip-address=192.168.1.234 --ssh-user=vagrant --ssh-key=~/.ssh/id_rsa --alsologtostderr
I0106 22:18:26.245156   57084 out.go:296] Setting OutFile to fd 1 ...
I0106 22:18:26.247262   57084 out.go:348] isatty.IsTerminal(1) = true
I0106 22:18:26.247314   57084 out.go:309] Setting ErrFile to fd 2...
I0106 22:18:26.247321   57084 out.go:348] isatty.IsTerminal(2) = true
I0106 22:18:26.260467   57084 out.go:177] ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                          │
│    You are trying to run the amd64 binary on an M1 system.                                               │
│    Please consider running the darwin/arm64 binary instead.                                              │
│    Download at https://github.com/kubernetes/minikube/releases/download/v1.28.0/minikube-darwin-arm64    │
│                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                          │
│    You are trying to run the amd64 binary on an M1 system.                                               │
│    Please consider running the darwin/arm64 binary instead.                                              │
│    Download at https://github.com/kubernetes/minikube/releases/download/v1.28.0/minikube-darwin-arm64    │
│                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
I0106 22:18:26.266052   57084 root.go:334] Updating PATH: /Users/kundeng/.minikube/bin
I0106 22:18:26.274742   57084 out.go:303] Setting JSON to false
I0106 22:18:26.326556   57084 start.go:116] hostinfo: {"hostname":"bayes-pro.local","uptime":435399,"bootTime":1672626107,"procs":561,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"13.0","kernelVersion":"22.1.0","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"171106a3-6013-5f23-b38f-3eac1ecbb658"}
W0106 22:18:26.326958   57084 start.go:124] gopshost.Virtualization returned error: not implemented yet
I0106 22:18:26.332564   57084 out.go:177] 😄  minikube v1.28.0 on Darwin 13.0
😄  minikube v1.28.0 on Darwin 13.0
I0106 22:18:26.352356   57084 notify.go:220] Checking for updates...
I0106 22:18:26.358063   57084 config.go:180] Loaded profile config "minikube": Driver=ssh, ContainerRuntime=docker, KubernetesVersion=v1.25.3
I0106 22:18:26.362231   57084 ssh_runner.go:195] Run: systemctl --version
I0106 22:18:26.364098   57084 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
I0106 22:18:26.641693   57084 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
I0106 22:18:27.183132   57084 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
I0106 22:18:27.842450   57084 driver.go:365] Setting default libvirt URI to qemu:///system
I0106 22:18:27.848756   57084 out.go:177] ✨  Using the ssh driver based on existing profile
✨  Using the ssh driver based on existing profile
I0106 22:18:27.858183   57084 start.go:282] selected driver: ssh
I0106 22:18:27.859225   57084 start.go:808] validating driver "ssh" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.36@sha256:8debc1b6a335075c5f99bfbf131b4f5566f68c6500dc5991817832e55fcc9456 Memory:6000 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 APIServerPort:0 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:192.168.1.234 SSHUser:vagrant SSHKey:~/.ssh/id_rsa SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.25.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.1.234 Port:8443 KubernetesVersion:v1.25.3 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: 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 DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath:/opt/socket_vmnet/bin/socket_vmnet_client SocketVMnetPath:/var/run/socket_vmnet}
I0106 22:18:27.862394   57084 start.go:819] status for ssh: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc: Version:}
I0106 22:18:27.867826   57084 cni.go:95] Creating CNI manager for ""
I0106 22:18:27.868102   57084 cni.go:169] CNI unnecessary in this configuration, recommending no CNI
I0106 22:18:27.868426   57084 start_flags.go:317] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.36@sha256:8debc1b6a335075c5f99bfbf131b4f5566f68c6500dc5991817832e55fcc9456 Memory:6000 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 APIServerPort:0 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress:192.168.1.234 SSHUser:vagrant SSHKey:~/.ssh/id_rsa SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.25.3 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP:192.168.1.234 Port:8443 KubernetesVersion:v1.25.3 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: 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 DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath:/opt/socket_vmnet/bin/socket_vmnet_client SocketVMnetPath:/var/run/socket_vmnet}
I0106 22:18:27.878613   57084 out.go:177] 👍  Starting control plane node minikube in cluster minikube
👍  Starting control plane node minikube in cluster minikube
I0106 22:18:27.882892   57084 preload.go:132] Checking if preload exists for k8s version v1.25.3 and runtime docker
I0106 22:18:27.885481   57084 profile.go:148] Saving config to /Users/kundeng/.minikube/profiles/minikube/config.json ...
I0106 22:18:27.889114   57084 cache.go:107] acquiring lock: {Name:mke0c0b02069ae84d782b4d930bb25166527a974 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.889263   57084 cache.go:107] acquiring lock: {Name:mk5a5671d80a0f669e386e1fbbae5878c0ee0b6a Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.889329   57084 cache.go:107] acquiring lock: {Name:mkf5f8b69c5e9a6f765aa7120af7122397d14815 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.889403   57084 cache.go:107] acquiring lock: {Name:mk1e6cd872379c9d0eb9dfcaeb5ec8440693573a Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.889963   57084 cache.go:107] acquiring lock: {Name:mkced353033c9d79eca5a20fa1f39431979d35bc Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.890086   57084 cache.go:107] acquiring lock: {Name:mk78435bea49a055c332a363258be5dd2f33c394 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.891737   57084 cache.go:107] acquiring lock: {Name:mkcf18b876e4bdee8193cf6960cd017ffe9d9ce8 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.892733   57084 cache.go:107] acquiring lock: {Name:mk7d533dd7e90eddc28ef3a7ac62339ba0699c59 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0106 22:18:27.892935   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/gcr.io/k8s-minikube/storage-provisioner_v5 exists
I0106 22:18:27.893004   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-scheduler_v1.25.3 exists
I0106 22:18:27.893015   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-apiserver_v1.25.3 exists
I0106 22:18:27.893028   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-controller-manager_v1.25.3 exists
I0106 22:18:27.893040   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/coredns/coredns_v1.9.3 exists
I0106 22:18:27.893045   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-proxy_v1.25.3 exists
I0106 22:18:27.893092   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/etcd_3.5.4-0 exists
I0106 22:18:27.893151   57084 cache.go:115] /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/pause_3.8 exists
I0106 22:18:27.893232   57084 cache.go:96] cache image "registry.k8s.io/pause:3.8" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/pause_3.8" took 3.189042ms
I0106 22:18:27.893258   57084 cache.go:80] save to tar file registry.k8s.io/pause:3.8 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/pause_3.8 succeeded
I0106 22:18:27.893269   57084 cache.go:96] cache image "registry.k8s.io/kube-proxy:v1.25.3" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-proxy_v1.25.3" took 5.738ms
I0106 22:18:27.893300   57084 cache.go:80] save to tar file registry.k8s.io/kube-proxy:v1.25.3 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-proxy_v1.25.3 succeeded
I0106 22:18:27.893294   57084 cache.go:96] cache image "gcr.io/k8s-minikube/storage-provisioner:v5" -> "/Users/kundeng/.minikube/cache/images/amd64/gcr.io/k8s-minikube/storage-provisioner_v5" took 5.881ms
I0106 22:18:27.893313   57084 cache.go:80] save to tar file gcr.io/k8s-minikube/storage-provisioner:v5 -> /Users/kundeng/.minikube/cache/images/amd64/gcr.io/k8s-minikube/storage-provisioner_v5 succeeded
I0106 22:18:27.893340   57084 cache.go:96] cache image "registry.k8s.io/coredns/coredns:v1.9.3" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/coredns/coredns_v1.9.3" took 6.07675ms
I0106 22:18:27.893366   57084 cache.go:80] save to tar file registry.k8s.io/coredns/coredns:v1.9.3 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/coredns/coredns_v1.9.3 succeeded
I0106 22:18:27.893365   57084 cache.go:96] cache image "registry.k8s.io/etcd:3.5.4-0" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/etcd_3.5.4-0" took 6.38825ms
I0106 22:18:27.893375   57084 cache.go:80] save to tar file registry.k8s.io/etcd:3.5.4-0 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/etcd_3.5.4-0 succeeded
I0106 22:18:27.893460   57084 cache.go:96] cache image "registry.k8s.io/kube-apiserver:v1.25.3" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-apiserver_v1.25.3" took 5.82075ms
I0106 22:18:27.893475   57084 cache.go:80] save to tar file registry.k8s.io/kube-apiserver:v1.25.3 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-apiserver_v1.25.3 succeeded
I0106 22:18:27.893521   57084 cache.go:96] cache image "registry.k8s.io/kube-scheduler:v1.25.3" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-scheduler_v1.25.3" took 6.401125ms
I0106 22:18:27.893536   57084 cache.go:80] save to tar file registry.k8s.io/kube-scheduler:v1.25.3 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-scheduler_v1.25.3 succeeded
I0106 22:18:27.893564   57084 cache.go:96] cache image "registry.k8s.io/kube-controller-manager:v1.25.3" -> "/Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-controller-manager_v1.25.3" took 1.886708ms
I0106 22:18:27.893583   57084 cache.go:80] save to tar file registry.k8s.io/kube-controller-manager:v1.25.3 -> /Users/kundeng/.minikube/cache/images/amd64/registry.k8s.io/kube-controller-manager_v1.25.3 succeeded
I0106 22:18:27.893704   57084 cache.go:87] Successfully saved all images to host disk.
I0106 22:18:27.893884   57084 cache.go:208] Successfully downloaded all kic artifacts
I0106 22:18:27.894359   57084 start.go:364] acquiring machines lock for minikube: {Name:mk3d1387e9773b0d36cd5352e7ac55b705890725 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I0106 22:18:27.894437   57084 start.go:368] acquired machines lock for "minikube" in 61.458µs
I0106 22:18:27.894527   57084 start.go:96] Skipping create...Using existing machine configuration
I0106 22:18:27.894625   57084 fix.go:55] fixHost starting:
I0106 22:18:27.901054   57084 fix.go:103] recreateIfNeeded on minikube: state=Running err=<nil>
W0106 22:18:27.901127   57084 fix.go:129] unexpected machine state, will restart: <nil>
I0106 22:18:27.911228   57084 out.go:177] 🏃  Updating the running ssh "minikube" bare metal machine ...
🏃  Updating the running ssh "minikube" bare metal machine ...
I0106 22:18:27.915801   57084 machine.go:88] provisioning docker machine ...
I0106 22:18:27.916478   57084 main.go:134] libmachine: Waiting for SSH to be available...
I0106 22:18:27.916711   57084 main.go:134] libmachine: Getting to WaitForSSH function...
I0106 22:18:27.917099   57084 main.go:134] libmachine: Using SSH client type: native
I0106 22:18:27.917338   57084 main.go:134] libmachine: &{{{<nil> 0 [] [] []} vagrant [] 0x1003f1020 <nil>  [] 0s} 192.168.1.234 22 <nil> <nil>}
I0106 22:18:27.917780   57084 main.go:134] libmachine: About to run SSH command:
exit 0
I0106 22:18:27.965715   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:31.101152   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:34.213756   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:37.339971   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:40.478272   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:43.618387   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:46.759540   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:49.887322   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:52.936542   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:56.016168   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:18:59.059244   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:02.104639   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:05.155446   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:08.287229   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:11.430783   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:14.606399   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:17.719776   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:20.857835   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:23.994541   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:27.112431   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:30.259887   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:33.308029   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:36.387721   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:39.523463   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:42.570161   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:45.708947   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:48.756673   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:51.806553   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:54.931376   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:19:58.076030   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:01.210495   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:04.340665   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:07.387553   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:10.427682   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:13.471756   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:16.524814   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:19.578448   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:22.714895   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:25.848750   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:28.990062   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:32.032482   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:35.087385   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:38.149046   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:41.194889   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:44.249570   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:47.378022   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:50.510087   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:53.635211   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:56.674875   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:20:59.737206   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:02.783119   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:05.829035   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:08.879682   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:12.015003   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:15.160922   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:18.300260   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:21.470612   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:24.670861   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:27.793468   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:30.904221   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:33.905455   57084 main.go:134] libmachine: SSH cmd err, output: <nil>:
I0106 22:21:33.905650   57084 main.go:134] libmachine: Detecting the provisioner...
I0106 22:21:33.906100   57084 main.go:134] libmachine: Using SSH client type: native
I0106 22:21:33.906175   57084 main.go:134] libmachine: &{{{<nil> 0 [] [] []} vagrant [] 0x1003f1020 <nil>  [] 0s} 192.168.1.234 22 <nil> <nil>}
I0106 22:21:33.906204   57084 main.go:134] libmachine: About to run SSH command:
cat /etc/os-release
I0106 22:21:34.029465   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:37.153206   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:40.197500   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:43.241967   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:46.333895   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:49.370423   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:52.488451   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:55.547944   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:21:58.702948   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:01.840320   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:04.973104   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:08.109785   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:11.268768   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:14.402040   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:17.531745   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:20.580038   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:23.642667   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:26.686640   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:29.729172   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:32.777980   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
I0106 22:22:35.908035   57084 main.go:134] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
...

Attach the log file

See above.

Operating System

macOS (Default)

Driver

SSH

afbjorklund commented 1 year ago

No, this is a bug... The minikube code only has one "arch" variable, not two of them (one for host, one for cluster)

You can use kubectl and kubeadm directly, to setup and connect from the arm64 laptop to the amd64 cluster.

But with the workaround (running an emulated binary), it should have been able to connect.

You might have to resort to other means of troubleshooting, like --native-ssh=false.

afbjorklund commented 1 year ago

Same basic problem as:

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

logopk commented 1 year ago

/remove-lifecycle stale

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

logopk commented 1 year ago

/remove-lifecycle stale

k8s-triage-robot commented 6 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

logopk commented 6 months ago

/remove-lifecycle stale

k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 2 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

logopk commented 2 months ago

/remove-lifecycle rotten

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 1 month ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes/minikube/issues/15604#issuecomment-2184138456): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
logopk commented 1 month ago

/reopen