I have a test setup like this: host ======*puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent and server *puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent *puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent *puppet-node3*: CentOS 6.3 running MCollective and puppet agent I installed the *mcollective-plugins-puppetd plugin* on all *3 Ubuntu hosts*and *mcollective-puppet-agent *on *CentOS*. I am using the *puppetlabs repo*for all four hosts. Now when I execute the following from *puppet-idc* host, *puppet-node3 does not get picked up*. Is there a separate package for the puppet plugin for CentOS or am I doing something wrong? root@puppet-idc:~# mco puppetd runonce -v Discovering hosts using the mc method for 2 second(s) .... 3 * [ ============================================================> ] 3 / 3 puppet-idc : OK {:output=>"Signalled daemonized puppet agent to run (process 2315)"} puppet-node2 : OK {:output=>"Signalled daemonized puppet agent to run (process 905)"} puppet-node1 : OK {:output=>"Signalled daemonized puppet agent to run (process 1028)"} ---- rpc stats ---- Nodes: 3 / 3 Pass / Fail: 3 / 0 Start Time: Thu Jan 17 17:17:30 +0930 2013 Discovery Time: 2004.34ms Agent Time: 56.43ms Total Time: 2060.77ms root@puppet-idc:~# -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/cJfs0_xGiRIJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
R.I.Pienaar
2013-Jan-17 15:09 UTC
Re: [Puppet Users] mcollective puppet plugin not working for centos
----- Original Message -----> From: "G M" <gripmasterxxx@gmail.com> > To: puppet-users@googlegroups.com > Sent: Thursday, January 17, 2013 7:56:20 AM > Subject: [Puppet Users] mcollective puppet plugin not working for centos > > I have a test setup like this: > > host > ======> *puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent and > server > *puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent > *puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent > *puppet-node3*: CentOS 6.3 running MCollective and puppet agent > > I installed the *mcollective-plugins-puppetd plugin* on all *3 Ubuntu > hosts*and > *mcollective-puppet-agent *on *CentOS*. I am using the *puppetlabs repo*for > all four hosts. > > Now when I execute the following from *puppet-idc* host, *puppet-node3 does > not get picked up*. Is there a separate package for the puppet plugin for > CentOS or am I doing something wrong? > > root@puppet-idc:~# mco puppetd runonce -v > Discovering hosts using the mc method for 2 second(s) .... 3 > > * [ ============================================================> ] 3 / 3 > > > puppet-idc : OK > {:output=>"Signalled daemonized puppet agent to run (process 2315)"} > > puppet-node2 : OK > {:output=>"Signalled daemonized puppet agent to run (process 905)"} > > puppet-node1 : OK > {:output=>"Signalled daemonized puppet agent to run (process 1028)"}The mcollective-puppet-agent is not the same mcollective-plugins-puppetd, the puppetd agent is an old one we are now retiring while the one you have on your centos machine is the latest. Install ''mcollective-puppet-agent'' on your ubuntu machines as well, make sure they have the puppetlabs apt repo enable. You''ll install mcollective-puppet-client on the machine where you want to run your ''mco'' command from. Usage help for the ''mco puppet'' command can be found here: https://github.com/puppetlabs/mcollective-puppet-agent#readme -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
G M
2013-Jan-18 05:53 UTC
Re: [Puppet Users] mcollective puppet plugin not working for centos
Thanks a lot <http://twitter.com/ripienaar>ripienaar! I was completely lost. Everything works fine now, root@puppet-idc:~# mco rpc puppet runonce -v Discovering hosts using the mc method for 2 second(s) .... 4 * [ ============================================================> ] 4 / 4 puppet-node3 : OK {:summary=>"Signalled the running Puppet Daemon"} puppet-idc : OK {:summary=>"Signalled the running Puppet Daemon"} puppet-node2 : OK {:summary=>"Signalled the running Puppet Daemon"} puppet-node1 : OK {:summary=>"Signalled the running Puppet Daemon"} ---- puppet#runonce call stats ---- Nodes: 4 / 4 Pass / Fail: 4 / 0 Start Time: Fri Jan 18 15:19:08 +0930 2013 Discovery Time: 2004.21ms Agent Time: 407.32ms Total Time: 2411.54ms On Friday, January 18, 2013 2:09:34 AM UTC+11, R.I. Pienaar wrote:> > > > ----- Original Message ----- > > From: "G M" <gripma...@gmail.com <javascript:>> > > To: puppet...@googlegroups.com <javascript:> > > Sent: Thursday, January 17, 2013 7:56:20 AM > > Subject: [Puppet Users] mcollective puppet plugin not working for centos > > > > I have a test setup like this: > > > > host > > ======= > > *puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent > and > > server > > *puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent > > *puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent > > *puppet-node3*: CentOS 6.3 running MCollective and puppet agent > > > > I installed the *mcollective-plugins-puppetd plugin* on all *3 Ubuntu > > hosts*and > > *mcollective-puppet-agent *on *CentOS*. I am using the *puppetlabs > repo*for > > all four hosts. > > > > Now when I execute the following from *puppet-idc* host, *puppet-node3 > does > > not get picked up*. Is there a separate package for the puppet plugin > for > > CentOS or am I doing something wrong? > > > > root@puppet-idc:~# mco puppetd runonce -v > > Discovering hosts using the mc method for 2 second(s) .... 3 > > > > * [ ============================================================> ] 3 / > 3 > > > > > > puppet-idc : OK > > {:output=>"Signalled daemonized puppet agent to run (process 2315)"} > > > > puppet-node2 : OK > > {:output=>"Signalled daemonized puppet agent to run (process 905)"} > > > > puppet-node1 : OK > > {:output=>"Signalled daemonized puppet agent to run (process 1028)"} > > > The mcollective-puppet-agent is not the same mcollective-plugins-puppetd, > the > puppetd agent is an old one we are now retiring while the one you have on > your centos machine is the latest. > > Install ''mcollective-puppet-agent'' on your ubuntu machines as well, make > sure > they have the puppetlabs apt repo enable. You''ll install > mcollective-puppet-client > on the machine where you want to run your ''mco'' command from. > > Usage help for the ''mco puppet'' command can be found here: > https://github.com/puppetlabs/mcollective-puppet-agent#readme >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/kavCx992bu0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Reasonably Related Threads
- MCollective and Puppet with periodic runs disabled
- MCollective discovery - we did not discover any nodes
- Puppet with Mcollective, which modules and how ? (TheForeman)
- Mcollective/Puppet Connector
- Specifying multple nodes with mcollective-puppet-agent Host Filters