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

Re-order NSS modules to move myhostname ahead of dns

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20.z
    • RHCOS
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          On 4.20 it was discovered that kubelet does not allow enough time for NSS dns lookups to time out and fallback to myhostname. We can avoid this timeout by moving myhostname ahead of dns in nsswitch.conf

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

          4.20.z

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create a new worker node whose DNS server will time out
          2. Observe that kubelet will never create the Node object
          3.     

      Actual results:

         No Node object is created, instead kubelet continually errors out and is restarted

      Expected results:

          Kubelet creates the Node object and the worker joins the cluster successfully    

      Additional info:

      This is a result of the investigation into OCPBUGS-64883. Currently ARO has declared this an upgrade risk for 4.20.    

      See also incident Slack channel #itn-2025-00296 https://redhat.enterprise.slack.com/archives/C09SCTRBK7Z

              Unassigned Unassigned
              rh-ee-adenton Andrew Denton
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: