if ipv6 or ipv6_cluster_network:
logger.info('Enabling IPv6 (ms_bind_ipv6) binding')
cli(['config', 'set', 'global', 'ms_bind_ipv6', 'true'])
+ # note: Ceph does not fully support dual stack.
+ # kernel clients: https://tracker.ceph.com/issues/49581
+ # if we do not disable ipv4 binding, daemons will bind
+ # to 0.0.0.0 and clients will misbehave.
+ logger.info('Disabling IPv4 (ms_bind_ipv4) binding')
+ cli(['config', 'set', 'global', 'ms_bind_ipv4', 'false'])
with open(ctx.output_config, 'w') as f:
f.write(config)