Disk cache mode get set to cache='none' for ephemeral disk on ceph with disk_cachemodes="network=writeback"

Solution Verified - Updated -


When disk_cachemodes="network=writeback" is set as cache mode, attached cinder volumes get attached with cache=writeback.
This got fixed with BZ1482921 . With the same setting ephemeral disk on ceph storage is set to cache=none.
As a result disk performance is not as good as with cache=writeback.

    <disk type='network' device='disk'>
      <driver name='qemu' type='raw' cache='none' discard='unmap'></driver>
      <auth username='openstack'>
        <secret type='ceph' uuid='e3086acc-dc76-11e7-95f9-525400f7c7a5'></secret>
      <source protocol='rbd' name='vms/83ce71e1-505c-48c4-88e0-178df2ec3d43_disk'>
        <host name='' port='6789'></host>
        <host name='' port='6789'></host>
        <host name='' port='6789'></host>
      <target dev='vda' bus='virtio'></target>
      <alias name='virtio-disk0'></alias>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'></address>


  • Red Hat OpenStack Platform 11.0
  • <= python-nova-15.0.7-1.el7ost.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In