Comment 4 for bug 1389807

Revision history for this message
Curtis Hovey (sinzui) wrote :

Order is important! I moved com.ubuntu.juju:released:tools to the first position in index.json, then tried the bootrap again.
I can see from the --debug ouput that com.ubuntu.juju:released:tools.json was read, and this is confirmed by the final line.

Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz 'http://people.canonical.com/~curtis/juju-dist/tools/releases/juju-1.20.11-trusty-amd64.tgz'

1. I propose the fix for this bug is to ensure the com.ubuntu.juju:released:tools stanza is always the first in indexjson.
2. Juju-qa will update assemble-streams to check for this case and abort when released is not first.
3. Juju-qa could rewrite the file to ensure the order is correct, allowing us to continue with the release with waiting for beta1