Skip to content

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

Description

@cmoulliard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions