Bug 739977

Summary: Misleading and confusing error message when syncing repo with bad url
Product: [Retired] Katello Reporter: Jeff Weiss <jweiss>
Component: WebUIAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: dajohnso, jrist, mmccune, omaciel
Target Milestone: ---Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 21:08:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 767841    

Description Jeff Weiss 2011-09-20 15:27:44 UTC
Description of problem:


Version-Release number of selected component (if applicable):
katello-0.1.83-1.git.17.fc6a2f6.fc14.noarch

How reproducible:


Steps to Reproduce:
1. Create custom provider, product
2. Create a repo with url "http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/x86_64/os/" - literally - 'forget' to replace $releasever
3. Sync this repo
  
Actual results:
"The specified repo does not match the specified product"

Expected results:
A better error message, something about that the url gives a 404, or that it's not a valid repo.

Additional info:
Better message from pulp.log: 


RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again

Comment 1 Mike McCune 2011-12-15 00:32:53 UTC
*** Bug 761159 has been marked as a duplicate of this bug. ***

Comment 2 Jason E. Rist 2012-12-18 21:08:02 UTC
This is no longer an issue - it now says "Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again" in the error. (Along with a nice stack trace for debugging purposes.)