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 #1

Updated by Michael Eischer about 7 years ago

Ping Any progress on this?

Actions #2

Updated by Nathan Cutler about 7 years ago

@michael rodriguez: Can you open a PR at https://github.com/ceph/ceph with your proposed fix? The documentation is under doc/

Actions #3

Updated by Jason Dillaman about 7 years ago

@michael rodriguez: note that Icehouse and Havana are both EOLed by the upstream community. Does this issue apply to Grizzly+ releases of OpenStack as well?

Actions #4

Updated by Michael Eischer about 7 years ago

I've opened a pull request: https://github.com/ceph/ceph/pull/13403

@Jason Borden: The documentation fix doesn't apply to OpenStack Juno or later which have their own documentation section(s). OpenStack Grizzly is not covered by the rbd documentation, but also doesn't seem to have the 'libvirt_' prefix for disk_cachemodes.

Actions #5

Updated by Jason Dillaman about 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF