Bug 1630447 - Deploying a cluster with multiple rgw instances breaks the ceph.conf
Summary: Deploying a cluster with multiple rgw instances breaks the ceph.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 3.1
Assignee: Guillaume Abrioux
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-18 16:44 UTC by Guillaume Abrioux
Modified: 2018-09-26 18:24 UTC (History)
7 users (show)

Fixed In Version: RHEL: ceph-ansible-3.1.5-1.el7cp Ubuntu: ceph-ansible_3.1.5-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-26 18:24:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 3133 0 None None None 2018-09-18 16:44:22 UTC
Red Hat Product Errata RHBA-2018:2819 0 None None None 2018-09-26 18:24:50 UTC

Description Guillaume Abrioux 2018-09-18 16:44:22 UTC
Description of problem:


Deploying a cluster with multiple rgw instances breaks the ceph.conf
It makes the rgw daemon unable to start because of wrong sections in ceph.conf


Version-Release number of selected component (if applicable):
ceph-ansible v3.1.4

How reproducible:
100%

Steps to Reproduce:
1. Deploy a cluster with multiple radosgw 

Actual results:
ceph.conf is broken like following:

[root@ceph-mon0 ~]# cat /etc/ceph/test.conf
[client.rgw.ceph-mon0]
host = ceph-mon0
keyring = /var/lib/ceph/radosgw/test-rgw.ceph-mon0/keyring
log file = /var/log/ceph/test-rgw-ceph-mon0.log
log file = /var/log/ceph/test-rgw-ceph-osd0.log
rgw frontends = civetweb port=192.168.1.10:8080 num_threads=100
rgw frontends = civetweb port=192.168.1.100:8080 num_threads=100


Expected results:
ceph.conf has correct client.rgw sections :

[client.rgw.ceph-mon0]
host = ceph-mon0
keyring = /var/lib/ceph/radosgw/test-rgw.ceph-mon0/keyring
log file = /var/log/ceph/test-rgw-ceph-mon0.log
rgw frontends = civetweb port=192.168.1.10:8080 num_threads=100

[client.rgw.ceph-osd0]
host = ceph-osd0
keyring = /var/lib/ceph/radosgw/test-rgw.ceph-osd0/keyring
log file = /var/log/ceph/test-rgw-ceph-osd0.log
rgw frontends = civetweb port=192.168.1.100:8080 num_threads=100

Comment 9 errata-xmlrpc 2018-09-26 18:24:01 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://access.redhat.com/errata/RHBA-2018:2819


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