error: cannot log in to admin database: auth fails

Bug #1178328 reported by Sidnei da Silva
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Expired
Undecided
Unassigned

Bug Description

Steps to reproduce:

Bootstrap environment
Run juju status

-> Returns immediately

Change admin-secret
Run juju status

-> Nothing for ~1min and then: error: cannot log in to admin database: auth fails

Running with -v, there's exactly 60s of retries with:

2013/05/09 16:22:16 INFO state: opening state; mongo addresses: ["10.55.63.165:37017"]; entity ""
2013/05/09 16:22:16 INFO state: connection established

Tags: ui
Revision history for this message
John A Meinel (jameinel) wrote :

See bug #1178312 for my comment about a general "fails slowly/waits forever" on things that won't actually work.

Did juju status at least report a failure after 1 minute, or is it just that you interrupted it?

Part of the issue is that the code is written to expect the service to take a while to start up, so it retries continually. But certainly it should detect a difference between:
1) Could not login because there isn't a remote service (try again later)
and
2) Could not login because the credentials are incorrect (immediately fatal because we don't expect them to work if we retry)

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju-core because there has been no activity for 60 days.]

Changed in juju-core:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.