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

installation bootstrap might cause etcdserver: rpc not supported for learner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Etcd
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In [1] we allow localhost etcd as a fallback for apiserver to connect with etcd. This is a useful failsafe, in case no other etcd member is reachable.
      
      In some rare scenarios during bootstrapping the apiserver might end up reaching out to a scaling-up etcd member and returns a 500 error with:
      
       etcdserver: rpc not supported for learner
      
      [1] https://github.com/openshift/library-go/blob/636f95d7aabaa2b46021985d2ce83bbb93fefc31/pkg/operator/configobserver/etcd/observe_etcd_endpoints.go#L141-L143    

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

      seen in 4.17, 4.18 but is definitely longer standing

      How reproducible:

      rarely, but can be grepped in loki

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      apiserver returns a 500 reaching an etcd learner 

      Expected results:

      apiserver should not error on reaching etcd learners

      Additional info:

          

              dwest@redhat.com Dean West
              tjungblu@redhat.com Thomas Jungblut
              Ge Liu Ge Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: