Wednesday, 2021-05-26

*** ccamposr has quit IRC00:09
*** ccamposr has joined #openstack-kuryr00:09
*** ccamposr has quit IRC00:13
*** ccamposr has joined #openstack-kuryr00:13
*** ccamposr has quit IRC00:21
*** ccamposr has joined #openstack-kuryr00:21
*** ccamposr has quit IRC00:31
*** ccamposr has joined #openstack-kuryr00:34
*** ccamposr has quit IRC00:58
*** ccamposr has joined #openstack-kuryr00:58
*** ccamposr has quit IRC01:11
*** ccamposr has joined #openstack-kuryr01:11
*** ccamposr has quit IRC01:23
openstackgerritXinxin Shen proposed openstack/kuryr-kubernetes master: Switch testing to Xena testing runtime  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79308802:57
*** gcheresh has joined #openstack-kuryr05:00
*** ltomasbo has joined #openstack-kuryr06:16
*** dulek has joined #openstack-kuryr08:16
*** ccamposr has joined #openstack-kuryr08:25
*** digitalsimboja has joined #openstack-kuryr09:02
digitalsimbojaHelllo @Maysa, @ltomasbo: Good morning09:07
digitalsimbojaI have added an update on the Trello cards09:07
digitalsimbojalet me know when we can speak09:08
digitalsimbojaThanks09:08
ltomasbodigitalsimboja, good morning! let me check the trello09:08
digitalsimbojaThanks09:08
ltomasbomaysams, ^09:10
ltomasbodigitalsimboja, if I understand the trello card comment, you want to have a video call where we go over those interactions?09:26
digitalsimbojaYes sure09:27
digitalsimbojaI want to understand the interactions09:28
*** f0o has quit IRC09:32
*** f0o has joined #openstack-kuryr09:48
maysamsdigitalsimboja: hey o/ did you go over this two docs?10:33
maysamshttps://docs.openstack.org/kuryr-kubernetes/latest/devref/kuryr_kubernetes_design.html10:33
maysamshttps://docs.openstack.org/kuryr-kubernetes/latest/installation/services.html10:33
maysamss/this/these10:33
maysamsdigitalsimboja: do you have any specific questions?10:34
digitalsimbojaThanks, My doubts has been cleared by Luis. Now when I look at the materials you shared it is clear to me10:45
digitalsimbojaBY the way I was also asking about using 4GB RAM on the vagrant VM, Luis has tested that as well and it works for him10:45
digitalsimbojaso I will need to setup again using 4GB RAM on the vagrant VM10:46
maysamsdigitalsimboja: great! Feel free to share any questions/concerns here in the channel10:48
maysamsdigitalsimboja: this way ltomasbo and I can help you together10:49
maysamsor also the other folks from the community10:49
digitalsimbojaAlright Thanks10:52
digitalsimbojaNow I am understanding10:53
ltomasbodigitalsimboja, regarding CRDs, they are Custom Resource Definition on Kubernetes10:53
digitalsimbojaCRDs are created by Kuryr right?10:53
ltomasbodigitalsimboja, that was introduced not so long ago in kuryr, and it is used as kind of the source of truth. They have 2 sections, spec and status10:54
ltomasbodigitalsimboja, there are 2 type of handlers on Kuryr, the ones that watch k8s resources (pod, svc, namespaces, ...) and the ones that watch CRDs (specific for kuryr)10:54
ltomasbodigitalsimboja, then, the handlers watching k8s resources will create/update the Kuryr CRDs, filling in the spec information on the CRD10:55
ltomasbodigitalsimboja, and the handlers watching for those Kuryr CRDs will detect those spec modifications, and react by calling the needed drivers to create the needed OpenStack resources, and update the status part of the CRD, with the information about the OpenStack resources10:55
ltomasbodigitalsimboja, so, in a nutshell, the CRD has the k8s object information needed on the spec, and the OpenStack associated resources information on the status10:56
digitalsimbojadoes the CRDs gets stored anywhere or persisted? No?10:57
maysamsyes, etcd10:57
ltomasbodigitalsimboja, it will be great if you start by creating your vagrant/devstack VM, and check those CRD when you create a pod/svc10:57
digitalsimbojaright!10:57
ltomasbodigitalsimboja, tehy are k8s resources, so they are stored in k8s etcd10:57
maysamsmore info about CRDs in Kubernetes https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/10:57
digitalsimbojaright!10:57
digitalsimboja@ltomasbo: I am creating my VM, but its failing on 4GB. Tell me the changes you made that got you succeessful please10:59
ltomasbodigitalsimboja, what is failing? creating the VM? deploying devstack?11:00
ltomasbodigitalsimboja, I'm trying with this local.conf: http://paste.openstack.org/show/805739/11:00
digitalsimbojawhen I run vagrant up it exits11:01
ltomasbobut before doing the "vagrant up", I did "export VAGRANT_KURYR_VM_MEMORY=4096" and "export VAGRANT_KURYR_RUN_DEVSTACK=False"11:01
digitalsimbojalet me use the local.conf and run again11:01
digitalsimbojaohh okay11:02
ltomasbothen, once the VM is up, I do "vagrant ssh", and edit the "devstack/local.conf" with the one I pasted, and then "devstack/stack.sh"11:02
maysamsdigitalsimboja: you might need to destroy the vm in case it already exists with same domain/name11:02
*** digitalsimboja has quit IRC11:13
*** digitalsimboja has joined #openstack-kuryr11:33
*** digitalsimboja has quit IRC11:33
*** digitalsimboja has joined #openstack-kuryr11:33
digitalsimbojahttp://paste.openstack.org/show/805740/11:33
digitalsimbojavagrant up fails here11:34
digitalsimbojaplease take a look11:35
digitalsimbojai think my network connectivity?11:40
maysamsdigitalsimboja: maybe you can try with a different image instead of ubuntu bionic11:51
maysamshttps://app.vagrantup.com/generic/boxes/ubuntu201011:51
maysamsoops, not that one, this one https://app.vagrantup.com/generic/boxes/ubuntu200411:52
*** digitalsimboja has quit IRC11:52
*** digitalsimboja has joined #openstack-kuryr11:53
maysamsdigitalsimboja: in any case you try to ssh into the VM and see if you have internet connectivity11:53
ltomasbodigitalsimboja, maysams yes, I forgot to mention I'm also using ubuntu20 instead11:55
ltomasbodigitalsimboja, you can do "export VAGRANT_KURYR_VM_BOX=generic/ubuntu2004"11:55
ltomasbodigitalsimboja, and recreate the VM11:55
*** digitalsimboja has quit IRC12:07
*** digitalsimboja has joined #openstack-kuryr13:03
ltomasbodigitalsimboja, did it work?13:53
digitalsimbojaquite slow13:53
digitalsimbojaremains 1mins13:53
digitalsimbojasetting up now13:53
digitalsimbojaBy the way, I read this https://docs.openstack.org/kuryr-kubernetes/latest/devref/kuryr_kubernetes_design.html13:55
digitalsimbojaControllerPipeline¶13:55
digitalsimbojaControllerPipeline serves as an event dispatcher of the Watcher for Kuryr-K8s controller Service. Currently watched endpoints are ‘pods’, ‘services’ and ‘endpoints’.13:55
digitalsimbojaI guess 'pods', 'services', 'endpoints' are not the only watched event? is that correct?13:56
ltomasboyeah, we also have the CRDs, and also namespaces and network policies14:01
digitalsimbojaAlright noted! Once I sort this out I can handle that via PR then14:14
digitalsimbojaso waiting for my machine to finish the setup14:14
digitalsimbojahttp://paste.openstack.org/show/805756/14:36
digitalsimbojasupposed to pick it automatically?14:36
ltomasbodigitalsimboja, yep14:37
ltomasbocan you share your local.conf and the output of "ip a" on your VM?14:38
digitalsimbojaThe host ip field is not set on local.conf14:38
digitalsimbojahttp://paste.openstack.org/show/805757/14:38
*** digitalsimboja has quit IRC14:50
*** digitalsimboja has joined #openstack-kuryr14:52
digitalsimbojaso14:54
ltomasbodigitalsimboja, first, use this local.conf instead: http://paste.openstack.org/show/805739/ (as the other one is with the old way for devstack)14:58
ltomasbodigitalsimboja, the host IP should be obtained automatically, unless you VM did not pick up any IP, that is why I wanted to know the output of "ip a" in your VM14:59
digitalsimbojahttp://paste.openstack.org/show/805758/15:00
ltomasbodigitalsimboja, that looks good, and it should have pick 10.0.2.15 as host ip15:04
ltomasbodoes the VM has connectivity to the outside world? can you ping 1.1.1.1 for instance?15:04
digitalsimbojayeah sure15:05
digitalsimbojaI can ping that15:06
*** digitalsimboja has quit IRC15:07
*** digitalsimboja has joined #openstack-kuryr15:08
digitalsimbojasomehow it manages not to pick it up15:12
*** dmellado has quit IRC15:14
digitalsimbojaing on #openstack-kuryr15:15
digitalsimboja<digitalsimboja> somehow it manages not to pick it up15:15
digitalsimboja* dmellado has quit (Quit: ZNC - https://znc.in)15:15
*** dmellado has joined #openstack-kuryr15:15
ltomasbodigitalsimboja, strange, and you are now using ubuntu 20.04, right?15:17
digitalsimbojasure15:18
ltomasbodigitalsimboja, you can try setting it up (in case you have some iptable rules blocking some traffic on the host or something15:18
ltomasbodigitalsimboja, so, try setting HOST_IP=10.0.2.15 on your local.conf, and stack.sh again15:18
digitalsimbojalet me get that15:19
digitalsimbojahttp://paste.openstack.org/show/805766/15:33
*** digitalsimboja has quit IRC15:33
*** digitalsimboja has joined #openstack-kuryr15:34
ltomasbodigitalsimboja, how have you set up the host_ip on the local.conf? seems it did not see it15:35
digitalsimbojahttp://paste.openstack.org/show/805767/15:39
ltomasbodigitalsimboja, no idea, perhaps you VM ip range collides with the default FIXED_RANGE15:44
ltomasbocan you also add FIXED_RANGE=10.0.0.0/24 (so that it does not take the default 10.0.0.0/22)15:44
*** digitalsimboja has quit IRC15:48
*** ltomasbo has quit IRC16:16
*** irclogbot_1 has quit IRC17:43
*** irclogbot_0 has joined #openstack-kuryr17:48
*** openstack has quit IRC18:09
*** openstack has joined #openstack-kuryr18:09
*** ChanServ sets mode: +o openstack18:09
*** dmellado has quit IRC18:39
*** dmellado has joined #openstack-kuryr18:39
*** dmellado has quit IRC20:37
*** dmellado has joined #openstack-kuryr20:38
*** openstack has joined #openstack-kuryr21:24
*** ChanServ sets mode: +o openstack21:24
*** gcheresh has quit IRC21:36

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