mco puppet runonce fails intermittently

94 views
Skip to first unread message

Jose Luis Ledesma

unread,
Dec 27, 2013, 11:17:08 AM12/27/13
to puppet...@googlegroups.com
Hi all,

   sometimes when I run an mco puppet runonce it fails with the error:

[root@puppet-master clientbucket]# mco puppet runonce -I client01

 * [ ============================================================> ] 1 / 1


client01                                 Request Aborted
   Puppet command 'puppet agent --onetime --daemonize --color=false --splay --splaylimit 30' had exit code 1, expected 0
   Summary: Puppet command 'puppet agent --onetime --daemonize --color=false --splay --splaylimit 30' had exit code 1, expected 0



Finished processing 1 / 1 hosts in 2297.88 ms




    but not always... how can I debug this error? how could I see the stdout/stderr of the command above?

    The weird thing is that the puppet command is executed properly, and I get the report ¿?. This is a mco puppet status executed just some seconds after:

[root@puppet-master clientbucket]#  mco puppet status -I client01

 * [ ============================================================> ] 1 / 1

   client01: Currently applying a catalog; last completed run 48 seconds ago


version:
mcollective 2.2.4
puppet 3.3.2

thanks in advance,

Jose Luis Ledesma

unread,
Dec 30, 2013, 10:04:12 AM12/30/13
to puppet...@googlegroups.com
Someone knows how to review stderr/stdout of a mco command?
Reply all
Reply to author
Forward
0 new messages