Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-15035

nfs-utils: GSSD needs to handle ip-to-name resolution failure

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-8.8.0, rhel-9.2.0
    • nfs-utils
    • None
    • sst_filesystems
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None

      What were you trying to do that didn't work?

      When the kernel does its first ever lookup for a given server ip it

      sends down info for server, protocol, etc. On the gssd side as it
      scans the pipefs structure and sees a new entry it reads that info
      and creates a clp_info structure. At that time it also does
      a DNS lookup of the provided ip to name using getnameinfo(),
      this is saved in clp->servername for all other upcalls that is
      down under that directory.

      IF this 1st getnameinfo() results in a failed resolution for
      whatever reason (a temporary DNS resolution problem), this cause
      of all other future upcalls to fail.

      This patch will continue to attempt to do ip-to-name resolution on any upcall until the resolution succeeds.

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

            stevedatrhn Steve Dickson
            netappnfs Olga Kornievskaia
            NetApp Confidential Group
            Steve Dickson Steve Dickson
            Yongcheng Yang Yongcheng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: