Bug 788599

Summary: Unable to select a distribution on a system template
Product: Red Hat Satellite Reporter: James Laska <jlaska>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bbuckingham, bkearney, jturner
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:25:42 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:
Attachments:
Description Flags
Screenshot (before)
none
Screenshot (after) none

Description James Laska 2012-02-08 15:02:13 UTC
Created attachment 560282 [details]
Screenshot (before)

Description of problem:

I am unable to select a distribution on a system template.  After selecting a template, when I click on "Selected distribution" the UI does not transition to the expected screen.  

This makes it impossible to create an installable system template for use with CloudForms image creation/deployment.

Version-Release number of selected component (if applicable):
 * candlepin-0.5.16-1.el6.src.rpm
 * katello-0.1.222-2.el6.src.rpm
 * katello-certs-tools-1.0.2-2.el6.src.rpm
 * katello-cli-0.1.44-2.el6.src.rpm
 * katello-configure-0.1.55-2.el6.src.rpm
 * katello-httpd-ssl-key-pair-1.0-1.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-selinux-0.1.3-1.el6.src.rpm
 * katello-trusted-ssl-cert-1.0-1.src.rpm
 * pulp-0.0.263-1.el6.src.rpm

How reproducible:
 * 2 out of 2 attempts

Steps to Reproduce:
1. Install katello-all-0.1.222-2.el6
2. Import Red Hat manifest (manifests_updatedOctoberManifest.zip)
3. Enable and sync *all* RHEL RPM base repos (not debuginfo, source, optional etc)
4. Promote content
5. Create a system template
 * Add *one* repo from the 'Red Hat Enterprise Linux Server' product (e.g x86_64 6Server).
 * Add a custom provider product ('CloudForms')
 * Attempt to select a distribution
  
Actual results:

 * The WebUI 'system templates' pane does not offer the fade transition as other options on this screen
 * After selecting 'Selected Distribution', there are no radio buttons to select, and no error message to indicate a problem occurred

Expected results:

After clicking 'Selected Distribution' ...
 * I expect to see a fade right transition effect
 * I expect to be able to select a distribution for the template, or be given an error message indicating no distributions were found.

Additional info:

 * See attached screenshots
 * Requesting as a beta blocker for cloudforms-1.0.0 as this prevents the creation of a installable system template, and no known workarounds are available at this time

Comment 1 James Laska 2012-02-08 15:02:38 UTC
Created attachment 560283 [details]
Screenshot (after)

Comment 2 Brad Buckingham 2012-02-08 15:25:10 UTC
I am able to repro this issue in dev environment.  This appears to be a recent regression.

Comment 3 Brad Buckingham 2012-02-08 16:26:51 UTC
commit - 8521ab0b3e7ff57f4c4e142465d6500b5a3cb7e9

Comment 4 James Laska 2012-02-14 20:44:18 UTC
On a freshly installed system, I'm still seeing this problem while testing the following packages ...

 * katello-0.1.235-2.el6.src.rpm
 * katello-certs-tools-1.0.2-2.el6.src.rpm
 * katello-cli-0.1.54-3.el6.src.rpm
 * katello-configure-0.1.64-3.el6.src.rpm
 * katello-httpd-ssl-key-pair-1.0-1.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-selinux-0.1.3-1.el6.src.rpm
 * katello-trusted-ssl-cert-1.0-1.src.rpm

Comment 5 Brad Buckingham 2012-02-15 14:14:21 UTC
commit - 89c6757d47a5bb71f463962e88fd30665a78d909

Appears that the case missed was related to handling mix of repos with and without a distro.

Comment 6 James Laska 2012-02-17 16:22:45 UTC
Tested and confirmed fix using the latest beta puddle of System Engine

http://download.devel.redhat.com/rel-eng/CloudForms/1.0/2012-02-17.1/el6-se/
 * katello-0.1.238-4.el6.src.rpm
 * katello-certs-tools-1.0.2-2.el6.src.rpm
 * katello-cli-0.1.54-2.el6.src.rpm
 * katello-configure-0.1.64-5.el6.src.rpm
 * katello-httpd-ssl-key-pair-1.0-1.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-selinux-0.1.5-2.el6.src.rpm
 * katello-trusted-ssl-cert-1.0-1.src.rpm

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