"This is a bug in cobbler v2.2 (which I believe you're using).

The problem has been fixed in cobbler upstream, but no new cobbler has been 
roled out into Fedora / EPEL.

In attachment, you'll find the fix -- try to apply it on your cobbler."


Ok, I have the patch but, how do I apply it? 

Is there a link to the bug?


Jerry Buttitta
OSS Administrator I
(907)868-5916
 
 
 

'Tis the gift to be simple, 'tis the gift to be free, 

'Tis the gift to come down where we ought to be,

And when we find ourselves in the place just right, 

'Twill be in the valley of love and delight.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Tuesday, May 22, 2012 8:00 AM
To: [email protected]
Subject: Spacewalk-list Digest, Vol 48, Issue 63

Send Spacewalk-list mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Spacewalk-list digest..."


Today's Topics:

   1. Re: Spacewalk - building first kickstart (Milan Zazrivec)
   2. Re: unable to remove systems (Baptiste AGASSE)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 May 2012 10:53:57 +0200
From: Milan Zazrivec <[email protected]>
To: [email protected]
Subject: Re: [Spacewalk-list] Spacewalk - building first kickstart
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

On Tuesday 22 May 2012 00:43:36 Gerald Buttitta wrote:
> Hi,
> Using:
> http://honglus.blogspot.com/2011_06_01_archive.html
> 
> Using postgresql
> 
> I successfully
> Created a kickstart tree with
>     mkdir -p /var/distro-trees/centos-6.2x86_64
>     cd /media; find . ! -path "./CentOS/*"   | cpio -pvd
> /var/distro-trees/centos-6.2x86_64      for each of two disks
> 
> Created a distribution with the tree path
> /var/distro-trees/centos-6.2x86_64
> 
> Now I'm trying to create the first kickstart using the default 
> download location. The gui is giving me the 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. ***
> 
> I also get the web traceback:
> 
> The following exception occurred while executing this request:
> 
> POST /rhn/kickstart/CreateProfileWizard.do
> 
> Date:5/21/12 2:27:52 PM AKDT
> 
> Headers:
> 
> user-agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229
> Version/11.62
> 
> host: sat-svr-centos1.operations.gci.com
> 
> accept: text/html, application/xml;q=0.9, application/xhtml+xml, 
> image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, 
> */*;q=0.1
> 
> accept-language: en-US,en;q=0.9
> 
> accept-encoding: gzip, deflate
> 
> referer:
> https://sat-svr-centos1.operations.gci.com/rhn/kickstart/CreateProfile
> Wiza
> rd.do
> 
> cookie: JSESSIONID=FB29C1DEFFFC87D4E7FEB3F4D70B0246;
> pxt-session-cookie=318xb69f20662b8100c8c3afe96d1a39d262;
> __utma=102107159.326336961.1334785495.1334785495.1334785495.1;
> __utmz=102107159.1334785495.1.1.utmccn=(referral)|utmcsr=intranet.gci.
> com| 
> utmcct=/ncompass/cs_web/channels/intranet_cs/cs_web/newsletter/wireles
> s/gci _to_offer_iphone_4s_on_april_20th.htm|utmcmd=referral
> 
> connection: Keep-Alive
> 
> content-length: 254
> 
> content-type: application/x-www-form-urlencoded
> 
> Request:
> 
> Local Name = sat-svr-centos1.operations.gci.com
> 
> Server Name = sat-svr-centos1.operations.gci.com
> 
> Requested Session Id came from Cookie
> 
> Requested Session Valid = true
> 
> Session =
> org.apache.catalina.session.StandardSessionFacade@6935c14f[session=Sta
> ndar dSession[FB29C1DEFFFC87D4E7FEB3F4D70B0246]]
> 
> Protocol = https
> 
> Request Locale = en_US
> 
> Request Character Encoding = UTF-8
> 
> Attribute Names = rhnActiveLang, javax.servlet.request.ssl_session,
> org.apache.struts.action.MESSAGE,
> javax.servlet.jsp.jstl.fmt.timeZone.request, session, 
> javax.servlet.request.key_size, javax.servlet.request.cipher_suite,
> requestedUri, kickstartCreateWizardForm, 
> org.apache.struts.action.mapping.instance,
> org.apache.struts.action.MODULE,
> 
> Form Variables:
> 
> prevStep: second
> 
> rootPasswordConfirm: kb1234
> 
> rootPassword: kb1234
> 
> defaultDownload: true
> 
> virtualizationTypeLabel: none
> 
> nextStep: complete
> 
> kickstartLabel: CentosBase
> 
> kstreeId: 1
> 
> userDefinedDownload:
> 
> submitted: true
> 
> csrf_token: 5932855238261630626
> 
> wizardStep: complete
> 
> ?
> 
> User Information:
> 
> User gbuttitta (id 1, org_id 1)
> 
> Exception:
> 
> javax.servlet.ServletException: 
> java.lang.reflect.InvocationTargetException
> 
> at
> org.apache.struts.action.RequestProcessor.processException(RequestProc
> esso
> r.java:520)
> 
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(Request
> Proc
> essor.java:427)
> 
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav
> a:22
> 8)
> 
> at
> com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestP
> roce
> ssor.java:99)
> 
> 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:637)
> 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:290)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at 
> com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:9
> 1)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMesh
> Filt
> er.java:129)
> 
> at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilte
> r.ja
> va:77)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(L
> ocal
> izedEnvironmentFilter.java:67)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(Environmen
> tFil
> ter.java:108)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.
> java
> :55)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(S
> etCh
> aracterEncodingFilter.java:97)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cati
> onFilterChain.java:235)
> 
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lter
> Chain.java:206)
> 
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> java:233)
> 
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> java:191)
> 
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:1
> 27)
> 
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:1
> 02)
> 
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.ja
> va:109)
> 
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :298
> )
> 
> at 
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> 
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
> 
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
> 
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.jav
> a:69
> 8)
> 
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocke
> t.ja
> va:891)
> 
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.j
> ava:690)
> 
> at java.lang.Thread.run(Thread.java:679)
> 
> Caused by: java.lang.reflect.InvocationTargetException
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orIm
> pl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:616)
> 
> at
> com.redhat.rhn.frontend.struts.wizard.WizardStep.invoke(WizardStep.jav
> a:11
> 6)
> 
> at
> com.redhat.rhn.frontend.struts.wizard.RhnWizardAction.dispatch(RhnWiza
> rdAc
> tion.java:103)
> 
> at
> com.redhat.rhn.frontend.struts.wizard.RhnWizardAction.execute(RhnWizar
> dAct
> ion.java:89)
> 
> at
> com.redhat.rhn.frontend.action.kickstart.CreateProfileWizardAction.exe
> cute
> (CreateProfileWizardAction.java:104)
> 
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(Request
> Proc
> essor.java:425)
> 
> ... 40 more
> 
> Caused by: java.lang.ClassCastException: java.lang.String cannot be 
> cast to java.lang.Double
> 
> at 
> org.cobbler.CobblerConnection.getVersion(CobblerConnection.java:174)
> 
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.getCobble
> rVer
> sion(CobblerXMLRPCHelper.java:123)
> 
> at
> com.redhat.rhn.manager.kickstart.KickstartFormatter.getFileData(Kickst
> artF
> ormatter.java:252)
> 
> at
> com.redhat.rhn.domain.kickstart.KickstartFactory.saveKickstartData(Kic
> ksta
> rtFactory.java:359)
> 
> at
> com.redhat.rhn.domain.kickstart.KickstartFactory.saveKickstartData(Kic
> ksta
> rtFactory.java:393)
> 
> at
> com.redhat.rhn.manager.kickstart.KickstartWizardHelper.store(Kickstart
> Wiza
> rdHelper.java:189)
> 
> at
> com.redhat.rhn.domain.kickstart.builder.KickstartBuilder.create(Kickst
> artB
> uilder.java:545)
> 
> at
> com.redhat.rhn.frontend.action.kickstart.CreateProfileWizardAction.run
> Comp
> lete(CreateProfileWizardAction.java:283)
> 
> ... 49 more
> 
> *****************************************************************
> 
> Is it a java problem, permissions or what?
> Thanks for help.
> 
> 
> Jerry Buttitta
> OSS Administrator I
> (907)868-5916
> 
> 
> 
> 'Tis the gift to be simple, 'tis the gift to be free, 'Tis the gift to 
> come down where we ought to be, And when we find ourselves in the 
> place just right, 'Twill be in the valley of love and delight.

This is a bug in cobbler v2.2 (which I believe you're using).

The problem has been fixed in cobbler upstream, but no new cobbler has been 
roled out into Fedora / EPEL.

In attachment, you'll find the fix -- try to apply it on your cobbler.

-MZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cobbler.patch
Type: text/x-patch
Size: 6585 bytes
Desc: not available
URL: 
<https://www.redhat.com/archives/spacewalk-list/attachments/20120522/426121da/attachment.bin>

------------------------------

Message: 2
Date: Tue, 22 May 2012 12:13:36 +0200 (CEST)
From: Baptiste AGASSE <[email protected]>
To: [email protected]
Subject: Re: [Spacewalk-list] unable to remove systems
Message-ID:
        <695719882.3824.1337681616332.javamail.r...@sirismail.lyra-network.com>
        
Content-Type: text/plain; charset=utf-8

Hi,

> Looks like its trying to login to cobbler? And failing why?

Have you installed the last cobbler (cobbler 2.2.x) version and then downgraded 
it to the last spacewalk supported version (cobbler 2.0.x) ?

If you did that (like me) the /etc/cobbler/settings and 
/etc/cobbler/modules.conf configured by spacewalk install script are now 
/etc/cobbler/settings.rpmsave and /etc/cobbler/modules.conf.rpmsave due to the 
cobbler rpm downgrade.

just revert these configs files and restart cobbler and it should work for you.

Have a nice day.

Regards.

Baptiste



------------------------------

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

End of Spacewalk-list Digest, Vol 48, Issue 63
**********************************************

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to