Monday, 2020-03-23

*** acidfu_ has quit IRC01:04
*** yamamoto has joined #openvswitch01:14
*** acidfu_ has joined #openvswitch01:31
*** acidfu_ has quit IRC01:44
*** blkmanta has quit IRC01:56
*** yamamoto has quit IRC02:38
*** yamamoto has joined #openvswitch02:40
*** ghormoon has quit IRC02:59
*** ghormoon has joined #openvswitch03:01
*** thaller has quit IRC03:10
*** mmethot_ has joined #openvswitch03:20
*** mmethot has quit IRC03:22
*** _mmethot_ has joined #openvswitch03:31
*** psahoo has joined #openvswitch03:33
*** mmethot_ has quit IRC03:34
*** psahoo has quit IRC03:56
*** psahoo has joined #openvswitch04:04
*** yamamoto has quit IRC04:32
*** yogananth has joined #openvswitch04:40
*** yamamoto has joined #openvswitch04:44
*** links has joined #openvswitch04:50
*** links has quit IRC04:54
*** yamamoto has quit IRC05:24
*** links has joined #openvswitch05:25
*** yamamoto has joined #openvswitch05:43
*** yamamoto has quit IRC05:45
*** yamamoto has joined #openvswitch05:49
*** cpaelzer__ has quit IRC05:54
*** cpaelzer__ has joined #openvswitch05:54
*** yamamoto has quit IRC05:58
*** numans has joined #openvswitch06:09
*** thaller has joined #openvswitch06:12
*** cpaelzer__ is now known as cpaelzer06:17
*** donhw has quit IRC06:23
*** yamamoto has joined #openvswitch06:27
*** yamamoto has joined #openvswitch06:27
*** donhw has joined #openvswitch06:28
*** yamamoto has quit IRC06:28
*** slaweq_ has joined #openvswitch06:32
*** yamamoto has joined #openvswitch07:01
*** dholler has joined #openvswitch07:21
*** mmirecki has joined #openvswitch07:31
*** yamamoto has quit IRC07:48
*** yamamoto has joined #openvswitch07:53
*** dceara has joined #openvswitch07:56
*** mbarroso has joined #openvswitch08:02
*** yamamoto has quit IRC08:03
*** eelco has joined #openvswitch08:50
*** slaweq_ is now known as slaweq09:13
*** numans has quit IRC09:14
*** numans has joined #openvswitch09:14
*** ccamel has quit IRC09:29
*** camelCaser has joined #openvswitch09:31
*** grive has quit IRC09:41
*** ktraynor has joined #openvswitch10:02
*** timothy has joined #openvswitch10:08
*** yogananth has quit IRC10:12
*** grive has joined #openvswitch10:21
*** ktraynor has quit IRC11:08
*** ktraynor has joined #openvswitch11:09
*** darkemon has joined #openvswitch11:18
darkemonHi everyone! Can I ask a question about ovs on FreeBSD here?11:26
numansdarkemon, I'm sure you would get an answer real quick.11:27
numansdarkemon, I'd suggest to send it to the ovs discuss mailing list11:27
*** yogananth has joined #openvswitch11:27
numansdarkemon, I mean't I'm NOT sure :)11:28
darkemonnumans: thanks, firstly I'll try here11:29
darkemonso, the question is: does ovs have to destroy its tap interfaces after stopping? In my case ovs doesn't do that. If I do 'service ovs-vswitchd restart' ovs doesn't start properly and writes messages like these:11:33
darkemonStarting ovs_vswitchd.11:33
darkemon2020-03-23T11:01:00Z|00001|vlog|INFO|opened log file /var/log/ovs_vswitchd.log11:33
darkemon2020-03-23T11:01:00Z|00002|ovs_numa|INFO|Discovered 0 NUMA nodes and 0 CPU cores11:33
darkemon2020-03-23T11:01:00Z|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...11:33
darkemon2020-03-23T11:01:00Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected11:33
darkemon2020-03-23T11:01:00Z|00005|dpif|WARN|datapath ovs-netdev already exists but cannot be opened: Operation not supported by device11:33
darkemon2020-03-23T11:01:00Z|00006|ofproto_dpif|ERR|failed to open datapath of type netdev: Operation not supported by device11:33
darkemon2020-03-23T11:01:00Z|00007|ofproto|ERR|failed to open datapath VirtualSwitch-8: Operation not supported by device11:33
darkemon2020-03-23T11:01:00Z|00008|bridge|ERR|failed to create bridge VirtualSwitch-8: Operation not supported by device11:33
darkemonI'm using ovs 2.12.011:41
*** fbl has joined #openvswitch11:56
imaximetsdarkemon, I'm not sure how this works on freebsd.  On linux tap non-persistent tap interfaces should be deleted on exit, I think.  You might try 'ovs-appctl -t ovs-vswitchd exit --cleanup' for stopping OVS.  It should definitely remove all interfaces on exit in this case.12:05
imaximetsdarkemon, also you may try ovs 2.13 or master, it should better handle this case.12:06
darkemonimaximets I tried 'ovs-appctl exit --cleanup' and ovs-vswitchd process exits but doesn't delete interfaces12:09
imaximetsdarkemon, hmm.12:09
darkemonIt seems that's a bug12:09
darkemonI'll try to build ovs 2.13.0 under FreeBSD12:12
imaximetsdarkemon, maybe a bug.  Are you sure that OVS shuts down gracefully and doesn't crash?12:21
darkemonimaximets: wait a moment I'll try in verbose mode12:25
darkemonsorry for big log12:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00359|jsonrpc|DBG|unix#0: received request, method="exit", params=["--cleanup"], id=012:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00360|unixctl|DBG|received request exit["--cleanup"], id=012:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00361|unixctl|DBG|replying with success, id=0: ""12:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00362|jsonrpc|DBG|unix#0: send reply, result="", id=012:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00363|poll_loop|DBG|wakeup due to 0-ms timeout at vswitchd/ovs-vswitchd.c:136 (0% CPU usage)12:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]notice: ovs|00364|bridge|INFO|bridge VirtualSwitch-8: deleted interface epair7a on port 112:29
darkemonMar 23 12:27:06 temavm ovs-vswitchd[21021]debug: ovs|00019|poll_loop(urcu3)|DBG|wakeup due to [POLLIN] on fd 18 (FIFO) at lib/ovs-rcu.c:358 (0% CPU usage)12:29
*** darkemon has quit IRC12:29
*** darkemon has joined #openvswitch12:29
darkemonimaximets: I've tried, ovs shuts down normally, there aren't any errors.12:30
imaximetsdarkemon, ack12:30
*** bostondriver has joined #openvswitch12:38
*** thaller_ has joined #openvswitch12:54
*** thaller has quit IRC12:56
*** thaller_ is now known as thaller13:00
*** dceara has quit IRC13:11
*** acidfu_ has joined #openvswitch13:11
*** tbachman has joined #openvswitch13:31
darkemonimaximets: I've got some good news, ovs 2.13 is stopped by 'ovs-appctl exit --cleanup' as supposed deleting its interfaces, but if stop ovs via 'service ovs-vswitchd stop' it doesn't delete them.13:35
imaximetsdarkemon, ack.  OVS doesn't remove internal ports without --cleanup flag and this flag must be not passed in a service file.13:46
imaximetsdarkemon, I suppose, you could modify service file or ovs-ctl script to pass --cleanup file.13:47
*** ktraynor has quit IRC13:48
*** ktraynor has joined #openvswitch13:52
darkemonI've just got an another problem. If I do 'service netif restart' (restarts all interfaces) ovs goes crazy and utilizes 100% of cpu.14:11
*** lrichardson has joined #openvswitch14:33
*** links has quit IRC14:58
*** rburkholder has joined #openvswitch15:47
*** blkmanta has joined #openvswitch15:52
*** blackmanta has joined #openvswitch15:56
*** blkmanta has quit IRC15:59
*** ktraynor has quit IRC15:59
*** ktraynor has joined #openvswitch16:03
*** blackmanta has quit IRC16:26
*** zhouhan has quit IRC16:30
*** zhouhan has joined #openvswitch16:36
*** acidfu_ has quit IRC16:48
*** acidfu_ has joined #openvswitch16:50
*** zhouhan_ has joined #openvswitch16:51
*** dceara has joined #openvswitch16:51
*** zhouhan has quit IRC16:55
*** dceara has quit IRC16:55
*** eelco has quit IRC17:04
*** gregwork has joined #openvswitch17:24
*** mmethot_ has joined #openvswitch17:44
*** _mmethot_ has quit IRC17:46
*** mbarroso has quit IRC18:28
*** acidfu_ has quit IRC19:01
*** acidfu_ has joined #openvswitch19:02
*** cpaelzer__ has joined #openvswitch19:39
*** cpaelzer has quit IRC19:40
*** cpaelzer__ is now known as cpaelzer19:56
*** mmirecki has quit IRC20:14
*** fab23 has quit IRC20:43
*** fab23 has joined #openvswitch20:49
*** mmirecki has joined #openvswitch21:05
*** mmirecki has quit IRC22:00
*** timothy has quit IRC22:12
*** blkmanta has joined #openvswitch22:24
*** blackmanta has joined #openvswitch22:25
*** blkmanta has quit IRC22:28
*** blackmanta has quit IRC22:34
*** slaweq has quit IRC23:06
*** bostondriver has quit IRC23:11

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!