Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1497220

Summary: Starting in pike, tripleo cannot deploy ceph pools of differing PG values
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: openstack-tripleo-heat-templatesAssignee: Giulio Fidente <gfidente>
Status: CLOSED CURRENTRELEASE QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: agurenko, dbecker, ddomingo, gfidente, jefbrown, jomurphy, kschinck, mburns, morazi, rhel-osp-director-maint, shan, yrabl
Target Milestone: betaKeywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-15 17:20:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1476046, 1516389    

Description John Fulton 2017-09-29 14:08:22 UTC
Both ceph-ansible (default in pike) and puppet-ceph (default before pike) support defining a data structure mapping Ceph pools to be created and their respective PG sizes. For example, ceph-ansible can be passed the following and it will deploy ceph pools of differing PG values:

CephPools:
  - name: mypool
    pg_nume: 256
  - name: anotherpool
    pg_num: 64

For TripleO to take advantage of this feature the following needs to be refactored:

 https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/ceph-ansible/ceph-base.yaml#L72-L84