Bug 191343

Summary: Kickstart: 500 error on a Kickstart Create Profile page when no channels/trees
Product: Red Hat Satellite 5 Reporter: Mike McCune <mmccune>
Component: ProvisioningAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ksmith, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn410 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-19 20:29:20 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: 174413    

Description Mike McCune 2006-05-10 23:45:55 UTC
1) Need a freshly installed satellite with NO channels or kickstart trees synced
2) Login to the webui
3) "Manage Kickstarts"
4) create new kickstart profile
5) notice 500 error.

Should see:

"No Kickstartable Channels found."

"No trees were found for the selected channel"

Comment 1 Mike McCune 2006-05-11 16:02:07 UTC
NOTE: Even with channels synced it still blows up.  So, this bug is basically
stating that the profile creation page is non functional on a satellite.

Comment 2 Mike McCune 2006-05-11 17:06:22 UTC
Upgrading to this RPM or greater will contains the fix for this issue:

rhn-java-4.1.0-583.noarch.rpm
rhn-java-config-4.1.0-583.noarch.rpm
rhn-java-lib-4.1.0-583.noarch.rpm
taskomatic-4.1.0-583.noarch.rpm



Comment 4 Jesus M. Rodriguez 2006-05-11 17:31:13 UTC
rhn-java-libs IS NOT a valid pkg so ignore that one, get the other 4.

Comment 5 Mike McCune 2006-05-23 21:48:45 UTC
mass move to ON_QA

Comment 6 Beth Nackashi 2006-05-25 15:44:54 UTC
moving from ON_DEV to ON_QA

Comment 7 Beth Nackashi 2006-05-25 15:50:19 UTC
retested on sat with:

[root@fjs-0-06 ~]# rpm -q taskomatic rhn-java rhn-java-lib rhn-java-config
taskomatic-4.1.0-608
rhn-java-4.1.0-608
rhn-java-lib-4.1.0-608
rhn-java-config-4.1.0-608

Comment 8 Beth Nackashi 2006-05-25 17:41:41 UTC
what?  it's 500-ing again.  I just tested it.

My sat has two base and three child channels synced:
13:38:47       p rhel-i386-as-4                           2867
13:38:48       p rhel-ia64-as-4                           3165
13:38:48       p redhat-rhn-proxy-4.1-as-i386-4            109
13:38:48       p rhn-tools-rhel-4-as-i386                  656
13:38:48       p rhn-tools-rhel-4-as-ia64                  596

And two external distributions created:
rhel-4-gold-as-i386-ext:
Red Hat Enterprise Linux AS (v. 4 for 32-bit x86)	 auto-kickstart-ks-rhel-i386-as-4

rhel-4-u3-as-i386:
Red Hat Enterprise Linux AS (v. 4 for 32-bit x86)	 auto-kickstart-ks-rhel-i386-as-4-u3

And I'm trying to create a profile called "ks-rhel-4-gold-as-i386-ext" using "rhel-4-gold-as-i386-
ext".

...

aw geez.  Now I see what the problem is.  I already have a profile by that name.  I'll create a new bug for 
this.

Comment 9 Beth Nackashi 2006-05-25 18:33:13 UTC
There is already an existing bug for the issue in Comment #8:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192883

Comment 10 Beth Nackashi 2006-07-19 20:29:20 UTC
moving to closed - currentrelease