Skip to content

Conversation

@Tal-or
Copy link
Contributor

@Tal-or Tal-or commented Oct 16, 2025

Check that PerformanceProfile replacement doesn't add
additional configmap status.

This test is excersing the bug to avoid regressions in the future.

The fix filed for Hypershift repo: openshift/hypershift#7089

Signed-off-by: Talor Itzhak titzhak@redhat.com

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Oct 16, 2025
@openshift-ci-robot
Copy link
Contributor

@Tal-or: This pull request references Jira Issue OCPBUGS-62496, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

on hypershift platform,
when PerformanceProfile gets replaced with a new one,
there will be a short window when two different PerformanceProfile are exist for the same nodePool
until Hypershift operator catches up and deletes the old one.
in this case, we want to avoid creating duplicated ConfigMap for the status because it will
break Hypershift reconciliation loop:
https://github.com/openshift/hypershift/blob/53dc14cbdd1e46d8b648ed49c6419d34209ef406/hypershift-operator/controllers/nodepool/nto.go#L330

if a different ConfigMap for the status already exists, requeue the object for later.

Signed-off-by: Talor Itzhak titzhak@redhat.com

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.

@openshift-ci openshift-ci bot requested review from ffromani and yanirq October 16, 2025 10:10
@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 16, 2025

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 16, 2025
@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 19, 2025

/retest

@Tal-or Tal-or force-pushed the hcp_cm_status branch 3 times, most recently from ec3fe7f to b31802c Compare October 20, 2025 12:00
@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 21, 2025

/retest

Tal-or added a commit to Tal-or/hypershift that referenced this pull request Oct 23, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or Tal-or changed the title OCPBUGS-62496: hypershift:status: check for duplicated configmap status OCPBUGS-62496: hypershift:status:e2e: check for duplicated configmap status Oct 23, 2025
@Tal-or Tal-or changed the title OCPBUGS-62496: hypershift:status:e2e: check for duplicated configmap status OCPBUGS-62496: hypershift:e2e:status: check for duplicated configmap status Oct 23, 2025
Check that PerformanceProfile replacement doesn't add
additional configmap status.

This test is excersing the bug to avoid regressions in the future.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
Tal-or added a commit to Tal-or/hypershift that referenced this pull request Oct 23, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@openshift-ci-robot
Copy link
Contributor

@Tal-or: This pull request references Jira Issue OCPBUGS-62496, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Check that PerformanceProfile replacement doesn't add
additional configmap status.

This test is excersing the bug to avoid regressions in the future.

Signed-off-by: Talor Itzhak titzhak@redhat.com

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.

@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 23, 2025

/hold
depends on: openshift/hypershift#7089
tested locally, with the above patch, the test is passing.

Tal-or added a commit to Tal-or/hypershift that referenced this pull request Oct 23, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
Tal-or added a commit to Tal-or/hypershift that referenced this pull request Oct 23, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 29, 2025

/hold cancel
/retest

openshift/hypershift#7089 got merged

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 29, 2025
@Tal-or
Copy link
Contributor Author

Tal-or commented Oct 30, 2025

/retest

mgencur pushed a commit to mgencur/hypershift that referenced this pull request Oct 30, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
mgencur pushed a commit to mgencur/hypershift that referenced this pull request Oct 30, 2025
When a PerformanceProfile is being replaced for a NodePool,
hypershift controller lack the logic to delete the old
profile from the HCP namespace.

This commit resolve this gap.
A dedicated e2e test coverage was added on NTO repo:
openshift/cluster-node-tuning-operator#1413

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or
Copy link
Contributor Author

Tal-or commented Nov 4, 2025

/retest

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or
Copy link
Contributor Author

Tal-or commented Nov 5, 2025

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 5, 2025

@Tal-or: all tests passed!

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@yanirq
Copy link
Contributor

yanirq commented Dec 10, 2025

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2025
@yanirq
Copy link
Contributor

yanirq commented Dec 10, 2025

/cc @SargunNarula for verification

@openshift-ci openshift-ci bot requested a review from SargunNarula December 10, 2025 09:59
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 10, 2025

@yanirq: GitHub didn't allow me to request PR reviews from the following users: for, verification.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @SargunNarula for verification

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 kubernetes-sigs/prow repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Tal-or, yanirq

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 10, 2025
@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 10, 2025

/acknowledge-critical-fixes-only

Testing only, not affecting payload

@openshift-bot
Copy link
Contributor

/jira refresh

The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity.

@openshift-ci-robot openshift-ci-robot added jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. and removed jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Dec 12, 2025
@openshift-ci-robot
Copy link
Contributor

@openshift-bot: This pull request references Jira Issue OCPBUGS-62496, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "4.21" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity.

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.

@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 14, 2025

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Dec 14, 2025
@openshift-ci-robot
Copy link
Contributor

@Tal-or: This pull request references Jira Issue OCPBUGS-62496, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request.

Details

In response to this:

/jira refresh

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.

@Tal-or
Copy link
Contributor Author

Tal-or commented Dec 14, 2025

/label acknowledge-critical-fixes-only

Testing only, not affecting payload and we already branched out anyway

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Dec 14, 2025
@yanirq
Copy link
Contributor

yanirq commented Dec 14, 2025

/cc @SargunNarula for verified label

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 14, 2025

@yanirq: GitHub didn't allow me to request PR reviews from the following users: for, verified, label.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @SargunNarula for verified label

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 kubernetes-sigs/prow repository.

@SargunNarula
Copy link
Contributor

SargunNarula commented Dec 16, 2025

/verified by @SargunNarula

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants