Bug 1184256 - puppet does not deploy the same ceph.conf to all nodes
Summary: puppet does not deploy the same ceph.conf to all nodes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 6.0 (Juno)
Assignee: Martin Magr
QA Contact: Jaroslav Henner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-20 21:12 UTC by Keith Schincke
Modified: 2023-09-14 02:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-17 08:57:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Keith Schincke 2015-01-20 21:12:40 UTC
Description of problem:
Puppet does not deploy the same ceph.conf file to each of the nodes in a cluster. 
The Ceph "public_network"/Storage needs to be available to all Ceph using hosts. The Ceph "cluster_network"/Storage Cluster is needed only to the OSD nodes. 

However, if the Storage Cluster network is configure only to the OSD nodes then the ceph.conf file on the OSP Controller/Ceph monitor nodes does not not contain the "cluster_network" directive. 

Here is the ceph.conf file from an OSD followed by the ceph.conf from an OSP controller

OSD:
[global]
fsid = dae69645-9b4f-4a73-b93e-caafbf33a5dc
mon_initial_members = osp-cont-3, osp-cont-2, osp-cont-1
mon_host = 172.22.1.32, 172.22.1.30, 172.22.1.31
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true

public_network = 172.22.1.0/24
cluster_network = 172.22.2.0/24

[client.images]
keyring = /etc/ceph/ceph.client.images.keyring

[client.volumes]
keyring = /etc/ceph/ceph.client.volumes.keyring

Controller:
[global]
fsid = dae69645-9b4f-4a73-b93e-caafbf33a5dc
mon_initial_members = osp-cont-3, osp-cont-2, osp-cont-1
mon_host = 172.22.1.32, 172.22.1.30, 172.22.1.31
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true

public_network = 172.22.1.0/24

[client.images]
keyring = /etc/ceph/ceph.client.images.keyring

[client.volumes]
keyring = /etc/ceph/ceph.client.volumes.keyring



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 seb 2016-10-17 08:57:10 UTC
It's fine having different version of the ceph.conf depending on the node, definitely not a big issue.
The configuration is still correct and that's the most important thing.

Comment 6 Red Hat Bugzilla 2023-09-14 02:53:44 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.