Hi, ladies and lads!

I am verifying the juju upgrade procedure and I ran into some
‘misunderstandings’ which I’m hoping could be clarified out here.

I am running juju 2.0.0 and the plan is to upgrade it to the latest 2.1
version, which is currently 2.1.3.

This is the procedure I followed:

I innstalled 2.0.2 from xenial-updates  and bootstrapped a 2.0.0 controller:

$ juju bootstrap stsstack RegionOne --agent-version=2.0.0

After that I deployed some services (e.g. juju deploy mongodb -n3), and
after all of that got settled down I started the upgrade:

$ juju upgrade-juju -m controller

I expected to upgraded to latest 2.0 version, which is 2.0.4. Instead, I
got this:


ubuntu@juju-2-0:~$ juju upgrade-juju -m controller
no prepackaged tools available, using local agent binary 2.0.2.1
started upgrade to 2.0.2.1


After that I upgraded my local client to the latest available versions
from ppa:juju/stable:

$ juju --version        
2.1.3-xenial-amd64

I then run ‘juju upgrade-juju’, and I again got the ‘no prepackaged
toools’ message:

ubuntu@juju-2-0:~$ juju upgrade-juju  -m controller
no prepackaged tools available, using local agent binary 2.1.3.1
started upgrade to 2.1.3.1


So, my questions are:

- what does ‘no prepackaged tools available’ means?

- why I got upgraded to 2.0.2.1? (I can’t find 2.0.2.1 in simplestreams;
I’m assuming that I haven’t got upgraded to 2.0.4 because my client
version is 2.0.2, but where did this 2.0.2.1 came from?

- same for 2.3.1 - why I got upgraded to 2.3.1.1?

- when I do ‘upgrade-juju -m controller’ again, I get upgraded to
2.0.2.2, 2.0.2.3, 2.0.2.4, and so on. The jujud’s in /var/lib/juju/tools
are all the same. Is this a juju 2.0 bug?

- Also, when I download 2.1.3 agent from simplestreams
(http://streams.canonical.com/juju/tools/agent/2.1.3/juju-2.1.3-ubuntu-amd64.tgz),
the jujud binaries are not the same: http://paste.ubuntu.com/24841752/



Thank you in advance,

        Mario

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to