The grep -q closes input pipe immediately if any match is found, while the command on the left side will exit with SIGPIPE when it tries to write to a closed pipe, causing the Metal3 Pod to get stuck in CrashLoopBackOff sometimes.
see metal3 upstream issue https://github.com/metal3-io/ironic-image/issues/611
- links to
-
RHEA-2024:11038 OpenShift Container Platform 4.19.z bug fix update