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

[OVNK] ARP doesn't exist for v6: https://github.com/j-keck/arping/

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.10.z
    • None
    • Moderate
    • None
    • SDN Sprint 225
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      https://github.com/j-keck/arping/blob/c50f4319d307d95d1e2b344c4504158705e919de/arping.go#L227 doesn't support IPV6
      
      We use it here:
      
      func GetMACAddressFromARP(neighIP net.IP) (net.HardwareAddr, error) { 
         hwAddr, _, err := arping.Ping(neighIP)   
         if err != nil { 
             return nil, err   
         }    
         return hwAddr, nil
      }
      
      and so we get errors like:
         2022-08-09T20:35:57.615015621Z E0809 20:35:57.614974   33417 node.go:664] Failed to lookup hardware address for gatewayIP fd13:f100:e876:a09::4: not a valid v4 Address: fd13:f100:e876:a09::4

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

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

      Silence those logs for v6 and add a TODO: Implement IPV6

            bpickard@redhat.com Ben Pickard
            sseethar Surya Seetharaman
            Anurag Saxena Anurag Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: