Comment 15 for bug 1681853

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote : Re: Juju Tools Upgrade from 2.0.2 to 2.1.2 fails: ERROR no matching tools available

Guys, it's perfectly reproducible:

$ git clone https://github.com/juju/juju.git && cd juju
$ git checkout juju-2.1.2
HEAD is now at 7f85784... Merge pull request #7094 from hmlanigan/bug-1671265

$ snapcraft
$ sudo snap install juju_2.1.2_amd64.snap --classic --dangerous

$ juju bootstrap <cloud_name>

$ sudo snap remove juju
$ sudo snap install juju # 2.2.1 is the latest at the time of writing

$ juju upgrade-juju -m controller
no prepackaged tools available, using local agent binary 2.2.1.1

$ juju upgrade-juju -m controller --agent-version 2.2.1
started upgrade to 2.2.1