Bug 1279554

Summary: Missing Ceph configuration options
Product: Red Hat OpenStack Reporter: Ben Nemec <bnemec>
Component: puppet-tripleoAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: dmacpher, jcoufal, jjoyce, jschluet, kimi.zhang, mburns, rhel-osp-director-maint, slinaber, tvignaud, yrabl
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-5.2.0-1.el7ost Doc Type: Enhancement
Doc Text:
Using the RBD backend driver (Ceph Storage) for OpenStack Compute (nova) ephemeral disks applies two additional settings to libvirt: hw_disk_discard : unmap disk_cachemodes : network=writeback This allows reclaiming of unused blocks on the Ceph pool and caching of network writes, which improves the performance for OpenStack Compute ephemeral disks using the RBD driver. Also see http://docs.ceph.com/docs/master/rbd/rbd-openstack/
Story Points: ---
Clone Of:
: 1299836 (view as bug list) Environment:
Last Closed: 2016-12-14 15:16:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1299836    

Description Ben Nemec 2015-11-09 17:35:44 UTC
Description of problem: According to the Ceph documentation at http://docs.ceph.com/docs/master/rbd/rbd-openstack/ there are some additional Nova options we should be setting when using Ceph as the backend.  I don't see any references to these params in our templates, so they were probably just missed in the initial Ceph implementation.

Two in particular that were noticed when documenting external Ceph are:

disk_cachemodes
hw_disk_discard

It doesn't seem that either of these are required for Ceph to function as the Nova backend, but it may be performing suboptimally when they're not set correctly.

Comment 3 Mike Burns 2016-04-07 20:57:01 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Giulio Fidente 2016-07-19 11:09:37 UTC
Moving into POST as this was merged upstream

Comment 8 Yogev Rabl 2016-10-13 10:55:03 UTC
verified on puppet-tripleo-5.2.0-1.el7ost.noarch

Comment 10 errata-xmlrpc 2016-12-14 15:16:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html