Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@ChristianZaccaria @sutaakar -- I believe this fixes the problem with a RayCluster wrapped in an AppWrapper being reset every 5 minutes (https://issues.redhat.com/browse/RHOAIENG-8834 and discussed in #521).
The problem is that ODH fork of Kueue sets
waitForPodsReady.enabled
to true (https://github.com/opendatahub-io/kueue/blob/dev/config/components/manager/controller_manager_config.yaml#L25-L26) while the AppWrapper controller was assuming thatwaitForPodsReady.enabled
was false (which is the default in Kueue). As a result, the AppWrapper Job Reconciler loop was not updating thePodsReady
condition in the Workload object (this write is conditional on waitForPodsReady being true).We did a quick fix in AppWrapper 0.20.2. The right longer term fix is probably for the codeflare operator to read the Kueue configuration on startup so we can ensure that the two parts of the system are in synch.