podman 4.9.2
qemu 8.2.1
And lots of diskspace available.
1 Like
I had high hopes for this solution, manually downgrading to qemu 8.1.3:
opened 11:46PM - 24 Dec 23 UTC
closed 02:37PM - 27 Dec 23 UTC
kind/bug
### Issue Description
This is Podman running in MacOS ARM64
```
$podman ver… sion
```
```
$podman info
```
```
$ 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 socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49555->127.0.0.1:50507: read: connection reset by peer
```
```
$ podman info
OS: darwin/arm64
provider: qemu
version: 4.8.2
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 socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49556->127.0.0.1:50507: read: connection reset by peer
```
I followed through [Podman Troubleshooting Guide](https://github.com/containers/podman/blob/main/troubleshooting.md). Tried removing, re-installing, Podman desktop, unsetting `SSH_AUTH_SOCK`, checking `ssh-add -L` etc. Even firewall is disabled for the Mac as per suggestion.
I am suspecting it's something related to SSH but can't figure out what is the issue here.
Any suggested are welcome. Looking for location where I can check logs or run Podman in verbose mode will be helpful.
```
$ podman --log-level=debug ps
```
```
INFO[0000] podman filtering at log level debug
DEBU[0000] Called ps.PersistentPreRunE(podman --log-level=debug ps)
DEBU[0000] SSH Ident Key "<$HOME>/.ssh/podman-machine-default" SHA256:<key> ssh-ed25519
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 socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49561->127.0.0.1:50507: read: connection reset by peer
DEBU[0003] Shutting down engines
```
On Podman desktop I see:
```
[compose] Error getting compose version: Error: Failed to execute command: spawn <$HOME>/.local/share/containers/podman-desktop/extensions-storage/podman-desktop.compose/bin/docker-compose ENOENT
```
Podman installed with `brew install podman`. Podman desktop tried with direct as well with brew `brew install --cask podman-desktop`. I am able to run docker fine and also able to start docker image in Podman.
```
```
$ uname -a
Darwin <machine-name>.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64
```
### Steps to reproduce the issue
Steps to reproduce the issue
1. brew install podman
2. podman machine init
3. podman machine start
### Describe the results you received
System stuck at `Starting VM...`
### Describe the results you expected
VM started and running as expected.
### podman info output
```yaml
$ podman info
OS: darwin/arm64
provider: qemu
version: 4.8.2
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 socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49556->127.0.0.1:50507: read: connection reset by peer
```
### Podman in a container
No
### Privileged Or Rootless
None
### Upstream Latest Release
Yes
### Additional environment details
$ uname -a
Darwin <machinename>.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64
### Additional information
```
$ echo $SSH_AUTH_SOCK
/private/tmp/com.apple.launchd.Yw5BA959Qf/Listeners
```
But, no luck. Freeze and reboot on podman machine start
.
I’m giving up for now. Perhaps a MacOS upgrade would be next step, I’m running the slightly outdated 12.2.1.
1 Like
FYI Azle 0.23.0, which we hope to release today, removes Podman as a dependency, and gets rid of any kind of complicated Rust complication environment.
Should be very smooth.
1 Like