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

Cannot connect to Podman. Please verify your connection to the Linux system #2

Open
cmoulliard opened this issue May 19, 2022 · 0 comments

Comments

@cmoulliard
Copy link

cmoulliard commented May 19, 2022

Issue

Version used: podman 4.1.0 on macbook

./macos_create_microshift_plus.sh
Creating Podman Machine...
Starting Podman Machine...
Setting rootful mode...
Error: cannot change settings while the vm is running, run 'podman machine stop' first
Launching Microshift...
Waiting for Microshift to become Ready...
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
Microshift is Now Ready ...
Patch OpenShift Router to use nip.io for outbound routing ...
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
Setting up OpenShift Web Console ...
----------------------------------------------------------
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
----------------------------------------------------------
############### OpenShift Console is Ready ###############################
http://
##########################################################################
Setting up OLM ...
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:56102/run/user/1000/podman/podman.sock) failed: dial tcp 127.0.0.1:56102: connect: connection refused
OLM Setup Completed ...
############### Microshift Setup Completed ###############################
OpenShift Console URL      : http://
OpenShift / Kubectl Access : podman exec -it microshift /bin/bash
##########################################################################

If we list the connections we can see that a connection exists for ssh://core@localhost:56102/run/user/1000/podman/podman.sock

podman system connection list
Name                         URI                                                          Identity                                     Default
macvm                        ssh://core@localhost:56102/run/user/1000/podman/podman.sock  /Users/cmoullia/.ssh/macvm                   true
macvm-root                   ssh://root@localhost:56102/run/podman/podman.sock            /Users/cmoullia/.ssh/macvm                   false
podman-machine-default       ssh://core@localhost:60410/run/user/501/podman/podman.sock   /Users/cmoullia/.ssh/podman-machine-default  false
podman-machine-default-root  ssh://root@localhost:60410/run/podman/podman.sock            /Users/cmoullia/.ssh/podman-machine-default  false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant