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

--static-ip To Auto Set a static IP ? #18576

Open
panktrip opened this issue Apr 4, 2024 · 1 comment
Open

--static-ip To Auto Set a static IP ? #18576

panktrip opened this issue Apr 4, 2024 · 1 comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@panktrip
Copy link

panktrip commented Apr 4, 2024

What Happened?

sometime back, @medyagh added a PR #13050 , which enables creating nodes in two different clusters but having the ip from the same docker network i.e. nodes can be reachable from each other across cluster.

I see the comment that this PR is merged, but I find it not working. I also find that as part of this PR #13050 , a new flag (--static-ip=false") was added, but now in the latest minikube I find that this flag doesn't take true/false rather it ask for value ipv4 private ip.

is it possible to re-store the functionality added by #13050 by adding some other flag in master branch?

Attach the log file

  • ==> Audit <==

  • |---------|-------------------------------------------------------|-----------|--------|---------|---------------------|---------------------|
    | Command | Args | Profile | User | Version | Start Time | End Time |
    |---------|-------------------------------------------------------|-----------|--------|---------|---------------------|---------------------|
    | start | cluster-a start --network-plugin=cni | cluster-a | pankaj | v1.32.0 | 04 Apr 24 21:44 IST | |
    | | --static-ip=false | | | | | |
    | | --extra-config=kubeadm.pod-network-cidr=10.200.0.0/16 | | | | | |
    | | minikube -p cluster-a start --network-plugin=cni | | | | | |
    | | --extra-config=kubeadm.pod-network-cidr=10.200.0.0/16 | | | | | |
    | start | c-a start --network-plugin=cni | c-a | pankaj | v1.32.0 | 04 Apr 24 21:46 IST | 04 Apr 24 21:48 IST |
    | | --extra-config=kubeadm.pod-network-cidr=10.200.0.0/16 | | | | | |
    | | --service-cluster-ip-range=10.201.0.0/16 | | | | | |
    | | --network=calico_demo | | | | | |
    | node | c-a node list | c-a | pankaj | v1.32.0 | 04 Apr 24 21:48 IST | |
    | options | | minikube | pankaj | v1.32.0 | 04 Apr 24 21:49 IST | 04 Apr 24 21:49 IST |
    | node | c-a node add --worker=true | c-a | pankaj | v1.32.0 | 04 Apr 24 21:50 IST | 04 Apr 24 21:50 IST |
    | start | c-b start --network-plugin=cni | c-b | pankaj | v1.32.0 | 04 Apr 24 22:08 IST | |
    | | --extra-config=kubeadm.pod-network-cidr=10.210.0.0/16 | | | | | |
    | | --service-cluster-ip-range=10.211.0.0/16 | | | | | |
    | | --network=calico_demo | | | | | |
    | start | c-b start --network-plugin=cni | c-b | pankaj | v1.32.0 | 04 Apr 24 22:18 IST | |
    | | --extra-config=kubeadm.pod-network-cidr=10.210.0.0/16 | | | | | |
    | | --service-cluster-ip-range=10.211.0.0/16 | | | | | |
    | | --network=calico_demo --static-ip=192.168.58.100 | | | | | |
    |---------|-------------------------------------------------------|-----------|--------|---------|---------------------|---------------------|

  • ==> Last Start <==

  • Log file created at: 2024/04/04 22:18:08
    Running on machine: IN-5CG23337LS
    Binary: Built with gc go1.21.3 for linux/amd64
    Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    I0404 22:18:08.339010 40312 out.go:296] Setting OutFile to fd 1 ...
    I0404 22:18:08.339130 40312 out.go:348] isatty.IsTerminal(1) = true
    I0404 22:18:08.339133 40312 out.go:309] Setting ErrFile to fd 2...
    I0404 22:18:08.339136 40312 out.go:348] isatty.IsTerminal(2) = true
    I0404 22:18:08.339300 40312 root.go:338] Updating PATH: /home/pankaj/.minikube/bin
    W0404 22:18:08.339389 40312 root.go:314] Error reading config file at /home/pankaj/.minikube/config/config.json: open /home/pankaj/.minikube/config/config.json: no such file or directory
    I0404 22:18:08.339499 40312 out.go:303] Setting JSON to false
    I0404 22:18:08.340080 40312 start.go:128] hostinfo: {"hostname":"IN-5CG23337LS","uptime":2493,"bootTime":1712246795,"procs":103,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"20.04","kernelVersion":"5.15.146.1-microsoft-standard-WSL2","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"guest","hostId":"20c2ee79-21f0-40b7-a670-f2e96abbf4cb"}
    I0404 22:18:08.340118 40312 start.go:138] virtualization: guest
    I0404 22:18:08.347181 40312 out.go:177] 😄 [c-b] minikube v1.32.0 on Ubuntu 20.04 (amd64)
    I0404 22:18:08.356792 40312 notify.go:220] Checking for updates...
    I0404 22:18:08.357154 40312 config.go:182] Loaded profile config "c-b": Driver=docker, ContainerRuntime=docker, KubernetesVersion=v1.28.3
    I0404 22:18:08.357259 40312 driver.go:378] Setting default libvirt URI to qemu:///system
    I0404 22:18:08.414253 40312 docker.go:122] docker version: linux-26.0.0:Docker Engine - Community
    I0404 22:18:08.414331 40312 cli_runner.go:164] Run: docker system info --format "{{json .}}"
    I0404 22:18:08.487267 40312 info.go:266] docker info: {ID:4d125ad4-9f84-4542-a3df-d5cb5c19e258 Containers:3 ContainersRunning:2 ContainersPaused:0 ContainersStopped:1 Images:1 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Using metacopy false] [Native Overlay Diff true] [userxattr false]] SystemStatus: Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization: Log:[awslogs fluentd gcplogs gelf journald json-file local splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:40 OomKillDisable:true NGoroutines:61 SystemTime:2024-04-04 22:18:08.481823239 +0530 IST LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:0 KernelVersion:5.15.146.1-microsoft-standard-WSL2 OperatingSystem:Ubuntu 20.04.6 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:8 MemTotal:8166383616 GenericResources: DockerRootDir:/var/lib/docker HTTPProxy: HTTPSProxy: NoProxy: Name:IN-5CG23337LS Labels:[] ExperimentalBuild:false ServerVersion:26.0.0 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:ae07eda36dd25f8a1b98dfbf587313b99c0190bb Expected:ae07eda36dd25f8a1b98dfbf587313b99c0190bb} RuncCommit:{ID:v1.1.12-0-g51d5e94 Expected:v1.1.12-0-g51d5e94} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=seccomp,profile=builtin] ProductLicense: Warnings:[WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.13.1] map[Name:compose Path:/usr/libexec/docker/cli-plugins/docker-compose SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:v2.25.0]] Warnings:}}
    I0404 22:18:08.487320 40312 docker.go:295] overlay module found
    I0404 22:18:08.492189 40312 out.go:177] ✨ Using the docker driver based on existing profile
    I0404 22:18:08.496722 40312 start.go:298] selected driver: docker
    I0404 22:18:08.496727 40312 start.go:902] validating driver "docker" against &{Name:c-b KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:2200 CPUs:2 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.28.3 ClusterName:c-b Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.211.0.0/16 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubeadm Key:pod-network-cidr
    Value:10.210.0.0/16}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.28.3 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:calico_demo Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/pankaj:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0
    AutoPauseInterval:1m0s GPUs:}
    I0404 22:18:08.496770 40312 start.go:913] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc: Version:}
    I0404 22:18:08.496823 40312 cli_runner.go:164] Run: docker system info --format "{{json .}}"
    I0404 22:18:08.574232 40312 info.go:266] docker info: {ID:4d125ad4-9f84-4542-a3df-d5cb5c19e258 Containers:3 ContainersRunning:2 ContainersPaused:0 ContainersStopped:1 Images:1 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Using metacopy false] [Native Overlay Diff true] [userxattr false]] SystemStatus: Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization: Log:[awslogs fluentd gcplogs gelf journald json-file local splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:40 OomKillDisable:true NGoroutines:61 SystemTime:2024-04-04 22:18:08.56613433 +0530 IST LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:0 KernelVersion:5.15.146.1-microsoft-standard-WSL2 OperatingSystem:Ubuntu 20.04.6 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:8 MemTotal:8166383616 GenericResources: DockerRootDir:/var/lib/docker HTTPProxy: HTTPSProxy: NoProxy: Name:IN-5CG23337LS Labels:[] ExperimentalBuild:false ServerVersion:26.0.0 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:} LiveRestoreEnabled:false Isolation:
    InitBinary:docker-init ContainerdCommit:{ID:ae07eda36dd25f8a1b98dfbf587313b99c0190bb Expected:ae07eda36dd25f8a1b98dfbf587313b99c0190bb} RuncCommit:{ID:v1.1.12-0-g51d5e94 Expected:v1.1.12-0-g51d5e94} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=seccomp,profile=builtin] ProductLicense: Warnings:[WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.13.1] map[Name:compose Path:/usr/libexec/docker/cli-plugins/docker-compose SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:v2.25.0]] Warnings:}}
    W0404 22:18:08.574611 40312 out.go:239] ❗ You cannot change the static IP of an existing minikube cluster. Please first delete the cluster.
    I0404 22:18:08.574669 40312 cni.go:84] Creating CNI manager for ""
    I0404 22:18:08.574678 40312 cni.go:158] "docker" driver + "docker" container runtime found on kubernetes v1.24+, recommending bridge
    I0404 22:18:08.574686 40312 start_flags.go:323] config:
    {Name:c-b KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 Memory:2200 CPUs:2 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.28.3 ClusterName:c-b Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.211.0.0/16 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[{Component:kubeadm Key:pod-network-cidr Value:10.210.0.0/16}] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.28.3 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network:calico_demo Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:/home/pankaj:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 AutoPauseInterval:1m0s GPUs:}
    I0404 22:18:08.579614 40312 out.go:177] 👍 Starting control plane node c-b in cluster c-b
    I0404 22:18:08.584204 40312 cache.go:121] Beginning downloading kic base image for docker with docker
    I0404 22:18:08.593345 40312 out.go:177] 🚜 Pulling base image ...
    I0404 22:18:08.597765 40312 preload.go:132] Checking if preload exists for k8s version v1.28.3 and runtime docker
    I0404 22:18:08.597807 40312 preload.go:148] Found local preload: /home/pankaj/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4
    I0404 22:18:08.597813 40312 cache.go:56] Caching tarball of preloaded images
    I0404 22:18:08.597867 40312 image.go:79] Checking for gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 in local docker daemon
    I0404 22:18:08.597913 40312 preload.go:174] Found /home/pankaj/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4 in cache, skipping download
    I0404 22:18:08.597918 40312 cache.go:59] Finished verifying existence of preloaded tar for v1.28.3 on docker
    I0404 22:18:08.597991 40312 profile.go:148] Saving config to /home/pankaj/.minikube/profiles/c-b/config.json ...
    I0404 22:18:08.673572 40312 image.go:83] Found gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 in local docker daemon, skipping pull
    I0404 22:18:08.673582 40312 cache.go:144] gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 exists in daemon, skipping load
    I0404 22:18:08.673604 40312 cache.go:194] Successfully downloaded all kic artifacts
    I0404 22:18:08.673623 40312 start.go:365] acquiring machines lock for c-b: {Name:mkd169ca4b2c918c6df25410b667d8040943187a Clock:{} Delay:500ms Timeout:10m0s Cancel:}
    I0404 22:18:08.673681 40312 start.go:369] acquired machines lock for "c-b" in 45.272µs
    I0404 22:18:08.673689 40312 start.go:96] Skipping create...Using existing machine configuration
    I0404 22:18:08.673691 40312 fix.go:54] fixHost starting:
    I0404 22:18:08.673815 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
    I0404 22:18:08.721983 40312 fix.go:102] recreateIfNeeded on c-b: state= err=
    I0404 22:18:08.721999 40312 fix.go:107] machineExists: false. err=machine does not exist
    I0404 22:18:08.726711 40312 out.go:177] 🤷 docker "c-b" container is missing, will recreate.
    I0404 22:18:08.731045 40312 delete.go:124] DEMOLISHING c-b ...
    I0404 22:18:08.731091 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
    I0404 22:18:08.780507 40312 stop.go:79] host is in state
    I0404 22:18:08.780554 40312 main.go:141] libmachine: Stopping "c-b"...
    I0404 22:18:08.780588 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
    I0404 22:18:08.833346 40312 kic_runner.go:93] Run: systemctl --version
    I0404 22:18:08.833354 40312 kic_runner.go:114] Args: [docker exec --privileged c-b systemctl --version]
    I0404 22:18:08.882791 40312 kic_runner.go:93] Run: sudo service kubelet stop
    I0404 22:18:08.882798 40312 kic_runner.go:114] Args: [docker exec --privileged c-b sudo service kubelet stop]
    W0404 22:18:08.927867 40312 kic.go:453] couldn't stop kubelet. will continue with stop anyways: sudo service kubelet stop: exit status 1
    stdout:

stderr:
Error response from daemon: container 041f482771d580608abb936ed8fb1d89707897886182f601e5c4ca2bfc6bf263 is not running
I0404 22:18:08.927903 40312 kic_runner.go:93] Run: sudo service kubelet stop
I0404 22:18:08.927908 40312 kic_runner.go:114] Args: [docker exec --privileged c-b sudo service kubelet stop]
W0404 22:18:08.972482 40312 kic.go:455] couldn't force stop kubelet. will continue with stop anyways: sudo service kubelet stop: exit status 1
stdout:

stderr:
Error response from daemon: container 041f482771d580608abb936ed8fb1d89707897886182f601e5c4ca2bfc6bf263 is not running
I0404 22:18:08.972527 40312 kic_runner.go:93] Run: docker ps -a --filter=name=k8s_.(kube-system|kubernetes-dashboard|storage-gluster|istio-operator) --format={{.ID}}
I0404 22:18:08.972532 40312 kic_runner.go:114] Args: [docker exec --privileged c-b docker ps -a --filter=name=k8s_.
(kube-system|kubernetes-dashboard|storage-gluster|istio-operator) --format={{.ID}}]
I0404 22:18:09.017285 40312 kic.go:466] unable list containers : docker: docker ps -a --filter=name=k8s_.*(kube-system|kubernetes-dashboard|storage-gluster|istio-operator) --format={{.ID}}: exit status 1
stdout:

stderr:
Error response from daemon: container 041f482771d580608abb936ed8fb1d89707897886182f601e5c4ca2bfc6bf263 is not running
I0404 22:18:09.017301 40312 kic.go:476] successfully stopped kubernetes!
I0404 22:18:09.017352 40312 kic_runner.go:93] Run: pgrep kube-apiserver
I0404 22:18:09.017356 40312 kic_runner.go:114] Args: [docker exec --privileged c-b pgrep kube-apiserver]
I0404 22:18:09.103346 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:12.149848 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:15.207127 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:18.269462 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:21.344386 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:24.420778 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:27.472671 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:30.525996 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:33.576166 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:36.628788 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:39.693848 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:42.750298 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:45.801801 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:48.853093 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:51.920033 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:54.977800 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:18:58.049760 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:01.098095 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:04.152601 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:07.206511 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:10.264451 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:13.317329 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:16.374508 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:19.447945 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:22.533207 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:25.597807 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:28.647930 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:31.698894 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:34.747460 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:37.797714 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:40.846889 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:43.893211 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:46.938639 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:49.992432 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:53.072089 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:56.121379 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:19:59.181815 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:02.235453 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:05.285082 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:08.344728 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:11.405536 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:14.445195 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:17.499394 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:20.549783 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:23.602296 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:26.661365 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:29.718424 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:32.768456 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:35.815199 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:38.879015 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:41.942083 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:45.059995 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:48.189317 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:51.254300 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:54.301178 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:20:57.355708 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:00.415178 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:03.467094 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:06.522479 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:09.580217 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:12.641231 40312 stop.go:59] stop err: Maximum number of retries (60) exceeded
I0404 22:21:12.641274 40312 delete.go:128] stophost failed (probably ok): Temporary Error: stop: Maximum number of retries (60) exceeded
I0404 22:21:12.641572 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
W0404 22:21:12.686426 40312 delete.go:133] deletehost failed: Docker machine "c-b" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
I0404 22:21:12.686489 40312 cli_runner.go:164] Run: docker container inspect -f {{.Id}} c-b
I0404 22:21:12.728887 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:12.774449 40312 cli_runner.go:164] Run: docker exec --privileged -t c-b /bin/bash -c "sudo init 0"
W0404 22:21:12.815559 40312 cli_runner.go:211] docker exec --privileged -t c-b /bin/bash -c "sudo init 0" returned with exit code 1
I0404 22:21:12.815575 40312 oci.go:650] error shutdown c-b: docker exec --privileged -t c-b /bin/bash -c "sudo init 0": exit status 1
stdout:

stderr:
Error response from daemon: container 041f482771d580608abb936ed8fb1d89707897886182f601e5c4ca2bfc6bf263 is not running
I0404 22:21:13.816203 40312 cli_runner.go:164] Run: docker container inspect c-b --format={{.State.Status}}
I0404 22:21:13.864544 40312 oci.go:664] temporary error: container c-b status is but expect it to be exited
I0404 22:21:13.864555 40312 oci.go:670] Successfully shutdown container c-b
I0404 22:21:13.864586 40312 cli_runner.go:164] Run: docker rm -f -v c-b
I0404 22:21:13.918998 40312 cli_runner.go:164] Run: docker container inspect -f {{.Id}} c-b
W0404 22:21:13.964149 40312 cli_runner.go:211] docker container inspect -f {{.Id}} c-b returned with exit code 1
I0404 22:21:13.964200 40312 cli_runner.go:164] Run: docker network inspect c-b --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}}]}"
W0404 22:21:14.006538 40312 cli_runner.go:211] docker network inspect c-b --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
I0404 22:21:14.006571 40312 network_create.go:281] running [docker network inspect c-b] to gather additional debugging logs...
I0404 22:21:14.006580 40312 cli_runner.go:164] Run: docker network inspect c-b
W0404 22:21:14.047810 40312 cli_runner.go:211] docker network inspect c-b returned with exit code 1
I0404 22:21:14.047827 40312 network_create.go:284] error running [docker network inspect c-b]: docker network inspect c-b: exit status 1
stdout:
[]

stderr:
Error response from daemon: network c-b not found
I0404 22:21:14.047834 40312 network_create.go:286] output of [docker network inspect c-b]: -- stdout --
[]

-- /stdout --
** stderr **
Error response from daemon: network c-b not found

** /stderr **
I0404 22:21:14.047965 40312 fix.go:114] Sleeping 1 second for extra luck!
I0404 22:21:15.048462 40312 start.go:125] createHost starting for "" (driver="docker")
I0404 22:21:15.067736 40312 out.go:204] 🔥 Creating docker container (CPUs=2, Memory=2200MB) ...
I0404 22:21:15.067911 40312 start.go:159] libmachine.API.Create for "c-b" (driver="docker")
I0404 22:21:15.067929 40312 client.go:168] LocalClient.Create starting
I0404 22:21:15.068015 40312 main.go:141] libmachine: Reading certificate data from /home/pankaj/.minikube/certs/ca.pem
I0404 22:21:15.068047 40312 main.go:141] libmachine: Decoding PEM data...
I0404 22:21:15.068060 40312 main.go:141] libmachine: Parsing certificate...
I0404 22:21:15.068138 40312 main.go:141] libmachine: Reading certificate data from /home/pankaj/.minikube/certs/cert.pem
I0404 22:21:15.068154 40312 main.go:141] libmachine: Decoding PEM data...
I0404 22:21:15.068164 40312 main.go:141] libmachine: Parsing certificate...
I0404 22:21:15.068819 40312 cli_runner.go:164] Run: docker network inspect calico_demo --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}}]}"
I0404 22:21:15.121605 40312 network_create.go:77] Found existing network {name:calico_demo subnet:0xc0026513e0 gateway:[0 0 0 0 0 0 0 0 0 0 255 255 192 168 58 1] mtu:1500}
I0404 22:21:15.121624 40312 kic.go:121] calculated static IP "192.168.58.2" for the "c-b" container
I0404 22:21:15.121654 40312 cli_runner.go:164] Run: docker ps -a --format {{.Names}}
I0404 22:21:15.170271 40312 cli_runner.go:164] Run: docker volume create c-b --label name.minikube.sigs.k8s.io=c-b --label created_by.minikube.sigs.k8s.io=true
I0404 22:21:15.220209 40312 oci.go:103] Successfully created a docker volume c-b
I0404 22:21:15.220253 40312 cli_runner.go:164] Run: docker run --rm --name c-b-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=c-b --entrypoint /usr/bin/test -v c-b:/var gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 -d /var/lib
I0404 22:21:15.991011 40312 oci.go:107] Successfully prepared a docker volume c-b
I0404 22:21:15.991030 40312 preload.go:132] Checking if preload exists for k8s version v1.28.3 and runtime docker
I0404 22:21:15.991043 40312 kic.go:194] Starting extracting preloaded images to volume ...
I0404 22:21:15.991078 40312 cli_runner.go:164] Run: docker run --rm --entrypoint /usr/bin/tar -v /home/pankaj/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v c-b:/extractDir gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 -I lz4 -xf /preloaded.tar -C /extractDir
I0404 22:21:26.830459 40312 cli_runner.go:217] Completed: docker run --rm --entrypoint /usr/bin/tar -v /home/pankaj/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v18-v1.28.3-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v c-b:/extractDir gcr.io/k8s-minikube/kicbase:v0.0.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 -I lz4 -xf /preloaded.tar -C /extractDir: (10.839348322s)
I0404 22:21:26.830481 40312 kic.go:203] duration metric: took 10.839436 seconds to extract preloaded images to volume
W0404 22:21:26.830792 40312 cgroups_linux.go:77] Your kernel does not support swap limit capabilities or the cgroup is not mounted.
I0404 22:21:26.830852 40312 cli_runner.go:164] Run: docker info --format "'{{json .SecurityOptions}}'"
I0404 22:21:26.905018 40312 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 c-b --name c-b --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=c-b --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=c-b --network calico_demo --ip 192.168.58.2 --volume c-b:/var --security-opt apparmor=unconfined --memory=2200mb --cpus=2 -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.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0
W0404 22:21:27.046166 40312 cli_runner.go:211] docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname c-b --name c-b --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=c-b --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=c-b --network calico_demo --ip 192.168.58.2 --volume c-b:/var --security-opt apparmor=unconfined --memory=2200mb --cpus=2 -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.42@sha256:d35ac07dfda971cabee05e0deca8aeac772f885a5348e1a0c0b0a36db20fcfc0 returned with exit code 125
I0404 22:21:27.046200 40312 client.go:171] LocalClient.Create took 11.978267088s
I0404 22:21:29.046874 40312 ssh_runner.go:195] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0404 22:21:29.046948 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:29.107320 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:29.107404 40312 retry.go:31] will retry after 354.963173ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:29.463090 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:29.554115 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:29.554200 40312 retry.go:31] will retry after 515.293318ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:30.071055 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:30.189499 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:30.189561 40312 retry.go:31] will retry after 335.122391ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:30.525444 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:30.587823 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
W0404 22:21:30.587889 40312 start.go:275] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to
inspect a not running container to get SSH port
W0404 22:21:30.587895 40312 start.go:242] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh
host-port: unable to inspect a not running container to get SSH port
I0404 22:21:30.587921 40312 ssh_runner.go:195] Run: sh -c "df -BG /var | awk 'NR==2{print $4}'"
I0404 22:21:30.587936 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:30.635164 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:30.635228 40312 retry.go:31] will retry after 276.211311ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:30.912202 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:30.968767 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:30.968831 40312 retry.go:31] will retry after 383.347702ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:31.352952 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:31.417134 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:31.417201 40312 retry.go:31] will retry after 765.727745ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:32.184416 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:32.235133 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
W0404 22:21:32.235204 40312 start.go:290] error running df -BG /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect a not running container to get SSH port
W0404 22:21:32.235210 40312 start.go:247] error getting GiB of /var that is available: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect a not running container to get SSH port
I0404 22:21:32.235215 40312 start.go:128] duration metric: createHost completed in 17.186738166s
I0404 22:21:32.235248 40312 ssh_runner.go:195] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0404 22:21:32.235263 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:32.282201 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:32.282265 40312 retry.go:31] will retry after 140.232036ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:32.423532 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:32.476001 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:32.476060 40312 retry.go:31] will retry after 480.154419ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:32.956524 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:33.014073 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:33.014132 40312 retry.go:31] will retry after 442.025597ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:33.456465 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:33.529173 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
W0404 22:21:33.529241 40312 start.go:275] error running df -h /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to
inspect a not running container to get SSH port
W0404 22:21:33.529247 40312 start.go:242] error getting percentage of /var that is free: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh
host-port: unable to inspect a not running container to get SSH port
I0404 22:21:33.529272 40312 ssh_runner.go:195] Run: sh -c "df -BG /var | awk 'NR==2{print $4}'"
I0404 22:21:33.529290 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:33.576705 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:33.576761 40312 retry.go:31] will retry after 228.458329ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:33.805623 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:33.869920 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:33.869976 40312 retry.go:31] will retry after 224.667655ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:34.095906 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:34.148091 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
I0404 22:21:34.148149 40312 retry.go:31] will retry after 611.113315ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect
a not running container to get SSH port
I0404 22:21:34.759780 40312 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b
W0404 22:21:34.819442 40312 cli_runner.go:211] docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" c-b returned with exit code 1
W0404 22:21:34.819503 40312 start.go:290] error running df -BG /var: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect a not running container to get SSH port
W0404 22:21:34.819509 40312 start.go:247] error getting GiB of /var that is available: NewSession: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: unable to inspect a not running container to get SSH port
I0404 22:21:34.819513 40312 fix.go:56] fixHost completed within 3m26.145821901s
I0404 22:21:34.819517 40312 start.go:83] releasing machines lock for "c-b", held for 3m26.14583313s
W0404 22:21:34.819523 40312 start.go:691] error starting host: recreate: creating host: create: creating: create kic node: create container: can't create with that IP, address already in use
I0404 22:21:34.819530 40312 start.go:701] will skip retrying to create machine because error is not retriable: can't create with that IP, address already in use
I0404 22:21:34.838692 40312 out.go:177]
W0404 22:21:34.843397 40312 out.go:239] ❌ Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: can't create with that IP, address already in use
W0404 22:21:34.843434 40312 out.go:239]
W0404 22:21:34.844290 40312 out.go:239] ╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 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. │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
I0404 22:21:34.853576 40312 out.go:177]
*

Operating System

Ubuntu

Driver

Docker

@medyagh
Copy link
Member

medyagh commented Apr 4, 2024

@panktrip
the static-ip was implemented in https://github.com/kubernetes/minikube/pull/15553/files

the help text says

    --static-ip='':
	Set a static IP for the minikube cluster, the IP must be: private, IPv4, and the last octet must be between 2 and 254, for example 192.168.200.200 (Docker and Podman drivers only)

I dont think we had this feature before that PR and we never actually accepted true/false value for them (correct me if I am wrong) the PR you linked was a WIP that was not merged and another PR replaced it.

do you mind stating why you need a True False ?
are you trying to make sure minikube does NOT have a static IP ?

or are you trying to Make minikube choose a Random IP for you so you dont have to specificy that ?

I think in the latter case (have minikube choose an IP for you) that could be a good feature to add,

like minikube start --static-ip (if specified nothing) then just choose one for it based on available IPs

@medyagh medyagh added the triage/needs-information Indicates an issue needs more information in order to work on it. label Apr 4, 2024
@medyagh medyagh changed the title support added by #13050 is broken (not working in latest minikube) --static-ip To Auto Set a static IP ? Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants