Bug 796248

Summary: Can search and add packages to template without source repo in template
Product: Red Hat Satellite Reporter: Steve Reichard <sreichar>
Component: Content ManagementAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, cpelland, hbrock, mmccune, scollier, snansi
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Templates can be in an invalid state if packages have been added with no repositories. Users should test the templates before moving them to production.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 18:53:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
video none

Description Steve Reichard 2012-02-22 14:59:02 UTC
Created attachment 564997 [details]
video

Description of problem:

In the attached video you will see 

1. adding packages to a sys template with no products or repos select, I expect you could only select from repos in you template

2. Since you may argue that is an invalid template, I next make the template valid, but add a package from the CouldEngine repo/product which is not part of this template.  This creates an invalid template and there is no warning.

I then show both downloaded templates. 


Version-Release number of selected component (if applicable):

Red Hat Enterprise Linux Server release 6.2 (Santiago)
Linux cf-se3.cloud.lab.eng.bos.redhat.com 2.6.32-220.4.2.el6.x86_64 #1 SMP Mon Feb 6 16:39:28 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
PyYAML-3.09-14.el6_1.x86_64
facter-1.5.9-1.el6.noarch
js-1.8.5-6.el6.x86_64
mongodb-1.8.2-3.el6.x86_64
mongodb-server-1.8.2-3.el6.x86_64
puppet-2.6.11-1.el6_1.noarch
pymongo-1.9-8.el6_1.x86_64
tomcat6-6.0.24-35.el6_1.noarch
ruby-1.8.7.352-5.el6_2.x86_64
grinder-0.0.136-1.el6.noarch
postgresql-server-8.4.9-1.el6_1.1.x86_64
postgresql-8.4.9-1.el6_1.1.x86_64
candlepin-0.5.20-1.el6.noarch
pulp-0.0.265-1.el6.noarch
katello-0.1.238-4.el6.noarch
katello-all-0.1.238-4.el6.noarch
katello-cli-0.1.54-2.el6.noarch
katello-configure-0.1.64-5.el6.noarch




How reproducible:


Easily, been around for a long time.


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Hugh Brock 2012-03-20 18:21:24 UTC
Steve R. has asked for a relnote on this bug and I agree it should be relnoted. I've set the relnote-required flag and put cloudforms-1.0.0 back just until someone is assigned to fill the relnote in. Please use the Technical Notes field on this BZ. Thanks.

Comment 3 Bryan Kearney 2012-05-02 18:26:24 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Templates can be in an invalid state if packages have been added with no repositories. Users should test the templates before moving them to production.

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

Comment 6 Bryan Kearney 2014-03-11 18:53:37 UTC
Closing old bugs which are not relevant based on new UI and CLI

Comment 7 Bryan Kearney 2014-03-12 22:52:15 UTC
Closing old bugs which are not relevant based on new UI and CLI