This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.
Bug 1469781 - Deploying multiple RGWs on different hosts mix up service creation
Summary: Deploying multiple RGWs on different hosts mix up service creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 2.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-11 20:13 UTC by Alexandre Marangone
Modified: 2017-12-05 23:35 UTC (History)
11 users (show)

Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc6.el7cp Ubuntu: ceph-ansible_3.0.0~rc6-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:35:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1838 0 None None None 2017-08-31 09:25:25 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Alexandre Marangone 2017-07-11 20:13:30 UTC
Description of problem:
This is an issue a customer is experiencing that I managed to reproduce on a couple of test VMs.
When deploying multiple RGWs on different machines, one of the RGW machine got its service enabled for itself and the RGW on the other host.

In the following setup I have a radosgw deployed on hosts ceph0 and grafana. If I list the ceph-radosgw services on ceph0, I get both:

[root@ceph0 ~]# systemctl | grep ceph-radosgw
  ceph-radosgw.service                                                           loaded active running   Ceph rados gateway
● ceph-radosgw.service                                                         loaded failed failed    Ceph rados gateway
  ceph-radosgw.target                                                                      loaded active active    ceph target allowing to start/stop all ceph-radosgw@.service instances at once

On the grafana host:
[root@grafana ceph-ansible]# systemctl | grep ceph-radosgw
  ceph-radosgw.service                                                         loaded active running   Ceph rados gateway
  ceph-radosgw.target                                                                      loaded active active    ceph target allowing to start/stop all ceph-radosgw@.service instances at once

This means that any use of ceph-rados.target will fail. 

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

Comment 2 seb 2017-07-24 07:58:07 UTC
Please share your inventory file.

Comment 3 Alexandre Marangone 2017-07-24 12:41:20 UTC
I wiped the hosts and not on-site with the customer anymore but it was:
[mons]
ceph0

[osds]
ceph0

[rgws]
ceph0
grafana

[ceph-grafana]
grafana

Comment 4 seb 2017-08-30 22:43:10 UTC
I can reproduce, will send a fix tomorrow.

Comment 5 Ken Dreyer (Red Hat) 2017-08-31 17:47:02 UTC
leseb would you please tag and announce a new version upstream so we can rebase to that version downstream?

Comment 11 errata-xmlrpc 2017-12-05 23:35:34 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-2017:3387


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