Choria on Debian 10 (buster)

57 views
Skip to first unread message

Derek

unread,
Jul 21, 2020, 2:10:57 PM7/21/20
to Choria Users
Hi,

I've installed choria on debian 10 servers and it doesn't seem to work.  (Centos 7 servers are working)

On the Broker (CentOS 7)
Choria discovery method: can't find the debian 10 server.
Mcollective discovery method (--dm=mc):
    debian10-server: Cannot decode output from Shim for Ruby action package#status: EOF
    centos7-server: choria-0.15.0-1.el7.x86_64


Choria seems to install cleanly on the debian 10 server, but not getting proper mcollective fact output.

# facter -p mcollective
{
  client => {},
  server => {},
  puppet_major_version => 6,
  aio_major_version => 6,
  error => "LoadError: cannot load such file -- mcollective"
}

# puppet facts --debug
Debug: Loading facts from /opt/puppetlabs/puppet/cache/lib/facter/mcollective.rb
Info: Facter: loading custom facts from /opt/puppetlabs/puppet/cache/lib/facter/mcollective.rb.
Debug: Facter: fact "mcollective" has resolved to {
  error => "LoadError: cannot load such file -- mcollective"
}.


/var/log/choria.log
warnings:

{"component":"server","identity":"debian10-server","level":"warning","msg":"Ruby agents are not allowed to supply an agent called 'choria_util', skipping","provider":"ruby","time":"2020-07-21T14:51:02-03:00"}
{"component":"server","identity":"debian10-server","level":"warning","msg":"Ruby agents are not allowed to supply an agent called 'rpcutil', skipping","provider":"ruby","time":"2020-07-21T14:51:02-03:00"}


Any help would be much appreciated.
Thanks,
- Derek

R.I.Pienaar

unread,
Jul 21, 2020, 2:13:15 PM7/21/20
to choria-users
Can you see if this is what you see:

% /opt/puppetlabs/puppet/bin/gem list|grep mco
choria-mcorpc-support (2.21.1, 2.20.8, 2.20.6, 2.20.5)

(you'd only see one version)

the error suggests this is missing
--
You received this message because you are subscribed to the Google Groups "Choria Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to choria-users...@googlegroups.com.

--
R.I.Pienaar / www.devco.net / @ripienaar

Derek

unread,
Jul 21, 2020, 2:48:40 PM7/21/20
to Choria Users


That was it.
Didn't have the choria-mcorpc-support gem installed.

Getting the proper mcollective fact output now.

and broker discovers:
   debian10-server: choria-0.15.0.
    centos7-server: choria-0.15.0-1.el7.x86_64


Thank you!


Further investigation, I had this set
mcollective_choria::manage_gem_dependencies: false

I had to set this due to a workaround to get the nats-pure gem installed.
Maybe specific to my environment? but due to invalid option: --nogpgcheck


Error: Could not update: Execution of '/opt/puppetlabs/puppet/bin/gem install --nogpgcheck -v 0.5.0 --no-document nats-pure' returned 1: ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --nogpgcheck

- Derek
To unsubscribe from this group and stop receiving emails from it, send an email to choria...@googlegroups.com.

R.I.Pienaar

unread,
Jul 21, 2020, 2:53:35 PM7/21/20
to choria-users
Well, that's good news, i guess.  But I cant see how this --nogpgcheck gets there, I suspect somewhere on your site you have something like Package { install_options => "--nogpgcheck"} that's bleeding in
To unsubscribe from this group and stop receiving emails from it, send an email to choria-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages