I have registration meta configured and have the inventory detail of all of
my servers, so I would like to use
the
https://github.com/puppetlabs/mcollective-plugins/tree/master/agent/registration-monitor/discovery
discovery to perform the facts based filters to avoid broadcast discovery
each time. Since in my setup I have 50000+ servers.
but when tried with registrationmonitor discovery getting below error,
# mco shell "uname -a" --do /data/mcollective_inventory/ --dm
registrationmonitor -v -I testserver123
Discovering hosts using the registrationmonitor method ....
The mco application failed to run: undefined method `include?' for
nil:NilClass
undefined method `include?' for nil:NilClass (NoMethodError)
from
/usr/libexec/mcollective/mcollective/discovery/registrationmonitor.rb:48:in
`discover' <----
from
/usr/libexec/mcollective/mcollective/discovery/registrationmonitor.rb:48:in
`select'
from
/usr/libexec/mcollective/mcollective/discovery/registrationmonitor.rb:48:in
`discover'
from /usr/lib/ruby/site_ruby/1.8/mcollective/discovery.rb:134:in
`discover'
from /usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:118:in
`discover'
from /usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:538:in
`discover'
from
/usr/libexec/mcollective/mcollective/application/shell.rb:41: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
Any help please?
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.