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

mDNS should only advertising hostname internal ipv6 for ipv6 single stack cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • None
    • Important
    • No
    • 2
    • uShift Sprint 259
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      On ipv6 singlestack cluster, mDNS is advertising all addresses of interface.
      
       sudo $(which oc) --kubeconfig /var/lib/microshift/resources/kubeadmin/kubeconfig get node -o wide
      NAME                     STATUS   ROLES                         AGE    VERSION   INTERNAL-IP                        EXTERNAL-IP   OS-IMAGE                              KERNEL-VERSION                 CONTAINER-RUNTIME
      microshift-zzhao.local   Ready    control-plane,master,worker   119m   v1.30.3   2620:52:0:1eb:518f:da3a:788:87c7   <none>        Red Hat Enterprise Linux 9.4 (Plow)   5.14.0-427.33.1.el9_4.x86_64   cri-o://1.30.5-4.rhaos4.17.gitf258695.el9
      
      
      from node yaml file:
      
        status:
          addresses:
          - address: 2620:52:0:1eb:518f:da3a:788:87c7
            type: InternalIP
          - address: microshift-zzhao.local
            type: Hostname
      
      
      [redhat@microshift-dev ~]$ avahi-resolve-host-name -6 microshift-zzhao.local
      microshift-zzhao.local	2620:52:0:1eb:518f:da3a:788:87c7
      [redhat@microshift-dev ~]$ avahi-resolve-host-name -6 microshift-zzhao.local
      microshift-zzhao.local	fe80::3227:aae3:c13e:e0c
      [redhat@microshift-dev ~]$ avahi-resolve-host-name microshift-zzhao.local
      microshift-zzhao.local    10.1.235.123
      
      
      

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

      microshift version
      MicroShift Version: 4.17.0~ec.3
      Base OCP Version: 4.17.0-ec.3
      

      How reproducible:

       always

      Steps to Reproduce:

          1. setup ipv6 singlestack microshift cluster
          2. from another client out of cluster
             avahi-resolve-host-name microshift-zzhao.local
             avahi-resolve-host-name -6 microshift-zzhao.local     
          3.
          

      Actual results:

          as $descripion

      Expected results:

                 avahi-resolve-host-name microshift-zzhao.local 
        should only return 2620:52:0:1eb:518f:da3a:788:87c7

      Additional info:

          

              pacevedo@redhat.com Pablo Acevedo Montserrat
              zzhao1@redhat.com Zhanqi Zhao
              Zhanqi Zhao Zhanqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: