Red Hat Bugzilla – Bug 987895
Troubleshooting mongo section needs work
Last modified: 2017-03-08 12:35 EST
This section needs some changes:
"Duplication of configuration files will cause problems with MongoDB," => should be "configuration options" or "configuration lines", duplication of configuration files doesn't make any sense
"mongo openshift_broker_dev" should be "mongo openshift_broker" which is the default we ship in /etc/openshift/broker.conf; really, we should refer to that file for the database host, port, name, user, and password to use in testing, and indicate how to connect with the full settings. As demonstrated:
[root@broker ~]# grep MONGO /etc/openshift/broker.conf
# Eg: MONGO_HOST_PORT="<host1:port1>,<host2:port2>..."
[root@broker ~]# mongo localhost:27017/openshift_broker -u openshift -p mongopass
MongoDB shell version: 2.2.3
connecting to: localhost:27017/openshift_broker
> show collections
[these might not all be there if the broker hasn't accessed the DB successfully]
This will be important for testing access to other hosts with a redundant DB.