[Spacewalk-list] Trouble with Cobbler Sync failing
Ryan Clough
ryan.clough at dsic.com
Thu Aug 6 22:28:50 UTC 2015
Here is some messages from the /var/log/cobbler/cobbler.log when I initiate
a "Cobbler Sync" from the WebUI:
==> /var/log/cobbler/cobbler.log <==
Thu Aug 6 15:25:00 2015 - DEBUG | get_items; ['distro']
Thu Aug 6 15:25:00 2015 - DEBUG | done with get_items; ['distro']
Thu Aug 6 15:25:00 2015 - DEBUG | get_items; ['profile']
Thu Aug 6 15:25:00 2015 - DEBUG | done with get_items; ['profile']
Thu Aug 6 15:25:00 2015 - INFO | REMOTE
get_item(distro,sl7-x86_64:2:DSIC-Poway); user(?)
Thu Aug 6 15:25:00 2015 - DEBUG | get_item; ['distro',
'sl7-x86_64:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - DEBUG | done with get_item; ['distro',
'sl7-x86_64:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - DEBUG | get_item; ['profile',
'sl7-x86_64-minimal:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - DEBUG | done with get_item; ['profile',
'sl7-x86_64-minimal:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - INFO | REMOTE modify_item(profile);
user(taskomatic_user); object_id(profile::sl7-x86_64-minimal:2:DSIC-Poway);
attribute(kickstart)
Thu Aug 6 15:25:00 2015 - DEBUG | get_item; ['profile',
'sl7-x86_64-minimal:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - DEBUG | done with get_item; ['profile',
'sl7-x86_64-minimal:2:DSIC-Poway']
Thu Aug 6 15:25:00 2015 - DEBUG | authorize; ['taskomatic_user',
'modify_profile', <cobbler.item_profile.Profile instance at 0x2852cb0>,
'kickstart', True]
Thu Aug 6 15:25:00 2015 - DEBUG | REMOTE taskomatic_user authorization
result: True; user(?)
Thu Aug 6 15:25:00 2015 - INFO | Exception occured: <class '
cobbler.cexceptions.CX'>
Thu Aug 6 15:25:00 2015 - INFO | Exception value: 'Invalid kickstart
template file location
/var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
/var/lib/cobbler/kickstarts/'
Thu Aug 6 15:25:00 2015 - INFO | Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, in die
raise CX(msg)
Thu Aug 6 15:25:00 2015 - INFO | Exception occured: <class '
cobbler.cexceptions.CX'>
Thu Aug 6 15:25:00 2015 - INFO | Exception value: 'Invalid kickstart
template file location
/var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
/var/lib/cobbler/kickstarts/'
Thu Aug 6 15:25:00 2015 - INFO | Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 2080, in
_dispatch
return method_handle(*params)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 848, in
modify_profile
return self.modify_item("profile",object_id,attribute,arg,token)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 836, in
modify_item
self._validate_ks_template_path(arg)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 820, in
_validate_ks_template_path
utils.die(self.logger, "Invalid kickstart template file location %s, it
is not inside /var/lib/cobbler/kickstarts/" % path)
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 134, in
die
raise CX(msg)
___________________________________________
¯\_(ツ)_/¯
Ryan Clough
Information Systems
Decision Sciences International Corporation
<http://www.decisionsciencescorp.com/>
<http://www.decisionsciencescorp.com/>
On Thu, Aug 6, 2015 at 2:17 PM, Ryan Clough <ryan.clough at dsic.com> wrote:
> Has anyone seen this lately? We are running SW 2.3 on Scientific Linuc 6.6.
>
> 2015-08-06 14:15:00,423 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - RuntimeExceptionError
> trying to sync to cobbler: redstone.xmlrpc.XmlRpcFault: <class '
> cobbler.cexceptions.CX'>:'Invalid kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> java.lang.RuntimeException: redstone.xmlrpc.XmlRpcFault: <class '
> cobbler.cexceptions.CX'>:'Invalid kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:104)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:115)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.syncProfileToSpacewalk(CobblerProfileSyncCommand.java:152)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.store(CobblerProfileSyncCommand.java:107)
> at
> com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:123)
> at
> com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:89)
> at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:169)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
> Caused by: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'Invalid
> kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> 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
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:100)
> ... 8 more
> 2015-08-06 14:15:00,424 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - re-throwing exception
> since we havent yet.
> 2015-08-06 14:15:00,425 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - Executing a task threw an
> exception: java.lang.RuntimeException
> 2015-08-06 14:15:00,425 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - Message:
> redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'Invalid
> kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> 2015-08-06 14:15:00,425 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - Cause:
> redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'Invalid
> kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> 2015-08-06 14:15:00,426 [DefaultQuartzScheduler_Worker-8] ERROR
> com.redhat.rhn.taskomatic.task.CobblerSyncTask - Stack
> trace:java.lang.RuntimeException: redstone.xmlrpc.XmlRpcFault: <class '
> cobbler.cexceptions.CX'>:'Invalid kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:104)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:115)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.syncProfileToSpacewalk(CobblerProfileSyncCommand.java:152)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.store(CobblerProfileSyncCommand.java:107)
> at
> com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:123)
> at
> com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:89)
> at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:169)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
> Caused by: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'Invalid
> kickstart template file location
> /var/lib/rhn/kickstarts/wizard/sl7-x86_64-minimal--2.cfg, it is not inside
> /var/lib/cobbler/kickstarts/'
> 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
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
> at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.invokeXMLRPC(CobblerCommand.java:100)
> ... 8 more
>
> Thank you for taking a look.
> ___________________________________________
> ¯\_(ツ)_/¯
> Ryan Clough
> Information Systems
> Decision Sciences International Corporation
> <http://www.decisionsciencescorp.com/>
> <http://www.decisionsciencescorp.com/>
>
--
This email and its contents are confidential. If you are not the intended
recipient, please do not disclose or use the information within this email
or its attachments. If you have received this email in error, please report
the error to the sender by return email and delete this communication from
your records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150806/079375fb/attachment.htm>
More information about the Spacewalk-list
mailing list