chef - Error: while bootstrapping using knife on ubuntu -


I am attempting to bootstrap node using my Ubuntu workstation, where Chef 10.12.0 is installed . The only error and the node is Ubuntu. I can only search it SSH but throws some errors while trying to bootstrap using the knife

this error message "Exception: NameError: uninitialized constant Net :: SSH :: Compat "I have made things to uninstall and re-install ssh, demo ruby, ssh upgrade but to no avail. But I think the reason for this has been caught in verbose mode, which is the incompatibility of the SSH client? And not sure what is the best way to fix them.

  VM @ VM: ~ / Chef-repo $ knife bootstrap 127.0.0.1 --sudo -x awara -p-vaha -p 2222 n "vm1" bootstrapping on chef 127.0.0.1 error: knife There was an unexpected error in this 'Bootstrap' knife command or plugin may have a bug Please submit the output of this command with the `-VV` option before filling the bug report. Exception: NameError: Uninvited continuous Net :: SSH :: Compat VM @ VM: ~ / Chevro-Repo $ Knife Bootstrap 127.0.0.1 --sudo -x Awara -PVara -P 2222 N "VM1" -vv Debug: Searching Bootstrap template found in / opt / chef / embedded / lib: Bootstrap template in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.0/lib/chef/knife/bootstrap debug For /ruby/gems/1.9.1/gems/chef-11.10.0/lib/chef/knife/bootstrap Bootstrapping Chef 127.0.0.1 on Debug: 127.0.0.1 Adding Debug: Installing 127.0.0.1.2222 to debug Connection: Connection will be established Negotiations: Conversation Protocol Version Debug: An Unexpected Knife Faced: Remote 'SSH-2.0-OpenSSH_5.9p1 Debian-5 ubuntu1.1' Debug: Local` SSH-2.0 Ruby / Net :: SSH_2.8.0 x86_64-linux is' Error Error This may be a bug in the 'Bootstrap' knife command or plugin Please submit the output of this command with the `-VV` option before filling the bug report. Exception: Name Error: Undefined Continuous Net :: SSH :: Compat  


Comments