13:01:33 #startmeeting tricircle 13:01:33 Meeting started Wed Sep 7 13:01:33 2016 UTC and is due to finish in 60 minutes. The chair is joehuang. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:34 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:01:37 The meeting name has been set to 'tricircle' 13:01:48 hi 13:01:51 #topic rollcall 13:01:57 #info joehuang 13:01:58 hi 13:02:05 #info xiulin 13:02:07 #info zhiyuan 13:02:21 hi WuCheng, first time to meet you here 13:02:28 yeah 13:02:38 could you introduce yourself shortly? 13:03:21 hello everyone,I'm ZhuangzhuangXu,or Wucheng 13:03:23 #info jiawei 13:03:32 #info Yipei 13:04:05 great! welcome to join, Wucheng 13:04:10 Zhuangzhuang is his real name 13:04:47 thanks 13:04:52 so Wucheng is your nick name 13:05:00 the name in ali 13:05:01 he is a undergraduate student and going to be a master student of Prof. Fanmging Liu next year 13:05:11 yeah 13:05:27 #info dongfeng.network connection failed. 13:05:32 ok, next topic 13:05:46 #topic feature parity review 13:06:07 please share your feature implementation progress shortly 13:06:08 hello 13:06:15 hi, Ronghui 13:06:28 #Ronghui 13:06:34 #info Ronghui 13:07:40 #info yueyuquan 13:07:52 #info lzy2 13:09:11 @joe, about the error we discussed in the afternoon, i checked the source code, but fail to find where pod bindings are created 13:09:12 hello, for policy control patch, needs your review, thanks 13:09:17 (1) patch for l3 networking with shared vlan network has been merged (2) patches for resource clean-up have been submitted, waiting to be approved, there are 3 patches (3) local plugin and central plugin for project separation are under development, I have figured out how to implement basic VM booting and l3 E-W communication 13:10:10 I think I will submit a specification document before submitting the codes 13:10:28 to Zhiyuan, great, spec review is needed 13:10:56 #action spec for Tricircle Local Neutron Plugin 13:11:19 I submitted a patch for part of server action, but Jeanks didn't pass. 13:11:56 to Yipei, you have not provided the value for the is_current_binding field in the test cases 13:12:44 you mean in test_az_ag.py? 13:13:01 to Xiulin, tempest not pass 13:13:08 for the jenkins problem xiulin mentioned, I checked the logs of nova api gateway and found "EndpointNotUnique" exception was raised, a bit strange 13:13:43 the exception means that for one service in one pod, we find more than one url 13:13:51 i finish the wiki and add some new way to install tricircle with virtualbox 13:14:34 will check with xiulin tomorrow 13:14:44 thanks zhiyuan 13:14:52 to Ronghui, thank you very much to provide the guide 13:15:20 #info hi 13:16:30 so xiulin, keep going 13:16:59 ok, thanks for zhiyuan's and your help 13:17:08 for me,I l am learning use tox to test my patch, when I use this command "tox -v -epep8" test my patch,it show the all resuilt of tricircle.I don't know how to test my patch singly 13:17:09 if you finisihed a feature, please update the google doc 13:17:52 you can run flake8 locally 13:18:44 if flake8 succeed, then pep8 could be pass in most cases 13:19:10 before you run flake8, you need to install test requirement, run "pip install -r test-requirements.txt" under tricircle folder 13:19:29 for me, I will use curl to get and set the relevant values and use those values to verify the correctness of the features of pod and pod bindings. is it correct ? I will use the same logic as test_pod.py which is located "tricircle/tricircle/tests/unit/api/controllers". for short, the content of test_pod.py is at http://paste.openstack.org/show/567459/ 13:19:49 yes, dongfeng 13:19:55 ok, I will try it. 13:20:20 there is a "hacking" lib in the requirement, which adds some OpenStack-specific style check 13:20:36 ok, i will try and submit a patch to test pod and pod bindings. 13:21:46 @joe, so i need to provide the values of newly added field in unit tests? but i did not find it in former code, is there any example that i can follow 13:21:57 to dongfeng, good, once you know how to test a feature, then you can develop feature, and verify it works or not 13:22:09 to Yipei, yes 13:22:26 I remember that we already have tests for pod and binding api? 13:22:54 it is unit test and it is located at tricircle/tricircle/tests/unit/api/controllers 13:23:27 to zhiyuan, yes, it's functional test 13:23:38 https://github.com/openstack/tricircle/blob/master/tricircle/tests/functional/api/controllers/test_pod.py 13:24:04 oh, so unit tests will be added? 13:24:11 maybe we don't need to provide tempest test cases? for functional test will load web app too 13:24:18 no 13:24:49 I think functioanl test is good enough if it covers all condition 13:25:50 to Dongfeng, one second 13:25:55 ok 13:26:13 do you plan to add tempest test for pod and podbinding or only unit test? 13:27:43 is tempest test a must ? 13:28:32 this is a question 13:28:52 zhiyuan, what's your proposal? 13:31:08 i think currently functional test is enough since our API is not that complex, just database operation 13:32:27 to yipei, when you call get_pod_by_az_tenant. the binding will be created in this function, but the value for is_current_binding is not provided, and it's not-null field, so the issue happened, you must provide value in create binding 13:32:40 so for the existing patch, it is not necessary to use tempest test? 13:32:47 to Zhiyuan, I think so 13:33:16 so for Dongfeng, maybe provide API for the routing table will be a good try 13:33:18 we need tempest test for nova api gateway and cinder api gateway, but no need to write new tests 13:33:45 just reuse tempest tests for nova api and cinder api, like what we are doing noew 13:34:56 +1 13:35:45 ok 13:35:57 dongfeng, how about to develop the API for the routing table? you can refer to Pod/PodBinding 13:36:05 ok. 13:36:31 you can see from xiulin's patch that relavant tempest tests are enabled along with feature implementation 13:36:36 you have writen the documentation for Pod/PodBinding, so you know how to test that using curl 13:37:11 @joe, i see, but in the function, there is not any line creating pod bindings 13:38:51 line 145~151 https://github.com/openstack/tricircle/blob/1f4d505b84e3c110a6be3b387e0aa236feb55d50/tricircle/common/az_ag.py 13:39:23 for db accessing, it'll be better to move the table operation to db_api.py 13:40:27 i see, i just search the unit test cases 13:40:47 #action move db access code to db_api.py 13:41:00 i will fix the error, and begin designing the unit tests 13:41:55 for core.query_resource and core.create_resource etc calling, it will be better to move these to db_api.py 13:42:47 to Ronghui, for cinder API-GW api, tempest test is necessary 13:42:58 ok 13:43:46 ok, next topic 13:44:07 #topic Tricircle Splitting 13:44:23 #link https://etherpad.openstack.org/p/TricircleSplitting 13:46:50 your comments are very important 13:53:41 #info discussion in the etherpad https://etherpad.openstack.org/p/TricircleSplitting 13:57:32 @joe, almost 10pm, shall we update the etherpad offline? 13:59:58 * krotscheck patiently waits for the room to clear 14:00:58 ok, let's update and disucss offline 14:01:39 #endmeeting