I’m installing Hopsworks 3.0 on EC2 and getting error at task - “install chefdk”
However, I installed chefdk manually and restarted Hopsworks, but still getting the same. I’ve also installed Karamel via installation script separately.
EC2 has CentOS.
Below is from installation.log file
INFO [2022-08-18 16:41:49,147] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Running task: apt-get essentials
INFO [2022-08-18 17:27:08,391] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Running task: install chefdk
INFO [2022-08-18 17:27:34,563] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Running task: install chefdk
ERROR [2022-08-18 17:28:01,411] se.kth.karamel.backend.dag.DagNode: Failed ‘install chefdk on 10.208.57.174’ because '10.208.57.174: Command did not complete: set -eo pipefail; mkdir -p /home/user/.karamel/install ; cd /home/user/.karamel/install; echo $$ > pid; echo '#!/bin/bash
RES=0
if [ redhat == “redhat” ] ; then
yum list installed chefdk
if [ $? -ne 0 ] ; then
chefdkfile=‘chefdk-3.7.23-1.el7.x86_64.rpm’
rm -f "$chefdkfile"
wget "https://hopsworks-distribution.s3-eu-west-1.amazonaws.com/$chefdkfile"
sudo yum install -y "$chefdkfile"
RES=$?
if [ $RES -ne 0 ] ; then
sleep 10
sudo yum install -y "$chefdkfile"
fi
fi
elif [ redhat == “ubuntu” ] ; then
dpkg -s chefdk
if [ $? -ne 0 ] ; then
chefdkfile=‘chefdk_3.7.23-1_amd64.deb’
rm -f “$chefdkfile”
wget “https://hopsworks-distribution.s3-eu-west-1.amazonaws.com/$chefdkfile”
sudo dpkg -i "$chefdkfile"
RES=$?
if [ $RES -ne 0 ] ; then
sleep 10
sudo dpkg -i "$chefdkfile"
fi
fi
else
echo “Unrecognized version of linux. Not ubuntu or redhat family.”
exit 1
fi
if [ $RES -eq 0 ] ; then
Fix for expired Lets Encrypt CA
sudo sed -ie “/DST Root CA X3/,+19d” /opt/chefdk/embedded/ssl/certs/cacert.pem
echo ‘install chefdk’ >> succeed_list
fi
exit $RES
’ > install-chefdk.sh ; chmod +x install-chefdk.sh ; ./install-chefdk.sh
', DAG is stuck here
INFO [2022-08-18 17:28:03,859] se.kth.karamel.backend.machines.MachinesMonitor: Sending pause signal to all machines
ERROR [2022-08-18 17:42:57,019] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 17:42:57,019] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 17:43:08,943] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 17:43:08,954] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 17:43:08,955] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 17:43:08,964] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 17:43:08,991] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 17:58:09,245] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 17:58:09,245] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 17:58:19,113] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 17:58:19,123] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 17:58:19,123] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 17:58:19,131] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 17:58:19,149] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 18:13:19,409] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 18:13:19,409] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 18:13:39,277] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 18:13:39,288] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 18:13:39,288] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 18:13:39,298] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 18:13:39,311] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 18:28:39,519] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 18:28:39,519] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 18:28:49,387] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 18:28:49,396] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 18:28:49,396] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 18:28:49,420] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 18:28:49,433] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 18:43:49,639] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 18:43:49,639] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 18:44:09,506] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 18:44:09,517] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 18:44:09,517] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 18:44:09,525] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 18:44:09,537] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 18:59:09,718] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 18:59:09,718] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 18:59:19,615] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 18:59:19,624] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 18:59:19,624] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 18:59:19,634] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 18:59:19,647] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 19:14:19,862] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 19:14:19,862] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN
INFO [2022-08-18 19:14:39,731] net.schmizz.sshj.transport.random.BouncyCastleRandom: Generating random seed from SecureRandom.
INFO [2022-08-18 19:14:39,752] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: connecting …
INFO [2022-08-18 19:14:39,753] net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0.20.0
INFO [2022-08-18 19:14:39,762] net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.4
INFO [2022-08-18 19:14:39,774] se.kth.karamel.backend.machines.SshMachine: 10.208.57.174: Yey!! connected ^-^
ERROR [2022-08-18 19:29:40,012] net.schmizz.sshj.transport.TransportImpl: Dying because - {}
! net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
! at net.schmizz.sshj.transport.Reader.run(Reader.java:57) ~[sshj-0.20.0.jar:na]
INFO [2022-08-18 19:29:40,012] net.schmizz.sshj.transport.TransportImpl: Disconnected - UNKNOWN