Juju 2.0-rc3 is here!

Curtis Hovey-Canonical curtis at canonical.com
Fri Oct 7 20:59:25 UTC 2016


Hi Matt,

You, and several of us, are victims of '"upload-tools strikes back"
cannot upgrade with streams'
https://bugs.launchpad.net/juju/+bug/1631529

On Fri, Oct 7, 2016 at 1:51 PM, Matt Rae <matt.rae at canonical.com> wrote:
> Hi, I'm testing an upgrade between juju 2.0 rc2 and rc3.
>
> Should 'juju upgrade-juju -m default' upgrade to rc3?
>
> So far I'm seeing 'no upgrades available'
>
> $ juju model-config agent-version
> 2.0-rc2
> $ juju --version
> 2.0-rc3-xenial-amd64
> $ juju upgrade-juju
> no upgrades available
> $ juju upgrade-juju --agent-version 2.0-rc3
> ERROR no matching tools available

Do you see this:
$ juju model-config -m controller agent-stream
released

^ No, the juju client selected devel streams without telling the controller

WORK AROUND

Tell the juju controller to use devel streams. Eg, to upgrade my own
deployment, I I set the streams to devel, then upgrade the controller
than the hosted model.

$ juju model-config -m controller agent-stream=devel
$ juju upgrade-juju -m controller
started upgrade to 2.0-rc3
$ juju upgrade-juju -m default
started upgrade to 2.0-rc3

When 2.0.0 is released, switch the streams to released.
$ juju model-config -m controller agent-stream=released

Then upgrade as normal.

-- 
Curtis Hovey
Canonical Cloud Development and Operations
http://launchpad.net/~sinzui



More information about the Juju-dev mailing list