crc: [BUG] Nested virtualization causes crc VM to freeze (running nested KVM on Virtualbox host)
General information
- OS: Linux
- Hypervisor: KVM
- Did you run
crc setupbefore starting it (Yes/No)? YES
CRC version
Put crc version output here
crc version: 1.6.0+8ef676f OpenShift version: 4.3.0 (embedded in binary)
## CRC status
```bash
# Put `crc status` output here
CRC VM: Stopped
OpenShift: Stopped
Disk Usage: 0B of 0B (Inside the CRC VM)
Cache Usage: 10.57GB
Cache Directory: /home/crc/.crc/cache
## CRC config
```bash
# Put `crc config view` output here
./crc config view ----no output
Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows
NAME=“CentOS Linux” VERSION=“8 (Core)” ID=“centos” ID_LIKE=“rhel fedora” VERSION_ID=“8” PLATFORM_ID=“platform:el8” PRETTY_NAME=“CentOS Linux 8 (Core)” ANSI_COLOR=“0;31” CPE_NAME=“cpe:/o:centos:centos:8” HOME_URL=“https://www.centos.org/” BUG_REPORT_URL=“https://bugs.centos.org/”
CENTOS_MANTISBT_PROJECT=“CentOS-8” CENTOS_MANTISBT_PROJECT_VERSION=“8” REDHAT_SUPPORT_PRODUCT=“centos” REDHAT_SUPPORT_PRODUCT_VERSION=“8”
Steps to reproduce
- Install Virtualbox 6.1.4, enable HW virtualization (VT-X)
- Install Centos 8, Ubuntu, Redhat linux (tried all)
- Install CRC
- start CRC - FREEZE the VM
BUT:
- Install VMware workstation 15.0, enable HW virtualization (VT-X)
- Install Centos 8, Ubuntu, Redhat linux (tried all)
- Install CRC
- start CRC - working perfectly
Expected
starting crc
Actual
freeze the VM on Virtualbox with native KVM HW VT-X
Logs
[crc@localhost crc-linux-1.6.0-amd64]$ ./crc start --log-level debug DEBU No new version available. The latest version is 1.6.0 INFO Checking if oc binary is cached DEBU oc binary already cached INFO Checking if running as non-root INFO Checking if Virtualization is enabled DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo DEBU CPU virtualization flags are good INFO Checking if KVM is enabled DEBU Checking if /dev/kvm exists DEBU /dev/kvm was found INFO Checking if libvirt is installed DEBU Checking if ‘virsh’ is available DEBU ‘virsh’ was found in /usr/bin/virsh INFO Checking if user is part of libvirt group DEBU Checking if current user is part of the libvirt group DEBU Running ‘/usr/bin/groups crc’ DEBU Current user is already in the libvirt group INFO Checking if libvirt is enabled DEBU Checking if libvirtd.service is enabled DEBU Running ‘/usr/bin/systemctl is-enabled libvirtd’ DEBU libvirtd.service is already enabled INFO Checking if libvirt daemon is running DEBU Checking if libvirtd.service is running DEBU Running ‘/usr/bin/systemctl is-active libvirtd’ DEBU libvirtd.service is already running INFO Checking if a supported libvirt version is installed DEBU Checking if libvirt version is >=3.4.0 DEBU Running ‘virsh -v’ INFO Checking if crc-driver-libvirt is installed DEBU Checking if crc-driver-libvirt is installed DEBU Running ‘/home/crc/.crc/bin/crc-driver-libvirt version’ DEBU crc-driver-libvirt is already installed in /home/crc/.crc/bin/crc-driver-libvirt INFO Checking if libvirt ‘crc’ network is available DEBU Checking if libvirt ‘crc’ network exists DEBU Running ‘virsh --connect qemu:///system net-info crc’ DEBU Checking if libvirt ‘crc’ definition is up to date DEBU Running ‘virsh --connect qemu:///system net-dumpxml --inactive crc’ DEBU libvirt ‘crc’ network has the expected value INFO Checking if libvirt ‘crc’ network is active DEBU Checking if libvirt ‘crc’ network is active DEBU Running ‘virsh --connect qemu:///system net-info crc’ DEBU libvirt ‘crc’ network is already active INFO Checking if NetworkManager is installed DEBU Checking if ‘nmcli’ is available DEBU ‘nmcli’ was found in /usr/bin/nmcli INFO Checking if NetworkManager service is running DEBU Checking if NetworkManager.service is running DEBU Running ‘/usr/bin/systemctl is-active NetworkManager’ DEBU NetworkManager.service is already running INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists DEBU Checking NetworkManager configuration DEBU NetworkManager configuration is good INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists DEBU Checking dnsmasq configuration DEBU dnsmasq configuration is good Checking file: /home/crc/.crc/machines/crc/.crc-exist Found binary path at /home/crc/.crc/bin/crc-driver-libvirt Launching plugin server for driver libvirt Plugin server listening at address 127.0.0.1:32851 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (crc) Calling .GetBundleName (crc) Calling .GetState (crc) DBG | Getting current state… (crc) DBG | Fetching VM… INFO Starting CodeReady Containers VM for OpenShift 4.3.0… (crc) Calling .Start (crc) DBG | Starting VM crc -----FREEZE the VM, only reset helps
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (6 by maintainers)
on fedora it keeps freezing/lagging the physical host, basically nothing is running than crc, no extra workloads than the defaults.