Hello All,
I have 2 client hosts and one puppet masters, I have installed activemq and mcollective and mcollective-puppet-agent on the client machines, machine 1 is working fine, but machine 2 is not: mco ping client1 time=248.11 ms puppetmaster time=273.24 ms client2 time=273.90 ms *my server.cfg on both * main_collective = mcollective collectives = mcollective libdir = /usr/libexec/mcollective logfile = /var/log/mcollective.log loglevel = info daemonize = 1 # Plugins securityprovider = psk plugin.psk = unset classesfile = /var/lib/puppet/classes.txt connector = activemq plugin.activemq.pool.size = 1 #plugin.activemq.pool.1.host = stomp1 plugin.activemq.pool.1.host = puppetmaster plugin.activemq.pool.1.port = 61613 plugin.activemq.pool.1.user = ad** plugin.activemq.pool.1.password = ad** plugin.puppet.command = puppet agent plugin.puppet.splay = true plugin.puppet.splaylimit = 30 plugin.puppet.config = /etc/puppet/puppet.conf plugin.puppet.signal_daemon = true # Facts factsource = yaml plugin.yaml = /etc/mcollective/facts.yaml *mcollective logs on client 2 which is not working* I, [2016-05-30T09:50:39.005585 #17972] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://[email protected]:61613 I, [2016-05-30T09:50:39.073301 #17972] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://[email protected]:61613 I, [2016-05-30T09:56:55.506081 #17972] INFO -- : runner.rb:104:in `rescue in block in main_loop' Exiting after signal: SIGTERM I, [2016-05-30T09:56:55.740564 #19536] INFO -- : config.rb:167:in `loadconfig' The Marionette Collective version 2.8.4 started by /usr/sbin/mcollectived using config file /etc/mcollective/server.cfg I, [2016-05-30T09:56:55.740717 #19536] INFO -- : mcollectived:64:in `<main>' The Marionette Collective 2.8.4 started logging at info level I, [2016-05-30T09:56:55.740928 #19536] INFO -- : activemq.rb:211:in `initialize' ActiveMQ connector initialized. Using stomp-gem 1.3.2 I, [2016-05-30T09:56:55.741505 #19536] INFO -- : activemq.rb:313:in `connection_headers' Connecting without STOMP 1.1 heartbeats, if you are using ActiveMQ 5.8 or newer consider setting plugin.activemq.heartbeat_interval I, [2016-05-30T09:56:55.741934 #19536] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://[email protected]:61613 I, [2016-05-30T09:56:55.811740 #19536] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://[email protected]:61613 *Ports are open, no iptables, permissions are correct, I just cant understand why it wont work from puppet master* /usr/bin/mco puppet runonce -I client2 | [ > ] 0 / 1warn 2016/05/30 09:56:21: client.rb:251:in `start_receiver' Could not receive all responses. Expected : 1. Received : 0 Finished processing 0 / 1 hosts in 22137.92 ms No response from: client2 -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/43b5f181-d67e-4274-981d-ad1d170501fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
