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

NMState documentation reports an incorrect configuration on how to update dns-resolver options

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.13, 4.12, 4.14, 4.15, 4.16, 4.17, 4.18
    • Documentation / SDN
    • None
    • Moderate
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • Customer Facing, Customer Reported

      Description of problem:

      The documentation here [1] reports an incorrect configuration on how to update dns-resolver options:
      ~~~
      # ...
      desiredState:
          dns-resolver:
            config:
              search:
               options:
               - timeout:2
               - attempts:3
      # ...
      ~~~
      
      
      
      [1] https://docs.openshift.com/container-platform/4.18/networking/k8s_nmstate/k8s-nmstate-updating-node-network-config.html#virt-example-nmstate-IP-management-dns_k8s-nmstate-updating-node-network-config

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

      OCP DOCS 4.18, 4.17, 4.16, 4.15, 4.14, 4.13, 4.12

      How reproducible:

      Always

      Steps to Reproduce:

       

      Actual results:

      # ...
      desiredState:
          dns-resolver:
            config:
              search:
               options:
               - timeout:2
               - attempts:3
      # ...

      Expected results:

      # ...
      desiredState:
          dns-resolver:
            config:
             options:
             - timeout:2
             - attempts:3
      # ...

      Additional info:

      the options field should be under "config" and not under "search"   

              rhn-support-wgabor Bill Gabor
              rhn-support-gmeghnag Gabriel Meghnagi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: