After another frustrating day with spacewalk clone channels I still can't find a solution for this problem. It only happens when kickstarting a new server, I have manually registered some servers to the same channels and run a rhn_check and it works fine.
Has anyone else seen this issue when with kickstart profiles/cobbler? thanks From: [email protected] [mailto:[email protected]] On Behalf Of Johnny Mirza Sent: Tuesday, 22 June 2010 8:05 AM To: [email protected]; [email protected] Subject: Re: [Spacewalk-list] WEB TRACEBACK error - kickstart profile Thanks Justin, These are the errors in Catalina.out 2010-06-22 08:03:34,331 [TP-Processor1] WARN org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class org.hibernate.Pr opertyAccessException 2010-06-22 08:03:34,332 [TP-Processor1] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back javax.servlet.ServletException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) Caused by: org.hibernate.PropertyAccessException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumTy pe at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:148) at org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValues(AbstractEntityTuplizer.java:256) at org.hibernate.tuple.entity.PojoEntityTuplizer.getPropertyValues(PojoEntityTuplizer.java:209) at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValues(AbstractEntityPersister.java:3576) at org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:167) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:120) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) at com.redhat.rhn.domain.kickstart.KickstartFactory.lookupKickstartCommandName(KickstartFactory.java:265) at com.redhat.rhn.domain.kickstart.KickstartFactory.createKickstartCommand(KickstartFactory.java:280) at com.redhat.rhn.domain.kickstart.KickstartData.setRepoInfos(KickstartData.java:723) at com.redhat.rhn.manager.kickstart.KickstartEditCommand.updateRepos(KickstartEditCommand.java:382) at com.redhat.rhn.frontend.action.kickstart.KickstartSoftwareEditAction.processFormValues(KickstartSoftwareEditAction.java:230) at com.redhat.rhn.frontend.action.kickstart.BaseKickstartEditAction.execute(BaseKickstartEditAction.java:80) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) ... 40 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:145) ... 59 more Caused by: java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2010-06-22 08:03:34,355 [TP-Processor1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rhn].[action] - Servlet.service() for servlet action threw exception java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at com.redhat.rhn.domain.channel.Channel$$EnhancerByCGLIB$$817c49c1.getChecksumType(<generated>) at com.redhat.rhn.domain.channel.ClonedChannel.getChecksumType(ClonedChannel.java:57) at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at com.redhat.rhn.domain.channel.Channel$$EnhancerByCGLIB$$817c49c1.getChecksumType(<generated>) at com.redhat.rhn.domain.channel.ClonedChannel.getChecksumType(ClonedChannel.java:57) at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) Thanks From: [email protected] [mailto:[email protected]] On Behalf Of Justin Sherrill Sent: Monday, 21 June 2010 10:37 PM To: [email protected] Subject: Re: [Spacewalk-list] WEB TRACEBACK error - kickstart profile On 6/21/10 12:52 AM, Johnny Mirza wrote: Hi, I have been using spacewalk .8 without any major issues and am currently in the process of migrating to spacewalk 1.0 but having issues with kickstart. Any help on this issue will be greatly appreciated. Firstly this is how I have setup spacewalk channels/kickstarts #channels Base & child channels, (updated daily) clone of base & child channels #Kickstart ->Distribution centos-5 /var/distro-trees/centos-5 Next I would create a profile which would work fine, then under the operation systems tab (Under Kickstart Details) when selecting a child channel then clicking "update kickstart" I get the below error. Internal Server Error The server experienced a problem which prevented your request from being filled out. It may not be possible to execute this action at this time. Please help us correct this problem by contacting us with details of how you received this message. And also the following email gets generated. SUBJECT: WEB TRACEBACK from spacewalk (6/21/10 2:49:01 PM EST) MESSAGE: The following exception occurred while executing this request: POST /rhn/kickstart/KickstartSoftwareEdit.do Date:6/21/10 2:49:01 PM EST Headers: host: spacewalk.prod.f2.com.au user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-language: en-us,en;q=0.5 accept-encoding: gzip,deflate accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 connection: keep-alive referer: https://spacewalk/rhn/kickstart/KickstartSoftwareEdit.do?ksid=26 cookie: JSESSIONID=87292317E0DB70DC8602BEB66F6DB5D1; pxt-session-cookie=234xb751648c1cd3b6b4f84afcfa6e80496f content-type: application/x-www-form-urlencoded content-length: 114 Request: Local Name = spacewalk Server Name = spacewalk Requested Session Id came from Cookie Requested Session Valid = true Session = org.apache.catalina.session.standardsessionfac...@7c502d56[session=standardsession[87292317e0db70dc8602beb66f6db5d1<mailto:org.apache.catalina.session.standardsessionfac...@7c502d56[session=standardsession[87292317e0db70dc8602beb66f6db5d1>]] Protocol = https Request Locale = en_US Request Character Encoding = UTF-8 Attribute Names = rhnActiveLang, javax.servlet.request.ssl_session, org.apache.struts.action.MESSAGE, ksdata, javax.servlet.jsp.jstl.fmt.timeZone.request, session, javax.servlet.request.key_size, __sitemesh__filterapplied, javax.servlet.request.cipher_suite, requestedUri, kickstartSoftwareForm, org.apache.struts.action.mapping.instance, org.apache.struts.action.MODULE, Form Variables: submitted: true tree: 24 url: /ks/dist/org/1/centos-5 selectedRepos: VT channel: 137 fieldChanged: ksid: 26 User Information: User jmirza (id 3, org_id 1) Exception: javax.servlet.ServletException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) Thanks Johnnym ________________________________ The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files. ________________________________ _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list Hrm, I don't see too much in that method (getChecksumType) that could go wrong. Do you see any additional details in /var/log/tomcat5/catalina.out ? -Justin ________________________________ The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files. ________________________________ The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files.
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
