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 758137

Summary: creating repository fails
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: mkoci, mmccune, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:09:15 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
Create repo works from UI as well from cli none

Description Garik Khachikyan 2011-11-29 12:04:58 UTC
Description of problem:
On recent build UI of create repository fails with:
---
compile error /usr/share/katello/app/views/repositories/_new.html.haml:27: syntax error, unexpected kIF_MOD, expecting ')' ...cted => @product.gpg_key.id if @product.gpg_key ), :include_... ^ /usr/share/katello/app/views/repositories/_new.html.haml:28: syntax error, unexpected ')', expecting '}' ));}\n
\n\n
\n\n\n
\n\n\n
\n\n\n
\n
---
Please fix (I expect that as temporarily issue with working on gpg keys stuff).

Version-Release number of selected component (if applicable):
katello-0.1.116-1.el6.x86_64

How reproducible:
always on recent version of katello

Steps to Reproduce:
1.create provider, product and refer to the button to create a repo.
2.
3.
  
Actual results:
exception above

Expected results:
no errors, possibility to create repo.

Additional info:

Comment 1 Mike McCune 2011-11-30 16:43:59 UTC
This was fixed in a commit that didn't have a bug associated.  Marking MODIFIED

Comment 2 Sachin Ghai 2011-12-23 12:40:01 UTC
Verified with following katello build:

[root@dhcp201-162 ~]# rpm -qa | grep katello
katello-0.1.154-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.30-1.el6.noarch
katello-glue-pulp-0.1.154-1.el6.noarch
katello-configure-0.1.46-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-candlepin-0.1.154-1.el6.noarch
katello-all-0.1.154-1.el6.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch
katello-glue-foreman-0.1.154-1.el6.noarch
katello-common-0.1.154-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch


I can create a repo from UI as well as from cli.

Please see the attachment in next comment for verification.

Comment 3 Sachin Ghai 2011-12-23 12:40:50 UTC
Created attachment 549336 [details]
Create repo works from UI as well from cli

Comment 6 Mike McCune 2013-08-16 18:02:42 UTC
getting rid of 6.0.0 version since that doesn't exist