Skip to content

Minikube fails to detect Podman container IP when BoltDB deprecation warning is emitted (Fedora 42, Podman 5.7.0, boltdb) #22537

@alekonko

Description

@alekonko

Cosa è successo?

log.txt

Minikube fails to start when using the Podman driver if Podman emits the BoltDB deprecation warning.
The warning interferes with Minikube’s parsing of podman inspect output, causing Minikube to incorrectly fall back to the lo interface (127.0.0.1) and fail with:

unable to select an IP from lo network interface

This appears to be a parsing/robustness issue in Minikube when handling non-empty stderr output from Podman.


Environment

  • OS: Fedora 42
  • Minikube: v1.36.0
  • Driver: podman
  • Podman: 5.7.0
  • Podman database backend: BoltDB (legacy)
  • Runtime: rootful (via sudo)

Steps to Reproduce

  1. Install Fedora 42 with Podman 5.7.0 still configured to use BoltDB.
  2. Ensure the BoltDB deprecation warning is not suppressed.
  3. Run:
    minikube start --driver=podman
    or
    minikube -p minikube-new start --driver=podman

Observed Behavior

  • Minikube startup fails with:

    unable to select an IP from lo network interface
    
  • Debug logs (--alsologtostderr --v=8) show Minikube retrieving network data using:

podman container inspect -f {{.NetworkSettings.IPAddress}} minikube
podman container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
  • Podman emits the following warning on stderr:
WARN[0000] The deprecated BoltDB database driver is in use. This driver will be removed in the upcoming Podman 6.0 release...

Expected Behavior

Minikube should correctly detect the Podman container IP regardless of non-fatal warnings printed to stderr by Podman.

Workarounds

Any of the following restore correct behavior:

  1. Suppress the BoltDB warning for sudo commands and Wait for safe db migration
echo "SUPPRESS_BOLTDB_WARNING=true" >> /etc/environment
  1. DISRUPTIVE WAY migrate BoltDB, but lost your current minikube profile

Allegare il file di log

log.txt

Sistema operativo

Redhat/Fedora

Driver

Podman

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/podman-driverpodman driver issueskind/bugCategorizes issue or PR as related to a bug.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions