Metadata sync blocks on a single archive host
Bug #1672944 reported by
David Lawson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
Medium
|
Unassigned | ||
ubuntu-repository-cache (Juju Charms Collection) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The metadata sync process appears to do a host lookup to find an IP for the configured sync host and, if that sync host is unavailable, blocks waiting for it to be free. If multiple IPs are returned by the lookup, the sync process should round robin through those IPs until finding a working host or exhausting the pool, then loop back through if we want to do retries of the same hosts over again. This would've prevented LP: #1672940 from manifesting.
Changed in ubuntu-repository-cache (Juju Charms Collection): | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in ubuntu-repository-cache: | |
importance: | Undecided → Medium |
description: | updated |
To post a comment you must log in.
This is no longer an issue, the charm has logic to iterate through the list of IPs returned from DNS:
| https:/ /bazaar. launchpad. net/~ubuntu- repository- cache-charmers/ ubuntu- repository- cache/layer- ubuntu- repository- cache/revision/ 231
It also has logic to retry:
| https:/ /bazaar. launchpad. net/~ubuntu- repository- cache-charmers/ ubuntu- repository- cache/layer- ubuntu- repository- cache/revision/ 265