crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 242 forks source link

OpenShift CRC not reachable #4330

Open Mfayez96 opened 2 months ago

Mfayez96 commented 2 months ago

Hi Everyone,

After setting up crc start I got the below error , I think it has something to do with ssh key but I really couldn't figure it out. Appreciate your help.

System info:

centos9 running on VMware workstation bro 17+

Error:

OS release:

NAME="CentOS Stream" VERSION="9" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="9" PLATFORM_ID="platform:el9" PRETTY_NAME="CentOS Stream 9" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:centos:centos:9" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://issues.redhat.com/" REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9" REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

CRC version:

CRC version: 2.40.0+a14925 OpenShift version: 4.16.4 MicroShift version: 4.16.4

crc config view:

CRC Status:

CRC VM: Running OpenShift: Unreachable (v4.16.4) Disk Usage: 0B of 0B (Inside the CRC VM) Cache Usage: 27.61GB Cache Directory: /home/mfayez/.crc/cache

I am getting this error as well when running systemctl status sshd:

Aug 26 10:58:45 localhost.localdomain sshd[7340]: Invalid user core from 127.0.0.1 port 39214 Aug 26 10:58:45 localhost.localdomain sshd[7340]: Connection closed by invalid user core 127.0.0.1 port 39214 [preauth]

praveenkumar commented 2 months ago

This looks like nested virt setup which we don't test https://github.com/crc-org/crc/issues?q=is%3Aopen+is%3Aissue+label%3Anested-virt , what is the reason you are not using the host OS ?