Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.