[Bug 1174797] Re: Canonical repos with Suite!=Codename cannot be mirrored

David Medberry 1174797 at bugs.launchpad.net
Tue Apr 30 18:32:25 UTC 2013


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)


** Patch added: "Precise SRU debdiff"
   https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/1174797/+attachment/3660528/+files/debmirror_2.10ubuntu1-2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1174797

Title:
  Canonical repos with Suite!=Codename cannot be mirrored

Status in “debmirror” package in Ubuntu:
  Triaged
Status in “debmirror” source package in Precise:
  Triaged
Status in “debmirror” source package in Saucy:
  Triaged
Status in “debmirror” package in Debian:
  New

Bug description:
  Imported from Debian bug http://bugs.debian.org/702319:

  Package: debmirror
  Version: 1:2.14

  In sub "name_release" Release files with "Origin: Canonical"
  should be treated like those with "Origin: Ubuntu". Otherwise
  mirroring of some Canonical repos is not possible.
  Prominent example:
  ubuntu-cloud.archive.canonical.com with dist=precise-updates/folsom

  Would be glad, if this were fixed!

  Thanks
  Fabian

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/1174797/+subscriptions



More information about the Ubuntu-sponsors mailing list