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

MacOS: podman machine start fails with error of not finding gvproxy #12116

Closed
marchmallow opened this issue Oct 27, 2021 · 1 comment
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine

Comments

@marchmallow
Copy link

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

podman machine start on MacOS fails with the following error:

$ podman machine start
Error: unable to start host networking: "could not find "gvproxy" in one of [/usr/local/opt/podman/libexec /opt/homebrew/bin /opt/homebrew/opt/podman/libexec /usr/local/bin /usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman]"

Steps to reproduce the issue:

  1. brew install podman
  2. Add podman and gvproxy binary to path: export PATH=$PATH:/usr/local/Cellar/podman/3.4.1/bin:/usr/local/Cellar/podman/3.4.1/libexec
  3. podman machine init
  4. podman machine start
$ podman machine start
Error: unable to start host networking: "could not find \"gvproxy\" in one of [/usr/local/opt/podman/libexec /opt/homebrew/bin /opt/homebrew/opt/podman/libexec /usr/local/bin /usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman]"

Describe the results you received:

podman machine failed to start

Describe the results you expected:

podman machine would start successfully

Additional information you deem important (e.g. issue happens only occasionally):

Note that gvproxy standalone seems to work:

$ gvproxy
INFO[0000] waiting for clients...            

I cannot get version neither info commands to work:

$ podman version
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman. failed to create sshClient: Connection to bastion host (ssh://core@localhost:50173/run/user/1000/podman/podman.sock) failed.: dial tcp [::1]:50173: connect: connection refused

Package info (e.g. output of rpm -q podman or apt list podman):

$ brew list podman
Warning: Treating podman as a formula.
/usr/local/Cellar/podman/3.4.1/bin/podman
/usr/local/Cellar/podman/3.4.1/bin/podman-remote
/usr/local/Cellar/podman/3.4.1/etc/bash_completion.d/podman
/usr/local/Cellar/podman/3.4.1/libexec/gvproxy
/usr/local/Cellar/podman/3.4.1/share/fish/vendor_completions.d/podman.fish
/usr/local/Cellar/podman/3.4.1/share/man/ (160 files)
/usr/local/Cellar/podman/3.4.1/share/zsh/site-functions/_podman

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)

Yes - I cannot find any reference to this kind of error

Additional environment details (AWS, VirtualBox, physical, etc.):
MacOS version 11.6 (bigSur)

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 27, 2021
@Luap99 Luap99 added the machine label Oct 27, 2021
@Luap99
Copy link
Member

Luap99 commented Oct 27, 2021

see #11960

@Luap99 Luap99 closed this as completed Oct 27, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine
Projects
None yet
Development

No branches or pull requests

2 participants