Tuesday, 2016-08-23

*** tonanhngo has quit IRC00:15
*** sdake has joined #openstack-kuryr00:17
*** limao has joined #openstack-kuryr00:28
*** pablochacin has quit IRC00:46
*** sdake_ has joined #openstack-kuryr01:06
*** sdake has quit IRC01:10
*** salv-orl_ has joined #openstack-kuryr01:15
*** salv-orlando has quit IRC01:18
*** sdake_ has quit IRC01:19
*** sdake has joined #openstack-kuryr01:22
*** salv-orl_ has quit IRC01:26
*** hongbin has joined #openstack-kuryr01:35
*** xiangxinyong has quit IRC02:02
*** yuanying has quit IRC02:10
*** shashank_hegde has quit IRC02:16
*** tonanhngo has joined #openstack-kuryr02:34
*** tonanhngo has quit IRC03:10
*** tonanhngo has joined #openstack-kuryr03:11
*** salv-orlando has joined #openstack-kuryr03:30
*** salv-orlando has quit IRC03:38
*** shashank_hegde has joined #openstack-kuryr03:45
*** yuanying has joined #openstack-kuryr03:59
*** hongbin has quit IRC04:03
*** salv-orlando has joined #openstack-kuryr04:37
*** janki has joined #openstack-kuryr04:46
*** salv-orlando has quit IRC04:49
*** salv-orlando has joined #openstack-kuryr04:58
*** sdake_ has joined #openstack-kuryr05:21
*** sdake has quit IRC05:24
*** sdake_ has quit IRC05:41
*** tonanhngo has quit IRC05:46
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Use generic config options from kuryr-lib  https://review.openstack.org/35040606:05
*** _oanson has joined #openstack-kuryr06:07
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Use generic config options from kuryr-lib  https://review.openstack.org/35040606:10
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Use generic config options from kuryr-lib  https://review.openstack.org/35040606:14
*** shashank_hegde has quit IRC06:24
openstackgerritvikas choudhary proposed openstack/kuryr: Avoid registration of config parameters  https://review.openstack.org/35897806:28
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Use generic config options from kuryr-lib  https://review.openstack.org/35040606:30
openstackgerritvikas choudhary proposed openstack/kuryr: Add neutron client generic rest driver  https://review.openstack.org/34262406:40
openstackgerritvikas choudhary proposed openstack/kuryr: Add neutron client generic rest driver  https://review.openstack.org/34262406:45
*** tonanhngo has joined #openstack-kuryr07:00
*** tonanhngo has quit IRC07:03
openstackgerritvikas choudhary proposed openstack/kuryr: Avoid registration of config parameters  https://review.openstack.org/35897807:08
openstackgerritvikas choudhary proposed openstack/kuryr: Add neutron client generic rest driver  https://review.openstack.org/34262407:10
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Use generic config options from kuryr-lib  https://review.openstack.org/35040607:11
*** salv-orl_ has joined #openstack-kuryr07:16
*** salv-orlando has quit IRC07:19
*** salv-orl_ has quit IRC07:21
*** salv-orlando has joined #openstack-kuryr07:25
openstackgerritvikas choudhary proposed openstack/kuryr: Avoid registration of config parameters  https://review.openstack.org/35897807:33
openstackgerritvikas choudhary proposed openstack/kuryr: Add neutron client generic rest driver  https://review.openstack.org/34262407:34
*** yamamoto has quit IRC07:38
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Code restructuring: neutron client as rest driver from Kuryr lib  https://review.openstack.org/34261407:57
*** diga has joined #openstack-kuryr07:57
*** _oanson is now known as oanson08:02
*** openstackgerrit has quit IRC08:03
*** openstackgerrit has joined #openstack-kuryr08:04
*** yuanying has quit IRC08:05
*** yamamoto has joined #openstack-kuryr08:16
*** pablochacin has joined #openstack-kuryr08:21
vikascirenab, apuimedo Why kuryr-k8s supports python3 only and not python2.7?08:21
vikascpablochacin,08:21
irenabvikasc: I think its due to asyncio lib08:22
vikascok08:22
vikascirenab, is it not possible to get working with 2.708:22
pablochacinHi, vikasc, it is also my understanding08:23
vikascthanks pablochacin08:23
vikascwas just wondering how difficult (if possible) it is to get it working with 2.708:24
vikascsince many projects in openstackare still on 2.708:24
vikasc*openstack are08:24
vikasci think jerome or apuimedo can give more details08:25
irenabvikasc: https://github.com/openstack/kuryr/blob/master/doc/source/devref/k8s_api_watcher_design.rst#asyncio-and-python-3-by-default08:25
* vikasc reading08:26
vikascthanks irenab08:27
pablochacinI think the rationale is this "since [Kuryr] it's a container related project it should be able to be run inside a container. So do Raven. Therefore we take a path to support for only Python 3 and drop Python 2."08:27
vikasci will read more and get back if any doubts08:28
irenabvikasc: CNI driver should not have such requirements08:30
*** garyloug has joined #openstack-kuryr08:30
vikascirenab, got it.08:31
openstackgerritvikas choudhary proposed openstack/kuryr-libnetwork: Add optional neutron rpc driver support  https://review.openstack.org/34014308:35
vikascirenab, test cases are missing in this patch, https://review.openstack.org/#/c/342624/9 . "rest driver support" in kuryr repo. You rightly pointed out the same.08:37
irenabvikasc: checking now the conf registration patch08:38
vikascirenab, should i add a test file for this file https://review.openstack.org/#/c/342624/9/kuryr/lib/neutron_rest.py08:39
vikascirenab, ok08:39
*** yamamoto has quit IRC08:40
irenabvikasc: yes, I think the one to  catch changes in the expected REST driver contract should have unit tests08:41
*** salv-orl_ has joined #openstack-kuryr08:44
vikascirenab, that means will have to mock calling of each api and then mock the neutron response for each api such as "create_network", "delete_network" etc etc ?08:45
*** salv-orlando has quit IRC08:45
vikascirenab, but this testing is already covered by kuryr-libnetwork test cases?08:48
*** yamamoto has joined #openstack-kuryr08:48
*** salv-orl_ has quit IRC08:49
*** salv-orlando has joined #openstack-kuryr08:50
irenabvikasc: there should be tests to cover the expected versus real REST API contract08:51
vikascirenab, hmm.. got it :)08:52
irenabif there is already such, no need to add something else. Can you please point to the one that verifies the code modified in this patch?08:53
vikascirenab, nope, none is there. Kuryr-libnetwork tests will ensure till calling of apis defined in neutron_rest.py but there is no test to ensure whether this api is making correct rest call or not.08:56
vikascirenab, understodd08:56
vikasc*understood08:56
irenabvikasc: sorry for giving you hard time with testing, but I believe in longer term it is very good return of investment08:58
vikascirenab, no problem. Your point is valid. :)08:58
vikascirenab, thanks for your patience08:58
irenabvikasc: patience is my middle name :-)08:59
vikascirenab, :D great08:59
vikascirenab, then you should be09:00
pablochacinirenab, vikasc, i have a doubt regarding the tests. I think that check that the rest api works according the contract if responsability of the other side. Our side should be to handle exceptions, which is not exactly the same.09:00
vikascpablochacin, right09:01
pablochacin(or better stated, how do you define "contract"?)09:01
vikascirenab, rest api format is already being tested in kuryr-libnetwork09:04
vikaschttps://review.openstack.org/#/c/342614/11/kuryr_libnetwork/tests/unit/test_kuryr.py09:04
vikascirenab, i should actually revert my changes in above pasted link09:04
irenabvikasc: pablochacin : agree on the contract between kuryr and neutron API/RPC, this is what I meant, that it given the proper input and gets the output it handles09:05
vikascno actually.. i am wrong. what we initially discussed seems fine to me now.09:06
vikascirenab, i am in sync with you09:07
vikascpablochacin, can you please elaborate, if possible09:08
pablochacinvikasc, basically that we should assume the other side works as expected (returns correct values), but need to check we handle it properly.09:09
pablochacinAnd that we handle expected exceptions, like timeouts, connection failures.09:09
vikascpablochacin, those testcases are there in kuryr-libnetwork for hadling each scenario such as correct response and exceptions09:10
vikascpablochacin, i think i understood what you saying.. fine grain exception handling test cases should be on kuryr-lib and assuming that kuryr-lib is giving correct response, such test cases should be with kuryr-libnetwork or kuryr-kubernetes. Have I got you right?09:14
pablochacinvicasc I mean the API/RPC specific contract. For example in a rest api you must check http return codes.09:14
vikascpablochacin, got you09:15
*** salv-orlando has quit IRC09:21
*** salv-orlando has joined #openstack-kuryr09:21
*** reedip has quit IRC09:27
*** icoughla has joined #openstack-kuryr09:31
*** prithiv has joined #openstack-kuryr09:52
limaoping vikas10:01
limaoping vikasc10:01
vikaschi10:02
limaohello vikasc, I'm still not understand why we need to pass bindir as param10:02
limaoI think this should be a little bit similiar with oslo case10:02
limaohttps://github.com/openstack/oslo.concurrency/blob/master/oslo_concurrency/lockutils.py10:03
limaocan we do it similiar with this?10:03
* vikasc looking10:03
limao Somthing like : if external and not CONF.oslo_concurrency.disable_process_locking:10:04
vikasclimao,  in mid of something.. will go through what you suggested and ping back10:05
*** prithiv has quit IRC10:06
limaothanks~ take your time10:06
limaoI will reply in your commit, you can reply me there, thanks10:07
*** limao has quit IRC10:10
*** prithiv has joined #openstack-kuryr10:23
*** diga has quit IRC10:24
*** prithiv has quit IRC10:45
*** oanson has quit IRC10:59
*** tonanhngo has joined #openstack-kuryr11:03
*** tonanhngo has quit IRC11:04
*** tonanhngo has joined #openstack-kuryr11:10
*** devvesa has joined #openstack-kuryr11:15
*** tonanhngo has quit IRC11:22
*** tonanhngo has joined #openstack-kuryr11:22
*** limao has joined #openstack-kuryr11:31
*** limao_ has joined #openstack-kuryr11:32
*** limao has quit IRC11:35
*** garyloug has quit IRC11:37
*** limao_ has quit IRC11:52
*** limao has joined #openstack-kuryr11:52
*** prithiv has joined #openstack-kuryr12:00
*** garyloug has joined #openstack-kuryr12:05
*** limao has quit IRC12:08
*** prithiv has quit IRC12:25
*** prithiv has joined #openstack-kuryr12:38
*** reedip has joined #openstack-kuryr12:40
*** janki is now known as janki|afk13:14
*** janki|afk is now known as janki13:24
*** sdake has joined #openstack-kuryr13:36
*** sdake_ has joined #openstack-kuryr13:37
*** tonanhngo has quit IRC13:40
*** sdake has quit IRC13:41
*** prithiv has quit IRC13:57
*** hongbin has joined #openstack-kuryr13:58
*** icoughla_ has joined #openstack-kuryr14:01
*** tonanhngo has joined #openstack-kuryr14:01
*** oanson has joined #openstack-kuryr14:02
*** tonanhngo has quit IRC14:03
*** icoughla has quit IRC14:04
*** icoughla_ has quit IRC14:22
*** oanson has quit IRC14:23
*** icoughla_ has joined #openstack-kuryr14:33
*** sdake_ has quit IRC14:35
*** sdake has joined #openstack-kuryr14:41
*** tonanhngo has joined #openstack-kuryr14:41
*** tonanhngo has quit IRC14:42
*** tonanhngo has joined #openstack-kuryr14:43
*** yamamoto has quit IRC14:57
*** yamamoto has joined #openstack-kuryr15:01
*** yamamoto has quit IRC15:06
*** salv-orlando has quit IRC15:08
*** salv-orlando has joined #openstack-kuryr15:08
*** icoughla_ has quit IRC15:12
*** janki has quit IRC15:12
*** yamamoto has joined #openstack-kuryr15:31
*** yamamoto has quit IRC15:32
*** yamamoto has joined #openstack-kuryr15:33
*** yamamoto has quit IRC15:33
*** janki has joined #openstack-kuryr15:45
*** prithiv has joined #openstack-kuryr15:54
*** icoughla has joined #openstack-kuryr16:13
*** icoughla has quit IRC16:27
*** shashank_hegde has joined #openstack-kuryr16:31
*** yamamoto has joined #openstack-kuryr16:33
*** prithiv has quit IRC16:33
*** yamamoto has quit IRC16:41
*** garyloug has quit IRC16:43
*** tonanhngo has quit IRC17:00
*** devvesa has quit IRC17:11
*** janki has quit IRC17:14
*** oanson has joined #openstack-kuryr17:25
*** oanson has quit IRC17:36
*** shashank_hegde has quit IRC17:40
*** shashank_hegde has joined #openstack-kuryr17:42
*** pablochacin has quit IRC17:54
*** tonanhngo has joined #openstack-kuryr18:42
*** salv-orlando has quit IRC19:28
*** salv-orlando has joined #openstack-kuryr19:28
*** salv-orlando has quit IRC19:32
*** pablochacin has joined #openstack-kuryr20:59
*** salv-orlando has joined #openstack-kuryr21:32
*** sdake has quit IRC21:45
*** sdake has joined #openstack-kuryr21:46
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr: Updated from global requirements  https://review.openstack.org/35768322:17
*** pablochacin has quit IRC22:40
*** sdake has quit IRC22:44
*** sdake has joined #openstack-kuryr22:44
*** yamamoto has joined #openstack-kuryr22:51
*** hongbin has quit IRC23:26
*** yuanying has joined #openstack-kuryr23:30
*** gsagie has quit IRC23:34
*** gsagie has joined #openstack-kuryr23:34
*** salv-orlando has quit IRC23:36

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