Monday, 2021-05-31

*** dmellado_ has joined #openstack-kuryr00:07
*** dmellado has quit IRC00:11
*** dmellado_ is now known as dmellado00:11
*** opendevreview has joined #openstack-kuryr01:50
opendevreviewwushiming proposed openstack/kuryr master: Changed minversion in tox to 3.18.0  https://review.opendev.org/c/openstack/kuryr/+/79370801:50
opendevreviewwushiming proposed openstack/kuryr-kubernetes master: Changed minversion in tox to 3.18.0  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79370901:56
*** ltomasbo has joined #openstack-kuryr06:15
*** tabbie_fash has joined #openstack-kuryr07:09
*** tabbie_fash has quit IRC07:22
*** tabbie_fash has joined #openstack-kuryr07:30
*** dulek has joined #openstack-kuryr07:33
*** tabbie_afk has joined #openstack-kuryr07:38
*** tabbie_fash has quit IRC07:38
*** tabbie_afk has quit IRC08:03
*** digitalsimboja has joined #openstack-kuryr08:26
maysamsdigitalsimboja: hey, just saw your ping from last Friday. We were on PTO that day08:37
digitalsimbojaAlright cool. Good morning08:45
digitalsimbojaOur call is in 15mins08:45
digitalsimbojaTrying to connect back. I lost connection09:06
ltomasbodigitalsimboja, perhaps you can stop your camera (if connection is not allowing you to have both screen and camera)09:08
*** digitalsimboja has quit IRC09:17
*** digitalsimboja has joined #openstack-kuryr09:25
*** digitalsimboja has quit IRC10:06
*** digitalsimboja has joined #openstack-kuryr10:21
opendevreviewMaysa de Macedo Souza proposed openstack/kuryr-kubernetes master: Fix Listener timeouts update  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79376811:13
digitalsimboja@maysam: I am not able to see the questions you added on Trello.12:13
digitalsimbojaPlease could you recheck to see if its reflected yet12:13
digitalsimbojaThanks12:13
maysamsdigitalsimboja: it's on the description of each card that is in-progress12:16
digitalsimbojaAlright Thanks12:19
digitalsimbojaSeen!12:21
digitalsimbojaThose questions are actually  what I have been looking for. Coupled with detailed explainantion by @ltomasbo, I should be fine by end of day12:22
digitalsimbojaWould come back with questions if I hit one12:22
maysamsgreat, digitalsimboja. Make sure to respond those question on the card itself12:23
*** digitalsimboja has quit IRC13:46
*** digitalsimboja has joined #openstack-kuryr14:00
digitalsimbojaHi14:07
ltomasbodigitalsimboja, hi!14:10
digitalsimbojaAfter service is created, the on_present function in both loadbalancer.py and lbaas.py is called right away ? correct?14:12
digitalsimbojabut that of loadbalancer.py does nothing?14:12
ltomasbodigitalsimboja, not really14:13
digitalsimbojabecause the value it needs is not ready yet?14:13
digitalsimbojaOhh okay14:13
ltomasboafter svc creationg, both on_present functions on lbaas.py will be called (the one on ServiceHandler and the one on EndpointHander)14:13
ltomasbothen, those handlers (ServiceHandler and EndpointHandler) will create/update the KuryrLoadBalancer CRD (the first one getting executed create the CRD and put some information there, the second one update the information to extend it)14:14
digitalsimbojaohhkay perfect!14:14
ltomasboand then, the KuryrLoadBalancer creation (and the update) are the ones making the on_present function on loadbalancer.py be executed14:15
ltomasbonote that handler is watching on the KuryrLoadBalancer CRD object (and not on the service or endpoint k8s object)(14:15
ltomasbowhile the classes at lbaas.py are the ones watching the service and endpoint functions14:15
ltomasbos/functions/objects14:15
digitalsimbojaloadbalancer is watching KuryrLOadbalancer CRD you mean?14:16
ltomasboand what happens on the kuryrloadbalancer handler is that it requires the CRD to have the complete information, otherwise it does nothing14:16
ltomasboyes, exactly14:16
ltomasboServiceHandler watchers k8s services14:16
ltomasboEndpointHandler watches k8s endpoints14:16
ltomasboKuryrLoadBalancerHandler watchers KuryrLoadBalancer CRD objects14:17
digitalsimbojavery clear!14:17
digitalsimboja def on_present(self, service): for the service handler: what does the parameter 'service' hold after a kubernetes event?14:18
ltomasboso, creating a service --> execute watcher on ServiceHandler and EndpointHandlers --> they create/update KuryrLoadBalancer CRD object (on k8s) --> execute watcher on loadbalancer.py --> call drivers to create OpenStack resources14:18
digitalsimbojaUnderstood!14:19
ltomasbowhen you create an object in k8s (e.g., a svc), the watcher that is wathing that type of object (e.g., svc in this case), gets called with the obj itself as parameter (so you get there the k8s service object)14:19
digitalsimbojaIn plain words, creating a k-8s service will trigger the service and endpoints handlers in lbaas.py handler. These would in turn create or update KuryrLoadbalancer CRD objects on k8s. Once a KuryrLOadbalnacer CRD object is created, its picked up by the loadbalancer.py handler and call the drivers to create openstack resources?14:21
digitalsimbojaso the job of the loadbalancer hander is to watch out for KuryrLoadbalancer CRDs on k8s. Once its available, it calls the relevant drivers to create the openstack resources matching the CRDs14:23
digitalsimbojaSorry! I needed to repeat to be properly sure I fully understand14:23
ltomasbodigitalsimboja, yep! that sounds right!14:28
digitalsimbojaOkay lets get this too14:35
digitalsimbojakubectl get klb demo -o yaml14:35
digitalsimbojaThis retrieves the KuryrLoadbalancer CRD?14:35
*** digitalsimboja has quit IRC14:40
*** dulek has quit IRC15:18
*** ltomasbo has quit IRC16:32
*** opendevreview has quit IRC17:47
*** opendevmeet has joined #openstack-kuryr19:51

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