Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1782743

Summary: [GSS] Forcing RGW to listen to all interfaces
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Karun Josy <kjosy>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: medium Docs Contact: John Brier <jbrier>
Priority: low    
Version: 3.3CC: aschoen, ceph-eng-bugs, dsavinea, gabrioux, gmeno, gsitlani, kdreyer, nthomas, rmandyam, ykaul
Target Milestone: z4   
Target Release: 3.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.2.39-1.el7cp Ubuntu: ceph-ansible_3.2.39-2redhat1 Doc Type: Bug Fix
Doc Text:
.The radosgw_address variable can be set to 0.0.0.0 Previously, the default value for `radosgw_address` was `0.0.0.0`. If you did not change the default value from `0.0.0.0`, then `ceph-ansible` would fail validation. However, this is a valid value for RADOS Gateway. With this update to {product}, the default value was changed to `x.x.x.x`, so you can change the value to `0.0.0.0` and it will pass validation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-06 08:27:06 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: 1726135    

Description Karun Josy 2019-12-12 09:28:10 UTC
* Description of problem:

In earlier ceph-ansible versions, we were able to use 0.0.0.0 as radosgw_address.
But in the latest version it fails with :
---
"msg": "[ceph2-osd1] Validation failed for variable: radosgw_address\n[ceph2-osd1] Reason: Either radosgw_address, radosgw_address_block or radosgw_interface must be provided\n[ceph2-osd1] Given value for radosgw_address: 0.0.0.0", 
---

One of our customer have a 2  RGW setup with 2 IPs x.x.x.51 and x.x.x.52 and a VIP  x.x.x.50 which they use as keepalived.

When they modify the conf file to either of these, this setup works fine.
----
rgw frontends = civetweb port=0.0.0.0:80 num_threads=512
rgw frontends = civetweb port=80 num_threads=512
----

Can they setup this using ceph-ansible with the latest version? As it looks like 0.0.0.0 usage is deprecated.  


* Version-Release number of selected component (if applicable):
ceph-ansible-3.2.4-1.el7cp.noarch

Comment 16 errata-xmlrpc 2020-04-06 08:27:06 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-2020:1320