You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just PRed helm charts for the driver which work fine for IBM Cloud. However, both with the helm charts and with the manual driver installation I run into issues for DIND: The deployers will go into Error and CrashLoopBackOff after a while. I think the underlying error is:
+ chmod 700 /host/root/.ssh/
+ chmod 600 /host/root/.ssh/authorized_keys
+ touch /host/etc/ssh/sshd_config
touch: cannot touch '/host/etc/ssh/sshd_config': No such file or directory
# Create storage volumes
cd ${GOPATH}/src/github.com/AISphere/ffdl-trainer/bin/cos_storage_driver
make deploy-nfs-volume
make setup-cos-plugin
make create-volumes
# Currently necessary to copy over library
docker cp 5f64e5843b30:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 ../libcrypto.so.1.1
declare -a arrNodes=($(docker ps --format '{{.Names}}' | grep "kube-node-\|kube-master"))
for node in "${arrNodes[@]}"
do
docker cp /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 ${node}:/root/libcrypto.so.1.0.0
docker cp ~/libcrypto.so.1.1 ${node}:/root/libcrypto.so.1.1
docker exec -i ${node} /bin/bash <<_EOF
cp /root/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/
cp /root/libcrypto.so.1.1 /lib/x86_64-linux-gnu/
_EOF
done
The main idea is that the libcrypto libraries are missing and so I copy them over (s3fs is compiled and copied inside the Make targets I call first). Once the binary and libraries are manually deployed, I can just launch the plugin and it will work.
However, it would be better if you could integrate this fix with the deployer so we can just use the helm charts from #13 for all relevant targets. Since DIND is the main local development environment for FfDL it would be great if you could test against it.
The text was updated successfully, but these errors were encountered:
I just PRed helm charts for the driver which work fine for IBM Cloud. However, both with the helm charts and with the manual driver installation I run into issues for DIND: The deployers will go into Error and CrashLoopBackOff after a while. I think the underlying error is:
The following workaround (as described in https://github.com/fplk/ffdl-trainer/blob/dind_support/bin/README.md) helped me deploy the driver on DIND:
The main idea is that the libcrypto libraries are missing and so I copy them over (s3fs is compiled and copied inside the Make targets I call first). Once the binary and libraries are manually deployed, I can just launch the plugin and it will work.
However, it would be better if you could integrate this fix with the deployer so we can just use the helm charts from #13 for all relevant targets. Since DIND is the main local development environment for FfDL it would be great if you could test against it.
The text was updated successfully, but these errors were encountered: