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

removal of SA token mount causes ovnkube-control-plane pod to crash

XMLWordPrintable

    • No
    • SDN Sprint 251, SDN Sprint 252
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Adding automountServiceAccount: false to the pod removes the SA token in ovnkube-control-plane pod, this causes it to crash with following error:   
      
      F1212 12:18:13.705048 1 ovnkube.go:136] unable to create kubernetes rest config, err: TLS-secured apiservers require token/cert and CA certificate.
      
      This error is misleading as the pod doesnt use KAS and doesnt need the SA token.

       

       

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

      4.15    

      How reproducible:

      100%    

      Steps to Reproduce:

          1. Add automountServiceAccountToken: false to pod spec in ovnkube-control-plane deployment
          2. Check new pod for error
          3.
          

      Actual results:

      pod crashes with error:     unable to create kubernetes rest config, err: TLS-secured apiservers require token/cert and CA certificate.

      Expected results:

       pod runs without issues

      Additional info:

          

              jluhrsen Jamo Luhrsen
              pstefans@redhat.com Patryk Stefanski
              Jean Chen Jean Chen
              Patryk Diak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: