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

Wait for DataScienceCluster to finish reconciling #117

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

jiridanek
Copy link
Collaborator

@jiridanek jiridanek commented Mar 10, 2024

Depends on

There can be quite a long delay between dashboard and workbenches reporting ready, and the cluster coming up. Also, as we know, the components can sometimes regress back to Unknown

2024-03-10T10:04:04 DEBUG [DataScienceClusterResource:63] DataScienceCluster test-dsp Dashboard status: True
2024-03-10T10:04:04 DEBUG [DataScienceClusterResource:67] DataScienceCluster test-dsp Workbenches status: True
2024-03-10T10:04:04 DEBUG [DataScienceClusterResource:118] DataScienceCluster test-dsp ReconcileComplete status: Unknown
2024-03-10T10:04:06 DEBUG [DataScienceClusterResource:127] DataScienceCluster test-dsp events: []

... few minutes later ...

2024-03-10T10:07:12 DEBUG [DataScienceClusterResource:63] DataScienceCluster test-dsp Dashboard status: True
2024-03-10T10:07:12 DEBUG [DataScienceClusterResource:67] DataScienceCluster test-dsp Workbenches status: True
2024-03-10T10:07:12 DEBUG [DataScienceClusterResource:118] DataScienceCluster test-dsp ReconcileComplete status: Unknown
2024-03-10T10:07:13 DEBUG [DataScienceClusterResource:127] DataScienceCluster test-dsp events: []
2024-03-10T10:07:18 DEBUG [DataScienceClusterResource:63] DataScienceCluster test-dsp Dashboard status: True
2024-03-10T10:07:18 DEBUG [DataScienceClusterResource:67] DataScienceCluster test-dsp Workbenches status: Unknown
2024-03-10T10:07:18 DEBUG [DataScienceClusterResource:118] DataScienceCluster test-dsp ReconcileComplete status: True
2024-03-10T10:07:20 DEBUG [DataScienceClusterResource:127] DataScienceCluster test-dsp events: [DataScienceClusterCreationSuccessful]
2024-03-10T10:07:25 DEBUG [DataScienceClusterResource:63] DataScienceCluster test-dsp Dashboard status: True
2024-03-10T10:07:25 DEBUG [DataScienceClusterResource:67] DataScienceCluster test-dsp Workbenches status: True
2024-03-10T10:07:25 DEBUG [DataScienceClusterResource:118] DataScienceCluster test-dsp ReconcileComplete status: True
2024-03-10T10:07:26 DEBUG [DataScienceClusterResource:127] DataScienceCluster test-dsp events: [DataScienceClusterCreationSuccessful]

If I don't do this extended wait, then I can't make

work within a short timeout, because the operator will not uninstall if it is not done reconciling.

@jiridanek jiridanek marked this pull request as ready for review March 10, 2024 10:11
@kornys kornys enabled auto-merge (squash) March 10, 2024 11:10
@kornys kornys merged commit 0a1ef5b into skodjob:main Mar 10, 2024
2 checks passed
@jiridanek jiridanek deleted the jd_finish_reconciling branch March 10, 2024 12:17
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.

2 participants