UnknownURLScheme raised running distributionmirror-prober script

Bug #681034 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
j.c.sackett

Bug Description

As seen on OOPS-1788C1487 a UnknownURLScheme: The mirror prober doesn't know how to check this kind of URLs: https://server4.bremer-it.de/ubuntu///maverick/ubuntu-10.10-server-i386.iso

This looks like some bad data that could be fixed easily in the database.

Related branches

Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Diogo Matsubara (matsubara) wrote :

This also means that some data input validator is probably missing in the distribution mirror registration workflow.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I was thinking the same. we have a validator on the release finder and I suspect we have two implementations, one being broken

Revision history for this message
Curtis Hovey (sinzui) wrote :

The underlying issue here is that the remote site is issuing a redirect to an unsupported URL. I think this case need to log the issue and continue to the next item. This should not be an oops condition since there will always be condintions like outside the control of the the Lp code and the mirror admins. The offending mirror must be disabled or updated.

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Curtis Hovey (sinzui) wrote :

I cannot tell. I do not know much about the mirror-prober. I am not an admin so I cannot see logs. I assume that since the mirror-prober has redirect code, there is not bug because there is a redirect, but the redirect destination could be invalid, so problems should be logged, instead of raising an oops.

Bug 680750 looks like the issue a really a 404. I think this condition should be logged as unreachable and the mirror will ultimately be marked as stale.

This bug looks like the issue with an unsupported protocol. I cannot identify the problem mirror its name is not in the oops; we only see the bad redirect.

j.c.sackett (jcsackett)
Changed in launchpad-registry:
assignee: nobody → j.c.sackett (jcsackett)
status: Triaged → In Progress
Revision history for this message
j.c.sackett (jcsackett) wrote :

Setting this back down in case someone else wants to run with it.

The class in question is RedirectAwareProberProtocol; we basically need to modify it to log the issue and move on--there are examples of that in the class.

Changed in launchpad-registry:
assignee: j.c.sackett (jcsackett) → nobody
status: In Progress → Triaged
j.c.sackett (jcsackett)
Changed in launchpad-registry:
assignee: nobody → j.c.sackett (jcsackett)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad-registry:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.