Skip to content

Conversation

danielmellado
Copy link
Contributor

This commit adds a specific validation to remove AlertManager endpoints
if it's disabled

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 26, 2025
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 26, 2025
@openshift-ci-robot
Copy link
Contributor

@danielmellado: This pull request references Jira Issue OCPBUGS-62160, which is invalid:

  • expected the bug to target the "4.21.0" version, but no target version was set

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.

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

In response to this:

This commit adds a specific validation to remove AlertManager endpoints
if it's disabled

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 26, 2025
@danielmellado
Copy link
Contributor Author

/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 Sep 26, 2025
@openshift-ci-robot
Copy link
Contributor

@danielmellado: This pull request references Jira Issue OCPBUGS-62160, 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)

Requesting review from QA contact:
/cc @juzhao

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.

@openshift-ci openshift-ci bot requested a review from juzhao September 26, 2025 08:29
@danielmellado
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@danielmellado: This pull request references Jira Issue OCPBUGS-62160, 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)

Requesting review from QA contact:
/cc @juzhao

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.

@danielmellado danielmellado changed the title WIP: OCPBUGS-62160: Remove AlertManager endpoints when disabled OCPBUGS-62160: Remove AlertManager endpoints when disabled Sep 30, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 30, 2025
@danielmellado
Copy link
Contributor Author

/retest-required

3 similar comments
@danielmellado
Copy link
Contributor Author

/retest-required

@danielmellado
Copy link
Contributor Author

/retest-required

@danielmellado
Copy link
Contributor Author

/retest-required

@simonpasquier
Copy link
Contributor

simonpasquier commented Oct 1, 2025

Can we extend TestAlertmanagerDisabling() which already covers disabling the platform Alertmanager?

@danielmellado
Copy link
Contributor Author

Can we extend TestAlertmanagerDisabling() which already covers disabling the platform Alertmanager?

added a new assertion and for now removed the tests I originally add, but was wondering whether they'd still be useful as unit tests or not, wdyt?

@simonpasquier
Copy link
Contributor

Can we extend TestAlertmanagerDisabling() which already covers disabling the platform Alertmanager?

added a new assertion and for now removed the tests I originally add, but was wondering whether they'd still be useful as unit tests or not, wdyt?

I find that for configuration testing, end-to-end is usually the more robust option because it will ensure that all components are properly deployed and interact together as expected.

This commit adds a specific validation to remove AlertManager endpoints
if it's disabled

Signed-off-by: Daniel Mellado <[email protected]>
@danielmellado
Copy link
Contributor Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Oct 8, 2025

@danielmellado: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-single-node 1430b3f link false /test e2e-aws-ovn-single-node
ci/prow/okd-scos-e2e-aws-ovn 1430b3f link false /test okd-scos-e2e-aws-ovn

Full PR test history. Your PR dashboard.

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.

@juzhao
Copy link
Contributor

juzhao commented Oct 9, 2025

/verified by @juzhao

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Oct 9, 2025
@openshift-ci-robot
Copy link
Contributor

@juzhao: This PR has been marked as verified by @juzhao.

In response to this:

/verified by @juzhao

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.

Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

in user-workload e2e tests we check the prometheus_notifications_alertmanagers_discovered metric. It might be good to consolidate on 1 method but it can be a follow-up.

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

openshift-ci bot commented Oct 9, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danielmellado, simonpasquier

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [danielmellado,simonpasquier]

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

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ff3420c and 2 for PR HEAD 1430b3f in total

@openshift-merge-bot openshift-merge-bot bot merged commit 41f90a2 into openshift:main Oct 9, 2025
20 of 22 checks passed
@openshift-ci-robot
Copy link
Contributor

@danielmellado: Jira Issue Verification Checks: Jira Issue OCPBUGS-62160
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-62160 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

In response to this:

This commit adds a specific validation to remove AlertManager endpoints
if it's disabled

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

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-merge-robot
Copy link
Contributor

Fix included in accepted release 4.21.0-0.nightly-2025-10-12-115019

@danielmellado
Copy link
Contributor Author

/jira backport release-4.20 releaase-4.19 release-4.18

@openshift-ci-robot
Copy link
Contributor

@danielmellado: The following backport issues have been created:

Queuing cherrypicks to the requested branches to be created after this PR merges:
/cherrypick release-4.20 releaase-4.19 release-4.18

In response to this:

/jira backport release-4.20 releaase-4.19 release-4.18

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-cherrypick-robot

@openshift-ci-robot: new pull request created: #2710

In response to this:

@danielmellado: The following backport issues have been created:

Queuing cherrypicks to the requested branches to be created after this PR merges:
/cherrypick release-4.20 releaase-4.19 release-4.18

In response to this:

/jira backport release-4.20 releaase-4.19 release-4.18

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.

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.

@danielmellado
Copy link
Contributor Author

/jira backport release-4.19
/jira backport release-4.18

@openshift-ci-robot
Copy link
Contributor

@danielmellado: Missing required branches for backport chain:

  • release-4.20 OR openshift-4.20,

In response to this:

/jira backport release-4.19
/jira backport release-4.18

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.

@danielmellado
Copy link
Contributor Author

/jira backport release-4.19

@openshift-ci-robot
Copy link
Contributor

@danielmellado: Missing required branches for backport chain:

  • release-4.20 OR openshift-4.20,

In response to this:

/jira backport release-4.19

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.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. 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. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants