Problems with CodeReady Containers on nested virtualization environment

Solution In Progress - Updated -

Issue

  • It is not possible to install CodeReady Containers on a virtual machine with Red Hat Enterprise Linux if this virtual machine is on top of Ubuntu Trusty.
  • You can see in the logs for CRC:
time="2020-04-03T03:59:52-07:00" level=info msg="Starting OpenShift cluster ... [waiting 3m]"
time="2020-04-03T04:02:52-07:00" level=debug msg="Running '/home/crcuser/.crc/bin/oc get csr --kubeconfig /home/crcuser/.crc/machines/crc/kubeconfig'"
time="2020-04-03T04:03:33-07:00" level=debug msg="Command failed: exit status 1"
time="2020-04-03T04:03:33-07:00" level=debug msg="stdout: "
time="2020-04-03T04:03:33-07:00" level=debug msg="stderr: Unable to connect to the server: dial tcp: lookup api.crc.testing on 127.0.0.1:53: read udp 127.0.0.1:33630->127.0.0.1:53: i/o timeout"
time="2020-04-03T04:03:33-07:00" level=debug msg="Unable to connect to the server: dial tcp: lookup api.crc.testing on 127.0.0.1:53: read udp 127.0.0.1:33630->127.0.0.1:53: i/o timeout"
time="2020-04-03T04:03:33-07:00" level=debug msg="error: Temporary Error: exit status 1 - sleeping 1s"
  • You can see in logs for qemu /var/log/libvirt/qemu/crc.log:
-device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 \
-msg timestamp=on
2020-04-03 03:33:13.139+0000: Domain id=1 is tainted: host-cpu
char device redirected to /dev/pts/1 (label charserial0)
char device redirected to /dev/pts/2 (label charchannel0)
KVM: entry failed, hardware error 0x0
EAX=00000000 EBX=00000000 ECX=00000000 EDX=000306d2
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=00 66 89 d8 66 e8 14 a4 ff ff 66 83 c4 0c 66 5b 66 5e 66 c3 <ea> 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
qemu: terminating on signal 15 from pid 2145

Environment

  • Red Hat CodeReady Containers
  • Red Hat Enterprise Linux 7.7
  • Red Hat Enterprise Linux v8.1
  • Ubuntu Trusty

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content