Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1650

VM stop and start it's ARP Responder flow lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • neutronvpn
    • None
    • OpenDaylight integrates with Openstack

    • High

      OpenDaylight integrates with Openstack, subnet bind with router, and I do the follow operation:

      1.Create VM(vm01-1.1.0.12) on Openstack control;

      2.Check ARP Responder flow on compute node:

      stack@compute1:~$ sudo ovs-ofctl dump-flows -Oopenflow13 br-int table=81
      cookie=0x9230108, duration=12849.752s, table=81, n_packets=0, n_bytes=0, priority=100,arp,metadata=0x81389000000/0xfffffffff000000,arp_tpa=1.1.0.1,arp_op=1 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:dc:2c:34>eth_src,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]>NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]>NXM_OF_ARP_TPA[],load:0xfa163edc2c34->NXM_NX_ARP_SHA[],load:0x1010001->NXM_OF_ARP_SPA[],load:0->NXM_OF_IN_PORT[],load:0x800->NXM_NX_REG6[],resubmit(,220)
      cookie=0x8220000, duration=15583.091s, table=81, n_packets=430, n_bytes=18060, priority=0 actions=drop

      3.Execute the command on openstack control: openstack server stop vm01;

      stack@control:~$ openstack server stop vm01
      stack@control:~$ openstack server list
      --------------------------------------------------------------------------------------------------+

      ID Name Status Networks Image Flavor

      --------------------------------------------------------------------------------------------------+

      024960e0-ea4e-4a13-957d-b5acdb7f687b vm01 SHUTOFF zn_net01=1.1.0.12 cirros-0.3.5-x86_64-disk m1.small

      --------------------------------------------------------------------------------------------------+

      4.Check ARP Responder flow is deleted;

      stack@compute1:~$ sudo ovs-ofctl dump-flows -Oopenflow13 br-int table=81
      cookie=0x8220000, duration=15722.162s, table=81, n_packets=430, n_bytes=18060, priority=0 actions=drop

      5.Execute the command on openstack control: openstack server start vm01;

      stack@control:~$ openstack server start vm01
      stack@control:~$ openstack server list
      -------------------------------------------------------------------------------------------------+

      ID Name Status Networks Image Flavor

      -------------------------------------------------------------------------------------------------+

      024960e0-ea4e-4a13-957d-b5acdb7f687b vm01 ACTIVE zn_net01=1.1.0.12 cirros-0.3.5-x86_64-disk m1.small

      -------------------------------------------------------------------------------------------------+

      5.Check ARP Responder flow lost:

      stack@compute1:~$ sudo ovs-ofctl dump-flows -Oopenflow13 br-int table=81
      cookie=0x8220000, duration=15847.843s, table=81, n_packets=430, n_bytes=18060, priority=0 actions=drop

       

            EAALSHI Ashik Alias
            zhangninglc ning zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified