[Spacewalk-list] spacecmd -- system_runscript to single host or SSM --java error

Justin Edmands shockwavecs at gmail.com
Fri Dec 13 16:11:51 UTC 2013


On Fri, Dec 13, 2013 at 4:46 AM, Milan Zázrivec <mzazrivec at redhat.com>wrote:

> On Thursday 12 December 2013 16:12:01 Justin Edmands wrote:
> > Hey,
> > Using spacecmd to run a script to a single system or based on systems in
> > the SSM.
> >
> >
> > SSM attempt:
> >
> > spacecmd {SSM:6}> system_runscript ssm
> > User [root]:
> > Group [root]:
> > Timeout (in seconds) [600]:
> > Start Time [now]:
> > Script File [create]:
> >
> > User:       root
> > Group:      root
> > Timeout:    600 seconds
> > Start Time: 20131212T16:06:24
> >
> > Script Contents
> > ---------------
> > #!/bin/bash
> > echo "hello" > /tmp/hello.txt
> >
> > Systems
> > -------
> > balcouch1.website.com
> > balcouch2.website.com
> > balcouch3.website.com
> > balpercona1.website.com
> > balpercona2.website.com
> > balpercona3.website.com
> >
> > Is this ok [y/N]: y
> > ERROR: com.redhat.rhn.common.translation.TranslationException: Could not
> > find translator for class redstone.xmlrpc.XmlRpcArray to class
> > java.lang.Integer
> > spacecmd {SSM:6}>
> >
> >
> >
> > Single Host attempt:
> >
> > spacecmd {SSM:6}> system_runscript justin.website.com
> > User [root]:
> > Group [root]:
> > Timeout (in seconds) [600]:
> > Start Time [now]:
> > Script File [create]:
> >
> > User:       root
> > Group:      root
> > Timeout:    600 seconds
> > Start Time: 20131212T16:09:44
> >
> > Script Contents
> > ---------------
> > #!/bin/bash
> > echo "hello" > /tmp/hello
> >
> > Systems
> > -------
> > justin.website.com
> >
> > Is this ok [y/N]: y
> > ERROR: com.redhat.rhn.common.translation.TranslationException: Could not
> > find translator for class redstone.xmlrpc.XmlRpcArray to class
> > java.lang.Integer
>
> Which spacecmd version is this?
>
> -MZ
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

Running from server side or client in spacecmd, same results.

[root at hqspacewalk1 ~]# yum list spacecmd
...
spacecmd.noarch                      2.0.2-1.el6
@spacewalk

[11:10:33][jedmands at justin:~]# yum list spacecmd
...
spacecmd.noarch                       1.9.4-1.fc19
@fedora
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131213/ff92635e/attachment.htm>


More information about the Spacewalk-list mailing list