[Spacewalk-list] Kickstart-related 500 errors

Jan Pazdziora jpazdziora at redhat.com
Tue Sep 13 10:07:13 UTC 2011


On Wed, Sep 07, 2011 at 07:17:40PM +0000, Martin Eggen wrote:
> Hi,
> I am bare-metal kickstarting some servers (RHEL5 on Spacewalk 1.5) and seem to experience some errors:
> Initial access to the distribution fails with 500 errors (kickstart configuration loads OK but further download of distribution files fails):
> 
> The following exception occurred while executing this request:
> GET /rhn/common/DownloadFile.do
> Exception:
> javax.servlet.ServletException: query did not return a unique result: 4
> 
> After trying some times I see a corresponding list of "Kickstart session created but has not yet been used" in the "Scheduled to kickstart" list in the UI.
> Workaround: I made the distribution tree available under the /pub/ directory of the web server and changed the -url field in Advanced options.
> 
> I had also created two distributions, but wanted to delete one of them (seems the distribution files I made available in my workaround was a beta release). Deletion of the tree fails from the UI:
> The following exception occurred while executing this request:
> POST /rhn/kickstart/TreeDelete.do
> Exception:
> javax.servlet.ServletException: Executing query Channel.findByIdAndUserId with params {userId=162, cid=null} failed
> 
> (I see someone else also experienced this error).
> 
> The first error is the most serious one, is this a known error in 1.5 ? (Google could not help me).

Can you please post a full traceback that you get?

I suspect the problem might be caused by having packages of the same
name in multiple channels associated to the kickstart, either in the
base channel and child channel, or in multiple child channels.

If you remove child channels from the kickstart -- does the problem go
away?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list