Comment 0 for bug 1517632

Revision history for this message
Wayne Witzel III (wwitzel3) wrote : juju upgrade-juju after upload-tools fails

Using a 1.25.0 build of Juju and bootstrapping with --upload-tools prevents upgrade-juju from working from streams or using --upload-tools again.

Reproduce:

juju bootstrap --upload-tools
juju set-env agent-stream=devel
juju upgrade-juju --version 1.26-alpha1
ERROR no matching tools available

The logs show no attempt to fetch anything from streams. Even if the agent-metadata-url / tools-url is explicitly set.

# Build 1.26 client
juju upgrade-juju --upload-tools
available tools:
    1.26-alpha2.1-wily-amd64
best version:
    1.26-alpha2.1
ERROR connection is shut down

The log files show nothing after the sync and upload, just the shut down of the connection.