Am using "The Marionette Collective version 2.5.2". On Monday, January 29, 2018 at 3:54:10 PM UTC+5:30, R.I.Pienaar wrote: > > > > On Mon, 29 Jan 2018, at 11:19, kk21987 wrote: > > Ok.. But still am looking myself for the possibility to integrate with > > mcollective application itself. Otherwise I need to have two separate > > execution methods to be called in our automation which is very difficult > to > > handle it. > > it's not a supported feature, so thats how it is > > > Between I could see the batch mode works fine with rpc but when I tries > to > > return the request id its throwing error, but the same works fine when I > > run with -I <servername> > > > > # mco rpc --agent shell --action execute --argument cmd="whoami" > > --nodes=file --reply-to=/queue/data.consumer.all --batch 100 -v > > Discovering hosts using the flatfile method .... 59 > > * [ ============================================================> ] 59 > / 59 > > The rpc application failed to run: can't convert Array into String > > can't convert Array into String (TypeError) > > from > /usr/libexec/mcollective/mcollective/application/rpc.rb:91:in > > `+' <---- > > from > /usr/libexec/mcollective/mcollective/application/rpc.rb:91:in > > `main' > > from > /usr/lib/ruby/site_ruby/1.8/mcollective/application.rb:291:in > > `run' > > from > /usr/lib/ruby/site_ruby/1.8/mcollective/applications.rb:23:in > > `run' > > from /usr/bin/mco:24 > > Did you patch this client somehow? What version is this? >
-- --- You received this message because you are subscribed to the Google Groups "mcollective-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mcollective-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.