Juju 2.x upgrade [ppa] doesn't show a workable way to downgrade to 1.25 #1470

Closed
BryanQuigley opened this Issue Oct 14, 2016 · 1 comment

Comments

Projects
None yet
2 participants

I'm running Juju on Trusty with the Juju Stable PPA (https://launchpad.net/~juju/+archive/ubuntu/stable).

Recently Juju 2.x replaced the Juju 1.25 version (automatic updates) and had this to say on first run:
ubuntu@trusty-admin:~$ juju status
Welcome to Juju 2.0.0. If you meant to use Juju 1.x you can continue using it
with the command juju-1 e.g. 'juju-1 switch'.
See https://jujucharms.com/docs/stable/introducing-2 for more details.

Since Juju 2 is being run for the first time, downloading latest cloud information.
Fetching latest public cloud list...
Your list of public clouds is up to date, see juju clouds.
ERROR No model in focus.

Please use "juju models" to see models available to you.
You can set current model by running "juju switch"
or specify any other model on the command line using the "-m" flag."

The juju-1 switch command doesn't exist:
ubuntu@trusty-admin:~$ juju-1 switch
juju-1: command not found

To go back to juju-1.25 I had to remove juju juju-core juju-2.0 and reinstall juju-core.
Reported also https://bugs.launchpad.net/juju/+bug/1633542

Member

evilnick commented Oct 21, 2016

The information is now available in docs, the warning message is being updated too.
Thanks for reporting this!

@evilnick evilnick closed this Oct 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment