[Bug 1739585] Re: L2 guest failed to boot under nested KVM: entry failed, hardware error 0x0
ChristianEhrhardt
1739585 at bugs.launchpad.net
Thu Dec 21 12:18:55 UTC 2017
So the construction of this custom cpu model for L1 and/or the follow on
for the same in L2 might be the reason why this affects just this
system.
As you already pointed out the detection of an amd cpu - this really
seems all awkward.
I added a single:
<cpu mode="host-model" match="exact">
<topology sockets="1" cores="1" threads="1"/>
</cpu>
as you attached it in comment #9
I wanted to try if host-model on its own goes so crazy and auto-extends to what we see in comment #12 and #13.
But it worked well on both levels for me.
Also I do not see how the xml in comment #12 and #9 relate - that should be the same L2 xml right? Maybe in understanding this difference is also a way to solve this.
In general is thre a way you could stop openstack doing all the cpu mode=custom magic for these nested tests?
I'd expect that if you could just leave out the cpu it might even work (falling back on likely better defaults).
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1739585
Title:
L2 guest failed to boot under nested KVM: entry failed, hardware error
0x0
Status in Ubuntu Cloud Archive:
Incomplete
Bug description:
During testing of the Queens b2 milestone, I see this particular error
when the test cloud attempts to boot instances on specific hosts on
our cloud.
The base cloud is running:
4.4.0-72-generic
The test instance on the cloud saw the same issue with these kernels:
4.10.0-42-generic
4.4.0-97-generic
I don't think we're seeing the same issue with pre-bionic versions of
libvirt/qemu on these hosts.
Error from libvirt qemu instance log:
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=ff ff 66 5b 66 83 c4 08 66 5b 66 5e 66 c3 cd 19 cb cd 18 cb <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
Error on host:
[22353622.446568] nested_vmx_exit_handled failed vm entry 7
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: qemu-system-x86 1:2.10+dfsg-0ubuntu5~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.10.0-42.46~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-42-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.14
Architecture: amd64
CrashDB:
{
"impl": "launchpad",
"project": "cloud-archive",
"bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
}
Date: Thu Dec 21 09:58:30 2017
Ec2AMI: ami-00000259
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
KvmCmdLine: COMMAND STAT EUID RUID PID PPID %CPU COMMAND
Lsusb:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: OpenStack Foundation OpenStack Nova
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-42-generic root=UUID=d7006b2f-ace6-464d-8b21-17180b3ed360 ro console=tty1 console=ttyS0
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.1-1ubuntu1~cloud0
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-zesty
dmi.modalias: dmi:bvnSeaBIOS:bvr1.10.1-1ubuntu1~cloud0:bd04/01/2014:svnOpenStackFoundation:pnOpenStackNova:pvr15.0.7:cvnQEMU:ct1:cvrpc-i440fx-zesty:
dmi.product.name: OpenStack Nova
dmi.product.version: 15.0.7
dmi.sys.vendor: OpenStack Foundation
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1739585/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list