← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1778017] [NEW] Qemu min version validation fails on Xenial with Qemu 2.11.1

 

Public bug reported:

Novas Qemu min version validation  fails on our CI systems. Please note
that i added some additional debug output prior to the exception message
showing the installed Qemu version is 2.11.1 (which is correctly picked
up by the libvirt lib). Somehow Nova fails to acknowledge version 2.11.1
is >= 2.5.0 . Log excerpt from devstack@n-cpu service log in our
Devstack:

EBUG nova.virt.libvirt.host [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] HYPERVISOR VERSION IS 2011001 {{(pid=7926) _version_check /opt/stack/nova/nova/virt/libvirt/host.py:496}}
EBUG nova.virt.libvirt.driver [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] QEMU_VERSION is 2011001 {{(pid=7926) init_host /opt/stack/nova/nova/virt/libvirt/driver.py:504}}
RROR oslo_service.service [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] Error starting thread.: InternalError: Nova requires QEMU version 2.5.0 or greater.
RROR oslo_service.service Traceback (most recent call last):
RROR oslo_service.service   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 792, in run_service
RROR oslo_service.service     service.start()
RROR oslo_service.service   File "/opt/stack/nova/nova/service.py", line 162, in start
RROR oslo_service.service     self.manager.init_host()
RROR oslo_service.service   File "/opt/stack/nova/nova/compute/manager.py", line 1124, in init_host
RROR oslo_service.service     self.driver.init_host(host=self.host)
RROR oslo_service.service   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 507, in init_host
RROR oslo_service.service     libvirt_utils.version_to_string(MIN_QEMU_VERSION))
RROR oslo_service.service InternalError: Nova requires QEMU version 2.5.0 or greater.
RROR oslo_service.service

I'm looking into the validation code right now but wanted to raise a
flag already. Maybe i'm overlooking something?

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

- Novas Qemu version detection fails on our CI systems. Please note that i
- added some additional debug output prior to the exception message
+ Novas Qemu min version validation  fails on our CI systems. Please note
+ that i added some additional debug output prior to the exception message
  showing the installed Qemu version is 2.11.1 (which is correctly picked
  up by the libvirt lib). Somehow Nova fails to acknowledge version 2.11.1
  is >= 2.5.0 . Log excerpt from devstack@n-cpu service log in our
  Devstack:
  
- EBUG nova.virt.libvirt.host [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] HYPERVISOR VERSION IS 2011001 {{(pid=7926) _version_check /opt/stack/nova/nova/virt/libvirt/host.py:496}} 
- EBUG nova.virt.libvirt.driver [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] QEMU_VERSION is 2011001 {{(pid=7926) init_host /opt/stack/nova/nova/virt/libvirt/driver.py:504}} 
- RROR oslo_service.service [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] Error starting thread.: InternalError: Nova requires QEMU version 2.5.0 or greater. 
- RROR oslo_service.service Traceback (most recent call last): 
- RROR oslo_service.service   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 792, in run_service 
- RROR oslo_service.service     service.start() 
- RROR oslo_service.service   File "/opt/stack/nova/nova/service.py", line 162, in start 
- RROR oslo_service.service     self.manager.init_host() 
- RROR oslo_service.service   File "/opt/stack/nova/nova/compute/manager.py", line 1124, in init_host 
- RROR oslo_service.service     self.driver.init_host(host=self.host) 
- RROR oslo_service.service   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 507, in init_host 
- RROR oslo_service.service     libvirt_utils.version_to_string(MIN_QEMU_VERSION)) 
- RROR oslo_service.service InternalError: Nova requires QEMU version 2.5.0 or greater. 
- RROR oslo_service.service  
+ EBUG nova.virt.libvirt.host [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] HYPERVISOR VERSION IS 2011001 {{(pid=7926) _version_check /opt/stack/nova/nova/virt/libvirt/host.py:496}}
+ EBUG nova.virt.libvirt.driver [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] QEMU_VERSION is 2011001 {{(pid=7926) init_host /opt/stack/nova/nova/virt/libvirt/driver.py:504}}
+ RROR oslo_service.service [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] Error starting thread.: InternalError: Nova requires QEMU version 2.5.0 or greater.
+ RROR oslo_service.service Traceback (most recent call last):
+ RROR oslo_service.service   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 792, in run_service
+ RROR oslo_service.service     service.start()
+ RROR oslo_service.service   File "/opt/stack/nova/nova/service.py", line 162, in start
+ RROR oslo_service.service     self.manager.init_host()
+ RROR oslo_service.service   File "/opt/stack/nova/nova/compute/manager.py", line 1124, in init_host
+ RROR oslo_service.service     self.driver.init_host(host=self.host)
+ RROR oslo_service.service   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 507, in init_host
+ RROR oslo_service.service     libvirt_utils.version_to_string(MIN_QEMU_VERSION))
+ RROR oslo_service.service InternalError: Nova requires QEMU version 2.5.0 or greater.
+ RROR oslo_service.service
  
  I'm looking into the validation code right now but wanted to raise a
  flag already. Maybe i'm overlooking something?

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1778017

Title:
  Qemu min version validation fails on Xenial with Qemu 2.11.1

Status in OpenStack Compute (nova):
  New

Bug description:
  Novas Qemu min version validation  fails on our CI systems. Please
  note that i added some additional debug output prior to the exception
  message showing the installed Qemu version is 2.11.1 (which is
  correctly picked up by the libvirt lib). Somehow Nova fails to
  acknowledge version 2.11.1 is >= 2.5.0 . Log excerpt from
  devstack@n-cpu service log in our Devstack:

  EBUG nova.virt.libvirt.host [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] HYPERVISOR VERSION IS 2011001 {{(pid=7926) _version_check /opt/stack/nova/nova/virt/libvirt/host.py:496}}
  EBUG nova.virt.libvirt.driver [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] QEMU_VERSION is 2011001 {{(pid=7926) init_host /opt/stack/nova/nova/virt/libvirt/driver.py:504}}
  RROR oslo_service.service [None req-be3dfd79-9035-443c-bf60-ac83e7c1b290 None None] Error starting thread.: InternalError: Nova requires QEMU version 2.5.0 or greater.
  RROR oslo_service.service Traceback (most recent call last):
  RROR oslo_service.service   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 792, in run_service
  RROR oslo_service.service     service.start()
  RROR oslo_service.service   File "/opt/stack/nova/nova/service.py", line 162, in start
  RROR oslo_service.service     self.manager.init_host()
  RROR oslo_service.service   File "/opt/stack/nova/nova/compute/manager.py", line 1124, in init_host
  RROR oslo_service.service     self.driver.init_host(host=self.host)
  RROR oslo_service.service   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 507, in init_host
  RROR oslo_service.service     libvirt_utils.version_to_string(MIN_QEMU_VERSION))
  RROR oslo_service.service InternalError: Nova requires QEMU version 2.5.0 or greater.
  RROR oslo_service.service

  I'm looking into the validation code right now but wanted to raise a
  flag already. Maybe i'm overlooking something?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1778017/+subscriptions


Follow ups