← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1727558] Re: libvirt driver ignores 'disk_cachemodes' configuration setting

 

** Changed in: nova
     Assignee: Matt Riedemann (mriedem) => Kashyap Chamarthy (kashyapc)

** Changed in: nova
   Importance: Undecided => High

** Also affects: nova/newton
   Importance: Undecided
       Status: New

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

** Changed in: nova/ocata
       Status: New => Confirmed

** Changed in: nova/newton
   Importance: Undecided => High

** Changed in: nova/pike
       Status: New => Confirmed

** Changed in: nova/ocata
   Importance: Undecided => High

** Changed in: nova/pike
   Importance: Undecided => High

-- 
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/1727558

Title:
  libvirt driver ignores 'disk_cachemodes' configuration setting

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) newton series:
  New
Status in OpenStack Compute (nova) ocata series:
  Confirmed
Status in OpenStack Compute (nova) pike series:
  In Progress

Bug description:
  The libvirt driver is ignoring the 'disk_cachemodes' configuration
  setting and is always setting "cache='none'" in the device xml.

  For example, with a setting in nova.conf of
  "disk_cachemodes=network=writeback":

  Expected result:

  # virsh dumpxml <instance> | grep cache
          <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
          <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
          <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
          <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>

  Actual result:

  # virsh dumpxml <instance> | grep cache
          <driver name='qemu' type='raw' cache='none' discard='unmap'/>
          <driver name='qemu' type='raw' cache='none' discard='unmap'/>
          <driver name='qemu' type='raw' cache='none' discard='unmap'/>
          <driver name='qemu' type='raw' cache='none' discard='unmap'/>

  This is a regression in pike [1] that was also backported to ocata and
  newton.

  [1] https://review.openstack.org/#/c/485752

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1727558/+subscriptions


References