Re: [Spacewalk-devel] JFYI: Bug in Cobbler makes trouble in Spacewalk

2012-04-23 Thread Uwe Gansert

On 20.04.2012 14:38, Uwe Gansert wrote:


that change makes cobbler return 2.2.2 instead of 2.2.02 when you call


typo. That was meant to be instead of 2.202 of course.

--
ciao, Uwe Gansert

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] JFYI: Bug in Cobbler makes trouble in Spacewalk

2012-04-23 Thread James Hogarth

 that change makes cobbler return 2.2.2 instead of 2.2.02 when you call


 typo. That was meant to be instead of 2.202 of course.

Hmm I wonder what effect that actually has

On the SW 1.7 server I just installed (pg8.4 backend) I got the
attached traceback on cobbler 2.2 

Downgrading to cobbler 2.0 (and removing the broken link that then
caused problem of /var/lib/tftpboot/grub/images being linked to
../images when ../images no longer existed) allowed things to work
again.

James
The following exception occurred while executing this request:
POST /rhn/kickstart/TreeCreate.do

Date:4/23/12 1:50:18 PM BST
Headers:
  host: ucbdspacewalk.bigdata.bskyb.com
  connection: keep-alive
  content-length: 199
  Cache-Control: max-age=0
  Origin: https://ucbdspacewalk.bigdata.bskyb.com
  user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 
(KHTML, like Gecko) Chrome/18.0.1025.163 Safari/535.19
  content-type: application/x-www-form-urlencoded
  accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  referer: https://ucbdspacewalk.bigdata.bskyb.com/rhn/kickstart/TreeCreate.do
  accept-encoding: gzip,deflate,sdch
  accept-language: en-US,en;q=0.8
  accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
  cookie: JSESSIONID=3383E0EA498D375E19CDCD7BFB80DD77; 
s_nr=1331559920934-Repeat; 
pxt-session-cookie=20xcf8ee94d2d6e23c9ea59c0611c0112cf

Request:
Local Name = ucbdspacewalk.bigdata.bskyb.com
Server Name = ucbdspacewalk.bigdata.bskyb.com
Requested Session Id came from Cookie
Requested Session Valid = true
Session = 
org.apache.catalina.session.StandardSessionFacade@6dbaa46d[session=StandardSession[3383E0EA498D375E19CDCD7BFB80DD77]]
Protocol = https
Request Locale = en_US
Request Character Encoding = UTF-8
Attribute Names = rhnActiveLang, treeEditForm, __sitemesh__page, installtypes, 
javax.servlet.jsp.jstl.fmt.timeZone.request, javax.servlet.error.status_code, 
javax.servlet.error.servlet_name, javax.servlet.request.key_size, channels, 
requestedUri, javax.servlet.request.ssl_session, 
org.apache.struts.action.MESSAGE, javax.servlet.error.message, session, 
javax.servlet.request.cipher_suite, javax.servlet.error.exception, 
javax.servlet.error.request_uri, org.apache.struts.action.mapping.instance, 
org.apache.struts.action.MODULE, 

Form Variables:
  channelid: 101
  kernelopts: 
  installtype: rhel_6
  basepath: /var/satellite/custom/mount/centos-6
  postkernelopts: 
  submitted: true
  label: centos_6_x64
  csrf_token: 1757716452458725124
  refreshForm: false


User Information:
User hogarthj (id 2, org_id 1)

Exception:
javax.servlet.ServletException: java.lang.RuntimeException: 
redstone.xmlrpc.XmlRpcFault: type 'exceptions.TypeError':not all arguments 
converted during string formatting
    at 
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
    at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
    at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
    at 
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.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(ApplicationFilterChain.java:290)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:91)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    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:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 

[Spacewalk-devel] JFYI: Bug in Cobbler makes trouble in Spacewalk

2012-04-20 Thread Uwe Gansert

Hi,

I found a problem in cobbler that affects spacewalk.

https://github.com/cobbler/cobbler/commit
/1d6c53a97dcebf9c7e760146177f0fd6625244ba

that change makes cobbler return 2.2.2 instead of 2.2.02 when you call 
version() via XMLRPC

That leads to an exception when creating a kickstart profile via wizard:

java.lang.ClassCastException: java.lang.String incompatible with 
java.lang.Double



--
ciao, Uwe Gansert

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel