Inconsistent xml for libvirt disks
Bug #1729636 reported by
Mike Lowe
This bug report is a duplicate of:
Bug #1727558: libvirt driver ignores 'disk_cachemodes' configuration setting.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
With both of these settings the xml is not consistent between root disks and volumes when using RBD.
hw_disk_discard = unmap
disk_cachemodes = network=writeback
Root disks get this:
<driver name='qemu' type='raw' cache='none' discard='unmap'/>
Volumes get this:
<driver name='qemu' type='raw' cache='writeback'/>
Both have the same type (<disk type='network' device='disk'>) but the settings are not applied consistently between volumes and root disks.
nova: 15.0.7
CentOS: 7.4
libvirt: 3.2.0
Ceph: 12.2.1
To post a comment you must log in.
This was recently fixed and backported to stable/ocata:
https:/ /github. com/openstack/ nova/commit/ fc10b54f25023d7 e780b110928bda3 a19e4c03f0