Closed jean-christophe-manciot closed 1 year ago
After:
Same exact issues when not mounting anything (except the one linked to the mount):
docker: Error response from daemon: Address already in use
libmachine: Error dialing TCP: ssh: handshake failed
$ minikube start --driver=docker --cpus=4 --memory=8g --addons=ingress --alsologtostderr -v=2
I0726 16:53:24.344071 507627 out.go:296] Setting OutFile to fd 1 ...
I0726 16:53:24.344345 507627 out.go:348] isatty.IsTerminal(1) = true
I0726 16:53:24.344352 507627 out.go:309] Setting ErrFile to fd 2...
I0726 16:53:24.344359 507627 out.go:348] isatty.IsTerminal(2) = true
I0726 16:53:24.345471 507627 root.go:329] Updating PATH: /home/actionmystique/.minikube/bin
W0726 16:53:24.345562 507627 root.go:307] Error reading config file at /home/actionmystique/.minikube/config/config.json: open /home/actionmystique/.minikube/config/config.json: no such file or directory
I0726 16:53:24.345721 507627 out.go:303] Setting JSON to false
I0726 16:53:24.346924 507627 start.go:115] hostinfo: {"hostname":"samsung9-ubuntus","uptime":1809,"bootTime":1658845396,"procs":573,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"22.04","kernelVersion":"5.19.0-9-generic","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"e2f9ff1f-fd27-b17e-cf06-800b61572902"}
I0726 16:53:24.346967 507627 start.go:125] virtualization: kvm host
I0726 16:53:24.350587 507627 out.go:177] ๐ minikube v1.26.0 on Ubuntu 22.04
๐ minikube v1.26.0 on Ubuntu 22.04
I0726 16:53:24.353615 507627 notify.go:193] Checking for updates...
W0726 16:53:24.353760 507627 preload.go:295] Failed to list preload files: open /home/actionmystique/.minikube/cache/preloaded-tarball: no such file or directory
I0726 16:53:24.353767 507627 driver.go:360] Setting default libvirt URI to qemu:///system
I0726 16:53:24.375618 507627 docker.go:137] docker version: linux-20.10.17
I0726 16:53:24.375709 507627 cli_runner.go:164] Run: docker system info --format "{{json .}}"
I0726 16:53:24.424976 507627 info.go:265] docker info: {ID:ZTOK:YKO4:OBXC:ESQ7:BXJT:AO4V:FBLY:OQX3:BMBM:UEPF:QHZO:NNUF Containers:0 ContainersRunning:0 ContainersPaused:0 ContainersStopped:0 Images:0 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:false CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:true NFd:24 OomKillDisable:false NGoroutines:34 SystemTime:2022-07-26 16:53:24.390955719 +0200 CEST LoggingDriver:json-file CgroupDriver:systemd NEventsListener:0 KernelVersion:5.19.0-9-generic OperatingSystem:Ubuntu 22.04 LTS OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:16 MemTotal:32978960384 GenericResources:<nil> DockerRootDir:/media/SAMSUNG9-Virtual/Docker HTTPProxy: HTTPSProxy: NoProxy: Name:samsung9-ubuntus Labels:[] ExperimentalBuild:false ServerVersion:20.10.17 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1 Expected:10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1} RuncCommit:{ID:v1.1.2-0-ga916309 Expected:v1.1.2-0-ga916309} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=apparmor name=seccomp,profile=default name=cgroupns] ProductLicense: Warnings:<nil> ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/libexec/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.8.2-docker] map[Name:scan Path:/usr/libexec/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.17.0]] Warnings:<nil>}}
I0726 16:53:24.425069 507627 docker.go:254] overlay module found
I0726 16:53:24.430159 507627 out.go:177] โจ Using the docker driver based on user configuration
โจ Using the docker driver based on user configuration
I0726 16:53:24.432660 507627 start.go:284] selected driver: docker
I0726 16:53:24.432671 507627 start.go:805] validating driver "docker" against <nil>
I0726 16:53:24.432688 507627 start.go:816] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc: Version:}
I0726 16:53:24.433532 507627 cli_runner.go:164] Run: docker system info --format "{{json .}}"
I0726 16:53:24.483299 507627 info.go:265] docker info: {ID:ZTOK:YKO4:OBXC:ESQ7:BXJT:AO4V:FBLY:OQX3:BMBM:UEPF:QHZO:NNUF Containers:0 ContainersRunning:0 ContainersPaused:0 ContainersStopped:0 Images:0 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:false CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:true NFd:24 OomKillDisable:false NGoroutines:34 SystemTime:2022-07-26 16:53:24.449089565 +0200 CEST LoggingDriver:json-file CgroupDriver:systemd NEventsListener:0 KernelVersion:5.19.0-9-generic OperatingSystem:Ubuntu 22.04 LTS OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:16 MemTotal:32978960384 GenericResources:<nil> DockerRootDir:/media/SAMSUNG9-Virtual/Docker HTTPProxy: HTTPSProxy: NoProxy: Name:samsung9-ubuntus Labels:[] ExperimentalBuild:false ServerVersion:20.10.17 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1 Expected:10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1} RuncCommit:{ID:v1.1.2-0-ga916309 Expected:v1.1.2-0-ga916309} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=apparmor name=seccomp,profile=default name=cgroupns] ProductLicense: Warnings:<nil> ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/libexec/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.8.2-docker] map[Name:scan Path:/usr/libexec/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.17.0]] Warnings:<nil>}}
I0726 16:53:24.483400 507627 start_flags.go:296] no existing cluster config was found, will generate one from the flags
I0726 16:53:24.483564 507627 start_flags.go:835] Wait components to verify : map[apiserver:true system_pods:true]
I0726 16:53:24.486176 507627 out.go:177] ๐ Using Docker driver with root privileges
๐ Using Docker driver with root privileges
I0726 16:53:24.488671 507627 cni.go:95] Creating CNI manager for ""
I0726 16:53:24.488685 507627 cni.go:169] CNI unnecessary in this configuration, recommending no CNI
I0726 16:53:24.488697 507627 start_flags.go:310] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:8192 CPUs:4 DiskSize:20000 VMDriver: Driver:docker 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: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.24.1 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:[] 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:/home/actionmystique:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:}
I0726 16:53:24.491389 507627 out.go:177] ๐ Starting control plane node minikube in cluster minikube
๐ Starting control plane node minikube in cluster minikube
I0726 16:53:24.494048 507627 cache.go:120] Beginning downloading kic base image for docker with docker
I0726 16:53:24.496547 507627 out.go:177] ๐ Pulling base image ...
๐ Pulling base image ...
I0726 16:53:24.501388 507627 preload.go:132] Checking if preload exists for k8s version v1.24.1 and runtime docker
I0726 16:53:24.501465 507627 image.go:75] Checking for gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 in local docker daemon
I0726 16:53:24.517965 507627 cache.go:147] Downloading gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 to local cache
I0726 16:53:24.518159 507627 image.go:59] Checking for gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 in local cache directory
I0726 16:53:24.518233 507627 image.go:119] Writing gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 to local cache
I0726 16:53:24.621105 507627 preload.go:119] Found remote preload: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.24.1/preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4
I0726 16:53:24.621130 507627 cache.go:57] Caching tarball of preloaded images
I0726 16:53:24.621281 507627 preload.go:132] Checking if preload exists for k8s version v1.24.1 and runtime docker
I0726 16:53:24.631084 507627 out.go:177] ๐พ Downloading Kubernetes v1.24.1 preload ...
๐พ Downloading Kubernetes v1.24.1 preload ...
I0726 16:53:24.633695 507627 preload.go:238] getting checksum for preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4 ...
I0726 16:53:24.771257 507627 download.go:101] Downloading: https://storage.googleapis.com/minikube-preloaded-volume-tarballs/v18/v1.24.1/preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4?checksum=md5:cbe3dd94d1bd66cb19d71bba2673d3e7 -> /home/actionmystique/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4
> preloaded-images-k8s-v18-v1...: 405.83 MiB / 405.83 MiB 100.00% 94.90 Mi
> gcr.io/k8s-minikube/kicbase: 93.90 MiB / 386.00 MiB 24.33% 28.44 MiB p/sI0726 16:53:30.125589 507627 preload.go:249] saving checksum for preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4 ...
I0726 16:53:30.125644 507627 preload.go:256] verifying checksumm of /home/actionmystique/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.24.1-docker-overlay2-amd64.tar.lz4 ...
> gcr.io/k8s-minikube/kicbase: 129.14 MiB / 386.00 MiB 33.46% 29.96 MiB p/I0726 16:53:30.678608 507627 cache.go:60] Finished verifying existence of preloaded tar for v1.24.1 on docker
I0726 16:53:30.678814 507627 profile.go:148] Saving config to /home/actionmystique/.minikube/profiles/minikube/config.json ...
I0726 16:53:30.678837 507627 lock.go:35] WriteFile acquiring /home/actionmystique/.minikube/profiles/minikube/config.json: {Name:mkfd518ba1e522896c85876520be1c8d6f526d3a Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
> gcr.io/k8s-minikube/kicbase: 385.99 MiB / 386.00 MiB 100.00% 27.29 MiB p
I0726 16:53:39.516460 507627 cache.go:150] successfully saved gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 as a tarball
I0726 16:53:39.516477 507627 cache.go:161] Loading gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 from local cache
I0726 16:53:45.958982 507627 image.go:219] response: {"status":"Loading layer","progressDetail":{"current":294912,"total":28565909},"progress":"[\u003e ] 294.9kB/28.57MB","id":"867d0767a47c"}
{"status":"Loading layer","progressDetail":{"current":10616832,"total":28565909},"progress":"[==================\u003e ] 10.62MB/28.57MB","id":"867d0767a47c"}
{"status":"Loading layer","progressDetail":{"current":195,"total":195},"progress":"[==================================================\u003e] 195B/195B","id":"bb2f6b41038f"}
{"stream":"Loaded image: gcr.io/k8s-minikube/kicbase:v0.0.32\n"}
I0726 16:53:45.959114 507627 cache.go:164] successfully loaded gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 from cached tarball
I0726 16:53:45.959125 507627 cache.go:170] Downloading gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 to local daemon
I0726 16:53:45.959252 507627 image.go:75] Checking for gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 in local docker daemon
I0726 16:53:45.976852 507627 image.go:243] Writing gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 to local daemon
> gcr.io/k8s-minikube/kicbase: 0 B [_________________________] ?% ? p/s 10s
I0726 16:53:56.851201 507627 cache.go:173] successfully downloaded gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95
I0726 16:53:56.851226 507627 cache.go:208] Successfully downloaded all kic artifacts
I0726 16:53:56.851258 507627 start.go:352] acquiring machines lock for minikube: {Name:mk676a4144bb0676d0f34dd4f78652a69e46f384 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0726 16:53:56.851348 507627 start.go:356] acquired machines lock for "minikube" in 71.169ยตs
I0726 16:53:56.851369 507627 start.go:91] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 Memory:8192 CPUs:4 DiskSize:20000 VMDriver: Driver:docker 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: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.24.1 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: Port:8443 KubernetesVersion:v1.24.1 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:/home/actionmystique:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath:} &{Name: IP: Port:8443 KubernetesVersion:v1.24.1 ContainerRuntime:docker ControlPlane:true Worker:true}
I0726 16:53:56.851445 507627 start.go:131] createHost starting for "" (driver="docker")
I0726 16:53:56.856772 507627 out.go:204] ๐ฅ Creating docker container (CPUs=4, Memory=8192MB) ...
๐ฅ Creating docker container (CPUs=4, Memory=8192MB) ...| I0726 16:53:56.857145 507627 start.go:165] libmachine.API.Create for "minikube" (driver="docker")
I0726 16:53:56.857166 507627 client.go:168] LocalClient.Create starting
I0726 16:53:56.857223 507627 main.go:134] libmachine: Creating CA: /home/actionmystique/.minikube/certs/ca.pem
I0726 16:53:56.928247 507627 main.go:134] libmachine: Creating client certificate: /home/actionmystique/.minikube/certs/cert.pem
/ I0726 16:53:56.980476 507627 cli_runner.go:164] Run: docker network inspect minikube --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
W0726 16:53:56.998821 507627 cli_runner.go:211] docker network inspect minikube --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}" returned with exit code 1
I0726 16:53:56.998899 507627 network_create.go:272] running [docker network inspect minikube] to gather additional debugging logs...
I0726 16:53:56.998919 507627 cli_runner.go:164] Run: docker network inspect minikube
W0726 16:53:57.016381 507627 cli_runner.go:211] docker network inspect minikube returned with exit code 1
I0726 16:53:57.016405 507627 network_create.go:275] error running [docker network inspect minikube]: docker network inspect minikube: exit status 1
stdout:
[]
stderr: Error: No such network: minikube I0726 16:53:57.016423 507627 network_create.go:277] output of [docker network inspect minikube]: -- stdout -- []
-- /stdout -- stderr Error: No such network: minikube
/stderr I0726 16:53:57.016488 507627 cli_runner.go:164] Run: docker network inspect bridge --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}" W0726 16:53:57.034074 507627 network_create.go:84] failed to get mtu information from the docker's default network "bridge": parse subnet for bridge: invalid CIDR address: 172.18.0.0/16fe80::/64 I0726 16:53:57.034821 507627 network.go:288] reserving subnet 192.168.49.0 for 1m0s: &{mu:{state:0 sema:0} read:{v:{m:map[] amended:true}} dirty:map[192.168.49.0:0xc000738500] misses:0} I0726 16:53:57.035064 507627 network.go:235] using free private subnet 192.168.49.0/24: &{IP:192.168.49.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.49.0/24 Gateway:192.168.49.1 ClientMin:192.168.49.2 ClientMax:192.168.49.254 Broadcast:192.168.49.255 Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:}} I0726 16:53:57.035081 507627 network_create.go:115] attempt to create docker network minikube 192.168.49.0/24 with gateway 192.168.49.1 and MTU of 1500 ... I0726 16:53:57.035135 507627 cli_runner.go:164] Run: docker network create --driver=bridge --subnet=192.168.49.0/24 --gateway=192.168.49.1 -o --ip-masq -o --icc -o com.docker.network.driver.mtu=1500 --label=created_by.minikube.sigs.k8s.io=true --label=name.minikube.sigs.k8s.io=minikube minikube
stderr: docker: Error response from daemon: Address already in use. W0726 16:53:58.285169 507627 cgroups_linux.go:77] Your kernel does not support swap limit capabilities or the cgroup is not mounted. W0726 16:53:58.285196 507627 oci.go:240] Your kernel does not support CPU cfs period/quota or the cgroup is not mounted. I0726 16:53:58.285243 507627 cli_runner.go:164] Run: docker info --format "'{{json .SecurityOptions}}'" I0726 16:53:58.335031 507627 cli_runner.go:164] Run: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --network minikube --ip 192.168.49.2 --volume minikube:/var --security-opt apparmor=unconfined --memory=8192mb -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95
/kind support
Hi @jean-christophe-manciot, I see that you removed ~/.minikube
, I'm assuming your ran rm -rf
? If you want to delete the minikube home directory you should run the command minikube delete --all --purge
as that will make sure clusters are removed, otherwise if you manually delete the directory things will be hanging which could be potentially causing the address is use error.
I'd recommend you run minikube delete --all --purge
and then run docker system prune -a --volumes -f
to prune any hanging volumes, then try starting minikube again.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
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:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What Happened?
With a fresh docker installation (no prior docker container exists), everything seems to work fine up to:
Unable to extract preloaded tarball to volume
thendocker: Error response from daemon: Address already in use
libmachine: Error dialing TCP: ssh: handshake failed
stderr: Error: No such network: minikube I0726 15:46:42.504226 1137474 network_create.go:277] output of [docker network inspect minikube]: -- stdout -- []
-- /stdout -- stderr Error: No such network: minikube
/stderr I0726 15:46:42.504287 1137474 cli_runner.go:164] Run: docker network inspect bridge --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
stderr: docker: Error response from daemon: Address already in use. W0726 15:46:43.590117 1137474 cgroups_linux.go:77] Your kernel does not support swap limit capabilities or the cgroup is not mounted. W0726 15:46:43.590151 1137474 oci.go:240] Your kernel does not support CPU cfs period/quota or the cgroup is not mounted. I0726 15:46:43.590207 1137474 cli_runner.go:164] Run: docker info --format "'{{json .SecurityOptions}}'" / I0726 15:46:43.648718 1137474 cli_runner.go:164] Run: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --network minikube --ip 192.168.49.2 --volume minikube:/var --security-opt apparmor=unconfined --memory=8192mb -e container=docker --expose 8443 --volume=/home/actionmystique/src/Ansible/git-awx:/awx_devel --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.32@sha256:9190bd2393eae887316c97a74370b7d5dad8f0b2ef91ac2662bc36f7ef8e0b95 / I0726 15:46:44.048755 1137474 cli_runner.go:164] Run: docker container inspect minikube --format={{.State.Running}} I0726 15:46:44.068643 1137474 cli_runner.go:164] Run: docker container inspect minikube --format={{.State.Status}} I0726 15:46:44.088557 1137474 cli_runner.go:164] Run: docker exec minikube stat /var/lib/dpkg/alternatives/iptables
Also:
Attach the log file
โ Exiting due to DRV_CP_ENDPOINT: failed to lookup ip for "" ๐ก Suggestion:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ โ โ ๐ฟ 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. โ โ Please also attach the following file to the GitHub issue: โ โ - /tmp/minikube_logs_2e02dc5c5c2e1474337841f988877822b051a88f_0.log โ โ โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏOperating System
Ubuntu
Driver
Docker