Unable to install Ceilometer Services on IPv6

asked 2017-07-03 05:12:42 -0500

Anirudh gravatar image

Hi,

We are trying to configure Ceilometer Services using Ipv6, but facing error in creating Mongo DB

mongo --host eff0:eff0:eff0::241 –ipv6 --eval ' db = db.getSiblingDB("ceilometer"); db.addUser({user: "ceilometer", pwd: "CEILOMETER_DBPASS", roles: [ "readWrite", "dbAdmin" ]})' MongoDB shell version: 2.4.9 connecting to: controller.youdomain.com:27017/test Wed Jun 28 13:16:02.598 Error: couldn't connect to server controller.youdomain.com:27017 at src/mongo/shell/mongo.js:147 exception: connect failed

Also we tried to configure, IPv6 Bind Address in /etc/mongodb.conf bind_ip = ::

On restarting the service, we are observing the below error in mongo DB logs: -

Wed Jun 28 13:05:09.704 [initandlisten] journal dir=/var/lib/mongodb/journal Wed Jun 28 13:05:09.704 [initandlisten] recover : no journal files present, no recovery needed Wed Jun 28 13:05:09.754 [initandlisten] getaddrinfo("::") failed: Address family for hostname not supported Wed Jun 28 13:05:09.754 [websvr] getaddrinfo("::") failed: Address family for hostname not supported Wed Jun 28 13:05:09.754 [websvr] admin web console waiting for connections on port 28017 Wed Jun 28 13:05:09.755 [initandlisten] waiting for connections on port 27017

Can someone please suggest some pointers in order to proceed

edit retag flag offensive close merge delete