Bug 741564 - product create with --url: discovery produces list of repos doubled
Summary: product create with --url: discovery produces list of repos doubled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Garik Khachikyan
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-09-27 09:56 UTC by Garik Khachikyan
Modified: 2019-09-25 21:07 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Garik Khachikyan 2011-09-27 09:56:04 UTC
Description of problem:
the mode when Katello CLI product create gets provided with --url (discover mode) the list of repos found are listed actually doubled (each repo 2 times).

One can try: 
product create --provider provider_yum --org org1 --name product1 --url http://repos.fedorapeople.org/repos/pulp/pulp/

Version-Release number of selected component (if applicable):
katello-cli-0.1.10-1.git.300.19ad8f0.el6.noarch
katello-0.1.83-1.git.48.02111ba.fc15.noarch
pulp-0.0.233-1.fc15.noarch

How reproducible:
always

Steps to Reproduce:
1. see above
2.
3.
  
Actual results:
repositories listed twice 

Expected results:
unique repository list in --url option


Additional info:

Comment 2 Garik Khachikyan 2012-01-13 11:38:01 UTC
# VERIFIED

The list of repos now is not doubled. Proper count of repositories are creating as well.

checked against:
katello-0.1.174-2.el6.noarch
katello-cli-0.1.34-2.el6.noarch
pulp-0.0.256-1.el6.noarch
candlepin-0.5.8-1.el6.noarch

---
katello> product create --provider provider_yum --org ACME_Corporation --name product3 --url http://repos.fedorapeople.org/repos/pulp/pulp/6Server/
Successfully created product [ product3 ]
Discovering repository urls, this could take some time...
(-)  [1] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64
(-)  [2] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386

Select urls for which candidate repos should be created; use `y` to confirm (h for help):1
(+)  [1] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64
(-)  [2] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386

Select urls for which candidate repos should be created; use `y` to confirm (h for help):1
(+)  [1] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64
(-)  [2] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386

Select urls for which candidate repos should be created; use `y` to confirm (h for help):2
(+)  [1] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64
(+)  [2] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386

Select urls for which candidate repos should be created; use `y` to confirm (h for help):y
Successfully created repository [ product3_repos_pulp_pulp_6Server_x86_64 ]
Successfully created repository [ product3_repos_pulp_pulp_6Server_i386 ]

Comment 5 Mike McCune 2013-08-16 18:22:16 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.