crc: Failed to connect to the CRC VM with SSH on Centos7/KVM (nested virtualization)

General information

  • OS: Linux
  • Hypervisor: KVM
  • Did you run crc setup before starting it (Yes/No)? Yes

CRC version

crc version: 1.6.0+8ef676f
OpenShift version: 4.3.0 (embedded in binary)

CRC status

ERRO error: stat /home/crc/.crc/machines/crc/kubeconfig: no such file or directory
 - exit status 1

CRC config

None

Host Operating System

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Steps to reproduce

  1. crc setup
  2. crc start

Expected

Succesfull start of crc

Actual

Failed to connect to the CRC VM with SSH

Logs

start.log

crc.log

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

We actually do not support headless setups as this also means people want remote access. We do not expose the VMs endpoints for external use.

Have you tried CRC on a desktop system?