Thursday, 2017-07-20

*** tonanhngo has joined #openstack-kuryr00:06
*** tonanhngo has quit IRC00:10
*** aojea has joined #openstack-kuryr00:14
*** tonanhngo has joined #openstack-kuryr00:15
*** aojea has quit IRC00:19
*** tonanhngo has quit IRC00:20
*** aojea has joined #openstack-kuryr00:24
*** aojea has quit IRC00:28
*** pmannidi has joined #openstack-kuryr00:30
*** c00281451 has joined #openstack-kuryr00:40
*** aojea has joined #openstack-kuryr00:42
*** aojea has quit IRC00:47
*** aojea has joined #openstack-kuryr00:51
*** aojea has quit IRC00:56
*** yamamoto has joined #openstack-kuryr00:56
*** aojea has joined #openstack-kuryr01:00
*** aojea has quit IRC01:04
*** yamamoto has quit IRC01:05
*** yamamoto has joined #openstack-kuryr01:06
*** aojea has joined #openstack-kuryr01:09
*** aojea has quit IRC01:14
*** yamamoto has quit IRC01:18
*** aojea has joined #openstack-kuryr01:18
*** yamamoto has joined #openstack-kuryr01:19
*** aojea has quit IRC01:23
*** yamamoto has quit IRC01:24
*** kiennt has joined #openstack-kuryr01:25
*** aojea has joined #openstack-kuryr01:27
*** aojea has quit IRC01:32
*** yamamoto has joined #openstack-kuryr01:32
*** yamamoto has quit IRC01:35
*** yamamoto has joined #openstack-kuryr01:41
*** yamamoto has quit IRC01:44
*** caowei has joined #openstack-kuryr01:44
*** yamamoto has joined #openstack-kuryr01:45
*** yamamoto has quit IRC01:47
*** yamamoto has joined #openstack-kuryr01:49
*** yamamoto has quit IRC01:50
*** yamamoto has joined #openstack-kuryr01:52
*** yamamoto has quit IRC01:54
*** yamamoto has joined #openstack-kuryr02:13
*** yamamoto has quit IRC02:13
*** yamamoto has joined #openstack-kuryr02:22
*** yedongcan has joined #openstack-kuryr02:26
*** yamamoto has quit IRC02:29
*** yamamoto has joined #openstack-kuryr02:34
*** yamamoto has quit IRC02:36
*** yamamoto has joined #openstack-kuryr02:40
*** yamamoto has quit IRC02:41
*** s1061123 has quit IRC02:47
*** s1061123 has joined #openstack-kuryr03:08
*** caowei has quit IRC03:16
*** s1061123 has quit IRC03:27
*** s1061123 has joined #openstack-kuryr03:29
*** s1061123_ has joined #openstack-kuryr03:45
*** s1061123 has quit IRC03:45
*** yedongcan has quit IRC03:52
*** yedongcan has joined #openstack-kuryr03:52
*** yedongcan has left #openstack-kuryr03:53
*** s1061123 has joined #openstack-kuryr04:05
*** s1061123_ has quit IRC04:05
*** aojea has joined #openstack-kuryr04:20
*** aojea has quit IRC04:25
*** s1061123_ has joined #openstack-kuryr04:25
*** s1061123 has quit IRC04:26
*** aojea has joined #openstack-kuryr04:29
*** aojea has quit IRC04:34
*** aojea has joined #openstack-kuryr04:38
*** aojea has quit IRC04:42
*** aojea has joined #openstack-kuryr04:47
*** aojea has quit IRC04:52
*** aojea has joined #openstack-kuryr04:56
*** yamamoto has joined #openstack-kuryr04:59
*** aojea has quit IRC05:01
*** aojea has joined #openstack-kuryr05:05
*** aojea has quit IRC05:10
*** yboaron_ has joined #openstack-kuryr05:16
*** yamamoto has quit IRC05:31
*** gouthamr has quit IRC05:43
*** kiennt has quit IRC05:44
*** kiennt has joined #openstack-kuryr05:58
*** yamamoto has joined #openstack-kuryr06:05
*** yedongcan has joined #openstack-kuryr06:06
*** aojea has joined #openstack-kuryr06:09
*** aojea has quit IRC06:13
*** janki has joined #openstack-kuryr06:20
*** yamamoto has quit IRC06:23
*** aojea has joined #openstack-kuryr06:36
*** aojea has quit IRC06:41
*** vikasc has quit IRC06:42
*** aojea has joined #openstack-kuryr06:45
*** aojea has quit IRC06:51
*** vikasc has joined #openstack-kuryr06:54
*** yboaron_ has quit IRC07:07
*** aojea has joined #openstack-kuryr07:13
*** yamamoto has joined #openstack-kuryr07:16
*** aojea has quit IRC07:17
*** aojea has joined #openstack-kuryr07:21
*** yamamoto has quit IRC07:25
openstackgerritMerged openstack/kuryr-kubernetes master: Skips kubernetes service without selector  https://review.openstack.org/48389107:28
*** pmannidi has quit IRC07:29
*** egonzalez has joined #openstack-kuryr07:49
openstackgerrithoward lee proposed openstack/kuryr master: Optimize link address  https://review.openstack.org/48548508:17
*** garyloug has joined #openstack-kuryr08:19
*** neiljerram has joined #openstack-kuryr08:21
*** yboaron_ has joined #openstack-kuryr08:42
*** longfei_zhang has joined #openstack-kuryr08:42
longfei_zhangirenab, i found one really strange thing, i start kuryr controller but after about 1 mins the controller is stopped watching from the log08:46
longfei_zhangthe log shows : Stopped watching '/api/v1/pods'08:47
longfei_zhangStopped watching '/api/v1/services'08:47
longfei_zhangdon't know why08:48
openstackgerrithoward lee proposed openstack/fuxi master: Replace e.message with str(e)  https://review.openstack.org/48549708:48
*** neiljerram has quit IRC09:00
longfei_zhangkzaitsev_ws, do you know why?09:02
longfei_zhanghere are the some error msg09:04
longfei_zhanghttp://paste.openstack.org/show/615985/09:04
longfei_zhangit seems like the LB's issue09:23
longfei_zhangif i change the api_root address to one master's ip then no this issue09:23
kzaitsev_wslongfei_zhang: the error probably means that kuryr-k8s lost connection to k8s-api09:24
kzaitsev_wsit does not reconnect sadly09:24
longfei_zhangyes it seems like the lb's issue09:24
longfei_zhangi will check lb side09:25
*** kzaitsev_ws has quit IRC09:36
*** kzaitsev_ws has joined #openstack-kuryr09:37
kzaitsev_wslongfei_zhang: https://bugs.launchpad.net/kuryr-kubernetes/+bug/170542909:42
openstackLaunchpad bug 1705429 in kuryr-kubernetes "kuryr-k8s does not reconnect to API in case of API restart" [Undecided,New]09:42
kzaitsev_wssounds familiar?09:42
apuimedokzaitsev_ws: darn. can you fill a bug about the reconnect? We had that functionality before the rewrite09:55
kzaitsev_wsapuimedo: bug/170542909:56
kzaitsev_wsdang09:56
kzaitsev_wsI forgot how bot works09:56
kzaitsev_ws#1705429 ?09:56
kzaitsev_wsT_T09:56
kzaitsev_wsapuimedo: https://bugs.launchpad.net/kuryr-kubernetes/+bug/170542909:56
openstackLaunchpad bug 1705429 in kuryr-kubernetes "kuryr-k8s does not reconnect to API in case of API restart" [Undecided,New]09:56
kzaitsev_wsalready09:56
apuimedokzaitsev_ws: I'm a bit conflicted about how to address this09:57
apuimedoon one side, I think that this should be done in the health check09:57
apuimedoand have k8s restart the kuryr controller pod due to health09:57
apuimedoon the second side...09:57
kzaitsev_wsapuimedo: saw your discussions bout eventlet yesterday. what do you want to replace it with?09:58
apuimedoit may be safer to also try to reconnect from code a couple of times09:58
apuimedokzaitsev_ws: I was looking at what octavia uses, cotyledon09:58
apuimedobut we wouldn't have threadgroups for that09:58
apuimedoso from how I see it there's four options09:58
apuimedoa) Implement our own threading (there's some libs for that)09:59
kzaitsev_wsA cotyledon is a significant part of the embryo within the seed of a plant09:59
kzaitsev_wsT_T09:59
apuimedoyeah09:59
apuimedob) python3 asyncio again (but distros are not really ready for that it seems)09:59
apuimedoc) Try and solve the eventlet clusterfuck (but looking at requirements it doesn't really look that easy)10:00
apuimedod) eventually move to golang10:00
apuimedothe saddes part...10:00
apuimedoAll the options that occurred to me suck10:00
janonymous:D10:03
kzaitsev_wsyeah. I'm a bit afraid of even trying to look into eventlet situation, to see what's actually wrong there10:03
kzaitsev_ws(%10:03
janonymousapuimedo: option c) looks a lot of work to me just to find the exact cause which took my entire day today without moving a single step ahead :D10:05
*** caowei has joined #openstack-kuryr10:05
kzaitsev_wsapuimedo: about reconnecting. I'd say that I would expect the controller to attempt to reconnect and if that fails after X times blow the process up.10:06
kzaitsev_wscause a controller that does not watch for Pod/Service events is essentially doing nothing and is confusing10:07
apuimedokzaitsev_ws: afaik... There's all sorts of wrong10:07
kzaitsev_wsthe tricky part is to make sure the CNI doesn't reconnect, since they share the code. but should be do-able10:07
apuimedosorry, I meant to reply to janonymous10:07
apuimedokzaitsev_ws: the CNI daemon sholud reconnect10:08
kzaitsev_wshm10:08
apuimedojanonymous: kzaitsev_ws: I cheated a bit, there's one final option10:08
* kzaitsev_ws thinking10:08
apuimedoe) With the CNI split, have the pyroute2 interactions done in the calling cni executable10:09
kzaitsev_wsyeah, you're right. if the api disappears in the midst of a pod spawning the CNI should reconnect and wait for more events10:09
apuimedoso, in (e) flow, we'd have the following10:09
apuimedoKubelet calls CNI executable10:09
apuimedothis one sends the info to CNI daemon10:10
apuimedowhich gets the data from the pods api10:10
apuimedoreturns it to the executable10:10
apuimedoand the executable does the pyroute2 stuff10:10
janonymousapuimedo:  but that would not solve the purpose of split..10:11
apuimedojanonymous: it would greatly reduce its purpose10:11
janonymousapuimedo: i.e to be lightweight binary...10:11
apuimedoby about half10:11
apuimedothat's why I originally did not mention it10:11
apuimedof) have only the CNI daemon work with cotyledon10:12
janonymousapuimedo: maybe we can try for a few more days to find some solution around eventlet(might be waste of efforts too, but let us try :) )10:13
janonymousapuimedo:  f) part would loose backward compatibility..10:14
janonymousapuimedo: no, maybe f) part would work...but donno what is right10:15
apuimedo(f) would be the less drastic change10:17
apuimedoit would mean less sharing of code between CNI and controller though10:17
janonymousapuimedo: how about using wsgi/ httpserver from eventlet...10:18
janonymousapuimedo: although patching do that already i guess..10:19
apuimedojanonymous: you mean like keystone did?10:19
janonymousapuimedo: maybe..10:19
apuimedoThe difference is that we're not an API service, so running behing uwsgi/apache feels slightly odd10:19
apuimedook, more than slightly10:19
janonymousapuimedo:  :D , right10:20
janonymousapuimedo: i will try to do patching for a few more time...will update if i get anything..10:24
apuimedojanonymous: just so we don't repeat work if I get around to debug it, which approaches did you try?10:26
janonymousapuimedo: i tried with eventlet tracebacks to backtrack, sample tb: http://paste.openstack.org/show/615999/10:29
janonymousapuimedo: i tried patching eventlet with different combinations of monkey patch(socket, thread,select) combinations10:30
*** kiennt has quit IRC10:30
janonymousapuimedo:moving out service out of eventlet and running calls of addnetwork to find normal beahaviour vs unexpected behaviour10:31
janonymouss/service out/service10:31
janonymousi.e to run service outside from eventlet dir10:31
janonymousdaemon service10:31
*** pc_m has quit IRC10:32
*** pc_m has joined #openstack-kuryr10:34
janonymousapuimedo:  EAGAIN is being raised mostly maybe due to timeout at some level but not sure + select call switching at oslo service level which uses eventlet i guess10:34
janonymousapuimedo: that's it10:34
openstackgerrithoward lee proposed openstack/kuryr master: Use https instead of http for docs links  https://review.openstack.org/48548510:37
*** longfei_zhang has quit IRC10:39
*** pc_m has quit IRC11:16
*** pc_m has joined #openstack-kuryr11:20
*** atoth has joined #openstack-kuryr11:37
*** yedongcan has left #openstack-kuryr11:39
*** rwallner has joined #openstack-kuryr11:43
*** c00281451 is now known as zengchen11:46
*** mattmceuen has joined #openstack-kuryr12:02
*** yboaron__ has joined #openstack-kuryr12:29
*** yboaron_ has quit IRC12:32
*** mattmceuen has quit IRC12:40
apuimedokzaitsev_ws: vikasc: notice https://github.com/dcbw/kubernetes/commit/20ff9dce22733341f186719b9ba0b34b8fe7127112:50
apuimedothis is dcbw's PoC for multi network CNI (he's a K8s dev)12:50
apuimedosee that they propose to give the plugin the path to a kubeconf file (with the certs and such)12:51
*** vikasc has quit IRC12:54
*** longfei_zhang has joined #openstack-kuryr13:01
longfei_zhangHi apuimedo,  in current watch logic, if the connection error happened then we will stop watching for everything13:03
longfei_zhang https://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/k8s_client.py#L13313:03
longfei_zhanghttps://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/k8s_client.py#L140 will raise the exception but have not add the TODO13:04
apuimedolongfei_zhang: we should fix that asap13:04
kzaitsev_wslongfei_zhang: I've filead a bug, see ^^^13:06
apuimedonot just in 140, any exception will13:06
*** vikasc has joined #openstack-kuryr13:08
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-kubernetes master: Updated from global requirements  https://review.openstack.org/48118613:16
*** longfei_zhang has quit IRC13:16
*** gouthamr has joined #openstack-kuryr13:17
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-kubernetes master: Updated from global requirements  https://review.openstack.org/48118613:32
*** yamamoto has joined #openstack-kuryr13:39
*** mattmceuen has joined #openstack-kuryr13:48
*** yboaron__ has quit IRC13:49
*** yboaron__ has joined #openstack-kuryr13:49
*** longfei_zhang has joined #openstack-kuryr13:50
*** yamamoto has quit IRC13:50
*** longfei_zhang has quit IRC14:28
*** yamamoto has joined #openstack-kuryr14:37
*** janki has quit IRC14:45
*** janki has joined #openstack-kuryr14:45
*** janki has quit IRC14:47
*** yamamoto has quit IRC14:55
*** yamamoto has joined #openstack-kuryr14:57
*** yamamoto has quit IRC15:03
*** neiljerram has joined #openstack-kuryr15:58
*** yboaron__ has quit IRC15:59
*** rwallner has quit IRC15:59
*** rwallner has joined #openstack-kuryr16:01
*** egonzalez has quit IRC16:01
*** rwallner has quit IRC16:02
*** rwallner_ has joined #openstack-kuryr16:02
*** aojea has quit IRC16:04
*** neiljerram has quit IRC16:07
*** aojea has joined #openstack-kuryr16:10
*** aojea has quit IRC16:15
*** aojea has joined #openstack-kuryr16:29
*** aojea has quit IRC16:34
*** aojea has joined #openstack-kuryr16:57
*** tonanhngo has joined #openstack-kuryr16:57
*** rwallner_ has quit IRC17:01
*** aojea has quit IRC17:01
*** rwallner has joined #openstack-kuryr17:03
*** kzaitsev1pi has joined #openstack-kuryr19:25
*** kzaitsev_pi has quit IRC19:26
*** aojea has joined #openstack-kuryr19:34
*** aojea has quit IRC19:38
*** yboaron__ has joined #openstack-kuryr19:46
*** openstack has joined #openstack-kuryr19:57
*** aojea has joined #openstack-kuryr20:01
*** aojea has quit IRC20:05
*** aojea has joined #openstack-kuryr20:11
*** gouthamr has quit IRC20:14
*** aojea has quit IRC20:15
*** openstackgerrit has quit IRC20:17
*** aojea has joined #openstack-kuryr20:20
*** aojea has quit IRC20:24
*** gouthamr has joined #openstack-kuryr20:28
*** aojea has joined #openstack-kuryr20:29
*** aojea has quit IRC20:33
*** aojea has joined #openstack-kuryr20:47
*** aojea has quit IRC20:52
*** aojea has joined #openstack-kuryr20:56
*** aojea has quit IRC21:01
*** gouthamr has quit IRC21:26
*** aojea has joined #openstack-kuryr21:34
*** aojea has quit IRC21:39
*** yboaron__ has quit IRC21:42
*** aojea has joined #openstack-kuryr21:43
*** rwallner has quit IRC21:48
*** aojea has quit IRC21:48
*** rwallner has joined #openstack-kuryr21:49
*** aojea has joined #openstack-kuryr21:53
*** aojea has quit IRC21:57
*** yamamoto has joined #openstack-kuryr21:57
*** rwallner has quit IRC21:59
*** yamamoto has quit IRC22:00
*** rwallner has joined #openstack-kuryr22:03
*** rwallner_ has joined #openstack-kuryr22:05
*** rwallner has quit IRC22:08
*** rwallner_ has quit IRC22:09
*** aojea has joined #openstack-kuryr22:13
*** aojea has quit IRC22:18
*** tonanhngo has quit IRC22:19
*** tonanhngo has joined #openstack-kuryr22:19
*** tonanhngo has quit IRC22:19
*** aojea has joined #openstack-kuryr22:22
*** tonanhngo has joined #openstack-kuryr22:26
*** aojea has quit IRC22:27
*** tonanhngo has quit IRC22:30
*** aojea has joined #openstack-kuryr22:31
*** aojea has quit IRC22:36
*** aojea has joined #openstack-kuryr22:40
*** aojea has quit IRC22:45
*** aojea has joined #openstack-kuryr22:49
*** aojea has quit IRC22:54
*** aojea has joined #openstack-kuryr22:59
*** yamamoto has joined #openstack-kuryr23:01
*** aojea has quit IRC23:03
*** yamamoto has quit IRC23:07
*** gouthamr has joined #openstack-kuryr23:08
*** garyloug has quit IRC23:15
*** aojea has joined #openstack-kuryr23:17
*** aojea has quit IRC23:21
*** aojea has joined #openstack-kuryr23:26
*** aojea has quit IRC23:30
*** aojea has joined #openstack-kuryr23:35
*** aojea has quit IRC23:39

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