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

AdminPolicyBasedExternalRoute status.Status is not updated

    • No
    • SDN Sprint 246
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      https://issues.redhat.com/browse/OCPBUGS-22710?focusedId=23594559&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-23594559

       
      seems the issue still here, test on 4.15.0-0.nightly-2023-12-04-223539, there is status.message for each zone, but there is no summarized status, so move to Assigned.
      apbexternalroute yaml file is:

      apiVersion: k8s.ovn.org/v1
      kind: AdminPolicyBasedExternalRoute
      metadata:
        name: default-route-policy
      spec:
        from:
          namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: test
        nextHops:
          static:
          - ip: "172.18.0.8"
          - ip: "172.18.0.9" 

      and Status section as below:

      % oc get apbexternalroute
      NAME                   LAST UPDATE   STATUS
      default-route-policy   12s <--- still empty
      % oc describe apbexternalroute default-route-policy | tail -n 10
      Status:
      Last Transition Time: 2023-12-06T02:12:11Z
      Messages:
      qiowang-120620-gtt85-master-2.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      qiowang-120620-gtt85-master-0.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      qiowang-120620-gtt85-worker-a-55fzx.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      qiowang-120620-gtt85-master-1.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      qiowang-120620-gtt85-worker-b-m98ms.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      qiowang-120620-gtt85-worker-c-vtl8q.c.openshift-qe.internal: configured external gateway IPs: 172.18.0.8,172.18.0.9
      Events: <none> 

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

       

      How reproducible:

       

      Steps to Reproduce:

      1.

      2.

      3.

       

      Actual results:

       

      Expected results:

       

      Additional info:

      Please fill in the following template while reporting a bug and provide as much relevant information as possible. Doing so will give us the best chance to find a prompt resolution.

      Affected Platforms:

      Is it an

      1. internal CI failure 
      2. customer issue / SD
      3. internal RedHat testing failure

       

      If it is an internal RedHat testing failure:

      • Please share a kubeconfig or creds to a live cluster for the assignee to debug/troubleshoot along with reproducer steps (specially if it's a telco use case like ICNI, secondary bridges or BM+kubevirt).

       

      If it is a CI failure:

       

      • Did it happen in different CI lanes? If so please provide links to multiple failures with the same error instance
      • Did it happen in both sdn and ovn jobs? If so please provide links to multiple failures with the same error instance
      • Did it happen in other platforms (e.g. aws, azure, gcp, baremetal etc) ? If so please provide links to multiple failures with the same error instance
      • When did the failure start happening? Please provide the UTC timestamp of the networking outage window from a sample failure run
      • If it's a connectivity issue,
      • What is the srcNode, srcIP and srcNamespace and srcPodName?
      • What is the dstNode, dstIP and dstNamespace and dstPodName?
      • What is the traffic path? (examples: pod2pod? pod2external?, pod2svc? pod2Node? etc)

       

      If it is a customer / SD issue:

       

      • Provide enough information in the bug description that Engineering doesn’t need to read the entire case history.
      • Don’t presume that Engineering has access to Salesforce.
      • Please provide must-gather and sos-report with an exact link to the comment in the support case with the attachment.  The format should be: https://access.redhat.com/support/cases/#/case/<case number>/discussion?attachmentId=<attachment id>
      • Describe what each attachment is intended to demonstrate (failed pods, log errors, OVS issues, etc).  
      • Referring to the attached must-gather, sosreport or other attachment, please provide the following details:
        • If the issue is in a customer namespace then provide a namespace inspect.
        • If it is a connectivity issue:
          • What is the srcNode, srcNamespace, srcPodName and srcPodIP?
          • What is the dstNode, dstNamespace, dstPodName and  dstPodIP?
          • What is the traffic path? (examples: pod2pod? pod2external?, pod2svc? pod2Node? etc)
          • Please provide the UTC timestamp networking outage window from must-gather
          • Please provide tcpdump pcaps taken during the outage filtered based on the above provided src/dst IPs
        • If it is not a connectivity issue:
          • Describe the steps taken so far to analyze the logs from networking components (cluster-network-operator, OVNK, SDN, openvswitch, ovs-configure etc) and the actual component where the issue was seen based on the attached must-gather. Please attach snippets of relevant logs around the window when problem has happened if any.
      • For OCPBUGS in which the issue has been identified, label with “sbr-triaged”
      • For OCPBUGS in which the issue has not been identified and needs Engineering help for root cause, labels with “sbr-untriaged”
      • Note: bugs that do not meet these minimum standards will be closed with label “SDN-Jira-template”

            [OCPBUGS-24650] AdminPolicyBasedExternalRoute status.Status is not updated

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Critical: OpenShift Container Platform 4.16.0 bug fix and security update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2024:0041

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Critical: OpenShift Container Platform 4.16.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:0041

            Qiong Wang added a comment -

            Verified on nightly image, passed.

            % oc get clusterversion
            NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
            version   4.16.0-0.nightly-2023-12-14-125454   True        False         29m     Cluster version is 4.16.0-0.nightly-2023-12-14-125454
            
            % oc project test
            Already on project "test" on server "https://api.ci-ln-n9j49pk-72292.origin-ci-int-gce.dev.rhcloud.com:6443".
            % oc create -f apbexroute.yaml 
            adminpolicybasedexternalroute.k8s.ovn.org/default-route-policy created
            % oc get apbexternalroute
            NAME                   LAST UPDATE   STATUS
            default-route-policy   7s            Success 
            % oc describe apbexternalroute | tail -n 11
            Status:
              Last Transition Time:  2023-12-15T04:36:45Z
              Messages:
                ci-ln-n9j49pk-72292-qh9bm-worker-c-qv2n5: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-n9j49pk-72292-qh9bm-master-0: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-n9j49pk-72292-qh9bm-worker-b-9wc9l: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-n9j49pk-72292-qh9bm-master-2: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-n9j49pk-72292-qh9bm-master-1: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-n9j49pk-72292-qh9bm-worker-a-28t2v: configured external gateway IPs: 172.18.0.8,172.18.0.9
              Status:  Success
            Events:    <none>

            Qiong Wang added a comment - Verified on nightly image, passed. % oc get clusterversion NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS version   4.16.0-0.nightly-2023-12-14-125454   True        False         29m     Cluster version is 4.16.0-0.nightly-2023-12-14-125454 % oc project test Already on project "test" on server "https: //api.ci-ln-n9j49pk-72292.origin-ci- int -gce.dev.rhcloud.com:6443" . % oc create -f apbexroute.yaml adminpolicybasedexternalroute.k8s.ovn.org/ default -route-policy created % oc get apbexternalroute NAME                   LAST UPDATE   STATUS default -route-policy   7s            Success % oc describe apbexternalroute | tail -n 11 Status:   Last Transition Time:  2023-12-15T04:36:45Z   Messages:     ci-ln-n9j49pk-72292-qh9bm-worker-c-qv2n5: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-n9j49pk-72292-qh9bm-master-0: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-n9j49pk-72292-qh9bm-worker-b-9wc9l: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-n9j49pk-72292-qh9bm-master-2: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-n9j49pk-72292-qh9bm-master-1: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-n9j49pk-72292-qh9bm-worker-a-28t2v: configured external gateway IPs: 172.18.0.8,172.18.0.9   Status:  Success Events:    <none>

            Qiong Wang added a comment -

            Still no available 4.16 nightly build to verify the bug, checked on 4.16.0-0.ci-2023-12-12-165215 firstly, apbexternalroute status can be shown correctly.

            % oc new-project test
            
            % oc create -f apbexroute.yaml 
            adminpolicybasedexternalroute.k8s.ovn.org/default-route-policy created
            
            % oc get apbexternalroute
            NAME                   LAST UPDATE   STATUS
            default-route-policy   15s           Success
            
            % oc describe apbexternalroute default-route-policy | tail -n 11
            Status:
              Last Transition Time:  2023-12-14T11:42:58Z
              Messages:
                ci-ln-xjltvqk-72292-t59lv-worker-b-kgj9c: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-xjltvqk-72292-t59lv-master-1: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-xjltvqk-72292-t59lv-worker-c-k49mz: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-xjltvqk-72292-t59lv-worker-a-grtsq: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-xjltvqk-72292-t59lv-master-0: configured external gateway IPs: 172.18.0.8,172.18.0.9
                ci-ln-xjltvqk-72292-t59lv-master-2: configured external gateway IPs: 172.18.0.8,172.18.0.9
              Status:  Success
            Events:    <none> 

            Qiong Wang added a comment - Still no available 4.16 nightly build to verify the bug, checked on 4.16.0-0.ci-2023-12-12-165215 firstly, apbexternalroute status can be shown correctly. % oc new -project test % oc create -f apbexroute.yaml adminpolicybasedexternalroute.k8s.ovn.org/ default -route-policy created % oc get apbexternalroute NAME                   LAST UPDATE   STATUS default -route-policy   15s           Success % oc describe apbexternalroute default -route-policy | tail -n 11 Status:   Last Transition Time:  2023-12-14T11:42:58Z   Messages:     ci-ln-xjltvqk-72292-t59lv-worker-b-kgj9c: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-xjltvqk-72292-t59lv-master-1: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-xjltvqk-72292-t59lv-worker-c-k49mz: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-xjltvqk-72292-t59lv-worker-a-grtsq: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-xjltvqk-72292-t59lv-master-0: configured external gateway IPs: 172.18.0.8,172.18.0.9     ci-ln-xjltvqk-72292-t59lv-master-2: configured external gateway IPs: 172.18.0.8,172.18.0.9   Status:  Success Events:    <none>

            Hi npinaeva@redhat.com,

            Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

            OpenShift Jira Bot added a comment - Hi npinaeva@redhat.com , Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

              npinaeva@redhat.com Nadia Pinaeva
              npinaeva@redhat.com Nadia Pinaeva
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: