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

Milan Zázrivec mzazrivec at redhat.com
Fri Dec 13 09:46:50 UTC 2013


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




More information about the Spacewalk-list mailing list