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

ovnkube-master pods are CrashLoopBackoff with "Pod <podname> is invalid: metadata.annotations: Too long: must have at most 262144 byte"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.12.z
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • support case is sev 4

      Description of problem:

      The ovnkube-master pods are CrashLoopBackoff status with the "Pod <podname> is invalid: metadata.annotations: Too long: must have at most 262144 byte" message.
      
      After deleting the pod with the error message, the ovnkube-master pod was returned to Running.
      
      When checking the logs of ovnkube-master pod, it seems that routes configuration is set repeatedly.
      
      2024-04-15T05:08:20.146710725Z I0415 05:08:20.032158       1 kube.go:71] Setting annotations map[k8s.ovn.org/pod-networks:{"default":{"ip_addresses":["10.130.0.132/23","fd01:0:0:3::84/64"],"mac_address":"0a:58:0a:82:00:84","gateway_ips":["fd01:0:0:3::1"],"routes":[{"dest":"10.128.0.0/14","nextHop":"10.130.0.1"},{"dest":"172.30.0.0/16","nextHop":"10.130.0.1"},{"dest":"10.128.0.0/14","nextHop":"10.130.0.1"},{"dest":"172.30.0.0/16","nextHop":"10.130.0.1"},{"dest":"10.128.0.0/14","nextHop":"10.130.0.1"},<...snip...>{"dest":"172.30.0.0/16","nextHop":"10.130.0.1"},{"dest":"10.128.0.0/14","nextHop":"10.130.0.1"},{"dest":"172.30.0.0/16","nextHop":"10.130.0.1"},{"dest":"10.128.0.0/14","nextHop":"10.130.0.1"},{"dest":"172.30.0.0/16","nextHop":"10.130.0.1"}]}}] on pod <namespace>/<podname>
      2024-04-15T05:08:20.207768306Z E0415 05:08:20.207745       1 kube.go:80] Error in setting annotation on pod <namespace>/<podname>: Pod "<podname>" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

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

      Red Hat OpenShift Container Platform 4.12.39    

      How reproducible:

      Sometimes

            jtanenba@redhat.com Jacob Tanenbaum
            rhn-support-shishika Shinri Ishikawa
            Anurag Saxena Anurag Saxena
            Shinri Ishikawa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: