Monday, 2017-05-29

*** gouthamr has joined #openstack-kuryr00:01
*** salv-orlando has joined #openstack-kuryr00:15
*** salv-orlando has quit IRC00:20
*** vikasc has quit IRC00:32
*** jgriffith has quit IRC01:00
*** vikasc has joined #openstack-kuryr01:02
*** salv-orlando has joined #openstack-kuryr01:16
*** jgriffith has joined #openstack-kuryr01:21
*** salv-orlando has quit IRC01:21
*** yamamoto has joined #openstack-kuryr02:16
*** janki has joined #openstack-kuryr03:44
*** hongbin has joined #openstack-kuryr03:45
*** hongbin has quit IRC04:21
*** aojea has joined #openstack-kuryr04:26
*** janonymous has joined #openstack-kuryr04:28
*** salv-orlando has joined #openstack-kuryr04:29
*** aojea has quit IRC04:30
*** yamamoto has quit IRC05:02
*** ltomasbo|away is now known as ltomasbo05:30
*** yamamoto has joined #openstack-kuryr05:45
*** xiangxinyong has quit IRC06:07
*** xiangxinyong has joined #openstack-kuryr06:08
*** kzaitsev_ws has joined #openstack-kuryr06:23
*** dimak_ has joined #openstack-kuryr06:25
kzaitsev_wsapuimedo: ivc_: irenab: I've been thinking about single entity/single handler design and I think I understand where my confusion comes from.06:27
kzaitsev_wsthe handlers are not named after the entities06:27
kzaitsev_wsthis makes me feel like I can have multiple handlers per entity06:27
kzaitsev_wsif they were PodHandler, EndpointHandler, etc. it would be a lot clearer, that a PodHandler is designed to be the sole entry-point for all things Pod-related06:28
kzaitsev_wsinstead it's a vif-handler and it feels like I can have multi-vif handler or something optional there.06:29
kzaitsev_wsanyway. thanks for reviews, would go through the comments soon06:30
*** limao has joined #openstack-kuryr06:36
kzaitsev_wsbtw next week is p-2 I don't think it is anything kuryr team needs to do for it. just a heads up =)06:43
irenabkzaitsev_ws, based on past discussions with ivc_ , Handler names where based on the  neutron resulting output06:47
kzaitsev_wsirenab: well, the naming does not hint that handlers actually map to k8s instances06:50
*** limao_ has joined #openstack-kuryr06:50
kzaitsev_wsand that was the cause of my confusion =)06:51
*** limao has quit IRC06:53
kzaitsev_wsI don't suggest that it should be renamed. But I hope to raise this question if someone else trips over those names in future =)06:58
irenabkzaitsev_ws, it was also my argument with ivc_ ... the mapping to k8s entity is inside the Handler06:59
*** salv-orl_ has joined #openstack-kuryr07:04
*** gouthamr has quit IRC07:05
*** salv-orlando has quit IRC07:07
*** aojea has joined #openstack-kuryr07:20
*** aojea has quit IRC07:20
*** aojea has joined #openstack-kuryr07:20
*** limao_ has quit IRC07:37
*** egonzalez has joined #openstack-kuryr07:43
*** apuimedo has quit IRC07:54
*** apuimedo has joined #openstack-kuryr07:55
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr-kubernetes master: devstack: Add configuration for kubelet probes  https://review.openstack.org/46810008:03
openstackgerritMarco Chiappero proposed openstack/kuryr-kubernetes master: Refactor the class hierarchy of controller drivers  https://review.openstack.org/46351909:46
ivc_irenab, kzaitsev_ws, the idea was not to have a single handler per k8s entity (quite contrary) as it is possible we might need some other sort of handler for pod events10:44
ivc_irenab, kzaitsev_ws, but in case of sr-iov it fits the vifhandler purpose since the outcome of sr-iov handler is the same as the current vif handler10:45
ivc_irenab, kzaitsev_ws, so for example there could be a e.g. a VolumeHandler that also observes pod events, hence the handlers were named after the produced entity instead of the observed entity10:46
ivc_irenab, kzaitsev_ws, and it is also possible to have a multi-k8s-entity handlers (e.g. for logging/monitoring/profiling a single handler can track pods and services), tho there is no use case for that yet, i tried to keep the design as flexible as possible :)10:50
kzaitsev_wsivc_: the thing is. in a real-world scenario sriov vifs would be complementary to regular vif. So it's a bit confusing when you say that the outcome is the same10:53
kzaitsev_wsregular always returns a single vif. sriov might return 0 to N vifs10:53
ivc_kzaitsev_ws i'm suggesting that sriov vifs should not be differentiated from regular vifs10:54
ivc_kzaitsev_ws also note there are some plans on k8s side to add multi-network support10:55
*** yamamoto has quit IRC10:55
*** ashishb_ has quit IRC10:55
ivc_kzaitsev_ws we discussed the need to support multi-vif pods earlier and sriov is just a subset of the multi-vif problem10:57
kzaitsev_wsSo you basically suggest to store all the vifs in a list, and I think it should be possible to store physnet information somewhere inside network info object10:59
ivc_kzaitsev_ws aye11:01
ivc_kzaitsev_ws i'm on a meeting atm, we can discuss it in about 60-90 minutes11:01
kzaitsev_wswell, yep. it feels like it should be possible to do that. The only real problem I see here is that the handler code would become larger and more complex, but as long as everyone's ok with this design direction, I'm ok with it too11:02
kzaitsev_wsivc_: sure, I'll ping you if I have more questions )11:03
kzaitsev_wsjust a bit of reasoning from my side11:03
kzaitsev_wsI initially went with a separate handler/separate cni approach because I was not sure if I would be able to upstream the whole thing and that you folks would want to accept it.11:05
kzaitsev_wsSo I went with the design, that minimises changes to existing handlers/cni.11:06
kzaitsev_wsI have no strong attachment to it, as long as the final implementation would satisfy my usecases =)11:06
*** aojea has quit IRC11:08
*** circ-user-TeTGj has joined #openstack-kuryr11:13
irenabkzaitsev_ws, the way you started is the perfect way to PoC the feature, no changes to the current code and you have the needed functionality working. But as the final desgn I am aligned with ivc_ about SR-IOV and generic port being very similar, so should be served by the same Handler11:22
irenabRegarding multi-vif, I am not sure if its just adding the list or have separate Handler. Maybe this will result in different Vif Driver11:24
ivc_irenab kzaitsev_ws that being said we can probably use the sr-iov handler as a base for experimenting with multi-vif handler11:24
irenabivc_, +111:24
ivc_irenab i expect that instead of calling a single vif driver the handler will call all configured drivers (and stevedore supports such 'broadcasts' too)11:28
irenabivc_, this is what I meant by different Vif drivers. Seems we are aligned11:29
ivc_irenab as always :)11:30
kzaitsev_wsirenab: ivc_: thanks, I'll work with the spec to reflect these ideas11:30
ivc_kzaitsev_ws i think it would be fine to mention both your current approach and the multi-vif approach in the spec and state that for the initial (experimental) implementation you will follow the current approach of separate handler11:31
kzaitsev_wsat least as alternative, yes.11:34
ivc_kzaitsev_ws i.e. i'm ok with having the current proposed poc implementation in tree if we will update it (e.g. merge with the vifhandler) later, unless others (irenab, apuimedo) have any objections11:34
irenabI am ok with this once spec states phase 1 (current) and phase 2 (single Handler) approach11:37
kzaitsev_wsoh, that's an interesting path forward indeed. It may be a good idea if multi-vif design discussion would start to take too much time.11:37
irenabbut if the diff is not that big, prefer going directly to phase 211:38
kzaitsev_wsirenab: yeah. So far I feel optimistic about doing it right in the second attempt =)11:39
*** salv-orl_ has quit IRC11:40
*** yamamoto has joined #openstack-kuryr11:44
*** yamamoto_ has joined #openstack-kuryr11:44
*** yamamoto has quit IRC11:48
*** janki has quit IRC12:05
irenabapuimedo, ping12:12
irenabltomasbo, ping12:18
*** salv-orlando has joined #openstack-kuryr12:20
*** pcaruana has joined #openstack-kuryr12:20
ltomasboirenab, pong12:30
irenabltomasbo, regarding the devstack-heat patch. I suceeded to deploy the nova server, but its seems to be no devstack on it. What result did you have?12:31
ltomasbosame here12:32
ltomasboI think it just prepares everything to just do the .stack.sh12:32
irenabI also checked the port, and it is not the trunk one. I am not sure if it is supposed to be12:33
irenabso basically it is an alternative to vagrant12:34
ltomasboirenab, yes, I think it is just to deploy a VM where you install your devstack with the desired patch12:35
ltomasboso, no trunk ports or the like12:35
ltomasboI believe it is mainly to make it easy to CI different patches12:36
apuimedoirenab: pong12:36
irenabfor some reason I was expecting devstack to be running inside the VM. Will leave comment at the patch README12:36
apuimedoirenab: ltomasbo: it should be stacking it all12:36
apuimedoit takes about 30minutes12:36
apuimedoin my environment12:36
apuimedobut when it is done, it creates an empty file called "ready" in /opt/stack12:37
irenabapuimedo, I ssh-ed into the VM and only see /opt/stack12:37
*** yamamoto_ has quit IRC12:37
irenabany way to see the progress?12:37
apuimedoirenab: yes12:37
apuimedojournalctl -f12:37
*** yamamoto has joined #openstack-kuryr12:37
apuimedoyou see everything the system is doing12:37
apuimedocloud-init is the entries you should check for12:37
ltomasboumm, I believe it did not stack for me either12:38
apuimedo(but strangely enough 'journalctl -u cloud-init' does not filter well12:38
apuimedoltomasbo: please, check your journal for errors12:38
ltomasbobut maybe I miss something, but tried just the .stack.sh and worked12:38
irenabno journsl files were found ..12:39
ltomasboI'll give it another try later then12:39
apuimedoirenab: sudo journalctl -b12:40
apuimedovikasc: ping12:45
vikascapuimedo, hi12:45
apuimedovikasc: could you pleaes review and merge if appropriate https://review.openstack.org/#/c/468100/ ?12:46
vikascsure apuimedo12:46
apuimedothanks vikasc!12:47
vikascyw!12:47
apuimedosame with https://review.openstack.org/#/c/436875/ vikasc12:47
apuimedoI want to start getting things in before p-212:48
vikascsure,  in mid of something, will do at night for sure.12:49
vikascapuimedo,12:49
apuimedothanks vikasc12:50
*** aojea has joined #openstack-kuryr12:52
*** janki has joined #openstack-kuryr12:52
*** janki has quit IRC12:54
vikascyw!12:57
*** salv-orl_ has joined #openstack-kuryr13:04
*** salv-orlando has quit IRC13:07
apuimedoltomasbo: where did you try it?13:08
apuimedoIs it also on a devstack installed openstack?13:08
apuimedolike irenab ?13:08
ltomasbobuff, plenty of tests lately13:08
ltomasbono, it was an RDO installed openstack (I believe)13:09
apuimedointeresting13:09
apuimedoIn irena's case the issue is that sudo fails13:09
apuimedo"sudo: sorry, you must have a tty to run sudo"13:09
ltomasboI can try to test it later, but I need to complete some other tsted/demo configuration before13:11
apuimedosure13:11
openstackgerritMerged openstack/kuryr-libnetwork master: Switch to devstack for installing etcd  https://review.openstack.org/46771813:13
openstackgerritMerged openstack/kuryr-kubernetes master: Adding support for vif pool driver  https://review.openstack.org/43687513:27
apuimedoirenab: I fixed the issue with your setup13:28
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr-kubernetes master: contrib: Add devstack-heat  https://review.openstack.org/46629113:36
dmelladoapuimedo: that sounds like a regular issue13:40
apuimedoltomasbo: irenab: This should make it work for both of you ^^13:40
* dmellado recalls smthing abotu !requiretty13:40
dmelladoabout13:40
dmelladofor the sudo thing13:40
dmelladodid you check that out?13:40
apuimedodmellado: it doesn't happen in tonicloud though13:40
apuimedodmellado: what should I check?13:41
dmelladosed -i -e 's/Defaults    requiretty.*/ #Defaults    requiretty/g' /etc/sudoers13:41
dmelladoxD13:41
dmelladoapuimedo: btw, before I forget, irenab I just realized that there are some days off in Israel this week13:43
dmelladoI originally planned to do a brainstorming meeting this week re: functional testing and kuryr-k8s tempest plugin13:43
dmelladobut I would've liked for you to attend13:43
dmelladomaybe we can shift it to next week if it'd make it easier for you to be there13:44
apuimedodmellado: make it wed next week maybe then13:44
apuimedotuesday I'll be a zombie13:44
dmelladoheh, just like always then? :D13:45
dmelladoapuimedo: when are you coming back?13:45
apuimedoI fly tuesday at 5 am13:56
apuimedoso I suppose I'll be home at 11am13:56
*** jgriffith has quit IRC14:00
*** jgriffith has joined #openstack-kuryr14:01
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr-libnetwork master: Updated from global requirements  https://review.openstack.org/46137614:06
*** jgriffith_ has joined #openstack-kuryr14:12
openstackgerritMarco Chiappero proposed openstack/kuryr-kubernetes master: Add MACVLAN based interfaces for nested containers  https://review.openstack.org/44066914:28
*** jgriffith is now known as Guest5539914:32
*** jgriffith_ is now known as jgriffith14:32
*** Guest55399 has joined #openstack-kuryr14:32
*** hongbin has joined #openstack-kuryr14:37
*** salv-orl_ has quit IRC14:54
*** salv-orlando has joined #openstack-kuryr14:55
*** salv-orlando has quit IRC14:59
*** dell has joined #openstack-kuryr15:04
*** salv-orlando has joined #openstack-kuryr15:16
*** dell is now known as zengchen15:21
*** gouthamr has joined #openstack-kuryr15:34
*** ltomasbo is now known as ltomasbo|away15:56
*** aojea has quit IRC16:01
*** aojea has joined #openstack-kuryr16:02
*** aojea has quit IRC16:06
*** dimak_ has quit IRC16:07
*** pcaruana has quit IRC16:17
*** egonzalez has quit IRC16:21
*** zengchen has quit IRC16:39
*** pcaruana has joined #openstack-kuryr16:45
*** gouthamr has quit IRC16:58
*** yamamoto has quit IRC17:06
*** xiangxinyong has quit IRC17:12
*** xiangxinyong has joined #openstack-kuryr17:12
*** aojea has joined #openstack-kuryr17:14
*** gouthamr has joined #openstack-kuryr17:15
*** salv-orlando has quit IRC17:18
*** aojea has quit IRC17:18
*** egonzalez has joined #openstack-kuryr18:04
*** yamamoto has joined #openstack-kuryr18:06
*** yamamoto has quit IRC18:19
*** aojea has joined #openstack-kuryr18:52
*** salv-orlando has joined #openstack-kuryr20:13
*** pcaruana has quit IRC20:24
*** aojea has quit IRC20:58
*** aojea has joined #openstack-kuryr20:59
*** aojea has quit IRC21:03
*** circ-user-TeTGj has quit IRC21:33
*** gouthamr has quit IRC21:37
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr-kubernetes master: devstack: Create infra for K8s API accessing pods  https://review.openstack.org/46724121:49
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr-kubernetes master: devstack: Retrieve column directly  https://review.openstack.org/46896221:49
*** salv-orlando has quit IRC22:12
*** gouthamr has joined #openstack-kuryr22:42
*** egonzalez has quit IRC22:54

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