Knife ssh executes serially?


#1

I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m “node1 node2 node3” “chef-client” -x user -P pw’ and am noticing that chef-client runs on one node, then the next, then the next, rather than chef-client running in ALL nodes in parallel. Is this expected?

Chris


#2

Have you tried setting concurrency with -C ?

  • Julian

On Sat, Apr 25, 2015 at 7:50 PM, Fouts, Chris Chris.Fouts@sensus.com wrote:

I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m
“node1 node2 node3” “chef-client” –x user –P pw’ and am noticing that
chef-client runs on one node, then the next, then the next, rather than
chef-client running in ALL nodes in parallel. Is this expected?

Chris


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]


#3

No, but I’ll try that. Thanks!

Chris

-----Original Message-----
From: Julian C. Dunn [mailto:jdunn@aquezada.com]
Sent: Saturday, April 25, 2015 10:30 PM
To: chef@lists.opscode.com
Subject: [chef] Re: knife ssh executes serially?

Have you tried setting concurrency with -C ?

  • Julian

On Sat, Apr 25, 2015 at 7:50 PM, Fouts, Chris Chris.Fouts@sensus.com wrote:

I added cookbooks to my nodes’ run lists, and am doing a ‘knife ssh -m
“node1 node2 node3” “chef-client” –x user –P pw’ and am noticing that
chef-client runs on one node, then the next, then the next, rather
than chef-client running in ALL nodes in parallel. Is this expected?

Chris


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]