Re: [controller-dev] Flows, Ports and Networks are not being removed from ODL with Neutron


Sam Hague
 

[dropped controller-dev since this is ovsdb related]

Simhon,

there were some bugs [1] and [2] related to flow removed on network deletes in helium. Basically the bugs revolve around the fact that neutron port deletes and the ovsdb port updates are async and timing differences cause issues in some cases. helium is up to 0.2.4 so 0.2.1 is older but I am not sure if anyt of these bugs are fixed in 0.2.4 either. Most development was focused on lithium release so I would attempt to see if that works better.

There are also issues with OpenStack neutron itself when deleting. Using the horizon will typically leave some ports hanging sometimes. Creating a network and subnet creates a dhcp namespace, adding a router creates a namespace, with ports that attach the networks and you cannot delete some of those ports. [4] below shows some of the neutron cli commands to properly remove all ports associated with a network.

Thanks, Sam


[1] https://bugs.opendaylight.org/show_bug.cgi?id=3052
[2] https://bugs.opendaylight.org/show_bug.cgi?id=3097
[3] https://bugs.opendaylight.org/show_bug.cgi?id=2714
[4] https://www.rdoproject.org/Helium_OpenDaylight_Juno_OpenStack#Clean_Up_Networking_on_Nodes

----- Original Message -----
From: "Simhon Doctori שמחון דוקטורי" <simhond@gmail.com>
To: "Sharon Aicler (saichler)" <saichler@cisco.com>
Cc: sharonaz@imvisiontech.com, controller-dev@lists.opendaylight.org, yossi@imvisiontech.com
Sent: Sunday, June 28, 2015 7:21:38 AM
Subject: Re: [controller-dev] Flows, Ports and Networks are not being removed from ODL with Neutron

Thanks, I will try an earlier release of ODL (such as 0.2.3) and see if same
issue happens there.

I guess the tuntap interfaces on the hypervisor are up to the nova to
create/remove them using the qemu plugin.

On Sun, Jun 28, 2015 at 2:15 PM, Sharon Aicler (saichler) <
saichler@cisco.com > wrote:



Hi,
For flows to be added and removed there should be some integration between
the ovsdb & openflowplugin. I do not know if it exist in lithium, hence I
would raise the question to the ovsdb mailer... but AFAIK the way ODL works
is that the flows, ports & bridges should be added via ovsdb plugin for them
to be removed by ovsdb. If neutron is the one adding them then they will be
missing from the configuration store, hence ODL will not be able to remove
them as they are just in the operational store...
Another thought comes to my mind is who removes the tuntap interfaces on the
OVS side? Im guessing OVSDB plugin can remove bridges & ports from OVS, but
who removes the tuntap interfaces from the vm/machine hosting the OVS?

Sent from my Android phone using TouchDown ( www.nitrodesk.com )

-----Original Message-----
From: Simhon Doctori שמחון דוקטורי [ simhond@gmail.com ]
Received: Sunday, 28 Jun 2015, 3:46
To: Sharon Aicler (saichler) [ saichler@cisco.com ]
CC: controller-dev@lists.opendaylight.org [
controller-dev@lists.opendaylight.org ]; sharonaz@imvisiontech.com [
sharonaz@imvisiontech.com ]; yossi@imvisiontech.com [ yossi@imvisiontech.com
]
Subject: Re: [controller-dev] Flows, Ports and Networks are not being removed
from ODL with Neutron

Thanks Sharon,

I will check it for the ports and networks but does the removal of the flows
should also be originated from the ovsdb <--> neutron ?

Simhon.

On Sun, Jun 28, 2015 at 12:42 PM, Sharon Aicler (saichler) <
saichler@cisco.com > wrote:



Hi,
I think the ovsdb mailer is a better place to ask this question...

Sent from my Android phone using TouchDown ( www.nitrodesk.com )


-----Original Message-----
From: Simhon Doctori שמחון דוקטורי [ simhond@gmail.com ]
Received: Sunday, 28 Jun 2015, 2:26
To: controller-dev@lists.opendaylight.org [
controller-dev@lists.opendaylight.org ]
CC: sharonaz@imvisiontech.com [ sharonaz@imvisiontech.com ]; yossi barshishat
יוסי ברששת [ yossi@imvisiontech.com ]
Subject: [controller-dev] Flows, Ports and Networks are not being removed
from ODL with Neutron

Hi,

We are working with Devstack of integration ODL Helium and Icehouse Openstack
taken from:
https://wiki.opendaylight.org/view/OVSDB:Helium_and_Openstack_on_Fedora20#VMs
.

All works well, but when we remove a VM using the nova delete, or even remove
the entire network using neutron, nothing is removed neither from the OVS
nor from the ODL itself.

It looks like ODL disregards neutron remove requests for some reason. Is this
a known problem for these releases ( distribution-karaf-0.2.1-Helium-SR and
Icehouese ) ?

Any option to make it works ?

Should it be working is latest Opendaylight release ?

--
Regards,

Simhon.



--
Regards,

Simhon.



--
Regards,

Simhon.

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.