Red Hat Bugzilla – Bug 1295597
mongodb IPv6 disabled because configuration does not include net.ipv6 option
Last modified: 2016-04-26 10:47:10 EDT
Description of problem:
In the OpenStack puppet modules for mongodb, the value net.ipv6 is unset. This means that IPv6 is disabled in MongoDB. Native IPv6 is under development for OSP, but in order for that to work we need to enable IPv6 in MongoDB.
Version-Release number of selected component (if applicable):
OSP 8.0 trunk, RDO upstream
Steps to Reproduce:
1. Deploy overcloud using IPv6 native network templates
2. Network is deployed with IPv6 addresses
MongoDB ignores the bind_ip in /etc/mongod.conf because net.ipv6 is unset
MongoDB should accept an IPv6 bind_ip so it will work in native IPv6
This can be a value which is set to false by default, but we need the ability to set this value to true. Once that exists, Heat can output "True" if the bind_ip is IPv6, or "False" if the bind_ip is IPv4.
From the MongoDB docs:
Enable or disable IPv6 support and allows the mongos or mongod to connect to the MongoDB instance using an IPv6 network. All MongoDB programs and processes disable IPv6 support by default.
Upstream bug filed as well:
Upstream bug in Puppet labs bugtracker:
(In reply to Dan Sneddon from comment #2)
> Upstream bug filed as well:
This bug was rejected on the Launchpad site, and I was asked to file a bug with Puppet labs, see comment #3 for external bug URL.
(In reply to Dan Sneddon from comment #4)
This is not actually a bug in the puppet modules, but rather missing data from the TripleO Heat templates. I closed the upstream bug, and made changes to T-H-T to accomodate.