Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Add status.phase=Running filter to WaitForPodToRun #305

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

Luminger
Copy link
Contributor

To prevent pods in the Completed phase to show up in the list pulled by WaitForPodToRun (which resulted in an indefinitely hang), add a filter to only return pods in the Running phase.

Issue resolved by this Pull Request:
Resolves #304

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

To prevent pods in the 'Completed' phase to show up in the list pulled by
WaitForPodToRun (which resulted in an indefinitely hang), add a filter to
only return pods in the 'Running' phase.

Signed-off-by: Simon Brakhane <[email protected]>
@Luminger Luminger force-pushed the add-WaitForPodToRun-status-filter branch from b50aa53 to 6ed8906 Compare June 26, 2024 08:48
@Luminger Luminger changed the title k8sutil: Add status.phase=Running filter to WaitForPodToRun core: Add status.phase=Running filter to WaitForPodToRun Jun 26, 2024
@Luminger
Copy link
Contributor Author

The test failure seems to be a transient error during deletion of the test cluster, can we redo the test run?

@subhamkrai
Copy link
Collaborator

The test failure seems to be a transient error during deletion of the test cluster, can we redo the test run?

restarted, now

@subhamkrai subhamkrai merged commit ee52e2d into rook:master Jun 28, 2024
6 checks passed
@subhamkrai
Copy link
Collaborator

Thanks for the PR @Luminger

@Luminger Luminger deleted the add-WaitForPodToRun-status-filter branch June 28, 2024 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

waitForPodToRun does not account for multiple pods
2 participants