yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80013
[Bug 1844211] [NEW] nova compute service failed to start when cpu_model_extra_flags seted
Public bug reported:
Description
===========
The nova compute service failed to start when use libvirt drive and
cpu_model_extra_flags set.
Steps to reproduce
==================
* set [default]/compute_driver = libvirt.LibvirtDriver
* set [libvirt]/cpu_model_extra_flags = aes
* restart nova compute service
Expected result
===============
Nova compute service start correct.
Actual result
=============
Nova compute service failed to start.
Environment
===========
Logs & Configs
==============
2019-09-17 10:31:59.044 6 ERROR oslo_service.service Traceback (most recent call last):
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_service/service.py", line 810, in run_service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service service.start()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/service.py", line 160, in start
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self.manager.init_host()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1255, in init_host
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self.driver.init_host(host=self.host)
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 742, in init_host
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self._check_cpu_compatibility()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 798, in _check_cpu_compatibility
2019-09-17 10:31:59.044 6 ERROR oslo_service.service raise exception.InvalidCPUInfo(msg)
2019-09-17 10:31:59.044 6 ERROR oslo_service.service InvalidCPUInfo: Configured extra flag: aes it not correct, or the host CPU does not support this flag. Please correct the config and try again. Migration pre-check error: CPU doesn't have compatibility.
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service internal error: Unknown CPU model x86_64
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
** 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/1844211
Title:
nova compute service failed to start when cpu_model_extra_flags seted
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
The nova compute service failed to start when use libvirt drive and
cpu_model_extra_flags set.
Steps to reproduce
==================
* set [default]/compute_driver = libvirt.LibvirtDriver
* set [libvirt]/cpu_model_extra_flags = aes
* restart nova compute service
Expected result
===============
Nova compute service start correct.
Actual result
=============
Nova compute service failed to start.
Environment
===========
Logs & Configs
==============
2019-09-17 10:31:59.044 6 ERROR oslo_service.service Traceback (most recent call last):
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_service/service.py", line 810, in run_service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service service.start()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/service.py", line 160, in start
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self.manager.init_host()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1255, in init_host
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self.driver.init_host(host=self.host)
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 742, in init_host
2019-09-17 10:31:59.044 6 ERROR oslo_service.service self._check_cpu_compatibility()
2019-09-17 10:31:59.044 6 ERROR oslo_service.service File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 798, in _check_cpu_compatibility
2019-09-17 10:31:59.044 6 ERROR oslo_service.service raise exception.InvalidCPUInfo(msg)
2019-09-17 10:31:59.044 6 ERROR oslo_service.service InvalidCPUInfo: Configured extra flag: aes it not correct, or the host CPU does not support this flag. Please correct the config and try again. Migration pre-check error: CPU doesn't have compatibility.
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service internal error: Unknown CPU model x86_64
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
2019-09-17 10:31:59.044 6 ERROR oslo_service.service Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult
2019-09-17 10:31:59.044 6 ERROR oslo_service.service
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1844211/+subscriptions
Follow ups