containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.75k stars 299 forks source link

After upgrading to v1.13.2, podman extension remains in Activating state and dashboard does not display podman status #9370

Open kenbarnettpt opened 2 days ago

kenbarnettpt commented 2 days ago

Bug description

After upgrading from Podman Desktop v1.12.x x64 on Windows 10 to Podman Desktop v.1.13.2 x64 and creating a podman machine, Podman Desktop's podman extension does not leave the Activating status.

Operating system

Windows 10

Installation Method

Installer from website/GitHub releases

Version

1.13.0

Steps to reproduce

(from working v1.12.x version)

From PowerShell

podman machine stop
podman machine rm
wsl --shutdown
wsl --unregister podman-machine-default

Uninstall Podman Desktop via control panel Uninstall podman v4.x Install podman v5.2.4 using https://github.com/containers/podman/releases/download/v5.2.4/podman-5.2.4-setup.exe installer Install Podman Desktop v1.13.2 x64

From Powershell

podman machine init
podman machine set --rootful     ## For Kind (bug occurs with rootful=false as well)
podman machine start

Verify podman running state via podman info Reboot

Launch Podman Desktop

Relevant log output

PS C:\podman> podman info host: arch: amd64 buildahVersion: 1.37.3 cgroupControllers:

Additional context

No response

symplrdudley commented 22 hours ago

I also experience this. Any one else experiencing this should emoji the initial post.

axel7083 commented 6 hours ago

Hey @symplrdudley and @kenbarnettpt thanks for reporting the problem, a few question:

Collecting logs

If the problems occurs again, could you provide us the logs, here is a step by step

  1. Inside the status bar click on the lamp icon

Image

  1. Go to the Gather Logs tab

Image

  1. Collect logs when the problem is occurring

Image

symplrdudley commented 4 hours ago

podman-desktop-20241017080643.zip

axel7083 commented 4 hours ago

In the logs, we have the following lines which are a important

debug : main ↪️ [podman] Error while pinging docker as podman Error: connect ENOENT //./pipe/docker_engine
...
log : main ↪️ Activating extension podman-desktop.podman failed error:Error: Extension podman-desktop.podman activation timed out after 20 seconds
...
debug : main ↪️ [podman] Error while pinging docker as podman Error: connect ENOENT //./pipe/docker_engine

There is a possibility the timeout is too short, and the extension enter a failed state,

Image

Could you try increasing the timeout (let's put something enormous for the sake for testing like 120), and restart podman-desktop ?