[ovs-discuss] openvswitch udev event flood

Ben Pfaff blp at nicira.com
Sun Aug 24 18:39:59 UTC 2014


On Sun, Aug 24, 2014 at 06:02:06AM -0700, Krishna Sagiraju wrote:
> I am running into a problem with openvswith and would greatly
> appreciate help/suggestions from experts.
> 
> I installed openvswitch-1.11.0_8ce28d-1.el6ost.x86_64 on CentOS 6.5
> running Icehouse and as soon as the openvswitch kernel module is
> loaded, I get a flood of the following messages in
> /var/log/messages:
> 
> Aug 22 15:23:55 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --if-exists del-br br-eth1
> Aug 22 15:23:55 host kernel: device br-eth1 left promiscuous mode
> Aug 22 15:23:55 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --may-exist add-br br-eth1
> Aug 22 15:23:55 host kernel: device br-eth1 entered promiscuous mode
> Aug 22 15:23:56 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --if-exists del-br br-eth1
> Aug 22 15:23:56 host kernel: device br-eth1 left promiscuous mode
> Aug 22 15:23:56 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --may-exist add-br br-eth1
> Aug 22 15:23:56 host kernel: device br-eth1 entered promiscuous mode
> Aug 22 15:23:56 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --if-exists del-br br-eth1
> Aug 22 15:23:56 host kernel: device br-eth1 left promiscuous mode
> Aug 22 15:23:56 host ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl -t 10 -- --may-exist add-br br-eth1
> 
> I traced those messages to udev trying to toggle the interface up
> and down rapidly. Here's a sample of the events received by UDEV:
> 
> [root at host ~]# udevadm monitor
> monitor will print the received events for:
> UDEV - the event which udev sends out after rule processing
> KERNEL - the kernel uevent
> 
> KERNEL[1408843389.801627] remove
> /devices/virtual/net/br-eth1/queues/rx-0 (queues)
> KERNEL[1408843389.801667] remove
> /devices/virtual/net/br-eth1/queues/tx-0 (queues)
> KERNEL[1408843389.801742] remove   /devices/virtual/net/br-eth1 (net)
> UDEV  [1408843389.820986] remove   /devices/virtual/net/br-eth1 (net)
> KERNEL[1408843389.870369] add      /devices/virtual/net/br-eth1 (net)
> KERNEL[1408843389.870391] add
> /devices/virtual/net/br-eth1/queues/rx-0 (queues)
> KERNEL[1408843389.870401] add
> /devices/virtual/net/br-eth1/queues/tx-0 (queues)
> UDEV  [1408843389.940706] add      /devices/virtual/net/br-eth1 (net)
> UDEV  [1408843389.940944] add
> /devices/virtual/net/br-eth1/queues/tx-0 (queues)
> UDEV  [1408843389.940959] add
> /devices/virtual/net/br-eth1/queues/rx-0 (queues)
> UDEV  [1408843389.941067] remove
> /devices/virtual/net/br-eth1/queues/tx-0 (queues)
> UDEV  [1408843389.941082] remove
> /devices/virtual/net/br-eth1/queues/rx-0 (queues)
> KERNEL[1408843390.088915] remove
> /devices/virtual/net/br-eth1/queues/rx-0 (queues)
> KERNEL[1408843390.088941] remove
> /devices/virtual/net/br-eth1/queues/tx-0 (queues)
> KERNEL[1408843390.089002] remove   /devices/virtual/net/br-eth1 (net)
> UDEV  [1408843390.105143] remove   /devices/virtual/net/br-eth1 (net)
> 
> 
> I would appreciate any advice and/or any workarounds to alleviate
> the issue. Once again, thanks for the help in advance

The problem is that you have some software creating and deleting devices
rapidly.  Open vSwitch isn't doing that on its own, so you will have to
figure out what is.



More information about the discuss mailing list