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

GCP Linux node is missing DNS name Could not resolve host: linux-webserver.winc-test.svc.cluster.local

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 4.16.0
    • Windows Containers
    • None
    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Accessing from Windows pod to linux pod by DNS is failing "exec -n winc-31276 win-webserver-78b5b9fdc9-dt8ln -- curl linux-webserver.winc-test.svc.cluster.local:8080" 

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

          "version":"10.16.2-7da1e1f"

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install on a GCP cluster Windows Workloads and Linux workload 
          2. Install Linux service and Windows service
          3. curl from Windows pod to Linux pod by DNS
          

      Actual results:

      xec -n winc-31276 win-webserver-78b5b9fdc9-dt8ln -- curl linux-webserver.winc-test.svc.cluster.local:8080:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                           Dload  Upload   Total   Spent    Left  Speed
          
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
        0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0curl: (6) Could not resolve host: linux-webserver.winc-test.svc.cluster.local    

      Expected results:

          Access to Linux pod by DNS to resolve "Linux Container Web Server"

      Additional info:

         From the Linux pod 
      bash-5.1$ cat /etc/resolv.conf
      search winc-31276.svc.cluster.local svc.cluster.local cluster.local us-central1-a.c.openshift-qe.internal c.openshift-qe.internal google.internal
      nameserver 172.30.0.10
      options ndots:5

              team-winc Team WinC
              rrasouli Aharon Rasouli
              Aharon Rasouli Aharon Rasouli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: