The wait_for_ready() method in https://github.com/microsoft/AIOpsLab/blob/main/aiopslab/service/kubectl.py#L103 does not account for the pods in terminal phases like Succeeded or Failed.
This causes timeouts when OpenEBS cleanup pods remain in the namespace.
Benchmark failure
- OpenEBS creates cleanup pods after PVC deletion
- These pods enter
Succeeded phase but remain in namespace wait_for_ready("openebs") sees: 3 ready + 1 succeeded = 3/4 ready -> Hits the 300s timeout- Every subsequent problem fails at
self.kubectl.wait_for_ready("openebs")
The
wait_for_ready()method in https://github.com/microsoft/AIOpsLab/blob/main/aiopslab/service/kubectl.py#L103 does not account for the pods in terminal phases likeSucceededorFailed.This causes timeouts when OpenEBS cleanup pods remain in the namespace.
Benchmark failure
Succeededphase but remain in namespacewait_for_ready("openebs")sees: 3 ready + 1 succeeded = 3/4 ready -> Hits the 300s timeoutself.kubectl.wait_for_ready("openebs")