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 1707883

Summary: Beast frontend binds ipv6 ports explicitly
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Casey Bodley <cbodley>
Component: RGWAssignee: Casey Bodley <cbodley>
Status: CLOSED ERRATA QA Contact: RUDRA PRATAP <rpratap>
Severity: medium Docs Contact:
Priority: high    
Version: 3.2CC: assingh, cbodley, ceph-eng-bugs, ceph-qe-bugs, kbader, mbenjamin, rpratap, sweil, tchandra, tserlin
Target Milestone: rc   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 12:46:15 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:

Description Casey Bodley 2019-05-08 15:53:14 UTC
Description of problem:

When specifying a port with --rgw-frontends="beast port=80", port 80 is bound as ipv4 only. It should also bind to ipv6.

When specifying an ipv6 address with --rgw-frontends="beast endpoint=[::]:80", port 80 is bound as ipv6. If /proc/sys/net/ipv6/bindv6only is 0, it also binds to ipv4. It should only bind to the provided address family, regardless of the value of /proc/sys/net/ipv6/bindv6only.


Steps to Reproduce: (using port)

1. Start radosgw with: rgw frontends = beast port=80
2. Query socket statistics: $ ss -ntl '( sport = 80 )'

Actual results:

LISTEN     0           128                     0.0.0.0:8000                        *:*

Expected results: 

LISTEN     0           128                           *:8000                        *:*


Steps to Reproduce: (using ipv6 endpoint)

1. Start radosgw with: rgw frontends = beast endpoint=[::]:80
2. Query socket statistics: $ ss -ntl '( sport = 80 )'

Actual results:

LISTEN     0           128                           *:8000                        *:*

Expected results: 

LISTEN     0           128                        [::]:8000                        *:*

Comment 1 Giridhar Ramaraju 2019-08-05 13:08:20 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 2 Giridhar Ramaraju 2019-08-05 13:09:50 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 8 errata-xmlrpc 2020-01-31 12:46:15 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:0312