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

kubernetes-nmstate dns check failing because it tries to look up root-server.net when it should be root-servers.net

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.12.z
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      kubernetes-nmstate dns check failing because it tries to look up root-server.net when it should be root-servers.net

      I don't know why that is failing now, but the official root servers sit behing the plural version:
      https://www.iana.org/domains/root/servers

      {"level":"error","ts":"2023-04-03T03:24:06.657Z","logger":"probe","msg":"failed checking DNS connectivity","error":"[lookup root-server.net on 10.0.0.2:53: no such host]","stacktrace":"github.com/nmstate/kubernetes-nmstate/pkg/probe.runDNS\n\t/go/src/github.com/openshift/kubernetes-nmstate/pkg/probe/probes.go:239\ngithub.com/nmstate/kubernetes-nmstate/pkg/probe.dnsCondition.func1\n\t/go/src/github.com/openshift/kubernetes-nmstate/pkg/probe/probes.go:206\nk8s.io/apimachinery/pkg/util/wait.ConditionFunc.WithContext.func1\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:220\nk8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:233\nk8s.io/apimachinery/pkg/util/wait.WaitForWithContext\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:660\nk8s.io/apimachinery/pkg/util/wait.poll\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:594\nk8s.io/apimachinery/pkg/util/wait.PollImmediateWithContext\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:526\nk8s.io/apimachinery/pkg/util/wait.PollImmediate\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:512\ngithub.com/nmstate/kubernetes-nmstate/pkg/probe.Select\n\t/go/src/github.com/openshift/kubernetes-nmstate/pkg/probe/probes.go:261\ngithub.com/nmstate/kubernetes-nmstate/pkg/helper.ApplyDesiredState\n\t/go/src/github.com/openshift/kubernetes-nmstate/pkg/helper/client.go:166\ngithub.com/nmstate/kubernetes-nmstate/controllers/handler.(*NodeNetworkConfigurationPolicyReconciler).Reconcile\n\t/go/src/github.com/openshift/kubernetes-nmstate/controllers/handler/nodenetworkconfigurationpolicy_controller.go:218\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:320\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:234"}
      {"level":"info","ts":"2023-04-03T03:24:06.657Z","logger":"probe","msg":"WARNING not selecting dns probe"}
      

      That URL seems to be down or flaky today. However, looking at https://www.iana.org/domains/root/servers, the URL should be root-servers.net anyways.

      I can also do a whois lookup for the plural:

      [akaris@linux ~]$ whois root-servers.net
      [Querying whois.verisign-grs.com]
      [Redirected to whois.networksolutions.com]
      [Querying whois.networksolutions.com]
      [whois.networksolutions.com]
      Domain Name: ROOT-SERVERS.NET
      Registry Domain ID: 2751247_DOMAIN_NET-VRSN
      Registrar WHOIS Server: whois.networksolutions.com
      Registrar URL: http://networksolutions.com
      Updated Date: 2021-05-11T17:43:59Z
      Creation Date: 1995-07-04T04:00:00Z
      Registrar Registration Expiration Date: 2024-07-03T04:00:00Z
      Registrar: Network Solutions, LLC
      Registrar IANA ID: 2
      Reseller: 
      Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited
      Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited
      Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited
      Registry Registrant ID: 
      Registrant Name: VERISIGN INC.
      Registrant Organization: VERISIGN INC.
      Registrant Street: 12061 BLUEMONT WAY
      Registrant City: RESTON
      Registrant State/Province: VA
      Registrant Postal Code: 20190-5684
      Registrant Country: US
      Registrant Phone: +1.7039481212
      Registrant Phone Ext: 
      Registrant Fax: +1.7039483670
      Registrant Fax Ext: 
      Registrant Email: noc@verisign.com
      Registry Admin ID: 
      Admin Name: IANA Root Management, ICANN
      Admin Organization: ICANN
      Admin Street: 12025 Waterfront Drive #300
      Admin City: Los Angeles
      Admin State/Province: CA
      Admin Postal Code: 90094
      Admin Country: US
      Admin Phone: +1.13103015800
      Admin Phone Ext: 
      Admin Fax: +1.13108238649
      Admin Fax Ext: 
      Admin Email: kim.davies@icann.org
      Registry Tech ID: 
      Tech Name: Verisign, NOC
      Tech Organization: 
      Tech Street: 12061 Bluemont Way
      Tech City: Reston
      Tech State/Province: VA
      Tech Postal Code: 20190-5684
      Tech Country: US
      Tech Phone: +1.7039481212
      Tech Phone Ext: 
      Tech Fax: +1.7039483670
      Tech Fax Ext: 
      Tech Email: noc@verisign.com
      Name Server: A.ROOT-SERVERS.NET
      Name Server: B.ROOT-SERVERS.NET
      Name Server: C.ROOT-SERVERS.NET
      Name Server: D.ROOT-SERVERS.NET
      Name Server: E.ROOT-SERVERS.NET
      Name Server: F.ROOT-SERVERS.NET
      Name Server: G.ROOT-SERVERS.NET
      Name Server: H.ROOT-SERVERS.NET
      Name Server: I.ROOT-SERVERS.NET
      Name Server: J.ROOT-SERVERS.NET
      Name Server: K.ROOT-SERVERS.NET
      Name Server: L.ROOT-SERVERS.NET
      Name Server: M.ROOT-SERVERS.NET
      

      But not for the singular:

      [akaris@linux ~]$ whois root-server.net
      [Querying whois.verisign-grs.com]
      [Redirected to whois.alfena.com]
      [Querying whois.alfena.com]
      [whois.alfena.com: Name or service not known]
      [Unable to connect to remote host]
      [akaris@linux ~]$ 
      

              bnemec@redhat.com Benjamin Nemec
              akaris@redhat.com Andreas Karis
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: