Bug 747094

Summary: repo discovery for local repo Number of Urls Discovered is 0
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 29   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:11:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Preethi Thomas 2011-10-18 19:12:57 UTC
Description of problem:

Number of Urls Discovered (/): 0
shows as 0 

[root@preethi ~]# pulp-admin repo discovery --url=file:///var/lib/pulp//repos/repos/pulp/pulp/6Server/x86_64 --type=yum
Discovering urls with yum metadata, This could take some time...
Number of Urls Discovered (/): 0
+------------------------------------------+
 Repository Urls discovered @ [file:///var/lib/pulp//repos/repos/pulp/pulp/6Server/x86_64]
+------------------------------------------+
(-)  [1] file:///var/lib/pulp//repos/repos/pulp/pulp/6Server/x86_64

Select urls for which candidate repos should be created; use `y` to confirm (h for help):

Version-Release number of selected component (if applicable):

[root@preethi ~]# rpm -q pulp
pulp-0.0.239-1.fc15.noarch

Comment 1 Pradeep Kilambi 2011-10-18 19:49:05 UTC
hmm not sure if its a timing thing or what, but works fine on mine:

$ sudo pulp-admin repo discovery --url=file:///tmp/ --type=yum
Discovering urls with yum metadata, This could take some time...
Number of Urls Discovered (-): 1
+------------------------------------------+
 Repository Urls discovered @ [file:///tmp/]
+------------------------------------------+
(-)  [1] file:///tmp/f15export

Select urls for which candidate repos should be created; use `y` to confirm (h for help):

Comment 2 Pradeep Kilambi 2011-10-28 20:46:02 UTC
fixed! commit 3067172a16e8a0c5fc54b305c2aa0d06766fe046

Comment 3 Jeff Ortel 2011-10-28 23:12:47 UTC
build: 0.244

Comment 4 Preethi Thomas 2011-11-03 19:53:08 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.244-3.fc15.noarch

[root@preethi ~]# pulp-admin repo discovery --url=file:///var/lib/pulp//repos/released/F-15/GOLD/Fedora/x86_64/os/ --type=yum
Discovering urls with yum metadata, This could take some time...
Number of Urls Discovered (-): 1
+------------------------------------------+
 Repository Urls discovered @ [file:///var/lib/pulp//repos/released/F-15/GOLD/Fedora/x86_64/os/]
+------------------------------------------+
(-)  [1] file:///var/lib/pulp//repos/released/F-15/GOLD/Fedora/x86_64/os/

Select urls for which candidate repos should be created; use `y` to confirm (h for help):1
(+)  [1] file:///var/lib/pulp//repos/released/F-15/GOLD/Fedora/x86_64/os/

Select urls for which candidate repos should be created; use `y` to confirm (h for help):y

Creating candidate repos for selected urls..
Successfully created repo [var-lib-pulp-repos-released-F-15-GOLD-Fedora-x86_64-os]

Comment 5 Preethi Thomas 2012-02-24 20:11:58 UTC
Pulp v1.0 is released
Closed Current Release.