network error causes tools download to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.20 |
Fix Released
|
High
|
Ian Booth |
Bug Description
Similar to https:/
Get:1 http://
Fetched 13.9 kB in 0s (0 B/s)
Selecting previously unselected package rsyslog-gnutls.
(Reading database ... 56773 files and directories currently installed.)
Preparing to unpack .../rsyslog-
Unpacking rsyslog-gnutls (7.4.4-1ubuntu2) ...
Setting up rsyslog-gnutls (7.4.4-1ubuntu2) ...
curl: (7) Failed to connect to juju-dist.
tools from https:/
Stopping instance...
Bootstrap failed, destroying environment
ERROR subprocess encountered error code 1
Can we use the '--retry 10' option on curl? Seems a shame to just do this once when the next bootstrap worked.
tags: | added: cloud-installer landscape |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.21-alpha1 |
tags: | added: bootstrap deploy |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
It looks like juju-dist. s3.amazonaws. com translates to several IPs, and it's hard to find a list of all. In fact, such a list doesn't exist. The firewall has to play catch up and filter new ones as we find them.
In this particular case, we believe that the IP juju-dist. s3.amazonaws. com resolved too wasn't allowed in the egress filtering rules of our firewall. We will add it, but this will happen again.
My suggestions are:
- log which IP was used to try the connection
- if attempting a retry, make sure to do a DNS resolution one more time before