juju says error: No selected controller. when there is a typo in the -m parameter it should say "could not find specified model"

Bug #1632483 reported by Jay R. Wren
6
This bug affects 1 person
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-worload:controller
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-workload:controller
MODEL CONTROLLER CLOUD/REGION VERSION
controller serverstack-workload serverstack/serverstack 2.0.0.1

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-9183-42ee-b00e-40c95cfb7d95 xenial nova

Revision history for this message
Anastasia (anastasia-macmood) wrote :

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?

no longer affects: juju-core
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: usability
Revision history for this message
Jay R. Wren (evarlast) wrote : Re: [Bug 1632483] Re: juju says error: No selected controller. when there is a typo in the -m parameter it should say "could not find specified model"

Yes, it was a master build from cc2f08ef5a67100376bdbefc5e32f165a1aa1313

I only assume the same is true of rc3.

Thanks for reminding me bug tracking location moved. I'll update my
bookmarks.

On Tue, Oct 11, 2016 at 10:52 PM, Anastasia <<email address hidden>
> wrote:

> 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?
>
> ** Also affects: juju
> Importance: Undecided
> Status: New
>
> ** No longer affects: juju-core
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
> ** Tags added: usability
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1632483
>
> Title:
> juju says error: No selected controller. when there is a typo in the
> -m parameter it should say "could not find specified model"
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1632483/+subscriptions
>

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.