[ovs-dev] [PATCH] vswitchd: Always cleanup userspace datapath.

Ilya Maximets i.maximets at samsung.com
Tue Jun 25 12:59:57 UTC 2019


On 25.06.2019 15:41, Flavio Leitner wrote:
> On Tue, Jun 25, 2019 at 03:37:09PM +0300, Ilya Maximets wrote:
>> On 25.06.2019 15:20, Flavio Leitner wrote:
>>> On Tue, Jun 25, 2019 at 01:07:53PM +0300, Ilya Maximets wrote:
>>>> On 25.06.2019 0:15, Flavio Leitner wrote:
>>>>> On Mon, Jun 24, 2019 at 06:28:37PM +0300, Ilya Maximets wrote:
>>>> BTW, it's system dependent if ip/route information preserved on tap
>>>> device detaching. I have a few systems, where 'ovs-appctl exit'
>>>> leads to DOWN state for preserved internal ports and consequently
>>>> loosing their IP addresses. On a few other systems this doesn't happen.
>>>
>>> I haven't seen any bug reports yet related to that. Do you happen to
>>> know the kernel and OvS versions?
>>
>> I see this with OVS master and Linux 4.2.6:
>>
>> # ip addr add 192.168.114.20/24 dev ovsdpdk_br0
>> # ip addr show dev ovsdpdk_br0
>> 43: ovsdpdk_br0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 500
>>     link/ether f2:20:dc:bf:7d:44 brd ff:ff:ff:ff:ff:ff
>>     inet 192.168.114.20/24 scope global ovsdpdk_br0
>>        valid_lft forever preferred_lft forever
>>
>> # ovs-appctl -t ovs-vswitchd exit
>>
>> # ip addr show dev ovsdpdk_br0
>> 43: ovsdpdk_br0: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 500
>>     link/ether f2:20:dc:bf:7d:44 brd ff:ff:ff:ff:ff:ff
>>
>> The same scenario on RHEL7 keeps the interface in NO-CARRIER,UP state and
>> preserved ip address.
>>
>> I don't think that it's OVS. It looks more like a kernel issue.
> 
> Sounds like that. 
> If you start OvS again, does it bring the device UP?

Nope. It stays DOWN just like the newly created one.


More information about the dev mailing list