yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61850
[Bug 1668164] [NEW] centos7: nova not detecting version of qemu-kvm-ev
Public bug reported:
Nova is failing to start on centos7 jobs [1]
---
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service [-] Error starting thread.
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service Traceback (most recent call last):
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 722, in run_service
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service service.start()
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/service.py", line 144, in start
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self.manager.init_host()
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/compute/manager.py", line 1138, in init_host
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self.driver.init_host(host=self.host)
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 498, in init_host
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self._version_to_string(MIN_QEMU_VERSION))
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service InternalError: Nova requires QEMU version 2.1.0 or greater.
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service
---
I have ensured we are using qemu-kvm-ev from the virt repos [2] (WIP
change at [3], but actually the qemu-kvm-ev package obsoletes the qemu-
kvm package so i think this is not the problem at all).
---
2017-02-27 00:43:14.858 | Installing:
2017-02-27 00:43:14.858 | qemu-kvm-ev x86_64 10:2.6.0-28.el7_3.3.1 rdo-qemu-ev 2.4 M
---
This seems to have started after [4]
We seem to be returning the right thing
---
[ianw@centos-7-rax-iad-7489471 ~]$ /usr/libexec/qemu-kvm --version
QEMU emulator version 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.3.1), Copyright (c) 2003-2008 Fabrice Bellard
[ianw@centos-7-rax-iad-7489471 ~]$ sudo virsh -c qemu:///system version --daemon
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0
Running against daemon: 2.0.0
>>> import libvirt
>>> c=libvirt.openReadOnly(None)
>>> c.getVersion()
2006000
---
[1] http://logs.openstack.org/02/438302/3/check/gate-tempest-dsvm-platform-centos7-nv/9549abc/logs/screen-n-cpu.txt.gz
[2] http://logs.openstack.org/02/438302/3/check/gate-tempest-dsvm-platform-centos7-nv/9549abc/logs/devstacklog.txt.gz#_2017-02-27_00_43_14_858
[3] https://review.openstack.org/#/c/438325/
[4] https://review.openstack.org/#/c/432700/
** Affects: nova
Importance: Undecided
Status: New
--
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/1668164
Title:
centos7: nova not detecting version of qemu-kvm-ev
Status in OpenStack Compute (nova):
New
Bug description:
Nova is failing to start on centos7 jobs [1]
---
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service [-] Error starting thread.
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service Traceback (most recent call last):
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 722, in run_service
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service service.start()
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/service.py", line 144, in start
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self.manager.init_host()
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/compute/manager.py", line 1138, in init_host
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self.driver.init_host(host=self.host)
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 498, in init_host
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service self._version_to_string(MIN_QEMU_VERSION))
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service InternalError: Nova requires QEMU version 2.1.0 or greater.
2017-02-27 00:53:52.638 20698 ERROR oslo_service.service
---
I have ensured we are using qemu-kvm-ev from the virt repos [2] (WIP
change at [3], but actually the qemu-kvm-ev package obsoletes the
qemu-kvm package so i think this is not the problem at all).
---
2017-02-27 00:43:14.858 | Installing:
2017-02-27 00:43:14.858 | qemu-kvm-ev x86_64 10:2.6.0-28.el7_3.3.1 rdo-qemu-ev 2.4 M
---
This seems to have started after [4]
We seem to be returning the right thing
---
[ianw@centos-7-rax-iad-7489471 ~]$ /usr/libexec/qemu-kvm --version
QEMU emulator version 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.3.1), Copyright (c) 2003-2008 Fabrice Bellard
[ianw@centos-7-rax-iad-7489471 ~]$ sudo virsh -c qemu:///system version --daemon
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0
Running against daemon: 2.0.0
>>> import libvirt
>>> c=libvirt.openReadOnly(None)
>>> c.getVersion()
2006000
---
[1] http://logs.openstack.org/02/438302/3/check/gate-tempest-dsvm-platform-centos7-nv/9549abc/logs/screen-n-cpu.txt.gz
[2] http://logs.openstack.org/02/438302/3/check/gate-tempest-dsvm-platform-centos7-nv/9549abc/logs/devstacklog.txt.gz#_2017-02-27_00_43_14_858
[3] https://review.openstack.org/#/c/438325/
[4] https://review.openstack.org/#/c/432700/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1668164/+subscriptions
Follow ups