Bug 1243601

Summary: Overcloud deploys default to qemu instead of kvm
Product: Red Hat OpenStack Reporter: Ben Nemec <bnemec>
Component: python-rdomanager-oscpluginAssignee: Lennart Regebro <lregebro>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: unspecified Docs Contact:
Priority: high    
Version: DirectorCC: akrivoka, beagles, brad, calfonso, dmacpher, jslagle, mburns, mcornea, nbarcet, rhel-osp-director-maint, rkharwar, sasha, sgordon
Target Milestone: y1Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rdomanager-oscplugin-0.0.10-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 12:14:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Nemec 2015-07-15 21:38:17 UTC
Description of problem: By default the overcloud deployment uses qemu instead of kvm, and it's not obvious from the documentation that this needs to be changed.


Version-Release number of selected component (if applicable):


How reproducible: Always.


Steps to Reproduce:
1. Deploy to baremetal without specifying --libvirt-type kvm
2. Boot an instance.  It will use unaccelerated qemu.
3.

Actual results: Yugo performance from VM.


Expected results: Ferrari performance from VM.


Additional info: For RHOS 7 GA, this is likely a doc fix.  We should discuss whether to change the default in future releases, however.

Comment 4 Ben Nemec 2015-07-16 17:15:13 UTC
Note that this can be fixed after deployment by re-running the same deployment command with "--libvirt-type kvm" added.

Comment 6 Brent Eagles 2015-07-29 12:53:34 UTC
This is fairly critical and should be fixed as soon as practical. In addition to affecting performance, it prevents the use of features such as SR-IOV PCI passthrough.

Comment 7 Lennart Regebro 2015-08-24 10:53:21 UTC
Added a few doc improvements.

Comment 8 Lennart Regebro 2015-08-26 09:37:15 UTC
I also added a patch to change the default to KVM instead of QEMU, if it is decided that this is a bug that should be fixed.

https://review.gerrithub.io/#/c/244069

Comment 10 Lennart Regebro 2015-09-02 16:26:53 UTC
This bug needs documentation changes in any case, but we can also change the default from qemu to kvm, but I get conflicting opinions about if we should do that.

Comment 11 Stephen Gordon 2015-09-02 20:52:03 UTC
(In reply to Lennart Regebro from comment #10)
> This bug needs documentation changes in any case, but we can also change the
> default from qemu to kvm, but I get conflicting opinions about if we should
> do that.

WHY? We don't recommend the use of qemu emulation for real environments period from a Nova perspective.

Comment 12 chris alfonso 2015-09-02 21:02:51 UTC
There should no confusion any longer here. Default should be kvm. Thanks.

Comment 15 Marius Cornea 2015-09-07 14:13:31 UTC
[stack@instack ~]$ rpm -qa | grep python-rdomanager-oscplugin
python-rdomanager-oscplugin-0.0.10-1.el7ost.noarch

Deploy command: 

openstack overcloud deploy --templates 


Resulting config:
[heat-admin@overcloud-compute-0 ~]$ sudo grep virt_type /etc/nova/nova.conf | grep -v ^#
virt_type=kvm

Comment 17 errata-xmlrpc 2015-10-08 12:14:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1862

Comment 18 Mike Burns 2015-10-15 16:19:13 UTC
*** Bug 1270397 has been marked as a duplicate of this bug. ***

Comment 19 Mike Burns 2015-10-15 16:21:13 UTC
*** Bug 1270396 has been marked as a duplicate of this bug. ***