juju/juju — pull request #853 by mjs (2014-09-28 22:32:29+00:00)
Title: apiserver: changed login failure handling during upgrades

Login attempts may fail during upgrades due to schema migrations not having been applied yet. Instead of reporting a "bad credentials"
error in this case, which is confusing to users and causes unit agents to terminate, return "upgrade in progress" instead.

Fixes LP #1372752.

http://reviews.vapour.ws/r/119/diff/