Project

General

Profile

Actions

Documentation #17978

closed

Wrong diskcache parameter name for OpenStack Havana and Icehouse

Added by Michael Eischer over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I've been investigating some performance issues I've encountered on an OpenStack Icehouse deployment. The configuration closely resembles the one from http://docs.ceph.com/docs/master/rbd/rbd-openstack/.
However, libvirt was using "none" as disk cache mode despite the configuration line in nova.conf:

libvirt_disk_cachemodes="network=writeback"

A closer examination revealed that the correct configuration would have been:

disk_cachemodes="network=writeback"

Due to an unknown reason there is no deprecated_name with a libvirt prefix for the disk_cachemodes configuration option (see https://github.com/angdraug/nova/blob/rbd-ephemeral-clone-stable-icehouse/nova/virt/libvirt/driver.py#L252). This holds for both OpenStack Havana and Icehouse. It is possible at least for Icehouse to use the configuration for Juno, which (implicitly) fixes the wrong parameter name.

Actions

Also available in: Atom PDF