crc: crc setup fails with setting up KVM on vanilla CentOS 7

General information

  • OS: Linux
  • Hypervisor: virtual private server (antsle) / LXC
  • Did you run crc setup before starting it (Yes/No)? No - attempting the setup process

CRC version

CodeReady Containers version: 1.14.0+36ad776
OpenShift version: 4.5.4 (embedded in binary)

CRC status

Machine 'crc' does not exist. Use 'crc start' to create it

CRC config

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. as username who has sudo privileges
# vi /etc/sudoers
# add
<username>  ALL=(ALL) NOPASSWD:ALL
  1. crc setup

Expected

Setup works

Actual

crc setup fails

INFO Checking if oc binary is cached              
INFO Checking if podman remote binary is cached   
INFO Checking if goodhosts binary is cached       
INFO Checking if CRC bundle is cached in '$HOME/.crc' 
INFO Checking minimum RAM requirements            
INFO Checking if running as non-root              
INFO Checking if Virtualization is enabled        
INFO Checking if KVM is enabled                   
INFO Setting up KVM                               
FATA Failed to load kvm module  

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments