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

Details

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

      None

      Show
      None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: