Bug 723235 - Can not sync the Katello Repos
Summary: Can not sync the Katello Repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-07-19 13:43 UTC by Bryan Kearney
Modified: 2019-09-25 21:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 17:50:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.