Friday, 2017-09-22

*** kiennt has joined #openstack-kuryr00:36
*** kiennt_ has joined #openstack-kuryr00:58
*** kiennt_ has quit IRC00:59
*** kiennt has quit IRC00:59
*** kiennt has joined #openstack-kuryr00:59
*** kiennt_ has joined #openstack-kuryr01:01
*** kiennt_ has quit IRC01:01
*** kiennt has quit IRC01:01
*** kiennt has joined #openstack-kuryr01:01
*** kiennt has quit IRC01:05
*** kiennt has joined #openstack-kuryr01:05
*** kiennt26 has joined #openstack-kuryr01:06
*** kiennt has quit IRC01:06
*** kiennt26 has quit IRC01:19
*** kiennt has joined #openstack-kuryr01:19
*** hongbin has joined #openstack-kuryr01:22
*** gouthamr has quit IRC01:35
*** kiennt is now known as kiennt_AWAY01:36
*** gouthamr has joined #openstack-kuryr01:36
*** caowei has joined #openstack-kuryr01:39
*** hongbin_ has joined #openstack-kuryr01:45
*** hongbin has quit IRC01:47
*** wangbo has joined #openstack-kuryr02:13
*** kiennt_AWAY is now known as kiennt02:20
*** c00281451_ has quit IRC03:06
*** edisonxiang_ is now known as edisonxiang03:06
*** gouthamr has quit IRC03:10
*** caowei has quit IRC03:47
*** caowei has joined #openstack-kuryr03:48
*** hongbin_ has quit IRC03:58
*** wangbo has quit IRC04:27
*** janki has joined #openstack-kuryr04:47
*** kiennt has quit IRC04:53
*** wangbo has joined #openstack-kuryr05:23
*** aojea has joined #openstack-kuryr05:44
*** aojea has quit IRC05:46
*** aojea has joined #openstack-kuryr05:46
*** wangbo has quit IRC06:10
*** c00281451 has joined #openstack-kuryr06:17
*** c00281451 is now known as zengchen06:17
*** yamamoto has quit IRC06:41
*** yamamoto has joined #openstack-kuryr06:45
*** pcaruana has joined #openstack-kuryr07:34
*** egonzalez has joined #openstack-kuryr07:44
*** zengchen has quit IRC08:02
*** zengchen has joined #openstack-kuryr08:02
*** ashishb_ has quit IRC08:05
*** wangbo has joined #openstack-kuryr08:33
*** vikasc has quit IRC09:01
*** livelace has joined #openstack-kuryr09:03
livelaceapuimedo, ltomasbo Hello guys, were there any cases when you connected _physical_ nodes to the trunk ports ? I'm trying to combine physical and virtual nodes09:07
ltomasbolivelace, I'm not sure I got the question09:08
ltomasboyou mean with trunks with ironic? or what?09:09
ltomasboI've only used for VMs, where the VM is connected to the trunk, and then attaching subports to the trunk for the nested containers09:10
livelaceltomasbo, In default case, your kubernetes/openshift nodes are virtual machines, which connected to a virtual network with OVS, but I have several physical openshift nodes which I want to connect to that virtual network09:10
ltomasbobut then you don't need trunk ports09:11
ltomasbothat is the kuryr default (baremetal) case09:11
livelaceHm09:11
ltomasbowhere you need to install neutron agents into the openshift physical nodes09:11
ltomasboand kuryr-cni09:11
livelaceHm09:12
livelaceIt's interesting09:12
ltomasbothen, your containers will be plugged into ovs by kuryr-cni09:12
livelaceDo you mean I need to install only neutron agents ... it's interesting ...09:12
ltomasboyou also need ovs ofc09:12
livelaceyes, I understood09:13
*** vikasc has joined #openstack-kuryr09:13
ltomasboand in the openshift case09:13
livelaceDoes it work for you ?09:13
ltomasboyou will need to force it to use kuryr-cni as sdn, instead of openshift-sdn09:13
livelaceIs there any installation ?09:13
livelaceltomasbo, Yes, I know09:13
livelaceIs there any installation with baremetal nodes ? Do you use it anywhere ?09:14
ltomasboactually, the default devstack installation is for that case (with kubernetes instead of openshifT)09:14
ltomasboyou deploy a kubernetes cluster in the local node (usually VM) and the neutron server/agents09:14
livelaceltomasbo, Any documentation ?09:14
ltomasboand the containers are connected directly to the ovs br-int09:15
ltomasbolivelace, yes09:15
livelaceCool, where ? :)09:15
ltomasbohttps://github.com/openstack/kuryr-kubernetes/blob/master/doc/source/installation/manual.rst09:16
ltomasbohttps://ltomasbo.wordpress.com/2017/01/29/side-by-side-and-nested-kubernetes-and-openstack-deployment-with-kuryr/09:16
livelaceok, saw it before09:17
ltomasbolivelace, perhaps this one also helps: https://docs.google.com/presentation/d/1V4s2JVYLLhaZ873jLOca-30qCcOEoLqdfMUsDs_cRw8/edit#slide=id.p09:17
livelaceanyway, thanks for the direction09:17
livelaceCool09:18
livelaceI saw almost everything about kuryr :)09:18
ltomasbo:D09:18
livelaceCool, guys, I thought that I can attach my nodes to the flat network and work with trunks, but now I see, that case with neutron agents more preferable09:19
livelaceThanks again :)09:19
*** livelace has quit IRC09:19
ltomasboalso, the official documentation may cover some of your questions/issues: https://docs.openstack.org/kuryr-kubernetes/latest/#09:20
*** yamamoto has quit IRC09:41
*** yamamoto has joined #openstack-kuryr09:42
openstackgerritMerged openstack/kuryr-kubernetes master: [Trivial] Doc fix K8S/K8s -> Kubernetes  https://review.openstack.org/49166609:49
*** yamamoto has quit IRC09:50
apuimedoltomasbo: ping09:59
ltomasboapuimedo, pong10:00
apuimedohttps://blueprints.launchpad.net/kuryr-kubernetes/+spec/port-creation-control-plane-perf10:00
apuimedoyou can put that https://review.openstack.org/#/c/504915/ implements https://blueprints.launchpad.net/kuryr-kubernetes/+spec/port-creation-control-plane-perf10:00
apuimedoor partially rather10:00
ltomasbosure10:01
ltomasboshould I add this too:10:01
ltomasbohttps://review.openstack.org/#/c/505605/10:01
apuimedolet's start getting things ready for merging :-)10:01
apuimedoyou did nice work there ;-)10:01
ltomasbothanks!10:02
ltomasbolet me update the commit messages10:02
apuimedoltomasbo: this is deletion flow though10:02
apuimedoso I'll make another blueprint10:02
ltomasboahh, true10:02
ltomasbothen only the first one10:02
ltomasboapuimedo, it seems you didn't complete the last sentence of the blueprint10:03
apuimedoltomasbo: https://blueprints.launchpad.net/kuryr-kubernetes/+spec/port-deletion-control-plane-perf10:05
apuimedoltomasbo: good catch10:06
apuimedofixed now10:06
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Avoid port update neutron call during pods boot up  https://review.openstack.org/50491510:06
apuimedoltomasbo: I can't wait for the outreachy project to add the readiness http endpoint when using pools10:08
apuimedothat will only mark kuryr-controller ready once teh pool is loaded10:08
apuimedoltomasbo: dmellado: did any of you delete ports in the scale env?10:08
apuimedothere used to be >2k and now there's 144810:09
ltomasboI did not10:09
apuimedoor maybe I misunderstood the working of the pool settings10:09
apuimedoand it got deleted by the pool drvier?!10:10
*** wangbo has quit IRC10:10
apuimedoltomasbo: I know I asked this already10:10
apuimedobut let me go through this again10:10
apuimedo(maybe it should have its own chapter in the docs10:11
apuimedo[vif_pool]10:11
apuimedoports_pool_max = 50010:11
apuimedoports_pool_min = 1010:11
apuimedoports_pool_batch = 1010:11
apuimedoports_pool_update_frequency = 18010:11
apuimedothis means that each worker node pool will be at most 500 port wide10:11
apuimedoand at minimum 10 port wide10:11
apuimedoand that everytime that a pool for a worker node has less than 10 ports, it will to a batch creation10:11
apuimedois that right?10:11
ltomasbolet me see10:12
ltomasbothere will be no more than 500 per pool10:12
ltomasboand if a pod gets created taking a port from a pool and the pool has less than 10 ports, another batch (of 10) will be created10:13
ltomasbounless another batch was triggered in the last 180 seconds10:13
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Optimize return_to_pool actions at Pool drivers  https://review.openstack.org/50560510:14
apuimedoaha10:14
apuimedoltomasbo: I know that in the code or docs there was a warning against overlapping actions10:14
apuimedocan you clarify what is the issue with that?10:14
ltomasboahh, I forgot to add the word blueprint in the first patch, let me do it again10:14
apuimedolet's say that 30 pods are scheduled10:14
apuimedoand the batch is 10 and the minimum is 2010:15
apuimedowhy shouldn't we be doing to batch at the same time?10:15
apuimedois it to protect Neutron10:15
apuimedo?10:15
apuimedo(rate limitting)10:15
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Avoid port update neutron call during pods boot up  https://review.openstack.org/50491510:15
apuimedoalso, the 180s are per worker pool, right?10:16
ltomasboper worker pool, right10:16
ltomasboand the problem was that, as the population take some time10:16
ltomasboit may happend that, for example, 5 pods get ports from a pool10:16
ltomasbowhen it is at size 10 (in your example)10:17
ltomasboso the first one will take one (9 remaining) and a population of the pool is trigger10:17
ltomasbowhich will take a few seconds10:17
ltomasbothen, in the mean time, the second pod sees the pool as 8, and would trigger yet another re-population action10:17
ltomasboand you may end up with 5 instead of 110:18
dmelladoapuimedo: nope10:18
dmelladodont' tell me they magically deleted10:18
dmelladoon its own10:18
ltomasboso, the idea is that the update_frequency should be more or less proportional to the time to re-populate one pool10:18
apuimedoltomasbo: IIUC, then, if you have ports_pool_max10:18
apuimedoit doesn't really matter10:18
apuimedodoes it?10:18
apuimedo(if not for rate limitting)10:18
ltomasbowell, it does10:18
ltomasbobecause it will create them anyway (as they are no in the pool until they are ready)10:19
ltomasbothe only different is that then, when pods are deleted, their associated ports will be deleted instead of recovered10:19
ltomasboso, it will lead to a lot more neutron calls10:19
apuimedook10:19
ltomasboapuimedo, note that ports are not delete from the pools when the pools are long, but only when there are ports to be recicled (due to pods being deleted)10:20
ltomasboin that moment is when we check if the pool is long enough so that we don't want to keep it10:20
apuimedoltomasbo: we do a lot of wasteful recycling though10:20
apuimedomost ports won't need any recycling now that we do not change names10:21
ltomasboohh, yes, but this patch fixes that: https://review.openstack.org/#/c/505605/10:21
apuimedoltomasbo: this patch should probably depend on the port debug one10:22
ltomasboand ups... I need to check if port_debug is enabled to skip that call10:22
apuimedobecause if port debug is enabled it should rename the prots10:22
apuimedo;-)10:22
ltomasboyep, it is actually dependent on the previous one10:22
ltomasbobut forgot that part...10:23
ltomasboI'll add it right away!10:23
apuimedo:-)10:23
Guest20940apuimedo , Itomasbo trying the project , can you provide some suggested reading or any suggestion  , for outreachy project ?trying to learn from discussions here :)10:27
Guest20940s/trying the/learning chunks about10:29
*** Guest20940 is now known as deepika10:31
*** deepika is now known as Guest7120710:32
*** caowei has quit IRC10:36
*** caowei has joined #openstack-kuryr10:36
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Optimize return_to_pool actions at Pool drivers  https://review.openstack.org/50560510:39
dmelladoGuest71207: I really do advice that you first try to deploy a devstack with kuryr-k8s10:41
dmelladoyou can check the config at https://github.com/openstack/kuryr-kubernetes/blob/master/devstack/local.conf.sample10:42
dmelladoif you're also not familiar with devstack, you can check the docs here: https://docs.openstack.org/devstack/latest/guides/single-vm.html10:42
Guest71207dmellado sure thing it's in progress ,I am trying with conjure up now :)10:44
dmellado;)10:44
*** caowei has quit IRC10:45
Guest71207get back after it's success ,hope this time everything work fine ...10:47
dmelladoGuest71207: feel free to ping us around in case you get stuck10:47
*** yamamoto has joined #openstack-kuryr10:50
Guest71207:))10:50
*** yamamoto has quit IRC10:57
*** vikasc has quit IRC11:02
*** wangbo has joined #openstack-kuryr11:11
*** vikasc has joined #openstack-kuryr11:20
*** Suramya_ has joined #openstack-kuryr11:21
*** pgadige has joined #openstack-kuryr11:50
*** yamamoto has joined #openstack-kuryr11:56
*** wangbo has quit IRC11:57
*** pgadige has quit IRC12:09
*** apuimedo has quit IRC12:46
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr master: Updated from global requirements  https://review.openstack.org/49604812:52
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-libnetwork master: Updated from global requirements  https://review.openstack.org/50266312:52
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-kubernetes master: Updated from global requirements  https://review.openstack.org/50006012:52
*** Suramya_ has quit IRC12:58
*** apuimedo has joined #openstack-kuryr13:11
*** gouthamr has joined #openstack-kuryr13:24
*** janki has quit IRC13:27
*** Suramya has joined #openstack-kuryr13:40
*** Suramya has quit IRC13:45
*** hongbin has joined #openstack-kuryr14:18
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Add Pool Manager to handle subports  https://review.openstack.org/49869814:42
*** yamamoto has quit IRC15:06
*** yamamoto has joined #openstack-kuryr15:06
*** yamamoto has quit IRC15:07
*** yamamoto has joined #openstack-kuryr15:07
*** yamamoto has quit IRC15:23
*** egonzalez has quit IRC15:25
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Optimize return_to_pool actions at Pool drivers  https://review.openstack.org/50560515:54
*** vikasc has quit IRC16:07
*** yamamoto has joined #openstack-kuryr16:23
*** yamamoto has quit IRC16:30
*** robust has joined #openstack-kuryr17:34
*** hongbin has quit IRC18:11
*** hongbin has joined #openstack-kuryr18:56
*** pcaruana has quit IRC18:56
*** hongbin_ has joined #openstack-kuryr19:55
*** hongbin has quit IRC19:56
*** ltomasbo has quit IRC20:18
*** ltomasbo has joined #openstack-kuryr20:19
*** hongbin_ has quit IRC20:31
*** hongbin has joined #openstack-kuryr20:32
*** hongbin_ has joined #openstack-kuryr20:36
*** hongbin has quit IRC20:38
*** reedip has quit IRC20:41
*** reedip has joined #openstack-kuryr20:52
*** gouthamr has quit IRC20:58
*** hongbin_ has quit IRC21:02
*** hongbin has joined #openstack-kuryr21:02
*** aojea has quit IRC21:42
*** robust has quit IRC21:59
*** gouthamr has joined #openstack-kuryr22:16
*** hongbin_ has joined #openstack-kuryr22:32
*** hongbin has quit IRC22:34
*** gouthamr has quit IRC23:05
*** hongbin_ has quit IRC23:12
*** hongbin has joined #openstack-kuryr23:12
*** hongbin has quit IRC23:16

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