*** ccamposr has quit IRC | 00:09 | |
*** ccamposr has joined #openstack-kuryr | 00:09 | |
*** ccamposr has quit IRC | 00:13 | |
*** ccamposr has joined #openstack-kuryr | 00:13 | |
*** ccamposr has quit IRC | 00:21 | |
*** ccamposr has joined #openstack-kuryr | 00:21 | |
*** ccamposr has quit IRC | 00:31 | |
*** ccamposr has joined #openstack-kuryr | 00:34 | |
*** ccamposr has quit IRC | 00:58 | |
*** ccamposr has joined #openstack-kuryr | 00:58 | |
*** ccamposr has quit IRC | 01:11 | |
*** ccamposr has joined #openstack-kuryr | 01:11 | |
*** ccamposr has quit IRC | 01:23 | |
openstackgerrit | Xinxin Shen proposed openstack/kuryr-kubernetes master: Switch testing to Xena testing runtime https://review.opendev.org/c/openstack/kuryr-kubernetes/+/793088 | 02:57 |
---|---|---|
*** gcheresh has joined #openstack-kuryr | 05:00 | |
*** ltomasbo has joined #openstack-kuryr | 06:16 | |
*** dulek has joined #openstack-kuryr | 08:16 | |
*** ccamposr has joined #openstack-kuryr | 08:25 | |
*** digitalsimboja has joined #openstack-kuryr | 09:02 | |
digitalsimboja | Helllo @Maysa, @ltomasbo: Good morning | 09:07 |
digitalsimboja | I have added an update on the Trello cards | 09:07 |
digitalsimboja | let me know when we can speak | 09:08 |
digitalsimboja | Thanks | 09:08 |
ltomasbo | digitalsimboja, good morning! let me check the trello | 09:08 |
digitalsimboja | Thanks | 09:08 |
ltomasbo | maysams, ^ | 09:10 |
ltomasbo | digitalsimboja, if I understand the trello card comment, you want to have a video call where we go over those interactions? | 09:26 |
digitalsimboja | Yes sure | 09:27 |
digitalsimboja | I want to understand the interactions | 09:28 |
*** f0o has quit IRC | 09:32 | |
*** f0o has joined #openstack-kuryr | 09:48 | |
maysams | digitalsimboja: hey o/ did you go over this two docs? | 10:33 |
maysams | https://docs.openstack.org/kuryr-kubernetes/latest/devref/kuryr_kubernetes_design.html | 10:33 |
maysams | https://docs.openstack.org/kuryr-kubernetes/latest/installation/services.html | 10:33 |
maysams | s/this/these | 10:33 |
maysams | digitalsimboja: do you have any specific questions? | 10:34 |
digitalsimboja | Thanks, My doubts has been cleared by Luis. Now when I look at the materials you shared it is clear to me | 10:45 |
digitalsimboja | BY the way I was also asking about using 4GB RAM on the vagrant VM, Luis has tested that as well and it works for him | 10:45 |
digitalsimboja | so I will need to setup again using 4GB RAM on the vagrant VM | 10:46 |
maysams | digitalsimboja: great! Feel free to share any questions/concerns here in the channel | 10:48 |
maysams | digitalsimboja: this way ltomasbo and I can help you together | 10:49 |
maysams | or also the other folks from the community | 10:49 |
digitalsimboja | Alright Thanks | 10:52 |
digitalsimboja | Now I am understanding | 10:53 |
ltomasbo | digitalsimboja, regarding CRDs, they are Custom Resource Definition on Kubernetes | 10:53 |
digitalsimboja | CRDs are created by Kuryr right? | 10:53 |
ltomasbo | digitalsimboja, 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 status | 10:54 |
ltomasbo | digitalsimboja, 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 |
ltomasbo | digitalsimboja, then, the handlers watching k8s resources will create/update the Kuryr CRDs, filling in the spec information on the CRD | 10:55 |
ltomasbo | digitalsimboja, 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 resources | 10:55 |
ltomasbo | digitalsimboja, so, in a nutshell, the CRD has the k8s object information needed on the spec, and the OpenStack associated resources information on the status | 10:56 |
digitalsimboja | does the CRDs gets stored anywhere or persisted? No? | 10:57 |
maysams | yes, etcd | 10:57 |
ltomasbo | digitalsimboja, it will be great if you start by creating your vagrant/devstack VM, and check those CRD when you create a pod/svc | 10:57 |
digitalsimboja | right! | 10:57 |
ltomasbo | digitalsimboja, tehy are k8s resources, so they are stored in k8s etcd | 10:57 |
maysams | more info about CRDs in Kubernetes https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/ | 10:57 |
digitalsimboja | right! | 10:57 |
digitalsimboja | @ltomasbo: I am creating my VM, but its failing on 4GB. Tell me the changes you made that got you succeessful please | 10:59 |
ltomasbo | digitalsimboja, what is failing? creating the VM? deploying devstack? | 11:00 |
ltomasbo | digitalsimboja, I'm trying with this local.conf: http://paste.openstack.org/show/805739/ | 11:00 |
digitalsimboja | when I run vagrant up it exits | 11:01 |
ltomasbo | but before doing the "vagrant up", I did "export VAGRANT_KURYR_VM_MEMORY=4096" and "export VAGRANT_KURYR_RUN_DEVSTACK=False" | 11:01 |
digitalsimboja | let me use the local.conf and run again | 11:01 |
digitalsimboja | ohh okay | 11:02 |
ltomasbo | then, 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 |
maysams | digitalsimboja: you might need to destroy the vm in case it already exists with same domain/name | 11:02 |
*** digitalsimboja has quit IRC | 11:13 | |
*** digitalsimboja has joined #openstack-kuryr | 11:33 | |
*** digitalsimboja has quit IRC | 11:33 | |
*** digitalsimboja has joined #openstack-kuryr | 11:33 | |
digitalsimboja | http://paste.openstack.org/show/805740/ | 11:33 |
digitalsimboja | vagrant up fails here | 11:34 |
digitalsimboja | please take a look | 11:35 |
digitalsimboja | i think my network connectivity? | 11:40 |
maysams | digitalsimboja: maybe you can try with a different image instead of ubuntu bionic | 11:51 |
maysams | https://app.vagrantup.com/generic/boxes/ubuntu2010 | 11:51 |
maysams | oops, not that one, this one https://app.vagrantup.com/generic/boxes/ubuntu2004 | 11:52 |
*** digitalsimboja has quit IRC | 11:52 | |
*** digitalsimboja has joined #openstack-kuryr | 11:53 | |
maysams | digitalsimboja: in any case you try to ssh into the VM and see if you have internet connectivity | 11:53 |
ltomasbo | digitalsimboja, maysams yes, I forgot to mention I'm also using ubuntu20 instead | 11:55 |
ltomasbo | digitalsimboja, you can do "export VAGRANT_KURYR_VM_BOX=generic/ubuntu2004" | 11:55 |
ltomasbo | digitalsimboja, and recreate the VM | 11:55 |
*** digitalsimboja has quit IRC | 12:07 | |
*** digitalsimboja has joined #openstack-kuryr | 13:03 | |
ltomasbo | digitalsimboja, did it work? | 13:53 |
digitalsimboja | quite slow | 13:53 |
digitalsimboja | remains 1mins | 13:53 |
digitalsimboja | setting up now | 13:53 |
digitalsimboja | By the way, I read this https://docs.openstack.org/kuryr-kubernetes/latest/devref/kuryr_kubernetes_design.html | 13:55 |
digitalsimboja | ControllerPipeline¶ | 13:55 |
digitalsimboja | ControllerPipeline serves as an event dispatcher of the Watcher for Kuryr-K8s controller Service. Currently watched endpoints are ‘pods’, ‘services’ and ‘endpoints’. | 13:55 |
digitalsimboja | I guess 'pods', 'services', 'endpoints' are not the only watched event? is that correct? | 13:56 |
ltomasbo | yeah, we also have the CRDs, and also namespaces and network policies | 14:01 |
digitalsimboja | Alright noted! Once I sort this out I can handle that via PR then | 14:14 |
digitalsimboja | so waiting for my machine to finish the setup | 14:14 |
digitalsimboja | http://paste.openstack.org/show/805756/ | 14:36 |
digitalsimboja | supposed to pick it automatically? | 14:36 |
ltomasbo | digitalsimboja, yep | 14:37 |
ltomasbo | can you share your local.conf and the output of "ip a" on your VM? | 14:38 |
digitalsimboja | The host ip field is not set on local.conf | 14:38 |
digitalsimboja | http://paste.openstack.org/show/805757/ | 14:38 |
*** digitalsimboja has quit IRC | 14:50 | |
*** digitalsimboja has joined #openstack-kuryr | 14:52 | |
digitalsimboja | so | 14:54 |
ltomasbo | digitalsimboja, 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 |
ltomasbo | digitalsimboja, 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 VM | 14:59 |
digitalsimboja | http://paste.openstack.org/show/805758/ | 15:00 |
ltomasbo | digitalsimboja, that looks good, and it should have pick 10.0.2.15 as host ip | 15:04 |
ltomasbo | does the VM has connectivity to the outside world? can you ping 1.1.1.1 for instance? | 15:04 |
digitalsimboja | yeah sure | 15:05 |
digitalsimboja | I can ping that | 15:06 |
*** digitalsimboja has quit IRC | 15:07 | |
*** digitalsimboja has joined #openstack-kuryr | 15:08 | |
digitalsimboja | somehow it manages not to pick it up | 15:12 |
*** dmellado has quit IRC | 15:14 | |
digitalsimboja | ing on #openstack-kuryr | 15:15 |
digitalsimboja | <digitalsimboja> somehow it manages not to pick it up | 15:15 |
digitalsimboja | * dmellado has quit (Quit: ZNC - https://znc.in) | 15:15 |
*** dmellado has joined #openstack-kuryr | 15:15 | |
ltomasbo | digitalsimboja, strange, and you are now using ubuntu 20.04, right? | 15:17 |
digitalsimboja | sure | 15:18 |
ltomasbo | digitalsimboja, you can try setting it up (in case you have some iptable rules blocking some traffic on the host or something | 15:18 |
ltomasbo | digitalsimboja, so, try setting HOST_IP=10.0.2.15 on your local.conf, and stack.sh again | 15:18 |
digitalsimboja | let me get that | 15:19 |
digitalsimboja | http://paste.openstack.org/show/805766/ | 15:33 |
*** digitalsimboja has quit IRC | 15:33 | |
*** digitalsimboja has joined #openstack-kuryr | 15:34 | |
ltomasbo | digitalsimboja, how have you set up the host_ip on the local.conf? seems it did not see it | 15:35 |
digitalsimboja | http://paste.openstack.org/show/805767/ | 15:39 |
ltomasbo | digitalsimboja, no idea, perhaps you VM ip range collides with the default FIXED_RANGE | 15:44 |
ltomasbo | can 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 IRC | 15:48 | |
*** ltomasbo has quit IRC | 16:16 | |
*** irclogbot_1 has quit IRC | 17:43 | |
*** irclogbot_0 has joined #openstack-kuryr | 17:48 | |
*** openstack has quit IRC | 18:09 | |
*** openstack has joined #openstack-kuryr | 18:09 | |
*** ChanServ sets mode: +o openstack | 18:09 | |
*** dmellado has quit IRC | 18:39 | |
*** dmellado has joined #openstack-kuryr | 18:39 | |
*** dmellado has quit IRC | 20:37 | |
*** dmellado has joined #openstack-kuryr | 20:38 | |
*** openstack has joined #openstack-kuryr | 21:24 | |
*** ChanServ sets mode: +o openstack | 21:24 | |
*** gcheresh has quit IRC | 21:36 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!