-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
On Mac OS Big Sur & Monterey podman machine starts but doesn't connect #12751
Comments
@baude @ashley-cui PTAL |
Are you on a M1 or an intel mac? |
Intel Mac.
…On Thu, 6 Jan 2022, 00:08 Ashley Cui, ***@***.***> wrote:
Are you on a M1 or an intel mac?
—
Reply to this email directly, view it on GitHub
<#12751 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBLXIOXWB6VE7IKMM5HJPLUUSF2FANCNFSM5LKLQNZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Same issue. I can add info about the install though, and confirm it on Podman 3.4.4
That's on macOS Big Sir (11.5.2) on an Intel Mac. |
Over the weekend, upgraded laptop to Monterey to see whether the issue gets fixed. After upgrading OS, following steps are performed:
In a separate window executed following command:
It is not clear where did 192.168.127.2 comes from and why the route is not available. |
are these all upgrades vs clean installs? |
Hi @baude - Mac OS Big Sur to Monterey was upgrade... if you were asking about OS. |
Heads up ... following worked for me:
It is not clear why it fails if machine is created with following syntax:
My laptop has 200GB available. It's i7 quad and 16G memory so should have worked. But anyway... for now I'm unblocked by using |
What's interesting is that I have the same issue where it seems to hang at "Waiting for VM" on my M1 MacBook Pro but if I run |
Mine was solved by changing the default podman system connection. |
Thanks @chafidz0000000! I tried the following:
However, the |
Podman is waiting for output back from qemu, which is it never getting for some reason. |
I having this same issue. MacOS monetery 12.2.1, and i am not even able to make ssh.
server log
podman info
|
Experiencing issue here too... Machine doesn't even start. Recently upgrade to macOs Monterey and podman 4.0.2. Temporary folder exists. Tried to reboot, same issue. Thinking there might be some default "forbid connections" policy in macOS. Thoughts anyone?
|
@mithucste30 @xsa You might be experiencing an incompatible machine (#13510). Try double checking you are on 4.0.2, copy any files off that you want and then try recreating the machine instance (machine rm followed by machine init) |
I have solved this issue by install coreutils. Not sure why it wasnt installed with brew at first place. |
coreutils is now installed (it wasn't at the time of reporting my problem, but had to install it for something else in the meantime). Unfortunately issue persists with the same error message.
|
Thanks @n1hility - I'm indeed on 4.0.2, and had already performed the steps you advised before posting my issue. Still no dice. |
@xsa can you check the following:
|
Yes.
No.
No errors. All successful.
Nope. |
my assumption is also you have rm'd the machine at least once and done a new init? If so, can you provide the output from |
Correct @baude -- And here's the output you asked.
|
@xsa ok, two ideas ... just to confirm, are you on an Intel Mac? Second, can you gert onto libera irc and join #podman? maybe we can figure some things out? |
Correct, MacBook Air (Retina, 13-inch, 2019) 1.6 GHz Dual-Core Intel Core i5. I'm not on libera irc but I can join. Meet you there. |
was seeing same on M1...uninstalled and reinstalled and now getting this: Error: dial unix /var/folders/l8/h2xpqsn1385dzpl58_cz84zh0000gn/T/podman/podman-machine-default_ready.sock: connect: connection refused any additional cleanup needed in addition to this from above?
|
carl, i think you might be exceeding the max length of filenames for sockets in macos... can you try:
|
Thank you for the suggestion Brent; that got me going again on the M1. Will try on an Intel Mac a bit later. Did not realize I could name the machine (guess if I had looked at the usage that would have been obvious). :) |
to avoid errors on macos, we use symlinks to long socket names. Fixes: containers#12751 Fixes: containers#13609 Signed-off-by: Brent Baude <bbaude@redhat.com> [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
I'm having similar issues as a new user of Podman. I can't get a clean socket connection. Using an Intel Mac with Monterey.
|
the --memory takes MB so you've to set --memory 4096 for 4 GB |
the --memory takes MB so you've to set --memory 4096 for 4 GB |
In case somebody is still interested (Monterey 12.5.1): So, I had the same problem and what I did to fix it was to use --log-level=debug while bringing up the default machine and then just copied the ssh command, added a |
Met the same issue on Monterey 12.6, brew info podman: podman: stable 4.2.1 (bottled), HEAD. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
brew installed podman on my Mac OS laptop properly. podman init also downloaded fedora image and created podman machine. However podman start remains at Waiting for VM prompt forever.
Steps to reproduce the issue:
brew install podman
podman machine init --disk-size 100 --cpus 4 --memory 4
podman machine start
Describe the results you received:
Refer above.
Describe the results you expected:
It should not hang forever. It should come out and connect.
Additional information you deem important (e.g. issue happens only occasionally):
Also following commands should do same.
Besides that podman machine stop should stop this zombie machine. It doesn't show anything and doesn't stop. podman machine rm fails too. So there is no way but to restart laptop to reset status of this podman machine.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):N.A. Mac OS so apm / rpm not there.
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
Additional environment details (AWS, VirtualBox, physical, etc.):
Mac OS Laptop. Big Sur.
The text was updated successfully, but these errors were encountered: