Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Mcollective doesn't start on CentOS 7 via Systemctl

$
0
0
Hi guys, I have successfully installed and configured my puppet environment which includes one PuppetMaster and few nodes (Linux/Windows). Foreman is also installed and can do some basic things from there. Since Foreman does not support the "Puppet Run" via the deprecated "puppet kick" command, I am now trying to configure the mcollective service (middleware based on ActiveMQ), in order to be able to use the mco command from foreman and push single classes on nodes. The ActiveMQ seems to be properly installed, as i can see the the gui popping up via the browser. Unfortunately i can see any response while running the "mco ping " command, and i suspect it is due to the problem i have when trying to start the mcollective service via systemctl. Here the error i get, hope some of you might be of help : systemctl start mcollective the log : ERROR -- : pluginmanager.rb:171:in `rescue in loadclass' Failed to load Mcollective::Registration::Meta: cannot load such file -- mcollective/registration/meta.rb system/package info : puppet --version 4.10.1 puppetserver --version puppetserver version: 2.7.2 mco --version /usr/local/bin/mco 2.10.4 uname -r 3.10.0-514.16.1.el7.x86_64 cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) /etc/puppetlabs/mcollective/server.cfg connector = activemq plugin.activemq.pool.size = 1 plugin.activemq.pool.1.host = puppetmaster plugin.activemq.pool.1.port = 61613 plugin.activemq.pool.1.user = mcollective plugin.activemq.pool.1.password = marionette main_collective = mcollective collectives = mcollective libdir = /opt/puppetlabs/mcollective/plugins logfile = /var/log/puppetlabs/mcollective.log loglevel = info daemonize = 1 securityprovider = psk plugin.psk = unset factsource = yaml plugin.yaml = /etc/puppetlabs/mcollective/facts.yaml classesfile = /opt/puppetlabs/puppet/cache/state/classes.txt plugin.puppet.summary = /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml registration = Meta registerinterval = 14400 rpcauthorization = 1 rpcauthprovider = action_policy plugin.actionpolicy.allow_unconfigured = 1 plugin.activemq.heartbeat_interval = 30 vi /etc/puppetlabs/mcollective/client.cfg connector = activemq plugin.activemq.pool.size = 1 plugin.activemq.pool.1.host = puppetmaster plugin.stomp.port = 61613 plugin.activemq.pool.1.user = mcollective plugin.activemq.pool.1.password = marionette connection_timeout = 30 main_collective = mcollective collectives = mcollective libdir = /opt/puppetlabs/mcollective/plugins libdir = /usr/share/mcollective/plugins libdir = /usr/libexec/mcollective logfile = /dev/null loglevel = info logger_type = console securityprovider = psk plugin.psk = unset factsource = yaml plugin.yaml = /etc/puppetlabs/mcollective/facts.yam guidlines/links : https://docs.puppet.com/mcollective/configure/server.html#facts-identity-and-classes https://docs.puppet.com/mcollective/deploy/middleware/activemq.html https://docs.puppet.com/mcollective/deploy/install.html https://raw.githubusercontent.com/puppetlabs/marionette-collective/master/ext/activemq/examples/single-broker/activemq.xml https://docs.puppet.com/mcollective/deploy/plugins.html http://projects.theforeman.org/projects/foreman/wiki/_mcollective_ https://docs.puppet.com/mcollective/reference/basic/basic_cli_usage.html

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>