13:00:19 #startmeeting senlin 13:00:20 Meeting started Tue Oct 18 13:00:19 2016 UTC and is due to finish in 60 minutes. The chair is yanyanhu. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:00:21 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:00:24 The meeting name has been set to 'senlin' 13:00:31 hello 13:00:35 Hello yanyanhu. 13:00:42 hello yanyan 13:00:42 hi, zzxwill 13:00:48 hi, lvdongbing :) 13:00:59 hello 13:01:11 hi, Qiming 13:01:46 lets wait for a while for other attender 13:02:29 ok, lets start our discussion and others can join us later 13:02:33 here is the agenda 13:02:35 https://wiki.openstack.org/wiki/Meetings/SenlinAgenda 13:02:49 please feel free to add items you want to discuss 13:03:05 #topic Newton/Ocata Work Items 13:03:17 ops, should be Ocata work items 13:03:26 first item, testing 13:03:36 performance test, no progress this week 13:03:44 API test 13:04:04 we may need some improvement here 13:04:36 by adding exception message verification for negative API test cases 13:04:56 to ensure the exception is expected 13:05:25 for example, there are many different cases badrequest exception will happen 13:05:39 and we'd better differentiate them 13:05:45 I'd like to propose postpone the message validation work 13:05:46 so need to check the body? 13:05:58 elynn, yes, possible 13:06:07 Qiming, yes, it is no urgent 13:06:14 with the new REST/RPC parameter passing 13:06:39 most (if not all) parameter validation is done by jsonschema 13:06:56 that will give us a consistent message for verify 13:07:02 Qiming, great 13:07:26 currently, we can only make chaos matching between expected msg string and exception body 13:07:53 take this as an example: https://review.openstack.org/#/c/386942/1/senlin/api/openstack/v1/clusters.py 13:08:24 Line 171 and line 172 will be responsible for all schema validations 13:08:35 I see 13:09:00 it will check whether required field is missing, whether the data type is okay, whether there are some patterns followed etc 13:10:04 ok 13:10:27 How about unexpected field? 13:10:27 e.g. for cluster list request 13:10:28 http://git.openstack.org/cgit/openstack/senlin/tree/senlin/objects/requests/clusters.py#n24 13:10:30 I think we can postpone the api test improvement workitem and wait for api/rpc rework is done 13:11:04 it will check whether limit is provided and is an integer and non-negative 13:11:18 previously we were not checking it 13:11:46 unexpected fields can be ruled out using 'additionalProperties: False' at the object level 13:11:59 oslo.versionedobjects is still working on it 13:12:17 ok 13:12:18 once such an option is added, all requests will benefit from it 13:12:28 I see. 13:12:29 great 13:13:41 hi, Qiming, so this is part of Versioned Requests work item? 13:14:14 yes 13:14:21 ok 13:14:24 but we are not that urgent on this I think 13:14:33 we were not checking unexpected fields yet 13:14:40 yes 13:14:49 for cluster create request 13:14:50 that won't cause exception 13:15:05 once we modeled it using versioned object, we can get the jsonschema here: http://paste.openstack.org/show/586190/ 13:15:41 nova has been adding hand written schemas to their source tree for this 13:16:09 better way is generating it from definition of object storage? 13:16:20 we have just taken a further step in that direction 13:16:21 sorry, resource object 13:16:37 you cannot do that 13:16:47 cluster create is different cluster update, for example 13:16:58 yes, it is 13:17:24 reading code there: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/objects/requests/clusters.py 13:17:30 maybe giving properties different tags? 13:17:37 it is much more easier to maintain 13:18:04 yes, saw that implementation 13:18:27 then .. how would you model cluster list? 13:18:48 we are not there yet 13:18:51 like the way we are using in API reference :) 13:18:57 I see 13:19:16 even the whole versioned object infra is still evolving, we are riding the wave 13:19:27 great 13:19:43 e.g. http://git.openstack.org/cgit/openstack/senlin/tree/senlin/objects/fields.py#n54 13:19:58 and this: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/objects/fields.py#n35 13:20:57 so ... the framework has been proved to be more effective, and we get VERSIONing ... 13:21:16 so I have revised the blueprint for this: https://blueprints.launchpad.net/senlin/+spec/objectify-service-requests 13:21:46 cool. I think this will be an important basement for our "versioned everything" discussion in design session 13:21:48 if anyone is interested in this, please join me in the effort 13:22:06 as an reference implementation 13:22:14 with versioned object, I'm even considering deprecate the senlin.common.schema model 13:22:25 Qiming, yes, that is possible 13:22:27 for each API request, do this: 13:22:41 1. prepare a request class, e.g. https://review.openstack.org/387893 13:22:42 we can use this way to validate spec of profile/policy as well 13:23:02 2. revise the engine service to handle objectified request, e.g. https://review.openstack.org/387894 13:23:27 3. revise the API layer to generate such a request object, e.g. https://review.openstack.org/387912 13:23:32 that's all 13:24:04 rebase profile/policy schema on ovo would be a next step 13:24:06 so the object will be a param of rpc call 13:24:16 yes 13:24:22 just one single call 13:24:28 and it will be serialized and deserialized during transmission via rpc 13:24:48 only this one: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/rpc/client.py#n54 13:24:59 haha, call2 :) 13:25:13 the 'call2' method will be left there, all other methods will be deleted 13:25:22 I see 13:25:47 yes, don't want to break any existing users who are following the master branch 13:25:48 maybe we can replace the current 'call' with it after everything is ready 13:25:57 yes 13:25:57 I see 13:26:02 we will do that 13:26:16 ok 13:26:18 after all transitions are done, we remove the '2' part, because 13:26:24 2 is not a good word in Chinese 13:26:31 LoL 13:26:34 haha 13:26:44 :) 13:27:13 hehe 13:27:25 sorry for occupying too much time 13:27:28 great work. hope everyone can spend some time to see it. 13:27:47 but I believe this is a huge change so everyone else want to understand the 'why' and 'how' 13:28:03 no problem at all, it will be the key for senlin to providing backward compatibility and consistency in future 13:28:22 we will be able to provide smooth upgrading ... 13:28:32 yep 13:28:43 Great work 13:28:47 we rely on versioned object to automatically translate requests between different api versions 13:29:27 if you have 3 engines, they can even run at different versions, hopefully 13:29:55 yes. that will be very helpful for service upgrading 13:30:32 Cool 13:30:46 shall we move on? 13:30:49 30 mins already 13:30:59 ok, we can have more discussion later, lets move on to next item 13:31:05 HA 13:31:11 Qiming, lixinhui_, your turn 13:31:31 * Qiming obviously not working on this thread, :( 13:31:36 haha 13:31:43 I guess xinhui as well :P 13:31:56 for she is preparing the summit topic 13:32:00 a demo run through 13:32:06 nice 13:32:29 so that demo will be part of our HA presentation in summit? 13:32:30 lixinhui_, what kind of demo are you preparing? 13:32:30 for sending notice from Octavia 13:32:32 There's a demo for that topic? 13:32:56 can you explain the demo briefly? 13:33:00 there is misunderstanding here :) 13:33:11 Ethan 13:33:25 and I are preparing chart for summit 13:33:33 Okay :) 13:33:40 where we will show out ideas, now, and future:) 13:34:01 the demo I mentioned is about getting notice from octavia 13:34:36 maybe this time we can catch stephan 13:34:40 the new ptl to discuss if we can submit some BP for this 13:34:50 so notification can now be sent out while lb members' status change? 13:35:02 great 13:35:09 since this should be useful for senlin and other purpose since it suppose to replace lbaas 13:35:30 Yes, yanyanhu 13:35:46 receiving notification from lb service is much better than polling the status of lb member for senlin 13:35:55 https://specs.openstack.org/openstack/neutron-specs/specs/newton/kill-neutron-lbaas.html 13:36:04 I like event listeners over pollers 13:36:20 totally agree, yanyanhu and Qiming 13:36:34 the link I just sent is the decision to kill lbaas in next step 13:36:48 good to know someone is dead 13:36:58 :) 13:36:59 and ... someone is born 13:37:14 :) 13:37:37 ok, waiting for good news from you guys 13:37:43 sure 13:37:50 ok, next one 13:37:52 document 13:37:57 no progress I guess? 13:38:09 #link https://wiki.openstack.org/wiki/Senlin 13:38:15 Senlin frontpage 13:38:27 at least someone treat it as frontpage 13:38:49 I have updated the page with some pointers to the talks we delievered 13:38:55 all those presentations we have made have been added :) 13:39:12 it took me 2 hours this afternoon 13:39:16 and also the link to development and user doc 13:39:38 convert to pdf, upload to slideshare, annotate them, then writing a short summary on the wiki 13:40:24 you deserve a meal as compensation :) 13:40:30 quite quick IMO 13:40:39 I will spend some time unfold that Documentation section, because it is still not obvious what we can do with senlin 13:40:57 oh, forgot to mention 13:41:07 I have been talking to the product-wg guys 13:41:27 it is on the product-wg@lists.openstack.org 13:41:42 I was asking why senlin wasn't shown on the openstack software page 13:42:00 the answer is that they require a >10% deployment, or a PTL request 13:42:00 saw that mail :) 13:42:25 and the team was raising question about senlin, what is it ... 13:42:34 the wiki wasn't telling them that 13:42:34 sigh... 13:42:42 again, we need to improve the wiki 13:43:00 yes. maybe some use cases later 13:43:03 maybe adding a use case section will help 13:43:13 e.g. the one we cooperate with cmcc 13:43:32 moving terminology to a separate page ... etc 13:43:43 great, in this summit, the presentation and video will be availble 13:43:52 will work on that 13:44:00 great, thanks for working on it 13:44:17 ok, lets move on? 13:44:22 line 20 on the etherpad is done, removing that 13:44:32 ok 13:44:45 versioned request. I think we have already covered it? 13:44:51 yes 13:45:00 ok, next one, container profile 13:45:11 hi, haiwei_, any updating about it? 13:45:29 I have been watching sun these days, they have added image support 13:45:33 https://review.openstack.org/#/c/383678/ 13:45:52 beijing has been cloudy, no sun here ... 13:46:01 LOL 13:46:06 ok, madhuri's work 13:46:10 :) 13:46:13 I am thinking whether we can refer to it 13:46:36 sorry, my pc converted it automatically 13:46:45 yes, maybe we can have some discussion with zun team in summit 13:46:45 z un is not a word 13:47:04 I hoped so 13:47:05 just there is conflict on design session time slot... 13:47:14 but the timeslots all overlapped 13:47:22 yes... all on friday morning 13:47:31 there is no possibility to do cross-team talk now 13:47:33 managing image seems out of senlin's scope 13:47:48 haiwei_, yes, it is 13:47:53 yes, so you can keep watching sun, haiwei_, :) 13:48:19 yes, it's shining 13:48:25 :) 13:48:32 move on? 13:48:39 ok, lets move on 13:48:43 no update on receiver or event notification I think 13:48:44 message receiver 13:48:48 yep 13:48:51 just added doc 13:48:56 oh, some docs merged, yes 13:49:03 hope that will be helpful for user and other developer to understant it 13:49:14 any issues or questions, plz just ping me 13:49:24 or leave comments in patch :) 13:49:33 Then ruijie has started some work on batching policy, please folks have your eyes on them 13:49:36 batch policy 13:49:39 yes 13:49:48 thanks a lot for working on this, Ruijie_ :) 13:49:59 my pleasure, yanyan :) 13:50:02 if you need any help, plz find us in irc channel 13:50:21 I was working on the cluster_replace_action last week. 13:50:22 didn't we forget to welcome lvdongbing and XueFengLiu on board? 13:50:29 Will keep working on batch policy later 13:50:30 oh, right! 13:50:36 Ruijie_, great 13:50:37 * Qiming applauds hard ... 13:50:39 will help to review 13:50:55 welcome our new core reviewer, lvdongbing and XueFengLiu 13:50:57 * Qiming keeps applauding ... 13:51:07 welcome 13:51:10 thanks guys :) 13:51:11 looking forward to more coodination with you guys :) 13:51:16 my pleasure 13:51:19 welcome! 13:51:21 hi all 13:51:44 and hope more people will join the core reviewer team soon :) 13:51:46 * Qiming keeps applauding ... 13:51:52 Qiming, ... 13:51:58 don't just applaud 13:52:16 maybe some simple self introduction, lvdongbing XueFengLiu ? 13:52:22 lvdongbing, maybe you first? 13:52:31 OK 13:52:54 I come from KylinCloud 13:53:41 Have been working with Openstack for 3 years 13:53:43 lvdongbing is a veteran of openstack I think :) 13:54:02 great 13:54:16 hi, XueFengLiu 13:54:30 XueFengLiu is from ZTE 13:54:33 I work in ZTE 13:54:40 yes 13:55:31 ok, welcome again, you guys 13:55:34 Nice to meet you guys in openstack world! 13:55:40 me too :) 13:55:44 ok, last 5 mins 13:55:48 mee too 13:55:55 #topic summit presentation 13:56:17 lixinhui_, and Ethan are preparing the HA one 13:56:33 Yes, yanyanhu 13:56:36 and Qiming and me and cmcc colleague are preparing the large cluster topic 13:56:46 yes, might need your review and skilled experience ! 13:56:50 Will schedule meeting with you and Qiming 13:57:00 Yes, Ethan 13:57:02 :) 13:57:06 no problem, please send out the slides and we can help to review 13:57:13 cool 13:57:30 ok, next one 13:57:35 irc meeting reschedule 13:57:48 I think we have no enough time to discuss this 13:57:52 maybe next time 13:58:04 BTW, I will send mail to cancel next irc meeting 13:58:14 for most of you guys will be in Barcelona next week :) 13:58:20 just one question, maybe we can discuss it on senlin channel 13:58:26 Qiming, sure 13:58:38 if you guys have time, we can make a quick discussion in senlin channel after meeting 13:58:47 do you prefer having this meeing at night (this same time), or moving it to day time in China timezone 13:59:20 let's continue the discussion on senlin for a few minutes 13:59:25 ok, no further items in agenda 13:59:27 and release this channel? 13:59:32 Qiming, sure 13:59:39 thanks you guys for joining :) 13:59:50 :) 13:59:51 lets move back to senlin channel 13:59:56 thanks 13:59:56 #endmeeting