[Spacewalk-list] Issue with creating kickstart distribution in spacewalk

Tomas Lestach tlestach at redhat.com
Tue Sep 30 14:32:40 UTC 2014


Thank you,

the fix should be available in cobbler20-2.0.11-36 in Spacewalk nightly repo.

Regards,
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat


----- Original Message -----
> From: "amol pali" <amolpalikondawar at gmail.com>
> To: spacewalk-list at redhat.com
> Sent: Monday, September 29, 2014 11:10:11 PM
> Subject: Re: [Spacewalk-list] Issue with creating kickstart distribution in	spacewalk
> 
> 
> 
> 
> 
> 
> Hi,
> Output as below from 2 files.
> 
> [root at localhost tomcat]# cat catalina.2014-09-29.log
> Sep 29, 2014 10:01:18 PM
> org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> Sep 29, 2014 10:01:19 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-8080"]
> Sep 29, 2014 10:01:19 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
> Sep 29, 2014 10:01:19 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-0:0:0:0:0:0:0:1-8009"]
> Sep 29, 2014 10:01:19 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1447 ms
> Sep 29, 2014 10:01:19 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Sep 29, 2014 10:01:19 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
> Sep 29, 2014 10:01:19 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor
> /etc/tomcat/Catalina/localhost/rhn.xml
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://www.directwebremoting.org/dwr/ is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://www.opensymphony.com/oscache is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://rhn.redhat.com/tags/config-managment
> is already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://rhn.redhat.com/tags/list is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://rhn.redhat.com/rhn is already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI:
> http://www.opensymphony.com/sitemesh/decorator is already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://www.opensymphony.com/sitemesh/page is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://struts.apache.org/tags-html is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://struts.apache.org/tags-logic is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://struts.apache.org/tags-nested is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI:
> http://jakarta.apache.org/taglibs/standard/permittedTaglibs is
> already defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI:
> http://jakarta.apache.org/taglibs/standard/scriptfree is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already
> defined
> Sep 29, 2014 10:01:28 PM org.apache.catalina.startup.TaglibUriRule
> body
> INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already
> defined
> Sep 29, 2014 10:01:38 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-8080"]
> Sep 29, 2014 10:01:38 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
> Sep 29, 2014 10:01:38 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-0:0:0:0:0:0:0:1-8009"]
> Sep 29, 2014 10:01:38 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 18944 ms
> 
> 
> 
> 
> [root at localhost tomcat]# cat localhost.2014-09-29.log
> Sep 29, 2014 10:04:51 PM
> org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet [action] in context with path
> [/rhn] threw exception [java.lang.RuntimeException:
> redstone.xmlrpc.XmlRpcFault: <class ' cobbler.cexceptions.CX
> '>:'--os-version for breed redhat must be one of rhel2.1, rhel3,
> rhel4, rhel5, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8,
> fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15,
> fedora16, fedora17, fedora18, fedora19, fedora20, generic24,
> generic26, virtio26, other, given was fedora'] with root cause
> redstone.xmlrpc.XmlRpcFault: <class ' cobbler.cexceptions.CX
> '>:'--os-version for breed redhat must be one of rhel2.1, rhel3,
> rhel4, rhel5, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8,
> fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15,
> fedora16, fedora17, fedora18, fedora19, fedora20, generic24,
> generic26, virtio26, other, given was fedora'
> at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:443)
> at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
> at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
> at
> org.cobbler.CobblerConnection.invokeMethod(CobblerConnection.java:117)
> at
> org.cobbler.CobblerConnection.invokeTokenMethod(CobblerConnection.java:150)
> at org.cobbler.Distro.invokeModify(Distro.java:129)
> at org.cobbler.CobblerObject.modify(CobblerObject.java:149)
> at org.cobbler.Distro.setOsVersion(Distro.java:208)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroCommand.updateCobblerFields(CobblerDistroCommand.java:112)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroEditCommand.store(CobblerDistroEditCommand.java:50)
> at
> com.redhat.rhn.manager.kickstart.tree.BaseTreeEditOperation.store(BaseTreeEditOperation.java:94)
> at
> com.redhat.rhn.frontend.action.BaseEditAction.execute(BaseEditAction.java:65)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> at
> com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:102)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:127)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:100)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:57)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 
> 
> Regards,
> Amol
> 
> 
> 
> On Mon, Sep 29, 2014 at 3:43 PM, amol pali <
> amolpalikondawar at gmail.com > wrote:
> 
> 
> 
> 
> 
> 
> Hi,
> I will provide you the contents of file when I am home.
> 
> As Fedora kickstart distribution wasn't working I created another
> channel/distribution/profile for RHEL6 over the weekend and I was
> able to install one VBox guest with the setup :)
> 
> I am not sure why it's not allowing me to create kickstart
> distribution with Fedora20. I know there is no issue with Fedora20
> ISO image as I have installed my machine with this ISO.
> 
> 
> Regards,
> Amol
> 
> 
> 
> 
> 
> On Mon, Sep 29, 2014 at 9:31 AM, Tomas Lestach < tlestach at redhat.com
> > wrote:
> 
> 
> Could you paste the traceback from /var/log/tomcat*/catalina.out?
> 
> Regards,
> --
> Tomas Lestach
> Red Hat Satellite Engineering, Red Hat
> 
> 
> 
> 
> ----- Original Message -----
> > From: "amol pali" < amolpalikondawar at gmail.com >
> > To: spacewalk-list at redhat.com
> > Sent: Saturday, September 27, 2014 6:33:49 PM
> > Subject: [Spacewalk-list] Issue with creating kickstart
> > distribution in spacewalk
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > I have installed spacewalk latest version on my fedora20 machine. I
> > created fedora20 base channel and now want to create fedora20
> > kickstart distribution. I have copied all fedora20 files to
> > /var/custom-disto/fedora20-disto directory.
> > 
> > When I try to create distribution with below details:
> > 
> > Distribution Label: fedora20-disto
> > Tree Path : /var/custom-disto/fedora20-disto/
> > Base Channel: fedora20
> > Installer Generation : Fedora
> > 
> > 
> > I get Internal Server Error on spacewalk GUI window(through
> > browser).
> > Below line is being generated in the /var/log/messages with several
> > other java related erors.
> > 
> > localhost server: Caused by: redstone.xmlrpc.XmlRpcFault: <class '
> > cobbler.cexceptions.CX '>:'--os-version for breed redhat must be
> > one
> > of rhel2.1, rhel3, rhel4, rhel5, rhel6, rhel7, fedora5, fedora6,
> > fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13,
> > fedora14, fedora15, fedora16, fedora17, fedora18, fedora19,
> > fedora20, generic24, generic26, virtio26, other, given was fedora.
> > 
> > 
> > From the message it looks like I have to select Fedora20 in Instal
> > Generation but there is option of just Fedora.
> > 
> > 
> > If I select other OS in Install Generation like RHEL6 then
> > distribution gets created successfully but that might give me
> > problem somewhere. So how can I get rid of this issue?
> > 
> > Your help is much appreciated.
> > 
> > 
> > Regards,
> > Amol
> > 
> > 
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list