Description of problem: In recent implementation of katello we have an integration of both: create&discovery calls ibnto one: create procedure (I tried through: cli shell). Thus: bringing a url to the repository creation (/me plans to create a single one: not discover) fails and no repo is being prepared. If you could handle in discovery call possibility of being the url itself a repo that would be great. thanks. Version-Release number of selected component (if applicable): pulp-0.0.191-1.fc14.noarch katello-0.1.49-1.git.67.631dcc7.fc14.noarch How reproducible: always with using recent katello cli command(s) Steps to Reproduce: 1.provide to discovery code a url being itself a repo. 2. 3. Actual results: Repo creation fails Expected results: The repo should be created. Additional info:
Please provide the URL that you were passing to repo discovery. -Todd
commit 487ae673b9bf158a4a1fa9752dd6a389f7c9cef5 $ sudo pulp-admin repo discovery --url=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo/ --type=yum Discovering urls with yum metadata, This could take some time... Number of Urls Discovered (-): 1 +------------------------------------------+ Repository Urls discovered @ [http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo/] +------------------------------------------+ (-) [1] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo Select urls for which candidate repos should be created; use `y` to confirm (h for help):
build: 0.224
verified [root@preethi ~]# rpm -q pulp pulp-0.0.224-1.fc14.noarch [root@preethi ~]# pulp-admin repo discovery --url http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/ --typ=yum Discovering urls with yum metadata, This could take some time... Number of Urls Discovered (/): 4 +------------------------------------------+ Repository Urls discovered @ [http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/] +------------------------------------------+ (-) [1] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/x86_64 (-) [2] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/x86_64 (-) [3] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/i386 (-) [4] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-15/i386 Select urls for which candidate repos should be created; use `y` to confirm (h for help):q Operation aborted upon user request. [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo discovery --url=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo/ Usage: pulp-admin <options> repo discovery <options> pulp-admin: error: Option --type is required; please see --help [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo discovery --url=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo/ --type=yum Discovering urls with yum metadata, This could take some time... Number of Urls Discovered (|): 1 +------------------------------------------+ Repository Urls discovered @ [http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo/] +------------------------------------------+ (-) [1] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo Select urls for which candidate repos should be created; use `y` to confirm (h for help):
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.