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

Only mco ping works, no errors in logs on agent or puppet master

$
0
0
[root@puppet ~]# cat /etc/mcollective/server.cfg main_collective = mcollective connector = activemq direct_addressing = 1 collectives = mcollective libdir = /usr/local/libexec/mcollective:/usr/libexec/mcollective #logger_type = console #loglevel = warn logfile = /var/log/mcollective.log loglevel = info # Plugins securityprovider = psk plugin.psk = 111222333qqqeeefffggghhhiii connector = activemq plugin.activemq.pool.size = 1 plugin.activemq.pool.1.host = puppet.kartikv.com plugin.activemq.pool.1.port = 61613 plugin.activemq.pool.1.user = system plugin.activemq.pool.1.password = manager # Facts factsource = yaml plugin.yaml = /etc/mcollective/facts.yaml # Send heartbeats in 30 second intervals. This is the shortest supported period. plugin.activemq.heartbeat_interval = 30 # By default if heartbeat_interval is set it will request STOMP 1.1 but support fallback # to 1.0, but you can enable strict STOMP 1.1 only operation by disabling 1.0 fallback plugin.activemq.stomp_1_0_fallback = 0 # Maximum amount of heartbeat read failures before retrying. 0 means never retry. plugin.activemq.max_hbread_fails = 2 # Maximum amount of heartbeat lock obtain failures before retrying. 0 means never retry. plugin.activemq.max_hbrlck_fails = 0 [root@puppet ~]# ps -ef | grep -i mco root 12480 1 0 07:56 ? 00:00:00 /usr/bin/ruby /usr/sbin/mcollectived --config=/etc/mcollective/server.cfg --pidfile=/var/run/mcollective.pid --no-daemonize root 13582 12283 0 08:11 pts/2 00:00:00 grep --color=auto -i mco [root@puppet ~]# [root@puppet ~]# tail -f /var/log/mcollective.log I, [2016-01-24T07:53:33.132700 #12389] INFO -- : activemq.rb:211:in `initialize' ActiveMQ connector initialized. Using stomp-gem 1.3.4 I, [2016-01-24T07:53:33.133494 #12389] 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-01-24T07:53:33.134043 #12389] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://system@puppet.kartikv.com:61613 I, [2016-01-24T07:53:33.149636 #12389] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://system@puppet.kartikv.com:61613 I, [2016-01-24T07:56:22.009320 #12389] INFO -- : runner.rb:104:in `rescue in block in main_loop' Exiting after signal: SIGTERM I, [2016-01-24T07:56:22.353154 #12480] 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-01-24T07:56:22.353322 #12480] INFO -- : mcollectived:64:in `
' The Marionette Collective 2.8.4 started logging at info level I, [2016-01-24T07:56:22.353543 #12480] INFO -- : activemq.rb:211:in `initialize' ActiveMQ connector initialized. Using stomp-gem 1.3.4 I, [2016-01-24T07:56:22.354653 #12480] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://system@puppet.kartikv.com:61613 I, [2016-01-24T07:56:22.369879 #12480] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://system@puppet.kartikv.com:61613 On agent: [root@test11 ~]# tail -f /var/log/mcollective.log I, [2016-01-18T00:48:49.494589 #22090] INFO -- : activemq.rb:211:in `initialize' ActiveMQ connector initialized. Using stomp-gem 1.3.4 I, [2016-01-18T00:48:49.495078 #22090] 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-01-18T00:48:49.495326 #22090] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://system@puppet.kartikv.com:61613 I, [2016-01-18T00:48:49.504783 #22090] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://system@puppet.kartikv.com:61613 I, [2016-01-24T07:27:30.426351 #22090] INFO -- : runner.rb:104:in `rescue in block in main_loop' Exiting after signal: SIGTERM I, [2016-01-24T07:27:30.700745 #15958] 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-01-24T07:27:30.700859 #15958] INFO -- : mcollectived:64:in `
' The Marionette Collective 2.8.4 started logging at info level I, [2016-01-24T07:27:30.701042 #15958] INFO -- : activemq.rb:211:in `initialize' ActiveMQ connector initialized. Using stomp-gem 1.3.4 I, [2016-01-24T07:27:30.701713 #15958] INFO -- : activemq.rb:114:in `on_connecting' TCP Connection attempt 0 to stomp://system@puppet.kartikv.com:61613 I, [2016-01-24T07:27:30.709639 #15958] INFO -- : activemq.rb:119:in `on_connected' Connected to stomp://system@puppet.kartikv.com:61613 ^C [root@test11 ~]# tail -f /var/log/mcollective-audit.log [2016-01-24 12:37:16 UTC] reqid=bbe78bb5bd3e5c5bb479e820a943958a: reqtime=1453639005 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test12", :process_results=>true} [2016-01-24 12:42:17 UTC] reqid=a503599230ad57b38ac30877f629cc7d: reqtime=1453639307 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test12", :process_results=>true} [2016-01-24 12:42:24 UTC] reqid=71c452f20bc955efb4e215453ef4782e: reqtime=1453639313 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test13", :process_results=>true} [2016-01-24 12:42:29 UTC] reqid=ae6f450f465a50deaea897539b991103: reqtime=1453639318 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test11", :process_results=>true} [2016-01-24 12:50:41 UTC] reqid=f6c6d979c5b65600a6188af77ab2ff11: reqtime=1453639811 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test13", :process_results=>true} [2016-01-24 12:57:10 UTC] reqid=2a335a3b8c10517ea442cf40a5340f8b: reqtime=1453640199 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test11", :process_results=>true} [2016-01-24 12:57:17 UTC] reqid=54572f9767515d4f9147bca940ea4243: reqtime=1453640207 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test11", :process_results=>true} [2016-01-24 12:57:23 UTC] reqid=9ea9be60515659bc80a33f060bae1339: reqtime=1453640212 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test12", :process_results=>true} [2016-01-24 12:57:28 UTC] reqid=aa23deb091625e45a67c4f4c168b7ccb: reqtime=1453640217 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test13", :process_results=>true} [2016-01-24 13:10:54 UTC] reqid=432bb282e03a55358dc543bbe81ad350: reqtime=1453641024 caller=uid=0@puppet.kartikv.com agent=rpcutil action=get_fact data={:fact=>"test11.kartikv.com", :process_results=>true} ^C [root@test11 ~]# facter architecture => x86_64 augeasversion => 1.4.0 bios_release_date => 04/30/2009 bios_vendor => American Megatrends Inc. bios_version => 5.13

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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