Libvirt passes unsupported "arat" flag to QEMU

Solution Verified - Updated -

Issue

  • nova-conductor.log
2016-11-04 11:16:28.615 23729 ERROR nova.scheduler.utils [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] [instance: 4e117abe-c875-4821-8acf-3e64c142bcbb] Error from last host: ): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2082, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 4e117abe-c875-4821-8acf-3e64c142bcbb was re-scheduled: internal error: process exited while connecting to monitor: \n(process:15864): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2016-11-04T15:16:28.209775Z qemu-kvm: CPU feature arat not found\n']
2016-11-04 11:16:31.269 23703 ERROR nova.scheduler.utils [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] [instance: 4e117abe-c875-4821-8acf-3e64c142bcbb] Error from last host: : [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2082, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 4e117abe-c875-4821-8acf-3e64c142bcbb was re-scheduled: internal error: qemu unexpectedly closed the monitor: \n(process:14773): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2016-11-04T15:16:30.582633Z qemu-kvm: CPU feature arat not found\n']
2016-11-04 11:16:31.273 23703 INFO oslo.messaging._drivers.impl_rabbit [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] Connecting to AMQP server on 10.90.54.160:5672
2016-11-04 11:16:31.282 23703 INFO oslo.messaging._drivers.impl_rabbit [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] Connected to AMQP server on 10.90.54.160:5672
2016-11-04 11:16:34.055 23765 ERROR nova.scheduler.utils [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] [instance: 4e117abe-c875-4821-8acf-3e64c142bcbb] Error from last host: : [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2082, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 4e117abe-c875-4821-8acf-3e64c142bcbb was re-scheduled: internal error: process exited while connecting to monitor: \n(process:14071): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2016-11-04T15:16:33.504622Z qemu-kvm: CPU feature arat not found\n']
2016-11-04 11:16:34.056 23765 WARNING nova.scheduler.utils [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 4e117abe-c875-4821-8acf-3e64c142bcbb. Last exception: [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2082, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 4e117abe-c875-4821-8acf-3e64c142bcbb was re-scheduled: internal error: process exited while connecting to monitor: \n(process:14071): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2016-11-04T15:16:33.504622Z qemu-kvm: CPU feature arat not found\n']
2016-11-04 11:16:34.057 23765 WARNING nova.scheduler.utils [req-8997e7bb-777e-4109-bbca-3af1421f38a9 612df114ddc5410aa09c709769f6d7c8 1b9ba84140514e9eaa4fd4d8ebcacb02 - - -] [instance: 4e117abe-c875-4821-8acf-3e64c142bcbb] Setting instance to ERROR state.
  • from compute node, it has arat flag...
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
stepping        : 4
microcode       : 0x428
cpu MHz         : 2248.382
cache size      : 30720 KB
physical id     : 0
siblings        : 24
core id         : 0
cpu cores       : 12
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
  • compute node /var/log/libvirt/qemu/instance-00000005.log
2016-11-04 15:16:33.426+0000: starting up libvirt version: 2.0.0, package: 10.el7 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2016-09-21-10:15:26, x86-038.build.eng.bos.redhat.com), qemu version: 2.3.0 (qemu-kvm-rhev-2.3.0-31.el7_2.21), hostname: 
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000005,debug-threads=on -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu IvyBridge,+ds,+acpi,+ss,+ht,+tm,+pbe,+dtes64,+monitor,+ds_cpl,+vmx,+smx,+est,+tm2,+xtpr,+pdcm,+pcid,+dca,+osxsave,+arat,+xsaveopt,+pdpe1gb -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 4e117abe-c875-4821-8acf-3e64c142bcbb -smbios 'type=1,manufacturer=Red Hat,product=OpenStack Compute,version=12.0.4-8.el7ost,serial=fbe41075-92fc-486a-91b4-7086104ed812,uuid=4e117abe-c875-4821-8acf-3e64c142bcbb,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-5-instance-00000005/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/4e117abe-c875-4821-8acf-3e64c142bcbb/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=31 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:11:9f:fc,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/4e117abe-c875-4821-8acf-3e64c142bcbb/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on

(process:14071): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported
char device redirected to /dev/pts/0 (label charserial1)
2016-11-04T15:16:33.504622Z qemu-kvm: CPU feature arat not found
2016-11-04 15:16:33.570+0000: shutting down

Environment

  • Red Hat Enterprise Linux 7.2
  • Red Hat Enterprise Linux 7.3
  • Red Hat OpenStack

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