-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knife zero converge not doing anything !? #148
Comments
Turns out the problem was that the
Notice that the PATH is missing |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sorry it took me so long to answer. In such a case, writing the path of the client in
|
I don't think the case is missing chef-client from PATH. I'm able to run the binary but it also behaves like nothing happened.
|
What version of Chef are you using on the local workstation and what version are you installing on the remote node? For example, would the same thing happen if both were running Chef 16.x? I feel that the changes made in 17 are having an impact. |
Also, some information about the execution environment of the remote node might help. |
Confirmed that using version 17 solves this issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm looking for chef training let me know if anyone interested plz reach me at Nazeer.nadaf2006@gmail.com |
I'm completely new to Chef so please excuse me if I'm missing something obvious. I've installed Chef-DK and Knife-Zero on my mac, and can successfully bootstrap my test node (a macOS Big Sur VM). However when I try to test the provisioning by running
knife zero converge
with a sample recipe, the command just doesn't seem to do anything at all. This is what I see:The command runs for a few secs and terminates. It does seem to connect to the node by ssh very briefly before exiting, because if I intentionally break the auth settings then it errors out.
However if I pass on the same recipe to
knife zero bootstrap
then it does work and executes the recipe after the bootstrap is done, e.g.:knife zero bootstrap 10.0.0.143 --node-name macos-intel-1-test -i ~/.ssh/id_rsa --sudo -y -r "macos::keep_awake"
Other than that I can run successfully other commands like
knife node show macos-intel-1-test
so the node querying works.Any idea what's possibly going on?
The text was updated successfully, but these errors were encountered: