FAQ
trying to use mco to run commands on hosts I don't get the full list of
hosts.
Doing a command like "mco puppetd --with-fact domain=test.j2noc.com status"
returns a different number of hosts each time.

How do I get it to use the full list?

[[email protected] httpd]# mco puppetd --with-fact domain=test.j2noc.com status

* [ ============================================================> ] 7 / 7

smtpvm04.test.j2noc.com Enabled, not running, last run
1534279 seconds ago
smtpvm02.test.j2noc.com Enabled, not running, last run
1463630 seconds ago
sendervm01.test.j2noc.com Enabled, not running, last run
703559 seconds ago
tlsmxvm01.test.j2noc.com Enabled, not running, last run
672179 seconds ago
efaxvztest6.test.j2noc.com Enabled, not running, last run
1903259 seconds ago
tlsmx1.test.j2noc.com Enabled, not running, last run
692918 seconds ago
billcent5-2.test.j2noc.com Enabled, not running, last run
3871219 seconds ago

Finished processing 7 / 7 hosts in 101.50 ms
[[email protected] httpd]# ls -1 /var/tmp/mcollective/*.test.j2noc.com|wc -l
29

[[email protected] httpd]# mco puppetd --with-fact domain=test.j2noc.com status

* [ ============================================================> ] 17 / 17
...
Finished processing 17 / 17 hosts in 136.41 ms



mcollective-2.0.0-3.el5
mcollective-client-2.0.0-3.el5
mcollective-common-2.0.0-3.el5
puppet 2.7 (also tried puppet master of 3.0.1) run in passenger

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xpspD8r4aW8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • R.I.Pienaar at Nov 2, 2012 at 6:34 pm

    ----- Original Message -----
    From: "Bill James" <[email protected]>
    To: [email protected]
    Sent: Friday, November 2, 2012 6:07:00 PM
    Subject: [Puppet Users] mco status returns different number of hosts each time I run it

    trying to use mco to run commands on hosts I don't get the full list
    of hosts. Doing a command like "mco puppetd --with-fact domain=test.j2noc.com
    status" returns a different number of hosts each time.

    How do I get it to use the full list?
    Will need to see some debug logs, when you run this command and you
    have a node that does not respond in debug logging mode what do you
    see in the logs.

    Do you see the same behaviour with 'mco ping' when using the same filter?

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Bill James at Nov 5, 2012 at 7:24 pm
    posted reply in mcollective-users group. Sorry for duplicate posts.
    On Friday, November 2, 2012 11:34:39 AM UTC-7, R.I. Pienaar wrote:


    ----- Original Message -----
    From: "Bill James" <[email protected] <javascript:>>
    To: [email protected] <javascript:>
    Sent: Friday, November 2, 2012 6:07:00 PM
    Subject: [Puppet Users] mco status returns different number of hosts
    each time I run it
    trying to use mco to run commands on hosts I don't get the full list
    of hosts. Doing a command like "mco puppetd --with-fact domain=
    test.j2noc.com
    status" returns a different number of hosts each time.

    How do I get it to use the full list?
    Will need to see some debug logs, when you run this command and you
    have a node that does not respond in debug logging mode what do you
    see in the logs.

    Do you see the same behaviour with 'mco ping' when using the same filter?
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/3MVFv1Z4nxQJ.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to [email protected].
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedNov 2, '12 at 6:24p
activeNov 5, '12 at 7:24p
posts3
users2
websitepuppetlabs.com

2 users in discussion

Bill James: 2 posts R.I.Pienaar: 1 post

People

Translate

site design / logo © 2023 Grokbase