reply: puppet mcollective problem

69 views
Skip to first unread message

刘亚丹

unread,
Jul 9, 2012, 10:32:25 PM7/9/12
to 刘亚丹, puppet...@googlegroups.com

I find the cause of the problem, because the client and server time not synchronization.

 

 

发件人: 刘亚丹 [mailto:lyf...@gmail.com]
发送时间: 2012710 10:10
收件人: 'puppet...@googlegroups.com'
主题: puppet mcollective problem

 

Hi,

         I am a new puppet user . I had some trouble when I using the mcollective.

 

         Soft info:

         Mcollective :2.0.0

         Rabbitmq: 2.8.2

         stomp :1.2.4

         the problem description:

         I configuration good rabbitmq, as well as from the log on McOllective client and server see connections are normal.

When I was in McOllective executive MCO ping, McOllective server log see received a message, but in McOllective client are not received feedback.

 

 

Mcollective Client log debug:

liuyd@puppet:~$ mco ping

debug 2012/07/10 10:03:50: pluginmanager.rb:167:in `loadclass' Loading Mcollective::Facts::Yaml_facts from mcollective/facts/yaml_facts.rb

debug 2012/07/10 10:03:50: pluginmanager.rb:44:in `<<' Registering plugin facts_plugin with class MCollective::Facts::Yaml_facts single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:167:in `loadclass' Loading Mcollective::Connector::Stomp from mcollective/connector/stomp.rb

debug 2012/07/10 10:03:50: pluginmanager.rb:44:in `<<' Registering plugin connector_plugin with class MCollective::Connector::Stomp single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:167:in `loadclass' Loading Mcollective::Security::Psk from mcollective/security/psk.rb

debug 2012/07/10 10:03:50: pluginmanager.rb:44:in `<<' Registering plugin security_plugin with class MCollective::Security::Psk single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:167:in `loadclass' Loading Mcollective::Registration::Agentlist from mcollective/registration/agentlist.rb

debug 2012/07/10 10:03:50: pluginmanager.rb:44:in `<<' Registering plugin registration_plugin with class MCollective::Registration::Agentlist single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:47:in `<<' Registering plugin global_stats with class MCollective::RunnerStats single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:167:in `loadclass' Loading MCollective::Application::Ping from mcollective/application/ping.rb

debug 2012/07/10 10:03:50: pluginmanager.rb:44:in `<<' Registering plugin ping_application with class MCollective::Application::Ping single_instance: true

debug 2012/07/10 10:03:50: pluginmanager.rb:80:in `[]' Returning new plugin ping_application with class MCollective::Application::Ping

debug 2012/07/10 10:03:50: pluginmanager.rb:80:in `[]' Returning new plugin connector_plugin with class MCollective::Connector::Stomp

debug 2012/07/10 10:03:50: pluginmanager.rb:80:in `[]' Returning new plugin security_plugin with class MCollective::Security::Psk

debug 2012/07/10 10:03:50: pluginmanager.rb:83:in `[]' Returning cached plugin global_stats with class MCollective::RunnerStats

debug 2012/07/10 10:03:50: stomp.rb:145:in `connect' Connecting to puppet.game.yy.com:6163

debug 2012/07/10 10:03:50: pluginmanager.rb:83:in `[]' Returning cached plugin security_plugin with class MCollective::Security::Psk

debug 2012/07/10 10:03:50: base.rb:171:in `create_request' Encoding a request for agent 'discovery' in collective mcollective with request id e2f7b209ec40e003de104c84bda8f443

debug 2012/07/10 10:03:50: psk.rb:98:in `callerid' Setting callerid to uid=1001 based on callertype=uid

debug 2012/07/10 10:03:50: client.rb:50:in `sendreq' Sending request e2f7b209ec40e003de104c84bda8f443 to the discovery agent with ttl 60 in collective mcollective

debug 2012/07/10 10:03:50: client.rb:62:in `subscribe' Subscribing to reply target for agent discovery

debug 2012/07/10 10:03:50: pluginmanager.rb:83:in `[]' Returning cached plugin connector_plugin with class MCollective::Connector::Stomp

debug 2012/07/10 10:03:50: stomp.rb:235:in `subscribe' Subscribing to /topic/mcollective.discovery.reply

debug 2012/07/10 10:03:50: pluginmanager.rb:83:in `[]' Returning cached plugin connector_plugin with class MCollective::Connector::Stomp

debug 2012/07/10 10:03:50: stomp.rb:224:in `publish' Sending a broadcast message to STOMP target '/topic/mcollective.discovery.command'

debug 2012/07/10 10:03:50: stomp.rb:191:in `receive' Waiting for a message from Stomp

debug 2012/07/10 10:03:55: client.rb:72:in `unsubscribe' Unsubscribing reply target for discovery

debug 2012/07/10 10:03:55: pluginmanager.rb:83:in `[]' Returning cached plugin connector_plugin with class MCollective::Connector::Stomp

debug 2012/07/10 10:03:55: stomp.rb:257:in `unsubscribe' Unsubscribing from /topic/mcollective.discovery.reply

 

 

---- ping statistics ----

No responses received

debug 2012/07/10 10:03:55: pluginmanager.rb:83:in `[]' Returning cached plugin connector_plugin with class MCollective::Connector::Stomp

debug 2012/07/10 10:03:55: stomp.rb:264:in `disconnect' Disconnecting from Stomp

 

 

Mcollective Server log debug:

D, [2012-07-10T10:04:51.308002 #24644] DEBUG -- : runnerstats.rb:49:in `received' Incrementing total stat

D, [2012-07-10T10:04:51.308197 #24644] DEBUG -- : pluginmanager.rb:83:in `[]' Returning cached plugin security_plugin with class MCo

llective::Security::Psk

D, [2012-07-10T10:04:51.308367 #24644] DEBUG -- : runnerstats.rb:38:in `validated' Incrementing validated stat

D, [2012-07-10T10:04:51.308485 #24644] DEBUG -- : pluginmanager.rb:83:in `[]' Returning cached plugin security_plugin with class MCo

llective::Security::Psk

D, [2012-07-10T10:04:51.308644 #24644] DEBUG -- : pluginmanager.rb:83:in `[]' Returning cached plugin global_stats with class MColle

ctive::RunnerStats

D, [2012-07-10T10:04:51.308746 #24644] DEBUG -- : runnerstats.rb:20:in `ttlexpired' Incrementing ttl expired stat

W, [2012-07-10T10:04:51.308893 #24644]  WARN -- : runner.rb:62:in `run' Message 044d5eea0e5d74f54da10d77e98a6c67 from uid=1001@puppe

t.game.yy.com created at 1341885726 is 165 seconds old, TTL is 60

D, [2012-07-10T10:04:51.309001 #24644] DEBUG -- : stomp.rb:191:in `receive' Waiting for a message from Stomp

 

What is wrong? Please help me , Thank you in advance!

 

 

Reply all
Reply to author
Forward
0 new messages