Descriptionstate/open.go: don't require "admin" access
When upgrading from 1.18, machine-0 doesn't have admin rights, and we
haven't implemented bug #1306902 to give it right during upgrade. As
such when machine-0 with 1.19 goes to log in, we shouldn't require
logging into admin to succeed. We only need it to change replicaset
data, so it shouldn't break anything (yet).
One thing this patch doesn't try to do is record that logging in failed,
so that if EnsureAvailability gets called we could refuse to do so if we
don't have admin rights.
https://code.launchpad.net/~jameinel/juju-core/soft-login-failure-1307450/+merge/215742
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|