Issue bootstrapping Solaris node


#1

Hi Gents,

I am trying to bootstrap a solaris node
knife bootstrap <> -N exelon_dev_12c --no-host-key-verify -x root -P welcome1 -c .chef/knife.rb -N ‘sshn’ --sudo -r recipe [“helloworld::default”] -VV

encountering the following issue

INFO: sending channel request "exec"
DEBUG: queueing packet nr 9 type 98 len 267596
DEBUG: sent 267704 bytes
DEBUG: read 0 bytes
ERROR: IOError: closed stream

DEBUG: Looking for bootstrap template in C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/bootstrap/templates
DEBUG: Found bootstrap template in C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/bootstrap/templates
DEBUG: Adding 192.168.56.103
DEBUG: establishing connection to 192.168.56.103:22
DEBUG: connection established
INFO: negotiating protocol version
DEBUG: remote is SSH-2.0-OpenSSH_6.5' DEBUG: local isSSH-2.0-Ruby/Net::SSH_2.9.2 i386-mingw32’
DEBUG: read 1460 bytes
DEBUG: read 68 bytes
DEBUG: received packet nr 0 type 20 len 1524
INFO: got KEXINIT from server
INFO: sending KEXINIT
DEBUG: queueing packet nr 0 type 20 len 1684
DEBUG: sent 1688 bytes
INFO: negotiating algorithms
DEBUG: negotiated:

  • kex: diffie-hellman-group-exchange-sha1
  • host_key: ssh-rsa
  • encryption_server: aes128-cbc
  • encryption_client: aes128-cbc
  • hmac_client: hmac-sha1
  • hmac_server: hmac-sha1
  • compression_client: none
  • compression_server: none
  • language_client:
  • language_server:
    DEBUG: exchanging keys
    DEBUG: queueing packet nr 1 type 34 len 20
    DEBUG: sent 24 bytes
    DEBUG: read 152 bytes
    DEBUG: received packet nr 1 type 31 len 148
    DEBUG: queueing packet nr 2 type 32 len 140
    DEBUG: sent 144 bytes
    DEBUG: read 720 bytes
    DEBUG: received packet nr 2 type 33 len 700
    DEBUG: queueing packet nr 3 type 21 len 20
    DEBUG: sent 24 bytes
    DEBUG: received packet nr 3 type 21 len 12
    DEBUG: beginning authentication of `root’
    DEBUG: queueing packet nr 4 type 5 len 28
    DEBUG: sent 52 bytes
    DEBUG: read 52 bytes
    DEBUG: received packet nr 4 type 6 len 28
    DEBUG: trying none
    DEBUG: queueing packet nr 5 type 50 len 44
    DEBUG: sent 68 bytes
    DEBUG: read 100 bytes
    DEBUG: received packet nr 5 type 51 len 76
    DEBUG: allowed methods: publickey,gssapi-with-mic,password,keyboard-interactive
    DEBUG: none failed
    DEBUG: trying publickey
    DEBUG: connecting to ssh-agent
    ERROR: could not connect to ssh-agent
    DEBUG: trying password
    DEBUG: queueing packet nr 6 type 50 len 60
    DEBUG: sent 84 bytes
    DEBUG: read 36 bytes
    DEBUG: received packet nr 6 type 52 len 12
    DEBUG: password succeeded
    DEBUG: queueing packet nr 7 type 90 len 44
    DEBUG: sent 68 bytes
    DEBUG: read 52 bytes
    DEBUG: received packet nr 7 type 91 len 28
    INFO: channel_open_confirmation: 0 0 0 32768
    INFO: sending channel request "pty-req"
    DEBUG: queueing packet nr 8 type 98 len 60
    INFO: sending channel request "exec"
    DEBUG: queueing packet nr 9 type 98 len 267596
    DEBUG: sent 267704 bytes
    DEBUG: read 0 bytes
    ERROR: IOError: closed stream