Unable to Start pf9-ostackhost Service

Problem

  • Unable to start pf9-ostackhost service on a KVM host.

  • Below messages are seen in /var/log/pf9/ostackhost.log .

950 INFO nova.service [-] Starting compute node (version 2013.2.0)800 ERROR oslo_service.service [-] Error starting thread.: InternalError: Nova requires QEMU version 2.0.0 or greater.800 TRACE oslo_service.service Traceback (most recent call last):800 TRACE oslo_service.service  File "/opt/pf9/venv/lib/python2.7/site-packages/oslo_service/service.py", line 796, in run_service800 TRACE oslo_service.service    service.start()800 TRACE oslo_service.service  File "/opt/pf9/venv/lib/python2.7/site-packages/nova/service.py", line 162, in start800 TRACE oslo_service.service    self.manager.init_host()800 TRACE oslo_service.service  File "/opt/pf9/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1208, in init_host800 TRACE oslo_service.service    self.driver.init_host(host=self.host)800 TRACE oslo_service.service  File "/opt/pf9/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 540, in init_host800 TRACE oslo_service.service    libvirt_utils.version_to_string(PF9_MIN_QEMU_VERSION))800 TRACE oslo_service.service InternalError: Nova requires QEMU version 2.0.0 or greater.

Environment

  • Platform9 Managed OpenStack - v4.0

  • Red Hat Enterprise Linux Server - v7.4

Cause

  • The minimum version of QEMU should be 2.0 or greater but on the KVM host the version is 1.5.3.

  • Use below command to check the QEMU version.

$ /usr/libexec/qemu-kvm --versionQEMU emulator version 1.5.3 (qemu-kvm-1.5.3-160.el7_6.1), Copyright (c) 2003-2008 Fabrice Bellard

Resolution

  1. Upgrade QEMU package to 2.0 or higher.

Additional Information

QEMU version can be checked using virsh command.

Last updated