jojochuang opened a new pull request, #11350: URL: https://github.com/apache/ozone/pull/11350
## Summary - Fix `kubernetes/examples/ozone-ha` CI failures where SCM never logs `SCM exiting safe mode.` because HA peers are unreachable at startup (`UnknownHostException` for `scm-1.scm` / `scm-2.scm` when `scm-0` starts under `OrderedReady`). - Use `podManagementPolicy: Parallel` plus a `wait-for-scm-peers` init container so all SCM DNS names exist before `init`/`bootstrap`. - Harden shared `testlib.sh`: count only `app=ozone` pods, wait for pod deletion after reset, and accept safe-mode exit on any SCM pod. ## Jira https://issues.apache.org/jira/browse/HDDS-16638 ## Test plan - [x] `bash -n hadoop-ozone/dist/src/main/k8s/examples/testlib.sh` - [x] `./hadoop-ozone/dev-support/checks/bats.sh` - [ ] `kubernetes` CI job (ozone-ha example) Generated-by: Cursor (Auto) Made with [Cursor](https://cursor.com) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
