13:04:14 #startmeeting Tricircle Weekly Meeting 2015.06.24 13:04:15 Meeting started Wed Jun 24 13:04:14 2015 UTC and is due to finish in 60 minutes. The chair is zhipeng. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:04:16 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:04:18 The meeting name has been set to 'tricircle_weekly_meeting_2015_06_24' 13:04:33 #topic Roll Call 13:04:39 #info zhipeng 13:04:48 #info joehuang 13:05:20 #info gampel 13:05:31 #info smizrahi 13:05:56 #info gsagie 13:06:07 #info zhiyuan_cai 13:06:46 ok nice to see you guys :) 13:06:52 #topic agenda bashing 13:07:16 #link https://wiki.openstack.org/wiki/Meetings/Tricircle 13:07:32 #info today's agenda is on the meeting wiki page 13:07:47 #info any suggestion on more items ? 13:07:56 ok for me 13:08:32 ok 13:08:36 anyone else? 13:08:44 fine for me, too 13:09:05 #agreed agenda agreed 13:09:21 #topic introduction of tricircle project 13:09:36 maybe we could start discussing the clean code baseline for tricircle 13:09:45 joehuang maybe you could briefly introduce a little bit? 13:09:59 including the clean code base 13:10:13 # I'll introduce background for a file 13:10:30 #info The Tricircle idea is originated from two practical projects. 13:10:51 #info We have a multi-region solution delivered to our customer, the customer complained on some manual operation like has to configure the VPN connection for the router allocated in different OpenStack instances, and has to repeat that for a new tenant. 13:11:19 #info and also like security group, it is difficult to configure per region base for a tenant 13:12:35 #info and has to upload image to each region separatly, do the replication manually, but not on demand 13:12:55 #info and has to configure the tenant quota per region base. This is painful. 13:13:17 #info The second project asked us to provide a layer above multi-region OpenStack instances, but this layer must provide well adopted open api. 13:13:53 #info Some other customer also showed similar concerns, at last we think we need to find a way to solve these issues, that's the idea to start tricircle like project. 13:14:11 that's the background 13:14:46 Zhiyuan can introduce current code base, and then discuss the clean code base? 13:15:01 sounds great to me 13:15:30 ok 13:15:47 #info zhiyuan explains the clean code base 13:15:57 #info I have added a tag "poc" to the previous code and submitted the new code base. 13:16:38 #info The code base is simple enough that it only handles creating server and synchronizing status of server and ports, working with openstack 2015.1.0 version 13:17:07 #info We have built a third party CI to test the new code base. Thought currently this CI doesn't have voting right, we will manually guarantee test passes before patches can be merged. 13:17:36 that's all. 13:18:03 gampel any questions? 13:18:08 Gampel's idea abot clean code base? 13:18:44 do you have review system in place ? 13:19:30 yes, tricircle uses the official openstack review system 13:19:55 it is registered as a stackforge project 13:20:41 Ok our Idea is to try and clean code base with smaller footprint so in the cascading layer you do not have to run full OpenStack 13:20:48 Lauchpad is also ready? 13:21:32 And to start with the Basic functionality 13:21:35 Also we want the clean solution to integrate more cleanly with the existing openstuck code. 13:21:54 meaning we want to use established pluggable points in the codebase. 13:22:26 so if we deep dive into neutron 13:22:48 good idea 13:23:14 we want to create networking-cacading that implement ML2 mechnizem driver and L3 service plugin only 13:23:16 first to add a new ML2 mechanism driver for L2 functionality 13:23:37 similar idea 13:23:42 yes 13:23:56 #topic initial work goal setting 13:24:29 so does it suffice to say, in L, our goal is to have ML2 pluggin work? 13:24:45 networking-tricircle 13:24:46 But we think that we do not need to save the port status in the cascading db we can pass it to the actual Cascaded OS 13:24:51 ML2 MD + L3 service plugin 13:25:19 yes exactly 13:25:20 If we can reduce to store port status, it would be very helpful 13:25:42 #info ML2 MD + L3 service plugin -> networking-tricircle, would be the L release goal 13:25:44 your idea to reduce the port status persistence? 13:26:16 yes inorder to make the cascading layer simpler 13:27:00 saggi is looking into Nova and what is the best place to plug our code 13:27:29 gampel I sent out an email weeks ago asking about big tent in Nova and Cinder 13:27:41 theiry replied that they are not there yet 13:27:41 so when a query about port comes to the cascading layer, it will pass this query to cascaded layer to retrieve the result? 13:27:50 only Neutron now got big tent mode working 13:27:53 when we can discuss the idea for nova code plugin 13:27:58 I am not sure we will make it for the L release 13:28:20 so let's focus on Neutron for L release 13:28:54 and some basic functionality in nova 13:29:02 if we got time 13:29:05 saggi can you please present what you learned about Nova 13:29:34 I think it's possible to inject ourselves at the API layer 13:29:45 interesting 13:29:49 I'm now testing implementing my own API classes similar to how cells is integrated 13:30:21 inherited from API class, but replace the implementation? 13:30:41 yes, there is a configuration to do that 13:30:41 not inherit, reimplement 13:30:52 like cells do 13:31:01 you reuse the DB logic etc 13:31:09 the data will be persisted in the cascading layer or not? 13:31:22 what we want to reuse is the API DB data module 13:31:31 for all the openstack services 13:31:54 OK, if no data persisted, then quota control, flavor, etc, will be a problem 13:31:56 As I see it, it will pass the calls to a cascaded layer that will keep mapping between the global UUIDS and local uuids 13:32:26 cool, the most headache issue is the uuid maping 13:32:29 so the API class would reuse the DB calls but pass scheduling logic and such to the cascading layer 13:32:38 saggi gampel could you guys generate a simple document about your method? 13:32:51 google doc -ish :P 13:33:02 joehuang: You will have to keep that mapping anyway you look at it 13:33:12 yes we will and share it we want to intruduce a cascading service running in top opensatck 13:33:14 for others to easy to jump in 13:33:35 joehuang: We want to keep the interface of the cascaded layer as close to the API layer as possible. Since this is the level that the casceding logic works at 13:33:42 Ok we curently evaluating the solution 13:34:07 ok so let's discuss with a specific document 13:34:24 and gampel saggi please also take a look at the new tricircle wiki 13:34:25 is it possible to elinminate uuid mapping? 13:34:36 so that we don't have architectural conflicts 13:34:46 I do not think so 13:35:00 Ok we will 13:35:08 many thx :) 13:35:16 joehuang: I wouldn't recommends it for network since you want to be able to distinguish between the same router on different sites 13:35:18 "I do not think so" what 13:35:33 singleton entities like VMs could use the same GUID though for simplicity 13:36:10 yes, in neutron, one object will be mapped to multiple objects, for example router 13:36:15 #action gampel saggi specific design doc on API layer idea 13:36:26 OK 13:36:34 You will end up having to cross reference logs at some point and you don't want to have the same ID multiple times. 13:37:17 for singleton object, using one uuid is valuable for metering data, maintainnce 13:37:33 and billing, backup 13:37:46 are you talking for the VM s GUID 13:38:30 for VM/volume/backup/snapshot, it's good to have only one uuid, no mapping is very great 13:38:45 joehuang: As longs as you can cross refenrece GUIDs you can meter them. 13:38:50 I am not sure it is posible migration could be a problem 13:39:14 joehuang: Storage is a whole different deal. We need to see how the vanilla replication works wrt IDs 13:39:52 ok 13:40:31 #topic Project Logistics Discussion 13:40:45 okey so we have CR ready 13:40:51 joehuang: As long as you keep mapping between local and global IDs you should be able to cross reference everything. 13:41:02 should we have BP+spec as most project does 13:41:07 or just BPs 13:41:55 zhipeng: I think it's too early in the projects life-cycle for that much bureaucracy. We still don't have a grasp on the general clean code design. 13:42:07 I agree 13:42:09 cross reference, some times is difficult, for example, alarm will created on the GUID, but it generated inside the cascaded OpenStack 13:42:39 joehuang: In that case it should be unique across all sites anway 13:43:12 to saggi, I need your detail idea about the cross reference GUID and uuid 13:43:16 so let's table this, at least for L release 13:43:42 about BPs/Specs I mean 13:44:16 we will devote much of time in Neutron anyways :P 13:44:18 joehuang: gampel will put it as part of the whole design suggestion doc we spoke about earlier 13:44:18 OK i think BP is ok and spec is optional in this point 13:44:31 gampel I agree 13:44:40 some operational request/questions, where do you want us to place the new evaluation of the concept code 13:44:53 so the idea could be regiested as BP 13:45:34 Ok we will register it as BP and add a link to online document 13:45:41 saggi:ok, we can discuss on that doc :) 13:46:05 #agreed BP, no spec required for contribution 13:46:25 another thing is that do we need an initial core reviewer team now? 13:46:25 shall we have a branch for concept? 13:46:38 for example I think gampel and joehuang could be 13:46:55 u 2 should be enough 13:47:01 agreed 13:47:04 to oversee BPs 13:47:06 OK 13:47:12 ok 13:47:29 saggi and zhiyuan? 13:47:33 #agreed joehuang and gampel serve as core reviewers 13:47:44 ok 13:48:02 #topic AoB 13:48:10 any other business :) 13:48:29 to gampel: shall we have a branch for concept code 13:48:36 were do we develope the valuation of the concept code in the master 13:48:40 or a new folder 13:48:51 under another directory or diffrent branch 13:49:28 in the master is also good for me. We need to fail fast at the early stage 13:49:42 agree on master 13:49:47 Ok 13:49:59 so do I need to turn off the current CI test job? Since it would not fit the concept of code 13:50:42 it would ok, but need to improve if new code merged 13:50:56 saggi what do you think 13:51:33 gampel: I tend towards the branch option 13:51:51 That is what branches are for, testing new ideas 13:52:00 you can merge later 13:52:10 or abandon 13:52:24 so we develop in the branch and then if it is viable we restructure the master 13:52:37 if it's doesn't work. An the original code is uneffected 13:53:00 Ok fine with me 13:53:02 this may be better, to keep the master always working 13:53:13 me too 13:53:20 i agree 13:53:36 #agreed concept of code in a branch 13:54:02 can zhiyuan add a new branch for concept code? 13:55:07 joehuang we have an irc channel for tricircle right? 13:55:15 #openstack-tricircle? 13:55:21 yes 13:55:45 +1 13:55:45 ok, what name do you prefer? 13:55:47 #info for daily discussion other than weekly meeting, we could use #openstack-tricircle 13:56:38 ok thx, the name does not matter 13:56:40 concept? or idea? 13:56:55 joehuang: for the branch? 13:57:10 yes, for the branch 13:58:07 joehuang: that's a tough question :) 13:58:47 we can do it tomorrow, it's 10:00pm here :) 13:58:59 joehuang: OK, good night 13:59:01 and joe, maybe you clean the core member team to just keep you and gampel? there are too many core members currently... 13:59:22 ok, will do 13:59:32 thx 13:59:33 #action joehuang to clean core member team 13:59:43 ok thank you guys, very good meeting 13:59:49 let's wrap it up today 13:59:56 Ok good night 13:59:58 and keep discussion going via emails 14:00:09 good nite 14:00:10 thanks all 14:00:14 #endmeeting