Comment 8 for bug 1174797

Revision history for this message
David Medberry (med) wrote :

Precise SRU

[Impact]

This debmirror defect prevents users of stable releases from mirroring certain ubuntu archives to minimize their network usage. In particular, it forces users of clouds to REPEATEDLY exit the cloud at network expense to archive ubuntu-cloud.archive.canonical.com (the repository used to put newer versions of openstack on precise.)

The upload simply adds a special case for "Origin:Canonical" ubuntu archives to be treated in the same way as "Origin:Ubuntu" archives and the rest of the rules/logic remains the same.

[Test Case]

 * Reproduce:
 debmirror --debug --rsync-extra=none --host=ubuntu-cloud.archive.canonical.com --method=http --dist=precise-updates/folsom --section=main --arch=amd64,i386 --nosource --no-check-gpg DIRNAME

In the error message, a tell-tale sign of the bug is a recursive "folsom"

[Regression Potential]

 * discussion of how regressions are most likely to manifest as a result of this change.
I don't foresee a regression unless we create NEW archives under a new Origin: ThereBeDragons at which point we may end up in the same situation. The folks involved with the Origin naming are subscribed to this bug. It seems unlikely this will recur.

[Other Info]

 * Tested against the Origin:Canonical repository (works), tested against Origin: Ubuntu (didn't break), tested against Origin: Debian (didn't break)