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

Minikube / Debian / Podman (versions in the ticket) #12823

Closed
albertux opened this issue Oct 30, 2021 · 3 comments
Closed

Minikube / Debian / Podman (versions in the ticket) #12823

albertux opened this issue Oct 30, 2021 · 3 comments

Comments

@albertux
Copy link

$ minikube -v
minikube version: v1.23.2
$ podman version
Version:      3.0.1
API Version:  3.0.0
Go Version:   go1.15.9
Built:        Wed Dec 31 16:00:00 1969
OS/Arch:      linux/amd64
$ uname -a
Linux voyager 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
# Debian 11 Bullseye

$ minikube start --driver=podman --alsologtostderr -v=7 2>&1 | tee minikube.log
I1029 18:38:01.846493 222789 out.go:298] Setting OutFile to fd 1 ...
I1029 18:38:01.846636 222789 out.go:350] isatty.IsTerminal(1) = false
I1029 18:38:01.846643 222789 out.go:311] Setting ErrFile to fd 2...
I1029 18:38:01.846659 222789 out.go:350] isatty.IsTerminal(2) = false
I1029 18:38:01.846892 222789 root.go:313] Updating PATH: /home/aayala/.minikube/bin
I1029 18:38:01.847276 222789 out.go:305] Setting JSON to false
I1029 18:38:01.920495 222789 start.go:111] hostinfo: {"hostname":"voyager","uptime":87052,"bootTime":1635470829,"procs":178,"os":"linux","platform":"debian","platformFamily":"debian","platformVersion":"11.1","kernelVersion":"5.10.0-9-amd64","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"2abc9b39-ca25-4d68-b6c5-f5f0cf9acdb1"}
I1029 18:38:01.920627 222789 start.go:121] virtualization: kvm host
I1029 18:38:01.924084 222789 out.go:177] * minikube v1.23.2 on Debian 11.1

  • minikube v1.23.2 on Debian 11.1
    I1029 18:38:01.924416 222789 notify.go:169] Checking for updates...
    I1029 18:38:01.925019 222789 config.go:177] Loaded profile config "minikube": Driver=podman, ContainerRuntime=docker, KubernetesVersion=v1.22.2
    I1029 18:38:01.925574 222789 driver.go:343] Setting default libvirt URI to qemu:///system
    I1029 18:38:02.052893 222789 podman.go:121] podman version: 3.0.1
    I1029 18:38:02.055788 222789 out.go:177] * Using the podman driver based on existing profile
  • Using the podman driver based on existing profile
    I1029 18:38:02.055827 222789 start.go:278] selected driver: podman
    I1029 18:38:02.055837 222789 start.go:751] validating driver "podman" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:podman HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.22.2 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: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.22.2 ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0}
    I1029 18:38:02.055981 222789 start.go:762] status for podman: {Installed:true Healthy:true Running:false NeedsImprovement:false Error: Reason: Fix: Doc:}
    I1029 18:38:02.056109 222789 cli_runner.go:115] Run: sudo -n podman system info --format json
    I1029 18:38:02.464818 222789 info.go:285] podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1409900544 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
    commit: 1.0.0
    rc93+ds1-5+b2
    spec: 1.0.2-dev
    go: go1.15.9
    libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 10m 52.47s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
    I1029 18:38:02.465933 222789 cni.go:93] Creating CNI manager for ""
    I1029 18:38:02.465953 222789 cni.go:167] CNI unnecessary in this configuration, recommending no CNI
    I1029 18:38:02.465964 222789 start_flags.go:278] config:
    {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:podman HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.22.2 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: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.22.2 ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop: ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false ExtraDisks:0}
    I1029 18:38:02.470977 222789 out.go:177] * Starting control plane node minikube in cluster minikube
  • Starting control plane node minikube in cluster minikube
    I1029 18:38:02.471054 222789 cache.go:118] Beginning downloading kic base image for podman with docker
    I1029 18:38:02.474005 222789 out.go:177] * Pulling base image ...
  • Pulling base image ...
    I1029 18:38:02.474054 222789 preload.go:131] Checking if preload exists for k8s version v1.22.2 and runtime docker
    I1029 18:38:02.474115 222789 preload.go:147] Found local preload: /home/aayala/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v13-v1.22.2-docker-overlay2-amd64.tar.lz4
    I1029 18:38:02.474130 222789 cache.go:57] Caching tarball of preloaded images
    I1029 18:38:02.474215 222789 cache.go:146] Downloading gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de to local cache
    I1029 18:38:02.474439 222789 preload.go:173] Found /home/aayala/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v13-v1.22.2-docker-overlay2-amd64.tar.lz4 in cache, skipping download
    I1029 18:38:02.474472 222789 cache.go:60] Finished verifying existence of preloaded tar for v1.22.2 on docker
    I1029 18:38:02.474552 222789 image.go:59] Checking for gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de in local cache directory
    I1029 18:38:02.474568 222789 image.go:62] Found gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de in local cache directory, skipping pull
    I1029 18:38:02.474574 222789 image.go:103] gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de exists in cache, skipping pull
    I1029 18:38:02.474593 222789 cache.go:149] successfully saved gcr.io/k8s-minikube/kicbase:v0.0.27@sha256:89b4738ee74ba28684676e176752277f0db46f57d27f0e08c3feec89311e22de as a tarball
    I1029 18:38:02.474642 222789 profile.go:148] Saving config to /home/aayala/.minikube/profiles/minikube/config.json ...
    E1029 18:38:02.474950 222789 cache.go:201] Error downloading kic artifacts: not yet implemented, see issue podman: load kic base image from cache if available for offline mode #8426
    I1029 18:38:02.474967 222789 cache.go:206] Successfully downloaded all kic artifacts
    I1029 18:38:02.474993 222789 start.go:313] acquiring machines lock for minikube: {Name:mka4e66f6c1eb814e345badc2c88d96406660dd2 Clock:{} Delay:500ms Timeout:10m0s Cancel:}
    I1029 18:38:02.475132 222789 start.go:317] acquired machines lock for "minikube" in 81.881µs
    I1029 18:38:02.475155 222789 start.go:93] Skipping create...Using existing machine configuration
    I1029 18:38:02.475162 222789 fix.go:55] fixHost starting:
    I1029 18:38:02.475490 222789 cli_runner.go:115] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
    W1029 18:38:02.596498 222789 cli_runner.go:162] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 125
    I1029 18:38:02.596586 222789 fix.go:108] recreateIfNeeded on minikube: state= err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
    stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:02.596612 222789 fix.go:113] machineExists: true. err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
W1029 18:38:02.596626 222789 fix.go:134] unexpected machine state, will restart: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:02.599774 222789 out.go:177] * Restarting existing podman container for "minikube" ...

  • Restarting existing podman container for "minikube" ...
    I1029 18:38:02.599883 222789 cli_runner.go:115] Run: sudo -n podman start --cgroup-manager cgroupfs minikube
    W1029 18:38:02.716498 222789 cli_runner.go:162] sudo -n podman start --cgroup-manager cgroupfs minikube returned with exit code 125
    I1029 18:38:02.716709 222789 cli_runner.go:115] Run: sudo -n podman inspect minikube
    W1029 18:38:02.832476 222789 cli_runner.go:162] sudo -n podman inspect minikube returned with exit code 125
    W1029 18:38:02.832517 222789 errors.go:82] Failed to get postmortem inspect. sudo -n podman inspect minikube :sudo -n podman inspect minikube: exit status 125
    stdout:
    []

stderr:
Error: error inspecting object: no such object: "minikube"
I1029 18:38:02.832609 222789 cli_runner.go:115] Run: sudo -n podman logs --timestamps minikube
W1029 18:38:02.940571 222789 cli_runner.go:162] sudo -n podman logs --timestamps minikube returned with exit code 125
W1029 18:38:02.940629 222789 errors.go:89] Failed to get postmortem logs. sudo -n podman logs --timestamps minikube :sudo -n podman logs --timestamps minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID minikube found: no such container
I1029 18:38:02.940716 222789 cli_runner.go:115] Run: sudo -n podman system info --format json
I1029 18:38:03.320621 222789 info.go:285] podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1399873536 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 10m 53.33s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:03.320677 222789 errors.go:106] postmortem podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1399873536 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 10m 53.33s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:03.320757 222789 network_create.go:255] running [podman network inspect minikube] to gather additional debugging logs...
I1029 18:38:03.320798 222789 cli_runner.go:115] Run: sudo -n podman network inspect minikube
W1029 18:38:03.444459 222789 cli_runner.go:162] sudo -n podman network inspect minikube returned with exit code 125
I1029 18:38:03.444497 222789 network_create.go:258] error running [sudo -n podman network inspect minikube]: sudo -n podman network inspect minikube: exit status 125
stdout:
[]

stderr:
Error: error inspecting object: no such network minikube
I1029 18:38:03.444533 222789 network_create.go:260] output of [sudo -n podman network inspect minikube]: -- stdout --
[]

-- /stdout --
** stderr **
Error: error inspecting object: no such network minikube

** /stderr **
I1029 18:38:03.444625 222789 cli_runner.go:115] Run: sudo -n podman system info --format json
I1029 18:38:03.836647 222789 info.go:285] podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1400537088 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 10m 53.83s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:03.837252 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube
W1029 18:38:03.968542 222789 cli_runner.go:162] sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube returned with exit code 125
I1029 18:38:03.968682 222789 ssh_runner.go:152] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I1029 18:38:03.968758 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:04.088491 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:04.204515 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1029 18:38:04.204699 222789 retry.go:31] will retry after 276.165072ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:04.481283 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:04.600684 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:04.712488 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1029 18:38:04.712637 222789 retry.go:31] will retry after 540.190908ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:05.253214 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:05.364608 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:05.480478 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1029 18:38:05.480636 222789 start.go:257] 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: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

W1029 18:38:05.480660 222789 start.go:239] 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: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:05.480671 222789 fix.go:57] fixHost completed within 3.005509328s
I1029 18:38:05.480695 222789 start.go:80] releasing machines lock for "minikube", held for 3.005547494s
W1029 18:38:05.480728 222789 start.go:522] error starting host: podman inspect ip minikube: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
W1029 18:38:05.480900 222789 out.go:242] ! StartHost failed, but will try again: podman inspect ip minikube: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

! StartHost failed, but will try again: podman inspect ip minikube: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

I1029 18:38:05.480911 222789 start.go:537] Will try again in 5 seconds ...
I1029 18:38:10.483703 222789 start.go:313] acquiring machines lock for minikube: {Name:mka4e66f6c1eb814e345badc2c88d96406660dd2 Clock:{} Delay:500ms Timeout:10m0s Cancel:}
I1029 18:38:10.483884 222789 start.go:317] acquired machines lock for "minikube" in 131.025µs
I1029 18:38:10.483922 222789 start.go:93] Skipping create...Using existing machine configuration
I1029 18:38:10.483931 222789 fix.go:55] fixHost starting:
I1029 18:38:10.484300 222789 cli_runner.go:115] Run: sudo -n podman container inspect minikube --format={{.State.Status}}
W1029 18:38:10.596473 222789 cli_runner.go:162] sudo -n podman container inspect minikube --format={{.State.Status}} returned with exit code 125
I1029 18:38:10.596544 222789 fix.go:108] recreateIfNeeded on minikube: state= err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:10.596562 222789 fix.go:113] machineExists: true. err=unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
W1029 18:38:10.596604 222789 fix.go:134] unexpected machine state, will restart: unknown state "minikube": sudo -n podman container inspect minikube --format={{.State.Status}}: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:10.599456 222789 out.go:177] * Restarting existing podman container for "minikube" ...

  • Restarting existing podman container for "minikube" ...
    I1029 18:38:10.599563 222789 cli_runner.go:115] Run: sudo -n podman start --cgroup-manager cgroupfs minikube
    W1029 18:38:10.716514 222789 cli_runner.go:162] sudo -n podman start --cgroup-manager cgroupfs minikube returned with exit code 125
    I1029 18:38:10.716626 222789 cli_runner.go:115] Run: sudo -n podman inspect minikube
    W1029 18:38:10.836510 222789 cli_runner.go:162] sudo -n podman inspect minikube returned with exit code 125
    W1029 18:38:10.836552 222789 errors.go:82] Failed to get postmortem inspect. sudo -n podman inspect minikube :sudo -n podman inspect minikube: exit status 125
    stdout:
    []

stderr:
Error: error inspecting object: no such object: "minikube"
I1029 18:38:10.836655 222789 cli_runner.go:115] Run: sudo -n podman logs --timestamps minikube
W1029 18:38:10.948799 222789 cli_runner.go:162] sudo -n podman logs --timestamps minikube returned with exit code 125
W1029 18:38:10.948842 222789 errors.go:89] Failed to get postmortem logs. sudo -n podman logs --timestamps minikube :sudo -n podman logs --timestamps minikube: exit status 125
stdout:

stderr:
Error: no container with name or ID minikube found: no such container
I1029 18:38:10.948924 222789 cli_runner.go:115] Run: sudo -n podman system info --format json
I1029 18:38:11.357223 222789 info.go:285] podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1409949696 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 11m 1.36s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:11.357286 222789 errors.go:106] postmortem podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1409949696 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 11m 1.36s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:11.357398 222789 network_create.go:255] running [podman network inspect minikube] to gather additional debugging logs...
I1029 18:38:11.357447 222789 cli_runner.go:115] Run: sudo -n podman network inspect minikube
W1029 18:38:11.492435 222789 cli_runner.go:162] sudo -n podman network inspect minikube returned with exit code 125
I1029 18:38:11.492477 222789 network_create.go:258] error running [sudo -n podman network inspect minikube]: sudo -n podman network inspect minikube: exit status 125
stdout:
[]

stderr:
Error: error inspecting object: no such network minikube
I1029 18:38:11.492495 222789 network_create.go:260] output of [sudo -n podman network inspect minikube]: -- stdout --
[]

-- /stdout --
** stderr **
Error: error inspecting object: no such network minikube

** /stderr **
I1029 18:38:11.492571 222789 cli_runner.go:115] Run: sudo -n podman system info --format json
I1029 18:38:11.896690 222789 info.go:285] podman info: {Host:{BuildahVersion:1.19.6 CgroupVersion:v2 Conmon:{Package:conmon: /usr/bin/conmon Path:/usr/bin/conmon Version:conmon version 2.0.25, commit: unknown} Distribution:{Distribution:debian Version:11} MemFree:1394143232 MemTotal:8170774528 OCIRuntime:{Name:runc Package:runc: /usr/bin/runc Path:/usr/bin/runc Version:runc version 1.0.0rc93+ds1
commit: 1.0.0
rc93+ds1-5+b2
spec: 1.0.2-dev
go: go1.15.9
libseccomp: 2.5.1} SwapFree:8416129024 SwapTotal:8589930496 Arch:amd64 Cpus:4 Eventlogger:journald Hostname:voyager Kernel:5.10.0-9-amd64 Os:linux Rootless:false Uptime:24h 11m 1.89s (Approximately 1.00 days)} Registries:{Search:[registry.access.redhat.com registry.fedoraproject.org docker.io]} Store:{ConfigFile:/etc/containers/storage.conf ContainerStore:{Number:0} GraphDriverName:overlay GraphOptions:{} GraphRoot:/var/lib/containers/storage GraphStatus:{BackingFilesystem:extfs NativeOverlayDiff:true SupportsDType:true UsingMetacopy:false} ImageStore:{Number:0} RunRoot:/run/containers/storage VolumePath:/var/lib/containers/storage/volumes}}
I1029 18:38:11.897253 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube
W1029 18:38:12.012436 222789 cli_runner.go:162] sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube returned with exit code 125
I1029 18:38:12.012580 222789 ssh_runner.go:152] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I1029 18:38:12.012669 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:12.128536 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:12.256758 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1029 18:38:12.256902 222789 retry.go:31] will retry after 234.428547ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:12.491729 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:12.616406 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:12.760594 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
I1029 18:38:12.760741 222789 retry.go:31] will retry after 346.739061ms: new client: new client: Error creating new ssh host from driver: Error getting ssh port for driver: get ssh host-port: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:13.108402 222789 cli_runner.go:115] Run: sudo -n podman version --format {{.Version}}
I1029 18:38:13.236544 222789 cli_runner.go:115] Run: sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
W1029 18:38:13.404696 222789 cli_runner.go:162] sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube returned with exit code 125
W1029 18:38:13.404877 222789 start.go:257] 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: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

W1029 18:38:13.404908 222789 start.go:239] 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: get port 22 for "minikube": sudo -n podman container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube
I1029 18:38:13.404955 222789 fix.go:57] fixHost completed within 2.921023997s
I1029 18:38:13.404966 222789 start.go:80] releasing machines lock for "minikube", held for 2.92106622s
W1029 18:38:13.405202 222789 out.go:242] * Failed to start podman container. Running "minikube delete" may fix it: podman inspect ip minikube: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

  • Failed to start podman container. Running "minikube delete" may fix it: podman inspect ip minikube: sudo -n podman container inspect -f {{.NetworkSettings.IPAddress}} minikube: exit status 125
    stdout:

stderr:
Error: error inspecting object: no such container minikube

I1029 18:38:13.410379 222789 out.go:177]

W1029 18:38:13.410600 222789 out.go:242] X Exiting due to GUEST_PROVISION: Failed to start host: podman inspect ip minikube: sudo -n podman container inspect -f minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

X Exiting due to GUEST_PROVISION: Failed to start host: podman inspect ip minikube: sudo -n podman container inspect -f minikube: exit status 125
stdout:

stderr:
Error: error inspecting object: no such container minikube

W1029 18:38:13.410613 222789 out.go:242] *
*
W1029 18:38:13.411808 222789 out.go:242] ╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
https://github.com/kubernetes/minikube/issues/new/choose
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
https://github.com/kubernetes/minikube/issues/new/choose
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
I1029 18:38:13.415462 222789 out.go:177]

Steps to reproduce the issue:

  1. Follow the documentation of https://minikube.sigs.k8s.io/docs/start/ for Debian systems

Run minikube logs --file=logs.txt and drag and drop the log file into this issue

Full output of failed command if not minikube start:

@klaases
Copy link
Contributor

klaases commented Jan 19, 2022

Hi @albertux – is this issue still occurring? Are additional details available?

@albertux
Copy link
Author

hi @klaases I just tested this morning again and still failing
logs.txt

@albertux
Copy link
Author

hi @klaases this time worked after I restart my desktop

`$ kubectl get po -A

NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-64897985d-mxx6h 1/1 Running 0 6m2s
kube-system etcd-minikube 1/1 Running 0 6m14s
kube-system kube-apiserver-minikube 1/1 Running 0 6m14s
kube-system kube-controller-manager-minikube 1/1 Running 0 6m17s
kube-system kube-proxy-dmxkr 1/1 Running 0 6m2s
kube-system kube-scheduler-minikube 1/1 Running 0 6m17s
kube-system storage-provisioner 1/1 Running 0 6m12s`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants