juju says error: No selected controller. when there is a typo in the -m parameter it should say "could not find specified model"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
This had a typo and the resulting error message was misleading:
$ juju status -m serverstack-
error: No selected controller.
Please use "juju switch" to select a controller.
Fixing the typo shows that a "No selected controller." was NOT the problem:
$ juju status -m serverstack-
MODEL CONTROLLER CLOUD/REGION VERSION
controller serverstack-
APP VERSION STATUS SCALE CHARM STORE REV OS NOTES
UNIT WORKLOAD AGENT MACHINE PUBLIC-ADDRESS PORTS MESSAGE
MACHINE STATE DNS INS-ID SERIES AZ
0 started 10.5.0.152 4a83a012-
I am assuming you were running Juju 2. We track these bugs against "juju" project.
Could you please confirm what version you were running? rc3?