launchpad could know about official country mirror status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jonathan Davies |
Bug Description
When the owners of a particular mirror request it, we will point DNS entries at their mirrors so they are official country mirrors (e.g. fr.archive.
Currently, if one of these mirrors degrades or fails, we are reliant on user reports informing us, so we can revert the DNS back to the main archive/releases machines.
If Launchpad's mirror registry was able to indicate that particular mirrors are official country mirrors (and it could potentially be the case that a mirror carries more than one country's DNS entries), the mirror prober would be able to inform us of mirrors that should be disabled in DNS.
For epic bonus points, it could produce the guts of a Bind Zone File, allowing us to rapidly review a diff between the live one and what Launchpad currently considers to be reality, something like:
XX.releases 600 IN CNAME ftp.nicepeople.com. ; https:/
;;XY.releases 600 IN CNAME ftp.othernicepe
Related branches
- Curtis Hovey (community): Needs Fixing (ui and code)
- Jonathan Lange (community): Approve (db)
- Michael Nelson (community): Needs Information (ui)
- Stuart Bishop (community): Approve (db)
- Canonical Launchpad Engineering: Pending (code) requested
-
Diff: 545 lines (+306/-19)12 files modifieddatabase/sampledata/current-dev.sql (+6/-0)
database/sampledata/current.sql (+6/-0)
database/schema/comments.sql (+1/-0)
database/schema/patch-2207-20-0.sql (+19/-0)
lib/lp/registry/browser/distributionmirror.py (+63/-4)
lib/lp/registry/browser/tests/distributionmirror-views.txt (+1/-1)
lib/lp/registry/configure.zcml (+1/-1)
lib/lp/registry/interfaces/distributionmirror.py (+9/-1)
lib/lp/registry/model/distributionmirror.py (+22/-0)
lib/lp/registry/stories/distributionmirror/xx-distribution-mirrors.txt (+162/-11)
lib/lp/registry/templates/distributionmirror-index.pt (+9/-0)
lib/lp/registry/templates/distributionmirror-macros.pt (+7/-1)
- Curtis Hovey (community): Approve
-
Diff: 35 lines (+20/-0)2 files modifieddatabase/schema/comments.sql (+1/-0)
database/schema/patch-2207-23-0.sql (+19/-0)
- Curtis Hovey (community): Approve (code)
-
Diff: 857 lines (+470/-93)11 files modifiedlib/lp/registry/configure.zcml (+47/-5)
lib/lp/registry/doc/distribution-mirror.txt (+119/-1)
lib/lp/registry/interfaces/distribution.py (+9/-1)
lib/lp/registry/interfaces/distributionmirror.py (+96/-47)
lib/lp/registry/model/distribution.py (+11/-0)
lib/lp/registry/model/distributionmirror.py (+63/-1)
lib/lp/registry/stories/distributionmirror/xx-distribution-mirrors.txt (+11/-11)
lib/lp/registry/stories/webservice/xx-distribution-mirror.txt (+20/-11)
lib/lp/registry/stories/webservice/xx-distribution.txt (+74/-0)
lib/lp/registry/tests/test_distributionmirror.py (+4/-14)
lib/lp/testing/factory.py (+16/-2)
affects: | launchpad → launchpad-registry |
tags: |
added: distro-mirror removed: feature |
tags: | added: feature |
tags: | removed: distro-mirror |
tags: | added: mirror |
Changed in launchpad-registry: | |
assignee: | nobody → Jonathan Davies (jpds) |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
milestone: | none → 10.01 |
Changed in launchpad-registry: | |
milestone: | 10.01 → 10.02 |
Changed in launchpad-registry: | |
milestone: | 10.02 → 10.03 |
Changed in launchpad-registry: | |
milestone: | 10.03 → 10.04 |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
Changed in launchpad-registry: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
We are considering making some mirror improvements after July. I think this is a good candidate and a strong reason to do them.