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

Podman machine start failed (unable to connect to "gvproxy" socket) #25103

Closed
xRomZak opened this issue Jan 23, 2025 · 2 comments
Closed

Podman machine start failed (unable to connect to "gvproxy" socket) #25103

xRomZak opened this issue Jan 23, 2025 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. machine macos MacOS (OSX) related

Comments

@xRomZak
Copy link

xRomZak commented Jan 23, 2025

Issue Description

Failed to start podman machine:

Error: unable to connect to "gvproxy" socket at "/var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-gvproxy.sock"

Steps to reproduce the issue

Steps to reproduce the issue

  1. podman machine init (root or rootless, doesn't matter)
  2. podman machine start

machine remove and re-init doesn't help

Describe the results you received

gvproxy.log -> looks strange /private/var/run/docker.sock": no such file or directory

time="2025-01-23T13:21:21+03:00" level=info msg="gvproxy version v0.8.2"
time="2025-01-23T13:21:21+03:00" level=info msg="reloading dns nameservers to [192.168.0.1:53 192.168.0.1:53]"
time="2025-01-23T13:21:21+03:00" level=error msg="gvproxy exiting: cannot add network services: adding watcher failed: \"/private/var/run/docker.sock\": no such file or directory"

podman machine debug logs

❯ podman --log-level=debug machine start
time="2025-01-23T13:21:21+03:00" level=info msg="podman filtering at log level debug"
time="2025-01-23T13:21:21+03:00" level=debug msg="Using Podman machine with `applehv` virtualization provider"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.config/containers/podman/machine/applehv is 51"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv is 56"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv/cache is 62"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman is 55"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.config/containers/podman/machine/applehv/tqt.json is 60"
Starting machine "tqt"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.config/containers/podman/machine/applehv is 51"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv is 56"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv/cache is 62"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman is 55"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.config/containers/podman/machine/applehv/tqt.json is 60"
time="2025-01-23T13:21:21+03:00" level=debug msg="connection refused: http://localhost:49869/vm/state"
time="2025-01-23T13:21:21+03:00" level=debug msg="writing configuration file \"/Users/a1/.config/containers/podman/machine/applehv/tqt.json\""
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/gvproxy.pid is 67"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.config/containers/podman/machine/applehv is 51"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv is 56"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/applehv/cache is 62"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman is 55"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-api.sock is 68"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /Users/a1/.local/share/containers/podman/machine/podman.sock is 60"
time="2025-01-23T13:21:21+03:00" level=debug msg="{true 1500 map[forward-dest:[/run/user/501/podman/podman.sock] forward-identity:[/Users/a1/.local/share/containers/podman/machine/machine] forward-sock:[/var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-api.sock] forward-user:[core]] [] map[] /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/gvproxy.log /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/gvproxy.pid 49860}"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-gvproxy.sock is 72"
time="2025-01-23T13:21:21+03:00" level=debug msg="gvproxy command-line: /usr/local/Cellar/podman/5.3.2/libexec/podman/gvproxy -debug -mtu 1500 -ssh-port 49860 -listen-vfkit unixgram:///var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-gvproxy.sock -forward-dest /run/user/501/podman/podman.sock -forward-user core -forward-identity /Users/a1/.local/share/containers/podman/machine/machine -forward-sock /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-api.sock -pid-file /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/gvproxy.pid -log-file /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/gvproxy.log"
time="2025-01-23T13:21:21+03:00" level=debug msg="socket length for /var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-gvproxy.sock is 72"
time="2025-01-23T13:21:21+03:00" level=debug msg="checking that \"gvproxy\" socket is ready"
time="2025-01-23T13:21:53+03:00" level=debug msg="writing configuration file \"/Users/a1/.config/containers/podman/machine/applehv/tqt.json\""
Error: unable to connect to "gvproxy" socket at "/var/folders/s7/tb66rr3940j0v9tsg84dcz0w0000gn/T/podman/tqt-gvproxy.sock"
time="2025-01-23T13:21:53+03:00" level=debug msg="Shutting down engines"

Describe the results you expected

podman machine to be started

podman info output

OS: darwin/amd64
provider: applehv
version: 5.3.2

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@Luap99
Copy link
Member

Luap99 commented Jan 23, 2025

Note we do recommend using our own macos installer over brew in general. Out installer should have an older gpvroxy version that does not have this issue but you could also manually replace the gvproxy version

@Luap99 Luap99 added macos MacOS (OSX) related machine labels Jan 23, 2025
@janwesterkamp
Copy link

I have the same issue and also on MacOS 14.7.2 (23H311) with homwbrew installer being used since updating to podman 5.3.2.

I switched to the officail installer using the podman-desktop variant, which installs podman 5.3.1 (!) - that version was working well with homebrew too ;-)
But this might be a workaround until the issue is getting fixed.

I created a discussion on homebrew regading this:

https://github.com/orgs/Homebrew/discussions/5901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. machine macos MacOS (OSX) related
Projects
None yet
Development

No branches or pull requests

3 participants