MCollective Puppet Agent Not Working?

180 views
Skip to first unread message

Stella

unread,
Aug 8, 2014, 9:26:58 AM8/8/14
to puppet...@googlegroups.com
Hi all,

I installed and configured MCollective 2.5.3 yesterday. Also I have installed several agent plugin:

yum install mcollective-filemgr-agent
yum install mcollective-nettest-agent
yum install mcollective-package-agent
yum install mcollective-service-agent
yum install mcollective-puppet-agent

Now I can run command to stop remote service:
mco rpc service stop service=ntpd

However, it seems I can't get puppet to work with MCollective.
When I run "mco puppet", it displays:


Known commands:
   completion       facts                find               
   help                 inventory            ping               
   plugin               rpc                                     

Puppet is not listed as "Known commands". Why? Do I miss anything?

Help please! Last step to the victory! Thanks a lot!


Christopher Wood

unread,
Aug 8, 2014, 9:33:14 AM8/8/14
to puppet...@googlegroups.com
Things to check:

Have you installed the mcollective-puppet-agent package on the server and restarted mcollective there?

Have you installed mcollective-puppet-client on the client?

If you check your package list, some (not all) of the plugins have a separate -client package which you need for your command line mco invocations to work.
> --
> 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 [1]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com.
> For more options, visit [3]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:puppet-users...@googlegroups.com
> 2. https://groups.google.com/d/msgid/puppet-users/6347c6e0-54a1-4061-8e04-8757d2299f8b%40googlegroups.com?utm_medium=email&utm_source=footer
> 3. https://groups.google.com/d/optout

Stella

unread,
Aug 8, 2014, 9:56:56 AM8/8/14
to puppet...@googlegroups.com, christop...@pobox.com
Hi Chris,

Yes, I have installed the mcollective-puppet-agent package on the server and restarted mcollective there (I learned the lesson yesterday that you need to restart).

But I have NOT installed mcollective-puppet-client on the client. I am not aware of it at all.

After I installed mcollective-puppet-client on the client, "mco puppet" works!

Thank you very much, Chris MCollecctive (that's how I remember you, haha!)

Stella

Johan De Wit

unread,
Aug 8, 2014, 10:35:04 AM8/8/14
to puppet...@googlegroups.com
If you are looking for a book : http://shop.oreilly.com/product/0636920032472.do

Learning MCollective - Parallel Server Management in Puppet and Chef

To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/85085d10-dc74-44c1-9bb8-c62b1f030ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer              (805008667232363)
Puppet Certified Professional 2013/2014 (PCP0000006)
_________________________________________________________
 
Open-Future                 Phone     +32 (0)2/255 70 70
Zavelstraat 72              Fax       +32 (0)2/255 70 71
3071 KORTENBERG             Mobile    +32 (0)474/42 40 73
BELGIUM                     http://www.open-future.be
_________________________________________________________
 

Upcoming Events:

Linux Training | https://www.open-future.be/linux-training-8-till-12th-september

Puppet Introduction Course | https://www.open-future.be/puppet-introduction-course-15th-september

Puppet Fundamentals Training | https://www.open-future.be/puppet-fundamentals-training-16-till-18th-september

Zabbix Certified Specialist | https://www.open-future.be/zabbix-certified-specialisttraining-22-till-24th-september

Zabbix Certified Professional | https://www.open-future.be/zabbix-certified-professional-training-25-till-26th-september

Subscribe to our newsletter: http://eepurl.com/BUG8H


Stella

unread,
Aug 8, 2014, 3:20:39 PM8/8/14
to puppet...@googlegroups.com
Thank you Johan! For now, I just need to evaluate if we need to proceed with MCollective. If yes, I will take a look at this book. Thank you for the recommendation. Have a good weekend.
Reply all
Reply to author
Forward
0 new messages