Thursday, 2017-03-09

*** salv-orlando has quit IRC00:05
*** david-lyle has joined #openstack-kuryr00:08
*** hongbin has quit IRC00:14
*** david-lyle has quit IRC00:15
*** tianquan has joined #openstack-kuryr00:16
*** tianquan has quit IRC00:20
*** saneax is now known as saneax-_-|AFK00:22
*** limao has joined #openstack-kuryr00:23
*** yedongcan has joined #openstack-kuryr00:45
*** david-lyle has joined #openstack-kuryr00:54
*** david-lyle has quit IRC00:54
*** pmannidi has quit IRC01:30
*** salv-orlando has joined #openstack-kuryr01:37
*** salv-orlando has quit IRC01:41
*** david-lyle has joined #openstack-kuryr01:52
*** tianquan has joined #openstack-kuryr02:18
*** tianquan has quit IRC02:22
*** tianquan has joined #openstack-kuryr02:31
*** salv-orlando has joined #openstack-kuryr02:38
*** salv-orlando has quit IRC02:42
*** hongbin has joined #openstack-kuryr03:00
*** salv-orlando has joined #openstack-kuryr03:39
*** salv-orlando has quit IRC03:43
*** tianquan has quit IRC03:48
*** hongbin has quit IRC03:59
*** salv-orlando has joined #openstack-kuryr04:39
*** salv-orlando has quit IRC04:44
*** tianquan has joined #openstack-kuryr04:48
*** tianquan has quit IRC04:53
*** salv-orlando has joined #openstack-kuryr05:40
*** salv-orlando has quit IRC05:45
*** tianquan has joined #openstack-kuryr05:54
*** saneax-_-|AFK is now known as saneax06:03
*** salv-orlando has joined #openstack-kuryr06:33
*** janki has joined #openstack-kuryr07:00
*** yamamoto has quit IRC07:14
irenabvikasc: hi07:16
vikaschi irenab07:17
vikasci pinged you regarding https patch, https://review.openstack.org/#/c/440979/07:17
vikascirenab, in config options , ssl_ca_crt_file is being taken as String type because this will be file path07:18
irenabvikasc: I just went though the doc you shared, added few comments.07:19
vikascirenab, thanks, i will take a look and respond.07:22
*** salv-orl_ has joined #openstack-kuryr07:22
irenabvikasc: checking the patch. My responces today maybe slow, I got sick and not sure how much time will be able to work07:24
vikascirenab, oh, np .. please take proper rest.07:24
irenabvikasc: thanks07:24
*** salv-orlando has quit IRC07:25
irenabvikasc: regardign the string/False config option. Maybe it should default to None?07:25
vikascirenab, anyways i am converting string type "false" to boolean type internally. so i can use "None" also. Or would you prefer a seperate config option like "verify_server_crt" True/False?07:30
*** tianquan has quit IRC07:32
vikascirenab, then to enable https k8s client user will have to set this new parameter also to "True" along with other three file paths, crt,key and ca07:32
irenabvikasc: with None, I think07:32
irenab you don’t even need to mention default value07:32
vikascirenab, cool07:32
irenabvikasc: maybe additional setting is better, it makes clear what is expected07:33
vikascirenab, yeah.. i was not sure that should i add one more config parameter or not07:33
vikascirenab, i too feel it be clearer, will update readme as well07:34
irenabvikasc: check how it is with SSL for kuryr-libnetwork,  https://github.com/openstack/kuryr-libnetwork/blob/master/kuryr_libnetwork/config.py#L4807:34
irenabit has dedicated enable setting07:34
vikascirenab, but that enable has different meaning than here'07:35
*** danil has joined #openstack-kuryr07:35
vikascirenab, in kuryr-libnetwork that say "enable ssl secured kuryr server"07:35
irenabvikasc: it has separation between cert settings and flag is apply it or not07:35
vikascirenab, in kuryr-k8s, it will mean "verify the server certs with CA"07:36
irenabvikasc: the analogy I used is for the separation, not the meaning of the settings. But it can be implicit as well07:37
irenabor even if fail to connect via https, try to fallback07:38
vikascirenab, sounds good07:38
irenabvikasc: another question. Hoe it works for k8s components? How kubelet is configured? Maybe we need same settings07:39
vikascirenab, no, actually.. may be user will not want to compromise on security for the sake of connecting07:39
irenabvikasc: here is a matter of cluster deployment. I think kuryr should follow the same as other k8s Controllers/kubelet07:40
vikascirenab, so i think if user has configured ca file path and it fails.. we should not do failover with "verfiy=False"07:40
vikascirenab, how will kuryr know kubelet https failover behavior?07:43
irenabvikasc: I think its a deployment issue, once admin setups a cluster, he provides each component with required settings.07:44
vikascirenab, so lets provide a config option rather doing failover with http implicitly.07:44
vikascirenab, so that if https fail, admin can change the configuration to "False" which is equivalent to "--insecure"07:45
irenabvikasc: I just suggest to align kuryr settings with what is done for the k8s components. Probably failover is not a good idea, we may need to have some sort of disabling it for the development07:46
vikascirenab, it can be disabled by setting cert and key file path parameters to None in config file. am i still missing your point?07:49
irenabvikasc: this should be enough07:49
irenabDid you check this: https://kubernetes.io/docs/admin/master-node-communication/#cluster---master07:50
vikascirenab, just read it. is there a specific point that you want me to pay attention towards? seems nothing is stated about failover explicitly there.07:55
irenabvikasc: I had more generic question, not related to failover. Since secure API connectivity is cluster wide, I asked if you checked for alignment with other k8s components, such as kubelet/kube-proxy that probabably need similar settings, we better have the same. I think eventually we would like to deploy kuryr components as k8s Pods07:59
*** tianquan has joined #openstack-kuryr07:59
irenabits ok if not yet, we can deal with it later07:59
*** yedongcan has left #openstack-kuryr08:00
vikascirenab, not yet.08:00
vikascirenab, i will take a look08:01
irenabvikasc: sorry for so many questions, I didn’t check these details too. But since kuryr is just an additional component to the k8s deployment, I think we better understand how the whole system works08:03
vikascirenab, your questions are all valid and worth asking. I really appreciate!08:03
*** janonymous has quit IRC08:04
*** ltomasbo|away is now known as ltomasbo08:11
*** devvesa has joined #openstack-kuryr08:12
*** janonymous has joined #openstack-kuryr08:30
*** irenab has quit IRC08:33
*** irenab_ is now known as irenab08:33
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork master: Checking Tests Run  https://review.openstack.org/43286308:37
*** irenab_ has joined #openstack-kuryr08:42
*** garyloug has joined #openstack-kuryr09:35
*** tianquan has quit IRC09:37
*** yedongcan1 has joined #openstack-kuryr09:43
*** tianquan has joined #openstack-kuryr10:21
irenab_apuimedo: ping10:56
irenab_the new feature policy is to be added into generic kuryr or kuryr-k8s and kuryr-libnetwork projects?10:57
apuimedoirenab_: I'm tempted to just put it in the wiki and link it from the README of all the repos10:58
irenab_apuimedo: sounds reasonable10:59
*** salv-orl_ has quit IRC11:00
*** salv-orlando has joined #openstack-kuryr11:01
*** salv-orlando has quit IRC11:01
*** salv-orlando has joined #openstack-kuryr11:02
apuimedoivc_: please, get https://review.openstack.org/#/c/442866/ in11:17
*** yedongcan1 has left #openstack-kuryr11:25
*** yamamoto has joined #openstack-kuryr11:29
openstackgerritMerged openstack/kuryr-kubernetes master: requirements: add pyroute2 to the runtime reqs  https://review.openstack.org/44286711:33
irenab_apuimedo: https://wiki.openstack.org/wiki/Kuryr#Kuryr_Policies11:34
apuimedoirenab_: nice! Thanks!12:04
irenab_apuimedo: I will add links from the README12:04
apuimedoawesome12:05
openstackgerritBerezovsky Irena proposed openstack/kuryr-kubernetes master: Add Kuryr development policy link to README file.  https://review.openstack.org/44359812:16
*** yamamoto has quit IRC12:21
*** yamamoto has joined #openstack-kuryr12:21
*** limao has quit IRC12:22
*** limao has joined #openstack-kuryr12:22
*** limao has quit IRC12:27
*** salv-orlando has quit IRC12:38
*** garyloug has quit IRC12:43
*** garyloug has joined #openstack-kuryr13:05
*** tianquan has quit IRC13:06
*** yamamoto has quit IRC13:07
*** yamamoto has joined #openstack-kuryr13:13
*** yamamoto has quit IRC13:16
*** yamamoto has joined #openstack-kuryr13:17
*** yamamoto has quit IRC13:21
*** yamamoto has joined #openstack-kuryr13:25
*** salv-orlando has joined #openstack-kuryr13:28
*** danil has quit IRC13:30
*** tianquan has joined #openstack-kuryr13:41
*** limao has joined #openstack-kuryr13:44
*** tianquan has quit IRC13:46
*** limao has quit IRC13:53
*** limao_ has joined #openstack-kuryr13:53
*** limao_ has quit IRC13:55
*** limao has joined #openstack-kuryr13:56
*** janki has quit IRC14:01
*** limao has quit IRC14:07
*** limao has joined #openstack-kuryr14:07
*** limao has quit IRC14:18
*** limao has joined #openstack-kuryr14:19
*** yamamoto has quit IRC14:23
*** limao has quit IRC14:29
*** limao has joined #openstack-kuryr14:30
*** saneax is now known as saneax-_-|AFK14:35
*** limao has quit IRC14:41
*** limao has joined #openstack-kuryr14:41
mchiapperohey folks14:42
mchiapperoplenty of:14:42
mchiappero2017-03-09 14:34:10.067 16727 DEBUG kuryr_kubernetes.cni.api [-] CNI output: {'msg': 'timeout', 'cniVersion': '0.3.0', 'code': 200} _write_dict /opt/stack/kuryr-kubernetes/kuryr_kubernetes/cni/api.py:10114:42
mchiappero2017-03-09 14:34:10.068 16727 DEBUG kuryr_kubernetes.cni.main [-] timed out _timeout /opt/stack/kuryr-kubernetes/kuryr_kubernetes/cni/main.py:9014:42
mchiappero2017-03-09 14:34:10.068 16727 INFO kuryr_kubernetes.watcher [-] Stopped watching '/api/v1/namespaces/default/pods?fieldSelector=metadata.name=test-4-server-2'14:42
mchiapperoany suggestion on how to debug this?14:42
mchiapperothe controller side seems to be clean, no output14:43
mchiapperoeither with VLAN or MACVLAN it's proving impossible to run more than a handful of containers14:43
mchiapperosomething is wrong with either the controller or neutron, in neutron I see many orphan ports14:45
*** hongbin has joined #openstack-kuryr14:52
*** limao has quit IRC14:52
*** limao has joined #openstack-kuryr14:53
*** limao_ has joined #openstack-kuryr15:04
*** limao has quit IRC15:04
*** tianquan has joined #openstack-kuryr15:06
*** tianquan has quit IRC15:12
*** salv-orlando has quit IRC15:14
*** salv-orlando has joined #openstack-kuryr15:15
apuimedomchiappero: ltomasbo is debugging the slowness on the neutron side15:19
apuimedohe found already some interesting things in the flow management15:20
apuimedo(when creating 50 subports it takes several tens of seconds15:20
apuimedoto set up the flows)15:20
apuimedohongbin: ping15:21
hongbinapuimedo: hey15:21
apuimedohongbin: hey!15:22
apuimedohongbin: which distro do you use for kuryr-libnetwork development?15:22
hongbinhongbin: ubuntu15:22
apuimedoxenial?15:22
hongbinyes15:22
apuimedohongbin: can you check what's the latest available pyroute2 package in the repos?15:23
hongbinapt-get install pyroute2?15:23
*** yamamoto has joined #openstack-kuryr15:23
hongbinapuimedo: i can help for that, just let me know the steps to check15:24
apuimedohongbin: apt install python-pyroute215:25
apuimedodon't confirm15:26
apuimedojust check which version it proposes15:26
apuimedoif it's 0.3.5-1 it's bad15:26
hongbinapuimedo: http://paste.openstack.org/show/602083/15:26
apuimedobleh15:27
apuimedothis is gonna be a problem for debian/ubuntu packaging15:27
apuimedoI'll see what can be done15:27
apuimedothanks hongbin15:27
hongbinapuimedo: np15:27
*** limao_ has quit IRC15:28
*** yamamoto has quit IRC15:29
dmelladoapuimedo: I see that you're still lovin' packaging xD15:39
apuimedodmellado: please, put me out of my misery15:39
dmelladoalready wanting a quick death?15:40
apuimedopreferable in a non-painful way15:40
dmelladoyou're youg and have kids! can't do that!15:40
dmelladoxD15:40
dmelladoyoung15:40
apuimedoI'm checking the rdo-packaging octavia and neutron examples15:40
dmelladoxD15:40
apuimedodmellado: they'll take vengeance and rid the world of packages15:40
dmelladoapuimedo: I guess at least by now you'd be over with the packages IRL15:41
dmelladoare you done with on your new house? xD15:41
apuimedostill need to replace the light switches15:41
apuimedodmellado: do you know ansible?15:41
dmelladoyeah, I know it15:42
dmelladoit has some stickers with an stylish 'A' on it, isn't it?15:42
dmelladoxD15:42
apuimedoyes, that's the one15:43
dmelladoso what would you like to do with ansible15:43
dmelladoif it gets to the part of some tripleO integration, I'd politely refuse15:43
dmelladoxD15:43
apuimedojust knowing how much I can bother you tomorrow15:44
apuimedodmellado: I know your price15:44
dmelladobe aware that I have to wake at a 5 am15:44
dmelladoxD15:44
apuimedoyou can sleep on the train15:45
apuimedoor better, take the switch with you15:45
apuimedoplay15:45
apuimedoand then show it to me15:45
apuimedo:P15:45
dmelladoheh, I was thinking actually about bringing it15:45
dmelladoxD15:45
dmelladobut let's see xD15:46
dmelladoI might just bring my kindle so I start reading some stuff15:47
dmelladoonly to fell asleep at page 315:47
apuimedodmellado: I have a book on discrete mathematics that guarantees deep sleep in three pages15:49
dmelladoapuimedo: my girlfriend has decided to get another degree15:49
apuimedomchiappero: do the vifs get patched on the pods?15:49
dmelladoand I'm having to coach her on statistics15:49
dmelladoguaranteed sleep too15:49
dmelladoxD15:49
dmelladobut anyway, I have a few reviews to do too15:50
dmelladoincluding some blueprints15:50
dmelladoso I might try gertty15:50
apuimedonever tried it before15:51
dmelladoI'll show you tomorrow, in case you like it15:51
apuimedocool15:52
mchiapperoapuimedo: patched?15:52
apuimedoI had my own project15:52
apuimedomchiappero: yeah, if the metadata for the vif was added15:52
mchiapperoas annotation?15:52
apuimedodmellado: https://github.com/celebdor/perryt15:52
apuimedomchiappero: right15:52
mchiapperoI'll check, I'm trying to run new tests now so I cleaned up15:53
apuimedomchiappero: very well15:56
apuimedomchiappero: my suspicion is that it got added, but it never got modified to active15:57
apuimedodue to the ovs problem15:57
apuimedoand as such, CNI timed out15:57
mchiapperoapuimedo: I'm forcing the active state in requrest_vif16:00
mchiapperostill no joy16:00
apuimedomchiappero: so in the annotation it shows as active?16:01
mchiapperodo you have the command at hand?16:02
mchiapperois it just describe?16:04
apuimedojust describe16:04
apuimedoin json format16:04
mchiapperoapuimedo: tnx16:08
apuimedoyw16:10
mchiapperodescribe do not support json16:12
mchiapperouhm is there any other way?16:15
apuimedommm16:15
mchiapperofunnily I restarted kubelet and it started16:17
mchiappero(the container)16:17
apuimedomchiappero: kubectl -o json get pods16:17
mchiapperoit's totally random16:17
apuimedomchiappero: it probably had ran out of retries before16:17
apuimedoand restarting the kubelet made cni be called again16:18
*** tianquan has joined #openstack-kuryr16:19
apuimedomchiappero: when did it exactly get stuck?16:20
mchiapperonot it's no longer working16:21
mchiapperoit's always random16:21
mchiapperoit doesn't seem to contain any annotation16:21
mchiapperoI keep restarting the services all the time16:22
mchiapperosometimes I manage to run some tests16:22
mchiapperosometimes it doesn't even start a single container16:22
apuimedomchiappero: you are using ivc_'s services patch (you mentioned services)16:22
mchiapperono16:23
mchiappero(have I?)16:23
mchiapperonow it started a container but took ages16:23
apuimedomchiappero: I assume it is devstack with your macvlan patch16:24
apuimedonothing else16:24
apuimedoright?16:24
mchiapperoright16:24
mchiapperobasic devstack on the host16:24
mchiapperosingle VM, devstack in the VM too16:24
mchiapperoas per VLAN instructions16:25
*** yamamoto has joined #openstack-kuryr16:26
mchiapperoI thing I noticed is that it seems that randomly some macvlan interfaces do not work since the beginning16:26
apuimedomchiappero: ok16:26
apuimedomchiappero: what kind of not working?16:26
mchiapperono connectivity16:26
mchiapperosometimes I start a ping16:27
mchiapperoand starts working after many seconds16:27
apuimedomchiappero: isn't that a result of you forcing the active status?16:27
apuimedowhich means it probably reutrns to kubelet before the allowed address pairs has been applied16:28
mchiapperobut I have horizon open16:28
mchiapperoand it shows it's been added16:28
mchiapperoI thought the same16:28
mchiapperoalso I have the Noopfirewall16:28
mchiapperoso I'm not sure it makes a difference anyway16:29
apuimedomchiappero: maybe you can check the logs of the ovs agent16:30
apuimedoit should mention something about the address pair processing, I supposed16:30
apuimedo*suppose16:30
*** yamamoto has quit IRC16:30
apuimedomchiappero: I thought that's only for sg, not for ip spoofing16:30
mchiapperooh ok16:31
mchiapperoanyway, Neutron is broken16:32
mchiapperobroken by design16:32
mchiapperoyou restart the switch16:33
mchiapperoand loose you connectivity to the VM16:33
mchiapperoI see no annotation16:36
mchiapperobtw, any clue on: NetworkPlugin cni failed on the status hook for pod 'test-1-server-1' - Unexpected command output Device "eth0" does not exist16:38
mchiappero?16:38
apuimedomchiappero: jlibosva found a couple of bugs on neutron with ltomasbo's investigation16:38
apuimedoalso, with the new push instead of pull, the brokenness reduces quite a bit16:39
apuimedomchiappero: well, that message is that somehow the cni driver didn't create the macvlan device, didn't rename it16:39
apuimedoor something is up with that16:39
apuimedogotta go pick up my son16:39
apuimedoI'll be online later16:39
mchiapperook16:40
ltomasbomchiappero, does the VM you created have a eth0?16:40
mchiapperoI understand it's harmless16:40
ltomasboor it is ens... something?16:40
mchiapperono16:40
mchiapperoens316:40
ltomasbothat is the problem (probably)16:40
ltomasboyou need to configure kuryr16:40
ltomasboto indicate the VM nic is ens3 instead16:40
mchiapperoit's already that way16:41
ltomasboumm, seems it is not being read then, as it is trying eth016:41
mchiapperoI don't think that's the problem16:41
mchiapperoit works anyway16:41
mchiapperoand picks the master right16:42
ltomasboumm, so why it tries eth0 then?16:42
mchiapperoI don't know :D16:43
*** tianquan has quit IRC16:45
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Support creating from existing subnetpool  https://review.openstack.org/42659517:03
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Support creating network with pool uuid  https://review.openstack.org/42488917:04
dmelladothat kinda recalls me some weird vagrant bug with some OS's xD17:06
dmelladowhen it happened exactly the same thing17:06
*** devvesa has quit IRC17:07
mchiapperothe bug is openstack17:11
mchiapperoGateway Timeout17:11
mchiapperoThe gateway did not receive a timely response from the upstream server or application.17:11
mchiapperoyou try to use horizon and then it timeouts17:11
mchiapperouhm I suspect the allowed_address_pairs had leftovers17:16
mchiapperoltomasbo: have you ever seen the "Unexpected command output Device "eth0" does not exist." message?17:18
ltomasbono, I don't remember seen that one17:18
mchiapperouhm ok17:19
mchiapperolater I'll test again the VLAN config17:19
mchiapperoand check17:19
ltomasbook17:19
mchiapperouhm I often see neutron-server going to 100%17:23
ltomasboahh, that I see it too17:24
ltomasbo100% of a core, right>17:24
ltomasbo?17:24
mchiapperoyes17:25
mchiapperook, when do we start rewriting neutron? :)17:26
mchiapperoI'm in17:26
ltomasbo:D17:26
mchiappero:D17:26
*** yamamoto has joined #openstack-kuryr17:26
ltomasbowe did some initial research on the time for creating 50 ports17:26
ltomasboand some times it spends as much as 26 seconds just getting the device_settings from the server17:27
mchiapperocool!17:27
mchiapperobut I don't understand17:27
ltomasbobut we saw a few point where we believe it may be improved17:27
mchiapperowhat is that? Is it python? unnecessary trendy decoupling?17:28
mchiapperobad code? bad algorithms?17:28
ltomasboI'm going to test with ovs 2.6 instead of 2.5, as it seems there are some fixed that may help there17:28
mchiapperook, let us know then :)17:28
ltomasbogetting some failures right now compiling the new ovs version, but I will compare results asap17:29
*** yamamoto has quit IRC17:32
mchiapperoI'm afraid the allowed_address_pairs is the problem17:41
mchiapperonot within kuryr, but probably the way it's implemented in neutron/ovs17:41
mchiapperoit could well be the issue you saw17:44
mchiapperoI'm afraid that with VMs is hard to see since they take a long time to start17:44
mchiapperowith containers is different17:44
ltomasboyep, could be17:47
ltomasboI'm not using allowed_address_pairs anyway17:47
ltomasbobut agree with you with the different booting up speed of VMs and containers17:48
*** mattmceuen has joined #openstack-kuryr17:48
ltomasbospecially the amount of them happending at the same time17:48
ltomasboit works good with a few containers at the same time17:48
ltomasbobut when I go over 10, things start to get randomly bad17:48
ltomasbojust to be clear, the case I was evaluating was not even the nested one, just the generic vif17:49
mchiapperoto me it's about 6/8 containers along with 2/3 VMs17:50
mchiapperoIt's a bit of a concern though :/17:51
mchiapperoBTW, I'm sorry for being a bit over, but i've been spending days trying to get something working17:52
mchiapperoit's super frustrating17:53
mchiapperoand I have tons of other things to do17:53
mchiapperoyeah, when I try to clean up after creating many containers I see the neutron ports getting remove slowly17:56
*** garyloug has quit IRC18:01
ltomasbomchiappero, I know the feeling...18:10
*** ltomasbo is now known as ltomasbo|away18:11
mchiapperofrom the behaviour it looks like it's not linear18:16
mchiapperothere is some O(N^2) logic18:16
*** yamamoto has joined #openstack-kuryr18:28
*** yamamoto has quit IRC18:33
*** david-lyle has quit IRC19:14
*** salv-orl_ has joined #openstack-kuryr19:22
*** salv-orlando has quit IRC19:25
*** yamamoto has joined #openstack-kuryr19:30
*** yamamoto has quit IRC19:35
*** salv-orl_ has quit IRC19:37
*** salv-orlando has joined #openstack-kuryr19:38
*** salv-orlando has quit IRC20:08
*** yamamoto has joined #openstack-kuryr20:31
*** yamamoto has quit IRC20:35
*** salv-orlando has joined #openstack-kuryr21:09
apuimedovikasc: you up?21:29
*** yamamoto has joined #openstack-kuryr21:32
*** yamamoto has quit IRC21:38
*** tianquan has joined #openstack-kuryr21:50
*** aojea has joined #openstack-kuryr21:54
*** tianquan has quit IRC22:41
*** aojea has quit IRC23:05
*** saneax-_-|AFK is now known as saneax23:25
*** yamamoto_ has joined #openstack-kuryr23:35
*** yamamoto_ has quit IRC23:40
*** pmannidi has joined #openstack-kuryr23:44

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