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

[BGP on AWS] it need configure twice to ensalve interface to vrf on worker node

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      On AWS, when testing BGP vrf-lite, as nmstate and vlan is not supported, it need manually send cli commands on nodes to ensalve interface to cudn vrf.

      After created cudn 'vrfred', login one worker node, try to add interface ens7 to vrfred as below. it was found that the command 'ip link set ens7 master vrfred' didn't take effect at the first time. After a second try, it worked.

      Checked 'ip route show vrf vrfred', the ens7's direct route was not seen. After delete and receate the interface ip address, the route was shown.

      sh-5.1# ip a | grep vrfred
      233: ovn-k8s-mp2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 8901 qdisc noqueue master vrfred state UNKNOWN group default qlen 1000
      234: vrfred: <NOARP,MASTER,UP,LOWER_UP> mtu 65575 qdisc noqueue state UP group default 
      sh-5.1# 
      sh-5.1# ip a | grep ens7
      38: ens7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
          inet 10.0.152.190/24 brd 10.0.152.255 scope global dynamic noprefixroute ens7
      sh-5.1# ip link set ens7 master vrfred
      sh-5.1# ip a | grep ens7
      38: ens7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
          inet 10.0.152.190/24 brd 10.0.152.255 scope global dynamic noprefixroute ens7
      sh-5.1# ip link set ens7 master vrfred
      sh-5.1# ip a | grep ens7
      38: ens7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq master vrfred state UP group default qlen 1000
          inet 10.0.152.190/24 brd 10.0.152.255 scope global dynamic noprefixroute ens7
      sh-5.1# 
      sh-5.1# ip route show vrf vrfred
      default via 10.0.48.1 dev br-ex mtu 8901 
      unreachable default metric 4278198272 
      50.100.0.0/24 dev ovn-k8s-mp2 proto kernel scope link src 50.100.0.2 
      169.254.0.3 via 50.100.0.1 dev ovn-k8s-mp2 
      169.254.0.14 dev ovn-k8s-mp2 mtu 8901 
      172.30.0.0/16 via 169.254.0.4 dev br-ex mtu 8901 
      sh-5.1# ip addr delete 10.0.152.190/24 dev ens7
      sh-5.1# ip addr add 10.0.152.190/24 dev ens7
      sh-5.1# 
      sh-5.1# ip route show vrf vrfred
      default via 10.0.48.1 dev br-ex mtu 8901 
      unreachable default metric 4278198272 
      10.0.152.0/24 dev ens7 proto kernel scope link src 10.0.152.190 
      50.100.0.0/24 dev ovn-k8s-mp2 proto kernel scope link src 50.100.0.2 
      169.254.0.3 via 50.100.0.1 dev ovn-k8s-mp2 
      169.254.0.14 dev ovn-k8s-mp2 mtu 8901 
      172.30.0.0/16 via 169.254.0.4 dev br-ex mtu 8901 
      timed out waiting for input: auto-logout
      
       

       

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

      How reproducible:

      always

      Steps to Reproduce:

      1. setup AWS ocp cluster.

      2. login one worker node

      3. create cudn

      4. try to ensalve one interface to the vrf which generated by the cudn.

      Actual results:

      the configuration take effect on the second try.

      Expected results:

      it should work once configured.

      Additional info:

       

      Affected Platforms:  AWS

       

              rhn-support-yingwang Ying Wang
              rhn-support-yingwang Ying Wang
              None
              None
              Anurag Saxena Anurag Saxena
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: