upgrade-controller fails to get right model for non-admin user

Bug #1850941 reported by Richard Harding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Nam Nguyen

Bug Description

juju bootstrap
juju add-user rick
juju grant rick superuser

juju register rick...

<as rick>
juju upgrade-controller
ERROR model test-upgrade:rick/controller not found

This should pick up the right controller model vs making the user figure it out.

Tags: multi-user
Revision history for this message
Richard Harding (rharding) wrote :

Actually there's no argument that a non-admin user can type in here I can see that will allow the upgrade to occur. You can specify the -c for the controller but it still gets the currentuser/controller and there's no model argument

Changed in juju:
importance: Medium → High
tags: added: multi-user
Changed in juju:
milestone: none → 2.7.1
Nam Nguyen (nammn)
Changed in juju:
assignee: nobody → Nam Nguyen (nammn)
Revision history for this message
Nam Nguyen (nammn) wrote :

The only way currently is to specify the controller through the model argument:

```
juju upgrade-model --build-agent -m admin/controller --debug
```

Revision history for this message
Richard Harding (rharding) wrote :

Right, but now you're using upgrade-model and not the upgrade-controller command that we've specified users should be using.

Nam Nguyen (nammn)
Changed in juju:
status: Triaged → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.