enhance user facing messaging
Bug #1896089 reported by
james beedy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips |
Bug Description
In the following scenario my user doesn't have privileges to add-machine in the model, can we error message something meaningful here?
$ juju add-machine
ERROR expected 1 result, got 0
thanks
Changed in juju: | |
milestone: | 2.9-beta1 → 2.9-rc1 |
Changed in juju: | |
milestone: | 2.9-rc1 → none |
importance: | Medium → High |
milestone: | none → 2.8.7 |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Joseph Phillips (manadart) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I was able to reproduce by doing the following, on jaas, using my "petevg" and "petevg-demo" users:
# On my laptop demo@external read test-perm
juju switch jaas
juju add-model test-perm aws
juju grant petevg-
# Drop into an lxc container with my petevg-demo user setup external/ test-perm
lxc shell petevg-demo
juju login
juju switch petevg@
juju add-machine
I got the error message mentioned above: ERROR expected 1 result, got 0
I don't know how big this one is -- if it's just a bitesize matter of passing error messages correctly, it would be nice to knock out.