Comments (3)
If the error message is correct, there may be too many files in the recipe. If your environment is macos, try the following command to check the maxfiles.
$ ulimit -n
2560
If this value is a low number, such as 256, which is the default, try temporarily increasing the limit with the following command and try again.
$ ulimit -n NUMBER
from knife-zero.
Hi @sawanoboly thanks for the suggestion.
I ran knife zero converge "name:mynode*" -C 5 -x my_user -P my_password
it throws error
ERROR: NoMethodErrorundefined method `send_as_needed' for nil:NilClass
ERROR: /Users/xxx/.gem/gems/knife-zero-2.4.1/lib/knife-zero/net_ssh_multi_patch.rb:94:in `keepalive_if_needed'
/Users/xxx/.gem/gems/knife-zero-2.4.1/lib/knife-zero/net_ssh_multi_patch.rb:117:in `block in process'
/Users/xxx/.gem/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server_list.rb
however after I ran ulimit -n NUMBER
knife able to run on all my nodes.
Environment
- Knife 2.4.1
- Chef 17.7.29
from knife-zero.
To identify the problem, I need some information.
- Workstation environment
- Number of nodes you want to run simultaneously
Also try to limit the number of concurrent executions with the -C, --concurrency NUM
option.
http://knife-zero.github.io/30_subcommands/#converge
from knife-zero.
Related Issues (20)
- Cannot bootstrap a new node (ssh authentication fails) HOT 2
- Dependabot can't resolve your Ruby dependency files
- knife zero converge not doing anything !? HOT 9
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Using MOSH for flaky internet connection HOT 2
- Chef 16系でcincがうまく動かない HOT 15
- Chef dependency should be >= 17 for 2.4.x HOT 2
- knife zero converge command got sudo: chef-client: command not found error HOT 6
- knife zero converge - sudo: chef-client: command not found HOT 2
- Can't use with cinc
- Knife ignores ssh config file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knife-zero.