Skip to content

Conversation

gmarciani
Copy link
Contributor

@gmarciani gmarciani commented Aug 12, 2025

Description of changes

Fix logic in function are_queues_updated?
The function was assuming to be called only during cluster update, leading to cluster creation failure if it gets called on cluster creation.

The reason is that it was assuming that the file containing the previous cluster config always exists, which is not the case on cluster creation.

This bug was not causing any impact because the function is actually called only during cluster update. However, in #2996 we needed to call it on cluster creation causing cluster creation failure.

Tests

  • Spec test (introduced with this PR.
  • [PENDING] test_update_slurm

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The function was assuming to be called only during cluster update, leading to cluster creation failure if it gets called on cluster creation.

The reason is that it was assuming that the file containing the previous cluster config always exists, which is not the case on cluster creation.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3140/fix-queue-updated-condition-0812-2 branch from 1cd0072 to e43e215 Compare August 12, 2025 20:52
@gmarciani gmarciani marked this pull request as ready for review August 12, 2025 20:52
@gmarciani gmarciani requested review from a team as code owners August 12, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants