Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 760508

Summary: "Add Repository" option is not visible on UI
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Jason E. Rist <jrist>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: jlaska, kbidarka, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:10:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    
Attachments:
Description Flags
Add Repository option is not visible on UI
none
can see the 'Add repository' option on UI none

Description Sachin Ghai 2011-12-06 11:47:04 UTC
Description of problem:
I Installed a fresh setup of katello on rhel61. I created a product, but couldn't add repo in that as no such option is visible on UI

Version-Release number of selected component (if applicable):
[root@dhcp201-187 ~]# rpm -qa | grep katello
katello-all-0.1.124-1.el6.x86_64
katello-glue-candlepin-0.1.124-1.el6.x86_64
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-cli-common-0.1.21-1.el6.noarch
katello-glue-pulp-0.1.124-1.el6.x86_64
katello-qpid-broker-key-pair-1.0-1.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-common-0.1.124-1.el6.noarch
katello-0.1.124-1.el6.x86_64
katello-configure-0.1.24-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-glue-foreman-0.1.124-1.el6.x86_64
katello-cli-0.1.21-1.el6.noarch
[root@dhcp201-187 ~]# 


How reproducible:
always

Steps to Reproduce:
1. Add a new provider
2. Select 'product and repositories' to create a product
3. Now add a repo under newly created product
  
Actual results:
no 'Add repository' option is visible under the added product

Expected results:
'Add repository' should be available on UI

Additional info:

I can  create repos from cli:

katello> repo create --org ACME_Corporation --name f15_x86_64 --product f15 --url http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/15/Fedora/x86_64/os/
Successfully created repository [ f15_x86_64 ]

Comment 1 Sachin Ghai 2011-12-06 11:48:30 UTC
Created attachment 541315 [details]
Add Repository option is not visible on UI

Comment 2 Kedar Bidarkar 2011-12-06 14:51:50 UTC
Same issue even with the fedora15 setup.

UI option is not visible

Comment 3 James Laska 2011-12-07 12:41:45 UTC
I hit this also on RHEL6 using katello-0.1.126-2.el6 (from brew *and* from fedorapeople.org).  The workaround for me involved the use of 'katello shell' -

$ katello -u admin -p admin shell
> client remember --option org --value ACME_Corporation
> repo create --product=CloudEngine --name latest --url http://download.devel.redhat.com/rel-eng/CloudForms/CloudEngine/1.0/latest/x86_64

Comment 4 Mike McCune 2011-12-07 16:15:54 UTC
This was fixed in:

commit 46a7147b9b6ee918011fec9a8220a431623b4536
Author: Jason E. Rist <jrist>
Date:   Wed Dec 7 07:35:36 2011 -0700

    Fix for jrist being an idiot and putting in some bad code.`

Comment 5 James Laska 2011-12-07 19:39:56 UTC
No longer seeing this problem when testing with katello-0.1.130-2.el6.x86_64 (built today in brew).  I can add a repository to a custom provider.

* Wed Dec 07 2011 Shannon Hughes <shughes> 0.1.130-2
- system engine build (shughes)

* Wed Dec 07 2011 Shannon Hughes <shughes> 0.1.130-1
- bump version to fix tags (shughes)

* Wed Dec 07 2011 Shannon Hughes <shughes> 0.1.129-1
- user roles - spec test for roles api (tstrachota)
- user roles - new api controller (tstrachota)
- fix long name breadcrumb trails in roles (shughes)
- Fix for jrist being an idiot and putting in some bad code.`
  (jrist)

Comment 6 Sachin Ghai 2011-12-08 07:41:26 UTC
Yes.. seems that issue has been fixed with "katello-0.1.130-2.el6.x86_64".

Moving this to verified.

Comment 7 Sachin Ghai 2011-12-08 07:43:02 UTC
Created attachment 542393 [details]
can see the 'Add repository' option on UI

Comment 10 Mike McCune 2013-08-16 18:17:06 UTC
getting rid of 6.0.0 version since that doesn't exist