Comment 21 for bug 1701275

Revision history for this message
Alvaro Uria (aluria) wrote :

With regard to the same environment reported by Paolo on previous comments, we can't log in on "secondary-to-be" mongo services.

0) Controllers are Xenial running Juju 2.2.1.1 and Mongo 3.2
1) "JUJU_MODEL=controller juju status --format yaml": http://pastebin.ubuntu.com/25031101/
2) rs.status() on PRIMARY: http://pastebin.ubuntu.com/25031086/
3) when trying to log in on "secondary-to-be" controllers: http://pastebin.ubuntu.com/25031117/
3.1) syslog shows:
"""
Jul 6 09:50:07 controller2 mongod.37017[20333]: [conn168826] SCRAM-SHA-1 authentication failed for machine-1 on admin from client 127.0.0.1 ; UserNotFound: Could not find user machine-1@admin
"""

It looks like mongo replicas are not able to properly bootstrap and reach the primary server.

Please let me know if I can help you further or need more information of any kind.

Kind regards,
-Alvaro.