enhance user facing messaging

Bug #1896089 reported by james beedy
6
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

Tags: bitesize
Revision history for this message
Pen Gale (pengale) wrote :

I was able to reproduce by doing the following, on jaas, using my "petevg" and "petevg-demo" users:

    # On my laptop
    juju switch jaas
    juju add-model test-perm aws
    juju grant petevg-demo@external read test-perm

    # Drop into an lxc container with my petevg-demo user setup
    lxc shell petevg-demo
    juju login
    juju switch petevg@external/test-perm
    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.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.9-beta1
tags: added: bitesize
Changed in juju:
milestone: 2.9-beta1 → 2.9-rc1
Pen Gale (pengale)
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)
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
status: In Progress → 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.