[Spacewalk-list] Issues with Kickstart

themaster001 themaster001 at gmail.com
Wed Feb 29 12:15:21 UTC 2012


On Wed, Feb 29, 2012 at 2:51 AM, Milan Zazrivec <mzazrivec at redhat.com> wrote:
>> Hello,
>>
>> I am having issue with creating a kickstart on Spacewalk 1.6, I am
>> trying to follow the set up from CentOS Page
>> (http://wiki.centos.org/HowTos/PackageManagement/Spacewalk ). I have
>> download the lastest CentOS 5, and I have it mount, but when I go to
>> create a distro ( System --> Kickstart --> Distributions )
>>
>> Distribution Label: CentOS-5-i386
>> Tree Path:/var/distro-trees/CentOS-5-i386/images/pxeboot/
>> Base Channel: CentOS 5 Base - i386
>> Installer Generation: Red Hat Enterprise Linux 5
>>
>> I am getting the following error....
>>
>> The initrd could not be found at the specified location:
>> /var/distro-trees/CentOS-5-i386/images/pxeboot/images/pxeboot/initrd.img
>>
>> I know that the page states to make sure that the iso can be read by
>> tomcat so I have in /etc/fstab that it's owned by tomcat.
>>
>> /var/iso-images/CentOS-5.7-i386-bin-DVD-1of2.iso
>> /var/distro-trees/CentOS-5-i386 iso9660
>> rw,uid=91,gid=91,loop=/dev/loop1 0 0
>>
>> I can see that works
>>
>> drwxrwxr-x 6 tomcat tomcat 6144 Sep  5 08:10 CentOS-5-i386
>>
>> I can see that initrd.img is there....
>>
>> [root at spacewalk CentOS-5-i386]# cd images/pxeboot/
>> [root at spacewalk pxeboot]# pwd
>> /var/distro-trees/CentOS-5-i386/images/pxeboot
>> [root at spacewalk pxeboot]# ls
>> initrd.img  README  TRANS.TBL  vmlinuz
>> [root at spacewalk pxeboot]# ls -l
>> total 12058
>> -rw-r--r-- 1 tomcat tomcat 10450542 Sep  5 07:53 initrd.img
>> -rw-r--r-- 1 tomcat tomcat      265 Sep  5 07:53 README
>> -r--r--r-- 1 tomcat tomcat      659 Sep  5 08:10 TRANS.TBL
>> -rw-r--r-- 1 tomcat tomcat  1894036 Sep  5 07:53 vmlinuz
>>
>> Am I missing something? Is there a page I can view or can someone
>> please example to me what I am doing wrong?
>
> An SELinux issue perhaps?
>
> -MZ
>
>> I have even tried to set the tree as follows but I get an internal error
>> 500
>>
>> Tree Path:/var/distro-trees/CentOS-5-i386/
>>
>> I looked at the Coobler logs and I am seeing that running, but I am
>> not seeing any errors....
>>
>> Tue Feb 28 18:12:49 2012 - DEBUG | API handle initialized
>> Tue Feb 28 18:12:50 2012 - DEBUG | XMLRPC running on 25151
>>
>> I have looked into the Apache, Spacewalk, and Tomcat logs and don't
>> see any errors.
>>
>>
>> Chuck Payne
>>
>> _______________________________________________
>> 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

I found a couple e-mails from my spacewalk server

Taskomatic bunch kickstartfile-sync-bunch was scheduled to run within
the kickstartfile-sync-default schedule.

Subtask kickstartfile-sync failed.

For more information check
/var/lib/rhn/tasko/sat/kickstartfile-sync-bunch/kickstartfile-sync_9064_err.

012-02-29 11:11:43,069 [DefaultQuartzScheduler_Worker-4] ERROR
com.redhat.rhn.taskomatic.task.KickstartFileSyncTask  -
XmlRpcException calling cobbler.
2012-02-29 11:11:43,103 [DefaultQuartzScheduler_Worker-4] ERROR
com.redhat.rhn.taskomatic.task.KickstartFileSyncTask  -
redstone.xmlrpc.XmlRpcException: A network error occurred.


Taskomatic bunch cobbler-sync-bunch was scheduled to run within the
cobbler-sync-default schedule.

Subtask cobbler-sync failed.

For more information check
/var/lib/rhn/tasko/sat/cobbler-sync-bunch/cobbler-sync_9066_err.


[root at spacewalk cobbler-sync-bunch]# cat cobbler-sync_9066_err
2012-02-29 11:11:43,052 [DefaultQuartzScheduler_Worker-7] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask  -
RuntimeExceptioneError trying to sync to cobbler: XmlRpcException
calling cobbler.
java.lang.RuntimeException: XmlRpcException calling cobbler.
	at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)
	at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:65)
	at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:80)
	at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:168)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:380)
	at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
	at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
	... 5 more
Caused by: java.net.ConnectException: Connection timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
	at java.net.Socket.connect(Socket.java:546)
	at java.net.Socket.connect(Socket.java:495)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
	at sun.net.www.http.HttpClient.New(HttpClient.java:321)
	at sun.net.www.http.HttpClient.New(HttpClient.java:338)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:979)
	at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:370)
	... 7 more
2012-02-29 11:11:43,062 [DefaultQuartzScheduler_Worker-7] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask  - re-throwing
exception since we havent yet.
2012-02-29 11:11:43,078 [DefaultQuartzScheduler_Worker-7] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask  - XmlRpcException
calling cobbler.
2012-02-29 11:11:43,079 [DefaultQuartzScheduler_Worker-7] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask  -
redstone.xmlrpc.XmlRpcException: A network error occurred.


For now until I get everything working selinux is disable.

Hopefully that will help.

Thanks,

Chuck




More information about the Spacewalk-list mailing list