Hi, I had just copied the files over manually and placed them in the respective directories, I've now also installed the deb packages "mcollective-puppet-agent" on the agent nodes and "mcollective-puppet-common" on the client nodes from the Puppetlabs repo although this didn't make a difference.
I have the following files in my $libdir/mcollective/data on both the client and agent nodes: agent_data.ddl agent_data.rb fstat_data.ddl fstat_data.rb puppet_data.ddl puppet_data.rb resource_data.ddl resource_data.rb I also have everything from the util, validator, aggregate and agent dirs on both nodes, and the application dir on the client node. Thanks, Jon On Wednesday, July 10, 2013 10:40:23 PM UTC+1, R.I. Pienaar wrote: > > > > ----- Original Message ----- > > From: "Jon Ward" <[email protected] <javascript:>> > > To: [email protected] <javascript:> > > Sent: Wednesday, July 10, 2013 5:15:59 PM > > Subject: [Puppet Users] MCollective Puppet plugin - runall not working > > > > Hi, > > > > I've got the Puppet plugin for MCollective installed and working, > however > > the 'runall' action always discovers 0 enabled nodes. > > > > # mco puppet runall 2 > > > 2013-07-10 15:57:16: Running all nodes with a concurrency of 2 > > > 2013-07-10 15:57:16: Discovering enabled Puppet nodes to manage > > > 2013-07-10 15:57:19: Found 0 enabled nodes > > > > > > Looking in the server log on a node I would have expected to run I can > see > > this: > > > > D, [2013-07-10T15:03:53.137854 #9657] DEBUG -- : base.rb:25:in `lookup' > > > Doing data query puppet_data for '' > > > D, [2013-07-10T15:03:53.139202 #9657] DEBUG -- : base.rb:109:in > > > `validate_filter?' Failing based on class and fact composition > > > D, [2013-07-10T15:03:53.139318 #9657] DEBUG -- : base.rb:117:in > > > `validate_filter?' Passing based on agent puppet > > > D, [2013-07-10T15:03:53.139404 #9657] DEBUG -- : base.rb:159:in > > > `validate_filter?' Message failed the filter checks > > > > > > As far as I can work out, the following line in util/puppetrunner.rb > might > > be failing: > > > > > def find_enabled_nodes > > > > > > ... > > > > > > @client.compound_filter("puppet().enabled=true") > > > > > > ... > > > > > > end > > > > > > > > If I do an 'mco puppet status' then the Summary of Applying and Summary > of > > Idling work, however the Summary of enabled and Summary of > daemon_present > > show: > > > > > *Could not compute summary - exception raised while processing startup > > > hook* > > > > > > > So it seems that it thinks all the nodes are disabled. However other > > actions such as "enable" and "disable" work correctly, and "runonce" > > correctly determines which nodes are enabled. > > > > I've had a dig around the code but got completely lost so any pointers > > would be gratefully appreciated! > > > > I'm running Puppet 3.2.1, MCollective 2.2.4 with activemq on Debian 6. > > > > how did you install the plugin? did you install the data plugins on the > node? > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
