Bug 1308426

Summary: Overcloud installation with external ceph sets wrong parameters in ceph.conf
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: openstack-tripleoAssignee: leseb <shan>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: jcoufal, jomurphy, jschluet, mburns, pkovacs, rhel-osp-director-maint, shan, srevivo, yrabl
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)Flags: pkovacs: needinfo? (shan)
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: openstack-tripleo-0.0.8-0.2.4de13b3git.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1411905 (view as bug list) Environment:
Last Closed: 2016-12-14 15:23:04 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: 1411905, 1440200    

Description Yogev Rabl 2016-02-15 08:28:02 UTC
Description of problem:
The installation of overcloud with external ceph requires few parameters in puppet-ceph-external.yaml: CephClusterFSID, CephClientKey, CephExternalMonHost, the names of the pools and Ceph user. 
The Ceph configuration file in the overcloud has configurations that are different from the configuration of the Ceph cluster.

For an example, this is the Ceph configuration of the overcloud:
osd_pool_default_pgp_num = 128 #can be changed in ../puppet/hieradata/ceph.yaml
osd_pool_default_min_size = 1 #can be changed in ../puppet/hieradata/ceph.yaml
auth_service_required = cephx
fsid = 792a0c5d-2f7d-4720-9232-d662de74fe6a
cluster_network = #irrelevant parameter in this case, remove/set different parameter in ceph-external.yaml
auth_supported = cephx
auth_cluster_required = cephx
mon_host =
auth_client_required = cephx
osd_pool_default_size = 3 #can be changed in ../puppet/hieradata/ceph.yaml
osd_pool_default_pg_num = 128 #can be changed in ../puppet/hieradata/ceph.yaml
public_network = #a there's a different parameter in the cluster's ceph.conf 

osd_journal_size = 1024 #can be changed in ../puppet/hieradata/ceph.yaml
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Deploy an overcloud with puppet-external-ceph.yaml

Actual results:
The Ceph configuration on the Openstack controllers are different from the configuration in the Ceph cluster. 

Expected results:
The Ceph configuration file should be the same on both Openstack controllers and Ceph cluster.

Additional info:

Comment 2 Mike Burns 2016-04-07 21:11:06 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 8 Yogev Rabl 2016-11-22 08:01:50 UTC
verified on openstack-tripleo-0.0.8-0.2.d81bd6dgit.el7ost.noarch

Comment 11 errata-xmlrpc 2016-12-14 15:23:04 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.