On Friday 13 December 2013 11:11:51 Justin Edmands wrote: > On Fri, Dec 13, 2013 at 4:46 AM, Milan Zázrivec <[email protected]>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 > > [email protected] > > https://www.redhat.com/mailman/listinfo/spacewalk-list > > Running from server side or client in spacecmd, same results. > > [root@hqspacewalk1 ~]# yum list spacecmd > ... > spacecmd.noarch 2.0.2-1.el6 > @spacewalk > > [11:10:33][jedmands@justin:~]# yum list spacecmd > ... > spacecmd.noarch 1.9.4-1.fc19 > @fedora
I can confirm that this problem is present in Spacewalk 2.0, but is already fixed in current Spacewalk nightly (to be released as Spacewalk 2.1). Also, this is not a problem in spacecmd, but in spacewalk-java (the server part of Spacewalk). -MZ _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
