Coe, Colin C. (Unix Engineer) wrote:
Ahh, just found and ran /usr/bin/cobbler-setup.  Now in 
/var/log/tomcat5/catalina.out I get:

2009-01-05 11:56:32,672 [TP-Processor6] ERROR 
com.redhat.rhn.domain.kickstart.KickstartFactory - Error trying to write KS 
file to disk: [/var/lib/rhn/kickstarts/ks-test-3--1--Spacewalk_Public_Cert.cfg]

ks-test-3 is the name of a test kickstart profile I was trying to create and 
/var/lib/rhn doesn't exist on my system.

Thanks

CC

For what it's worth -- cobbler-setup is not in Cobbler 1.4.X, and as I recall, the spacewalk installer doesn't package it anymore.

I think you just want spacewalk-setup?



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Coe, Colin C. (Unix Engineer)
Sent: Monday, 5 January 2009 11:01 AM
To: [email protected]
Subject: [Spacewalk-devel] Couple of questions


Hi all

First up, I'm working on a patch to add a 'nicer' editor to replace textareas in specific places (Kickstart pre/post scripts and config file creatation and editing). The problem I'm having is when I change
<html:textarea property="contents" rows="20" cols="80" /><br />

to

<textarea property="contents" rows="20" cols="80" id="contents">${revision.configContent}</textarea><br />

in java/code/webapp/WEB-INF/pages/common/fragments/configuration/ channel/create.jspf, I get the following displayed in the textarea and the newly created file is empty.

com.redhat.rhn.domain.config.configcont...@21f3ee79[id=6,fileS
ize=0,md5sum=d41d8cd98f00b204e9800998ecf8427e,isBinary=false,c
ontentsBlob=<null>,created=2009-01-05 08:31:30.0,modified=2009-01-05 08:31:30.0]

I realise that ${revision.configContent} is giving me the complete object, how do I just what is contained in 'contentsBlob'? i.e. the file data rather than the meta data. I've tried ${revision.configContent.contentsBlob} and ${revision.contentsBlob}, both give me tomcat errors.


Lastly, I'm pretty much fully sync'd with the git repo and what I find is I get errors in /var/log/tomcat5/catalina.out:
---
2009-01-05 11:36:02,618 [TP-Processor6] ERROR com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand - XmlRpcFault while logging in. most likely user doesn't have permissions. redstone.xmlrpc.XmlRpcFault: cobbler.cexceptions.CX:'login failed: spacewalk'
---

I've installed cobbler but not configured it. Is there a howto for this as yet?

Thanks

CC

NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.


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


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.


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

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

Reply via email to