Description of problem:
Ceph Radosgw fails to start in IPv6 environment. /var/log/ceph/radosgw.log shows:
2016-10-22 21:14:06.584029 7f9b2746f9c0 0 civetweb: 0x7f9b276cddc0: set_ports_option: fd00:fd00:fd00:3000::12:8080: invalid port spec. Expecting list of: [IP_ADDRESS:]PORT[s|r]
osd_pool_default_pgp_num = 32
osd_pool_default_min_size = 1
auth_service_required = cephx
mon_initial_members = overcloud-serviceapi-0,overcloud-serviceapi-1,overcloud-serviceapi-2
fsid = 9ec38a7e-9896-11e6-a11d-5254004bd9e6
cluster_network = fd00:fd00:fd00:4000::1b/64
auth_supported = cephx
auth_cluster_required = cephx
mon_host = [fd00:fd00:fd00:3000::12],[fd00:fd00:fd00:3000::1a],[fd00:fd00:fd00:3000::22]
auth_client_required = cephx
osd_pool_default_size = 3
osd_pool_default_pg_num = 32
ms_bind_ipv6 = True
public_network = fd00:fd00:fd00:3000::12/64
public_addr = fd00:fd00:fd00:3000::12
user = apache
rgw_frontends = civetweb port=fd00:fd00:fd00:3000::12:8080
log_file = /var/log/ceph/radosgw.log
host = overcloud-serviceapi-0
keyring = /etc/ceph/ceph.client.radosgw.gateway.keyring
rgw_keystone_token_cache_size = 500
rgw_keystone_url = http://192.168.0.12:35357
rgw_s3_auth_use_keystone = True
rgw_keystone_admin_token = T7dQrP9vM7ReXX43GQQutxnZP
rgw_keystone_accepted_roles = admin,_member_,Member
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Deploy IPv6 overcloud with Radosgw enabled
2. Upload object with swift client
('Connection aborted.', BadStatusLine("''",))
Successful object upload.
AFAIK this is purely a Ceph issue, this is not related to the Ceph DFG.
I think we want the civetweb binding address in brackets. I will attempt a fix later in the day unless keith or jonh pick this up earlier.
Given the Ceph bug, we need both the tripleo-heat-templates fix and Ceph >= 10.2.3 for this to work.
This is weird since http://tracker.ceph.com/issues/16945 is part of rhcs-2.0
(In reply to seb from comment #5)
> This is weird since http://tracker.ceph.com/issues/16945 is part of rhcs-2.0
ack, we need the THT fix too
I will be testing this as a ceph/jewel cluster today.
1) Ceph 10.2.3 should fix the RGW civetweb issue.
2) tripleo-heat-templates (THT) may need patch: https://review.openstack.org/#/c/390569/
https://review.openstack.org/#/c/395785/ has merged to master of puppet-tripleo
puppet-tripleo and tripleo-heat-templates patches merged into master branch, waiting on newton backports to merge
patches merged into newton branch
Verified on openstack-tripleo-heat-templates-5.1.0-6.el7ost.noarch
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.