Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #1290

/assign davidesalerno

@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: Jira Issue OCPBUGS-61508 has been cloned as Jira Issue OCPBUGS-65723. Will retitle bug to link to clone.
/retitle [release-4.19] OCPBUGS-65723: IngressOperator not exposing some metrics for degraded…

In response to this:

This is an automated cherry-pick of #1290

/assign davidesalerno

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 changed the title [release-4.19] OCPBUGS-61508: IngressOperator not exposing some metrics for degraded… [release-4.19] OCPBUGS-65723: IngressOperator not exposing some metrics for degraded… Nov 18, 2025
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. 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 Nov 18, 2025
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-65723, which is invalid:

  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected dependent Jira Issue OCPBUGS-61508 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is MODIFIED instead
  • expected dependent Jira Issue OCPBUGS-61508 to target a version in 4.20.0, 4.20.z, but it targets "4.21.0" 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.

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

In response to this:

This is an automated cherry-pick of #1290

/assign davidesalerno

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 miheer and rfredette November 18, 2025 15:52
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 18, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rfredette for approval. For more information see the Code Review Process.

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

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

@davidesalerno
Copy link
Contributor

/test e2e-aws-operator

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 20, 2025

@openshift-cherrypick-robot: all tests passed!

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.

@lihongan
Copy link
Contributor

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@lihongan: This pull request references Jira Issue OCPBUGS-65723, which is invalid:

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.

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.

@davidesalerno
Copy link
Contributor

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@davidesalerno: This pull request references Jira Issue OCPBUGS-65723, which is invalid:

  • expected dependent Jira Issue OCPBUGS-65664 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is POST 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.

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.

@davidesalerno
Copy link
Contributor

/lgtm

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

lihongan commented Dec 1, 2025

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@lihongan: This pull request references Jira Issue OCPBUGS-65723, which is invalid:

  • expected dependent Jira Issue OCPBUGS-65664 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is POST 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.

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.

@lihongan
Copy link
Contributor

lihongan commented Dec 1, 2025

waiting for #1305 to be merged

@ShudiLi
Copy link
Member

ShudiLi commented Dec 2, 2025

tested it with 4.19.0-0-2025-12-02-013451-test-ci-ln-w2cx1bt-latest

1.
 % oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.21.0-0.nightly-2025-11-22-193140   True        False         9m25s   Cluster version is 4.21.0-0.nightly-2025-11-22-193140

2. update the default secret of the default ingresscontroller, create 3 more custom ingress-controller(The last two had some domain)
% oc -n openshift-ingress-operator get ingresscontroller
NAME      AGE
default   62m
int1      7m27s
int22     6m56s
int33     6m29s

3. delete the ingress-operator pod
 % oc -n openshift-ingress-operator delete pod ingress-operator-7cd6b49cb8-nznd9
pod "ingress-operator-7cd6b49cb8-nznd9" deleted
 % oc -n openshift-ingress-operator get pods                                    
NAME                                READY   STATUS    RESTARTS   AGE
ingress-operator-7cd6b49cb8-jbvk6   2/2     Running   0          16s

4.  the stats of the all valid ingresscontroller are available
% oc -n openshift-ingress-operator rsh ingress-operator-7cd6b49cb8-jbvk6 
Defaulted container "ingress-operator" out of: ingress-operator, kube-rbac-proxy
sh-5.1$ curl -s localhost:60000/metrics | grep -v controller_runtime | grep -v workqueue | grep -v go_ | grep controller
# HELP ingress_controller_aws_nlb_active Report the number of active NLBs on AWS clusters.
# TYPE ingress_controller_aws_nlb_active gauge
ingress_controller_aws_nlb_active{name="default"} 0
ingress_controller_aws_nlb_active{name="int1"} 0
ingress_controller_aws_nlb_active{name="int22"} 0
# HELP ingress_controller_conditions Report the conditions for ingress controllers. 0 is False and 1 is True.
# TYPE ingress_controller_conditions gauge
ingress_controller_conditions{condition="Available",name="default"} 1
ingress_controller_conditions{condition="Available",name="int1"} 1
ingress_controller_conditions{condition="Available",name="int22"} 1
ingress_controller_conditions{condition="Degraded",name="default"} 0
ingress_controller_conditions{condition="Degraded",name="int1"} 0
ingress_controller_conditions{condition="Degraded",name="int22"} 0
# HELP route_metrics_controller_routes_per_shard Report the number of routes for shards (ingress controllers).
# TYPE route_metrics_controller_routes_per_shard gauge
route_metrics_controller_routes_per_shard{shard_name="default"} 8
route_metrics_controller_routes_per_shard{shard_name="int1"} 8
route_metrics_controller_routes_per_shard{shard_name="int22"} 8
sh-5.1$ 

5. delete ingresscontoller int33 and check the ingress co
% oc get co ingress
NAME      VERSION                                                AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
ingress   4.19.0-0-2025-12-02-013451-test-ci-ln-w2cx1bt-latest   True        False         False      53m     

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

Labels

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate 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