Bootstrapping with partial access to streams.canonical.com causes unexpected behavior

Bug #1696563 reported by David Lawson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

When bootstrapping with 2.2 the client appears to be querying streams.canonical.com to identify the proper version of tools to download and then download them. For some reason, if streams.c.c is accessible via http then the bootstrap doesn't throw an error, but can't download the packaged tools so it uses a locally built version. This is fine if all your nodes are the same architecture as the deployment host, but causes problems if they aren't.

It would be good to get at least a warning during the bootstrap if the client is unable to connect properly to streams.c.c or, alternatively, provide a reason that the bootstrap is falling back to a locally built version of the tools when it does so. Some way to identify what's happening in this situation that doesn't involve the user bootstrapping somewhere else and comparing the two sets of outputs. Even a warning in the debug output if it can't contact streams.c.c for either the tools query or download would be great if you don't want to pollute the non-debug output.

Revision history for this message
John A Meinel (jameinel) wrote :

I have the feeling we are probably checking from the client what is available, but ultimately the download to the target machine is done from the target machine. Just because your laptop can see streams.canonical.com doesn't mean it is accessible out from the target machine.

Changed in juju:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
David Lawson (deej) wrote :

There's actually a different failure mode if the target machine can't download from streams.c.c, I was going to open a second bug about that, though now I need to set something up to replicate it and capture output again.

Paul Gear (paulgear)
tags: added: canonical-is
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.