Closed san3Xian closed 3 days ago
Can you give me the log of the shipper container?Thanks ! @san3Xian
Thanks to hwameistor operator, all logs were cleaned up because the job was deleted😑. @peng9808
Got it. I will revise this part of the question this month.
What's a bit strange is that I've just realised that it's actually a temporary insmod, restarting the os drbd module is gone, it's not a direct install of the rpm
https://github.com/hwameistor/drbd-adapter/blob/ce5fbe22815cfc0a916c0569683722b3432f29df/docker-drbd9/entry.sh#L360-L361
https://github.com/hwameistor/drbd-adapter/blob/b838b7565e1fa97e1d740c0e2b479740fa069af3/docker-drbd9/entry.sh#L170-L185 In redhat 8.5 system environment, drbd-adapter will install kmod-drbd from
"${PKGS}/${family}"
such aslbdisttool.py --force-name rhel8.5 -k /pkgs/rhel8.5/kmod-drbd-9.0.32_4.18.0_348-1.x86_64.rpm
https://github.com/hwameistor/drbd-adapter/blob/b838b7565e1fa97e1d740c0e2b479740fa069af3/docker-drbd9/entry.sh#L6 https://github.com/hwameistor/drbd-adapter/blob/b838b7565e1fa97e1d740c0e2b479740fa069af3/docker-drbd9/entry.sh#L251-L260
However, when installing drbd utils, drbd-adapter only searches the
/pkgs/drbd-rpms/
directory for rpm packages corresponding to the kernel version, which can cause the*{kernel_version}.rpm
file not to be found under/pkgs/drbd-rpms/
, resulting in the installation of drbd utils not proceeding.The following is the running log of the rhel8 container: