-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
co/podman-driverpodman driver issuespodman driver issueskind/bugCategorizes issue or PR as related to a bug.Categorizes 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.Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Description
Cosa è successo?
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
- Install Fedora 42 with Podman 5.7.0 still configured to use BoltDB.
- Ensure the BoltDB deprecation warning is not suppressed.
- Run:
or
minikube start --driver=podman
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:
- Suppress the BoltDB warning for sudo commands and Wait for safe db migration
echo "SUPPRESS_BOLTDB_WARNING=true" >> /etc/environment
- DISRUPTIVE WAY migrate BoltDB, but lost your current minikube profile
Allegare il file di log
Sistema operativo
Redhat/Fedora
Driver
Podman
Metadata
Metadata
Assignees
Labels
co/podman-driverpodman driver issuespodman driver issueskind/bugCategorizes issue or PR as related to a bug.Categorizes 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.Lowest priority. Possibly useful, but not yet enough support to actually get it done.