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

Remove openshift-kube-storage-version-migrator flowschemas apis from OCP 4.12 to OCP 4.13 upgrade

    XMLWordPrintable

Details

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      While planning for the ocp 4.13 upgrade there are some deprecated API requests for openshift-kube-storage-version-migrator from flowschemas.v1beta1.flowcontrol.apiserver.k8s.io, which are expected to show up. Since these are SA to migrate old versions in etcd. We need to remove them in upcoming release.

      $ oc get apirequestcounts -o jsonpath='{range .items[?(@.status.removedInRelease!="")]}{.status.removedInRelease}{"\t"}{.status.requestCount}{"\t"}{.metadata.name}{"\n"}{end}'
      1.26    16      flowschemas.v1beta1.flowcontrol.apiserver.k8s.io
      1.26    2       horizontalpodautoscalers.v2beta2.autoscaling
      1.26    9       prioritylevelconfigurations.v1beta1.flowcontrol.apiserver.k8s.io
      
      $ oc get apirequestcounts flowschemas.v1beta1.flowcontrol.apiserver.k8s.io -o yaml
      apiVersion: apiserver.openshift.io/v1
      kind: APIRequestCount
      metadata:
        creationTimestamp: "2023-10-19T10:23:39Z"
        generation: 1
        name: flowschemas.v1beta1.flowcontrol.apiserver.k8s.io
        resourceVersion: "75640"
        uid: aec1d2ae-7071-4d8f-8f2a-1db85468d767
      spec:
        numberOfUsersToReport: 10
      status:
        last24h:
        - byNode:
          - byUser:
            - byVerb:
              - requestCount: 1
                verb: list
              - requestCount: 15
                verb: update
              requestCount: 16
              userAgent: migrator/v0.0.0
              username: system:serviceaccount:openshift-kube-storage-version-migrator:kube-storage-version-migrator-sa
            nodeName: 10.0.10.134
            requestCount: 16

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

      4.12

      Additional info:

      check this slack thread: https://redhat-internal.slack.com/archives/CB48XQ4KZ/p1698079672178609

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-asadawar Abhijeet Sadawarte
            Rahul Gangwar Rahul Gangwar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: