Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-233

the vxlan tunnel disappear after deleting the vms on the compute node

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      The netvirt configure file  is :

      {odl_dir}/etc/opendaylight/datastore/initial/config/genius-itm-config.xml :

      <def-tz-enabled>false</def-tz-enabled>

       <gpe-extension-enabled>true</gpe-extension-enabled>
      {odl_dir}

      /etc/opendaylight/datastore/initial/config/netvirt-elanmanager-config.xml :

      <auto-config-transport-zones>true</auto-config-transport-zones>

       <use-of-tunnels>true</use-of-tunnels>

      1、So the vxlan tunnels are created after the vm is booted first on the compute node.  like this:

      [root@computer1-r ~]# ovs-vsctl show

      c40586c2-afe7-4be9-87e0-3405fbcc2ae4

          Manager "tcp:192.168.100.13:6640"

              is_connected: true

          Bridge br-int

              Controller "tcp:192.168.100.13:6653"

                  is_connected: true

              fail_mode: secure

              Port "tun1593f6a7311"

                  Interface "tun1593f6a7311"

                      type: vxlan

                      options: {exts=gpe, key=flow, local_ip="192.168.100.31", remote_ip=flow}

              Port "tap6087d304-05"

                  Interface "tap6087d304-05"

              Port br-int

                  Interface br-int

                      type: internal

      ovs_version: "2.9.0"

       

      2、Then I delete the vm on the compute ,I found the vxlan tunnel is deleted. like :

      [root@computer1-r ~]# ovs-vsctl show

      c40586c2-afe7-4be9-87e0-3405fbcc2ae4

          Manager "tcp:192.168.100.13:6640"

              is_connected: true

          Bridge br-int

              Controller "tcp:192.168.100.13:6653"

                  is_connected: true

              fail_mode: secure

              Port br-int

                  Interface br-int

                      type: internal

          ovs_version: "2.9.0"

      The log follow the link:

      https://www.hastebin.com/amikohutox.rb

       

      3、Last I created a new vm on the compute node ,I found the vm was created successfully but the vxlan tunnels was not created:

      c40586c2-afe7-4be9-87e0-3405fbcc2ae4

          Manager "tcp:192.168.100.13:6640"

              is_connected: true

          Bridge br-int

              Controller "tcp:192.168.100.13:6653"

                  is_connected: true

              fail_mode: secure

              Port "tap2a22261c-d4"

                  Interface "tap2a22261c-d4"

              Port br-int

                  Interface br-int

                      type: internal

      ovs_version: "2.9.0"

       

      The log follow the link:

      https://www.hastebin.com/melevikiha.rb

       

       

       

      4、I restart the odl ,and the tunnel was recreated again.

       

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              k.faseela Faseela K
              renqz Qiuzheng Ren
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: