Pradeep Reddy
2014-Feb-21 15:32 UTC
[Puppet Users] mco ping command from linux puppet master is unable to fetch information about windows servers.
Problem Description:- ------------------- 1) mco agent from windows is unable to communicate to linux puppet master. Both the mco agent in windows and mco server in linux are at 2.4.1 versions. Below are the errors in the mcollective.log. Below logs are getting generated when mco ping command is executed from linux puppet master server. ************************************************************************************************************************* W, [2014-02-20T18:46:15.703125 #1596] WARN -- : runner.rb:78:in `rescue in block in run' Failed to handle message: incompatible marshal file format (can't be read) format version 4.8 required; 66.65 given - TypeError W, [2014-02-20T18:46:15.703125 #1596] WARN -- : runner.rb:79:in `rescue in block in run' C:/marionette-collective-2.4.1/plugins/mcollective/security/psk.rb:22:in `load' C:/marionette-collective-2.4.1/plugins/mcollective/security/psk.rb:22:in `decodemsg' C:/marionette-collective-2.4.1/lib/mcollective/message.rb:178:in `decode!' C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:133:in `receive' C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:59:in `block in run' C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:57:in `loop' C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:57:in `run' C:/marionette-collective-2.4.1/lib/mcollective/windows_daemon.rb:17:in `service_main' C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.4/lib/win32/daemon.rb:305:in `mainloop' C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.4/lib/win32/daemon.rb:206:in `mainloop' C:/marionette-collective-2.4.1/lib/mcollective/windows_daemon.rb:9:in `daemonize_runner' C:/marionette-collective-2.4.1/bin/mcollectived:43:in `<main>' D, [2014-02-20T18:46:15.703125 #1596] DEBUG -- : activemq.rb:329:in `receive' Waiting for a message from ActiveMQ ************************************************************************************************************************* Steps Followed to install mco agent in windows server 2008 R2 64 bit:- ----------------------------------------------------------------- 1) Installed windows puppet agent 3.4.2. Puppet Master is in Linux box(i.e RHEL 6.4 64 bit) with 3.4.2 version. 2) In puppet master, installed following mcollective version:-Marionette Collective version 2.4.1 3) In puppet windows client, installed puppetlabs/marionette-collective 2.4.1.zip.(i.e from https://github.com/puppetlabs/marionette-collective/tags) 4) Installed the following before mcollective. a) Ruby 1.9.3-p484 from rubyinstaller.org b) C:\Users\Administrator>gem list *** LOCAL GEMS *** bigdecimal (1.1.0),ffi (1.9.3 x86-mingw32),io-console (0.3),json (1.5.5),minitest (2.5.1),rake (0.9.2.2),rdoc (3.9.5),stomp (1.2.2),sys-admin (1.6.2, 1.5.6 x86-mingw32), win32-api (1.5.1 universal-mingw32, 1.4.8 x86-mingw32),win32-dir (0.3.7),win32-process (0.5.5),win32-security (0.1.2),win32-service (0.8.4, 0.7.2 x86-mingw32),windows-api (0.4.2, 0.4.1),windows-pr (1.2.3, 1.2.1) c) Followed the remaining procedure, mentioned in read.md of marionette-collective 2.4.1.zip file. ************************************************************************************************************************* Could some one guide me, whether the process followed is correct for making a successful connection between mco client installed in windows with Linux Puppet master with mco server. Guide me if there is any alternate way for making successful communication between mco agent in windows to linux puppet master with mco server. Regards, Pradeep. -- 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 puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b117d478-f3b6-4b6c-a920-07b6eba37fb7%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.