Closed Bpmm9012 closed 1 month ago
create new images with overwrite /files/entrypoint.adapter.sh
#if [[ $host_dist != $image_dist ]]; then
# echo "Image type does not match OS type, skip !"
# [[ $LB_SKIP == 'yes' ]] && exit 0 || exit 1
#fi
It appears that the issue can be resolved,But only applicable to RHEL 7
I try deploy drbd-adapter In redhat 7.9 system environment and Kubernetes v1.28.2 ,but error occurs when starting the job Err log
One job start a pod with two container,the one name is shipper,copy file to emptydir pkgs,the other container‘s name is rhel7 with command /pkgs/entrypoint.adapter.sh 3.10.0-1160.el7.x86_64. abow error log is printed by container rhel7
I check the /pkgs/entrypoint.adapter.sh content
The container rhel7 using images hwameistor/drbd9-rhel7:v9.0.32-1 which base on centos7 when i use
in container(start by same job),return the error
because the os info it get is centos,while command
return "rhel7.9"