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.84k stars 306 forks source link

Podman Machine Init failed 4.3.1 #8848

Open tppalani opened 1 month ago

tppalani commented 1 month ago

Bug description

I'm trying to install podman VDAAS windows 10 machine not sure during the podman init i'm getting below error

Downloading VM image: fedora-podman-v39.0.121.tar.xz: done  
Extracting compressed file
Importing operating system into WSL (this may take a few minutes on a new WSL install)...
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. 
Error code: Wsl/Service/RegisterDistro/CreateVm/WSAENOTCONN

Error: the WSL import of guest OS failed: exit status 0xffffffff

Operating system

windows 10

Installation Method

Other

Version

1.11.1

Steps to reproduce

wsl -l -v

wsl --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.19045.4651

Relevant log output

Downloading VM image: fedora-podman-v39.0.121.tar.xz: done  
Extracting compressed file
Importing operating system into WSL (this may take a few minutes on a new WSL install)...
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. 
Error code: Wsl/Service/RegisterDistro/CreateVm/WSAENOTCONN

Error: the WSL import of guest OS failed: exit status 0xffffffff

Additional context

NA

tppalani commented 1 month ago

Hi @feloy

Can you please help me on this ?

jeffmaury commented 1 month ago

Hi @feloy

Can you please help me on this ?

Did you start restarting your PC after enabling WSL ?

tppalani commented 1 month ago

Hi @feloy Can you please help me on this ?

Did you start restarting your PC after enabling WSL ?

Yes jef, Its restarted multiple times

jeffmaury commented 1 month ago

Which version of Podman is installed ?

tppalani commented 1 month ago

Which version of Podman is installed ?

4.3.1 i know it too old version but most of the system in our org we are using Same version all are running fine without any issues

jeffmaury commented 1 month ago

Which version of Podman is installed ?

4.3.1 i know it too old version but most of the system in our org we are using Same version all are running fine without any issues

Seems your have an issue with you WSL installation.

tppalani commented 1 month ago

Which version of Podman is installed ?

4.3.1 i know it too old version but most of the system in our org we are using Same version all are running fine without any issues

Seems your have an issue with you WSL installation.

correct

tppalani commented 1 month ago

Which version of Podman is installed ?

4.3.1 i know it too old version but most of the system in our org we are using Same version all are running fine without any issues

Seems your have an issue with you WSL installation.

Yes

odockal commented 1 month ago

@tppalani Is there something we can do on our side or can we close the issue? Also, please consider looking at somehow similar issue where the wsl problem is being solved: https://github.com/containers/podman-desktop/issues/8541