OSAC-1585: Fix ClusterOrder controller writing observed NodeRequest state to .spec instead of .status - #343
Conversation
…tate to .spec instead of .status Co-authored-by: osac-dev-bot <osac-automation@redhat.com>
|
@osac-jira-ai-issue-solver[bot]: This pull request references OSAC-1585 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Hi @osac-jira-ai-issue-solver[bot]. Thanks for your PR. I'm waiting for a osac-project member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
CI failures addressed in no-changes. |
2 similar comments
|
CI failures addressed in no-changes. |
|
CI failures addressed in no-changes. |
|
Looks good to me. pretty straightforward. |
|
/retest-required |
|
Re-triggered failed runs:
|
|
/approve |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlonaKaplan, eranco74, osac-jira-ai-issue-solver[bot] The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
Re-triggered failed runs:
|
|
/ok-to-test |
|
Labeled |
|
/retest-required |
|
Re-triggered failed runs:
|
|
This branch is 447 commits behind |
Agreed — this branch is too far behind main. PR #405 has the identical fix rebased onto current main. Recommend merging #405 and closing this PR. |
Resolves OSAC-1585
Summary
handleNodePool()writing observed NodePool replica counts to.spec.nodeRequestsinstead of.status.nodeRequests, which polluted the desired spec with runtime data and could trigger unnecessary re-provisioninghandleNodePool()covering creation, update, and edge casesTest plan
handleNodePool()— 5 new test cases.spec.nodeRequestsis not modified by the controllerFixes: OSAC-1585