"juju offers" ignores -m flag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth | ||
2.3 |
Fix Released
|
High
|
Ian Booth |
Bug Description
I created an offer like this:
$ juju offer nagios:monitor
Application "nagios" endpoints [monitors] available at "admin/
Now I can't list it:
$ juju models
Controller: prodstack-is
Model Cloud/Region Status Machines Cores Access Last connection
admin/prod-nagios* xxx/yyy available 1 1 admin 15 minutes ago
$ juju offers
ERROR model "prod-nagios/
$ juju offers -m "prod-nagios"
ERROR model prodstack-
$ juju offers -m "admin/prod-nagios"
ERROR model "prod-nagios/
By the looks of it it will only try current shell user (prodstack-is) or use model name as user (prod-nagios).
juju 2.3.8-trusty-amd64
Ubuntu 14.04.5 LTS
Both controller model and the controller where my application is are on 2.3.8 too.
Changed in juju: | |
assignee: | Ian Booth (wallyworld) → Anastasia (anastasia-macmood) |
Changed in juju: | |
assignee: | Anastasia (anastasia-macmood) → Ian Booth (wallyworld) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Offers aren't model specific. They're based on the controller. I'd expect the offers command to take a controller argument to list out all offers available on that controller.
I would expect juju offers to show the list of available offers on the currently selected controller. I'm double checking permissions/ACL as I thought you just needed a valid account on the controller.