Bug 723235

Summary: Can not sync the Katello Repos
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: APIAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: gkhachik, inecas, mkoci, tstrachota
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:50:26 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: 747354    

Description Bryan Kearney 2011-07-19 13:43:42 UTC
All of this was done from the command line. Using the following versions:

candlepin-0.4.5-1.fc14.noarch
katello-0.1.49-1.git.501.a488b16.fc14.noarch
pulp-0.0.210-1.fc14.noarch

From the cli, do the following:
- create a new provider
- add a product to the provider
- add a repo to the product which is:
http://repos.fedorapeople.org/repos/katello/katello/fedora-14/x86_64/ 

The output is:

Discovering repository urls, this could take some time...
No repositories discovered @ url location [http://repos.fedorapeople.org/repos/katello/katello/fedora-14/x86_64/]


there is a repo there :) Not passing in the arch works.

Comment 1 Tomas Strachota 2011-09-14 09:31:58 UTC
This was problem on Pulp's side. It was unable to discover repos when you provided url pointing exactly to the repo directory. Everything was ok ith url path shorter of one level.

In Pulp 0.0.230-3 it is fixed.

Comment 2 Ivan Necas 2011-09-20 16:01:12 UTC
candlepin-0.4.10-1
pulp-0.0.230-3
katello-0.1.83-1

The issue should be gone. There was change in the mean time, there is separate action to discovery:

katello repo discover --url http://repos.fedorapeople.org/repos/katello/katello/fedora-14/x86_64/ --name base-one --product Prod

Comment 3 Garik Khachikyan 2011-09-23 12:52:46 UTC
# VERIFIED

Now it's gone.

doing the command repo create --org ACME_Corporation --product bz1 --name bz1 --url http://repos.fedorapeople.org/repos/katello/katello/fedora-14/x86_64/

really creates a repo. No exception is thrown.

and the repo discover finds the repos given by: repo create --org ACME_Corporation --product bz1 --name bz1 --url http://repos.fedorapeople.org/repos/katello/katello/fedora-14/

Comment 6 Mike McCune 2013-08-16 18:03:52 UTC
getting rid of 6.0.0 version since that doesn't exist