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

[release-4.13] NMstate complains about ping not working when adding multiple routing tables with different gateways

    XMLWordPrintable

Details

    Description

      Description of problem:

      When applying a custom routing table different from the main one, nmstate takes the first route with destination 0.0.0.0 even if it does not belong to the main routing table

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

       

      How reproducible:

      I didn't hit this in the previous deployment, so I think it depends on the order with nmstate returns the routes. So, not always

      Steps to Reproduce:

      1.
      
      File a route with a different table id, with a default gateway, like                                                                                                          
        - destination: 0.0.0.0/0                                     
          next-hop-interface: eth0                                  
          next-hop-address: 169.254.169.4                            
          table-id: 56                                                                                                              
      
      2. 
       3.
      

      Actual results:

      if we hit the bug, knmstate will try to ping 169.254.169.4

      Expected results:

      knmstate should ping the actual default gateway to understand if the node is healthy

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              fpaoline@redhat.com Federico Paolinelli
              fpaoline@redhat.com Federico Paolinelli
              Qiong Wang Qiong Wang
              Andreas Karis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: