openstack-nova-compute service fails with - libvirtError: internal error: CPU feature `avx' specified more than once
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* cpu features list which is being sent to libvirt,
when creating a domain or calling compareCPU, must contain only
unique entries. Multiple issues arise when we are updating the
features attribute in LibvirtConfigCPU class (for example during
migration).
[Test Case]
* A two node openstack havana on ubuntu 14.04. Migrating a instance to other node.
- Migrate the instance
- Observe /var/log/
- /var/log/
[Regression Potential]
* Same fix for 1303536 applied to Icehouse.
* Fix is running in a big production without any problem.
* A regression would continue to cause nova not to start (as is happening
today with this bug) under described conditions.
[Other Info]
-------
Original Description (Clone of a Fedora Bug)
-------
Restarting openstack-
libvirtError: internal error: CPU feature `avx' specified more than once
Version
---------
$ rpm -q openstack-nova libvirt qemu-system-x86
openstack-
libvirt-
qemu-
Test env
----------
A two node OpenStack RDO set-up configured manually on two Fedora 20
VMs:
- Controller node: Nova, Keystone, Cinder, Glance, Neutron (using Open
vSwitch plugin and GRE tunneling).
- Compute node: Nova (nova-compute), Neutron (openvswitch-agent)
How reproducible: Consistently.
Steps to Reproduce
------------------
$ systemctl restart openstack-
Observe /var/log/
Actual results
--------------
$ tail -f /var/log/
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Expected results
----------------
Compute service should start successfully.
Additional info
---------------
Status of openstack-
$ systemctl status openstack-
openstack-
Loaded: loaded (/usr/lib/
Active: inactive (dead) since Tue 2014-01-08 07:00:07 EST; 13min ago
Process: 1529 ExecStart=
Main PID: 1529 (code=exited, status=0/SUCCESS)
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
Jan 07 07:00:07 node2-compute nova-compute[1529]: 2014-01-08 07:00:07.200 1529 TRACE nova.openstack.
[reply] [−]
Private
Comment 1 Kashyap Chamarthy 2014-01-08 09:21:17 EST
More contextual trace from compute.log:
[. . .]
2014-12-10 22:12:38.789 1429 TRACE nova.virt.
2014-12-10 22:12:39.319 1429 ERROR nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:39.319 1429 TRACE nova.openstack.
2014-12-10 22:12:58.904 1467 WARNING nova.virt.
[. . .]
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifieddebian/changelog (+1/-0)
tags: | added: libvirt |
tags: | added: libvirt1x |
Changed in nova: | |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
summary: |
- openstack-nova-compute service fails with - libvirtError: internal + openstack-nova-compute service fails with - libvirtError: internal error: CPU feature `avx' specified more than once |
This is a clone of -- Fedora/RDO related bug -- https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1049391