Friday, 2020-09-18

*** teardown has quit IRC00:14
*** teardown has joined #openvswitch00:16
*** armax has quit IRC00:17
*** armax has joined #openvswitch00:21
*** dcbw has quit IRC00:31
*** armax has quit IRC00:34
*** avishnoi has joined #openvswitch01:10
*** armax has joined #openvswitch01:12
*** gregwork has quit IRC01:27
*** acidfu has quit IRC02:20
*** acidfu has joined #openvswitch02:26
*** rcernin has quit IRC02:29
*** acidfu has quit IRC02:30
*** links has joined #openvswitch02:35
*** dholler has quit IRC03:00
*** dholler has joined #openvswitch03:13
*** rcernin has joined #openvswitch03:15
*** teardown has quit IRC04:07
*** b0urne has quit IRC04:25
*** b0urne has joined #openvswitch04:27
*** b0urne has quit IRC04:32
*** b0urne has joined #openvswitch04:34
*** b0urne has quit IRC04:53
*** b0urne has joined #openvswitch04:55
*** cpaelzer__ has joined #openvswitch05:17
*** b0urne has quit IRC05:17
*** cpaelzer__ has quit IRC05:17
*** b0urne has joined #openvswitch05:19
*** ralonsoh has joined #openvswitch06:08
*** slaweq has joined #openvswitch06:15
*** cpaelzer__ has joined #openvswitch06:19
*** eelco has joined #openvswitch06:24
*** fkautz has quit IRC06:52
*** lathiat has quit IRC06:53
*** jbenet has quit IRC06:53
*** sri_ has quit IRC06:53
*** d1rewolf has quit IRC06:53
*** SPF|Cloud has quit IRC06:54
*** cpaelzer__ has joined #openvswitch06:54
*** SPF|Cloud has joined #openvswitch06:56
*** d1rewolf has joined #openvswitch06:56
*** fkautz has joined #openvswitch06:57
*** jbenet has joined #openvswitch06:57
*** lathiat has joined #openvswitch06:58
*** sri_ has joined #openvswitch06:58
*** cpaelzer__ is now known as cpaelzer06:58
*** cpaelzer has quit IRC07:06
kklimondahow can I disable inactivity probe between ovn-controller and ovsdb-server? I know they are supposed to use a socket and not tcp connection, but for that I need to change a couple of things in how kolla-ansible does the deployment, and I'd rather do that later.08:37
kklimondaalso, in our small scale tests I've had to bump raft election timeouts waaay up, right now to 24000 (it was still timeouting at 12000)08:41
kklimondawithout that I'd have leaders flap left and right, but I'm unclear on how that would behave in a failure scenario (one of nodes going down for example)08:42
*** cpaelzer__ has joined #openvswitch08:48
*** cpaelzer__ is now known as cpaelzer08:48
*** cpaelzer has quit IRC09:07
*** rcernin has quit IRC10:09
*** cpaelzer__ has joined #openvswitch10:28
*** zhouhan_ has quit IRC10:39
*** zhouhan has joined #openvswitch10:39
*** rcernin has joined #openvswitch10:45
*** rcernin has quit IRC10:54
*** links has quit IRC12:02
*** links has joined #openvswitch12:31
*** cpaelzer__ is now known as cpaelzer12:33
*** b0urne has quit IRC12:45
*** b0urne has joined #openvswitch12:45
*** bostondriver has joined #openvswitch12:53
ihrachyszhouhan: what's "the I-P engine"13:14
*** eelco has quit IRC13:16
*** eelco has joined #openvswitch13:16
ihrachysoh, incremental processing I guess...13:20
*** links has quit IRC14:11
*** acidfu has joined #openvswitch14:32
*** tamas_erdei has joined #openvswitch14:36
*** tamas_erdei is now known as terdei14:37
*** teardown has joined #openvswitch14:39
*** dmellado has quit IRC14:40
*** dmellado_ has joined #openvswitch14:40
*** dmellado_ is now known as dmellado14:41
*** darkemon has quit IRC14:44
*** eelco has quit IRC15:07
zhouhanihrachys: yes15:09
ihrachyszhouhan: I am trying to understand the I-P suggestion you posted for system-id file change. how do I determine which steps may be needed for a new chassis name? or is there some way to generically trigger full resync of all ports etc.?15:25
*** avishnoi has quit IRC15:27
*** avishnoi has joined #openvswitch15:28
zhouhanYou need to add a node as input of the en_runtime_data, because you are using it in init_binding_ctx, which is called by rumtime_data_run() and runtime_data_ovs_interface_handler()15:34
zhouhanihrachys: currently the en_runtime_data node has en_ovs_open_vswitch as input: engine_add_input(&en_runtime_data, &en_ovs_open_vswitch, NULL);15:35
*** b0urne has quit IRC15:37
*** b0urne has joined #openvswitch15:37
zhouhanihrachys: if external-id:xxx in the record changes, the engine will detect, and trigger the runtime_data_run() (because there is no change handler defined for en_ovs_open_vswitch), which fully recomputes the runtime_data.15:38
zhouhanihrachys: Now you need to add a new node as the input and implement the related member functions of the new node, so that if the file content changes, it would trigger recompute of runtime_data.15:39
ihrachysdoes the engine proactively call all nodes or there should be some async mechanism to detect file touched?15:41
zhouhanihrachys: you can refer to "ofctrl_is_connected" as a simple example of how to define a wrapper node in I-P engine and add it as input of runtime_data.15:42
zhouhanihrachys: that node has only one simple data: a boolean value "connected".15:43
zhouhanThe engine traverses the DAG in every main loop iteration. If there is no change on any input node, the engine does nothing. Otherwise, handle the changes.15:44
zhouhanIf you define a node, the engine will call the run() function in every iteration. In the run function you need to check if the file content changed and set the node state accordingly.15:46
ihrachysgotcha15:56
ihrachysthanks!15:56
zhouhannp15:57
*** rcernin has joined #openvswitch15:58
*** rcernin has quit IRC16:03
*** thaller_ has joined #openvswitch16:30
*** thaller has quit IRC16:31
*** avishnoi has quit IRC16:33
*** avishnoi has joined #openvswitch16:33
*** acidfu has quit IRC16:41
*** thaller_ has quit IRC17:04
*** thaller_ has joined #openvswitch17:05
*** ralonsoh has quit IRC17:14
*** dholler has quit IRC17:15
ihrachyszhouhan: here's the simplified version that reads system-id-override once: https://patchwork.ozlabs.org/project/ovn/patch/20200918171249.2942477-1-ihrachys@redhat.com/17:15
*** acidfu has joined #openvswitch17:49
zhouhanthanks ihrachys. I will take a look today.17:55
*** blahdodo_ has quit IRC18:03
*** blahdodo has joined #openvswitch18:03
*** zhouhan_ has joined #openvswitch18:20
*** zhouhan has quit IRC18:23
*** ktraynor has quit IRC18:40
*** anilvenkata_ has joined #openvswitch18:57
*** anilvenkata has quit IRC18:58
*** rebrec has joined #openvswitch19:18
*** slaweq has quit IRC19:41
*** acidfu has quit IRC20:33
*** acidfu has joined #openvswitch20:50
*** armax has quit IRC21:15
*** rcernin has joined #openvswitch21:28
*** acidfu has quit IRC21:31
*** rcernin has quit IRC21:35
*** rcernin has joined #openvswitch21:37
*** acidfu has joined #openvswitch21:37
*** acidfu has quit IRC21:42
*** rcernin has quit IRC21:42
*** rebrec has quit IRC21:45
*** rebrec has joined #openvswitch21:46
*** rcernin has joined #openvswitch22:01
*** bostondriver has quit IRC22:24
*** rcernin has quit IRC23:06
*** armax has joined #openvswitch23:27
*** rcernin has joined #openvswitch23:40
*** rebrec has quit IRC23:45
*** armax has quit IRC23:54

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!