Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2642

APIRemovedInNextEUSReleaseInUse/APIRemovedInNextReleaseInUse alerts triggered for flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1 for cluster-version-operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.12.0
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      APIRemovedInNextEUSReleaseInUse/APIRemovedInNextReleaseInUse alerts triggered for flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1, see from the attached file alerts.txt, cluster-version-operator uses  flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1

      $ token=`oc create token prometheus-k8s -n openshift-monitoring` 
      $ oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/query?' --data-urlencode 'query=ALERTS{alertname=~"APIRemovedInNextEUSReleaseInUse|APIRemovedInNextReleaseInUse",alertstate="firing"}' | jq
      {
        "status": "success",
        "data": {
          "resultType": "vector",
          "result": [
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextEUSReleaseInUse",
                "alertstate": "firing",
                "group": "autoscaling",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "horizontalpodautoscalers",
                "severity": "info",
                "version": "v2beta2"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            },
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextEUSReleaseInUse",
                "alertstate": "firing",
                "group": "flowcontrol.apiserver.k8s.io",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "flowschemas",
                "severity": "info",
                "version": "v1beta1"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            },
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextEUSReleaseInUse",
                "alertstate": "firing",
                "group": "flowcontrol.apiserver.k8s.io",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "prioritylevelconfigurations",
                "severity": "info",
                "version": "v1beta1"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            },
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextReleaseInUse",
                "alertstate": "firing",
                "group": "autoscaling",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "horizontalpodautoscalers",
                "severity": "info",
                "version": "v2beta2"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            },
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextReleaseInUse",
                "alertstate": "firing",
                "group": "flowcontrol.apiserver.k8s.io",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "flowschemas",
                "severity": "info",
                "version": "v1beta1"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            },
            {
              "metric": {
                "__name__": "ALERTS",
                "alertname": "APIRemovedInNextReleaseInUse",
                "alertstate": "firing",
                "group": "flowcontrol.apiserver.k8s.io",
                "namespace": "openshift-kube-apiserver",
                "removed_release": "1.26",
                "resource": "prioritylevelconfigurations",
                "severity": "info",
                "version": "v1beta1"
              },
              "value": [
                1666261054.784,
                "1"
              ]
            }
          ]
        }
      }
      

      and from oc explain, version is v1beta2

      $ oc explain flowschemas
      KIND:     FlowSchema
      VERSION:  flowcontrol.apiserver.k8s.io/v1beta2
      
      # oc explain prioritylevelconfigurations
      KIND:     PriorityLevelConfiguration
      VERSION:  flowcontrol.apiserver.k8s.io/v1beta2  

      Version-Release number of selected component (if applicable):

      4.12.0-0.nightly-2022-10-18-192348
      kubernetes v1.25.2+5bf2e1f

       

      How reproducible:

      always

      Steps to Reproduce:

      1. check alerts from cluster
      2.
      3.
      

      Actual results:

      APIRemovedInNextEUSReleaseInUse/APIRemovedInNextReleaseInUse alerts triggered for flowschemas.v1beta1 and prioritylevelconfigurations.v1beta1

      Expected results:

      no alerts

      Additional info:

       

              afri@afri.cz Petr Muller
              juzhao@redhat.com Junqi Zhao
              Jia Liu Jia Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: