Bug 1356719 - Libvirt: AIO mode for disk devices not propagating the io policy when set in nova.conf
Summary: Libvirt: AIO mode for disk devices not propagating the io policy when set in ...
Keywords:
Status: CLOSED DUPLICATE of bug 1373613
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Vladik Romanovsky
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-14 20:45 UTC by Aaron Thomas
Modified: 2020-01-17 15:50 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 12:50:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aaron Thomas 2016-07-14 20:45:01 UTC
Description of problem:
-----------------------------------------
Cisco has requested the following change around the previous outcome of the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1175440. The resulting solution was to change nova.conf "disk_cachemodes=network=writeback" which did not propagate the io policy in libvirt.xml, putting forth the argument that the VM performance is not optimized.

Additional research leads to the accepted blueprint for mitaka m3 release:
-----------------------------------------
Libvirt and qemu provide two different modes for asynchronous IO (AIO), “native” and “threads”. Right now nova always uses the default thread mode. Depending on the disk type that is used for backing guest disks, it can be beneficial to use the native IO mode instead which appears to be related to Cisco's request. 

Upstream Blueprints: 

Libvirt: AIO mode for disk devices
-----------------------------------------
https://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/libvirt-aio-mode.html#libvirt-aio-mode-for-disk-devices

bp/libvirt-aio-mode
-----------------------------------------
https://review.openstack.org/#/q/topic:bp/libvirt-aio-mode,n,z


Version-Release number of selected component (if applicable):
-----------------------------------------
All current versions of nova


How reproducible:
-----------------------------------------
100%


Steps to Reproduce:
------------------------------------------
1. Set "disk_cachemodes=network=writeback" in nova.conf
2. check libvirt.xml policy to verify io="threads" are enabled not aio="native"


Actual results:
-----------------------------------------
When "disk_cachemodes=network=writeback" is set in nova.conf, the libvirt.xml io policy is set to io="threads".


Expected results:
-----------------------------------------
When "disk_cachemodes=network=writeback" is set in nova.conf, the libvirt.xml io policy is set to aio="native".



Additional info:
-----------------------------------------
https://bugzilla.redhat.com/show_bug.cgi?id=1175440#c14
https://access.redhat.com/support/cases/#/case/01665252

Comment 8 awaugama 2017-09-07 19:06:12 UTC
Dup -- QE will decide about automating the original


Note You need to log in before you can comment on or make changes to this bug.