09:00:44 #startmeeting blazar 09:00:44 Meeting started Tue Mar 7 09:00:44 2017 UTC and is due to finish in 60 minutes. The chair is masahito. Information about MeetBot at http://wiki.debian.org/MeetBot. 09:00:45 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 09:00:45 hi 09:00:48 The meeting name has been set to 'blazar' 09:00:56 #chair priteau hiro-kobayashi 09:00:56 Current chairs: hiro-kobayashi masahito priteau 09:01:20 #topic RollCall 09:01:29 o/ 09:01:30 \o/ 09:01:46 o/ 09:02:32 Todays agenda is... 09:02:42 1. action items from last call 09:02:46 2. O release 09:02:53 3. Pike blueprints 09:02:56 4. AOB 09:03:03 anything else? 09:03:34 nothing 09:03:48 #topic Action items from last meeting 09:04:23 I can see one action item from last meeting 09:04:35 * masahito tejaswi to open bug about 'host update' 09:05:01 but it looks like tejaswi isn't here today. 09:05:22 I cannot find the bug entry on Launchpad 09:05:44 yes, so skip to next topic. 09:06:02 #topic O release 09:07:40 I'm thinking I'll cut 0.2.0 release tomorrow morning because other team starts their activities and it affects blazar repo now. 09:08:04 +1 09:08:07 o/ 09:08:10 +1 09:08:17 +1 09:08:23 o/ 09:08:32 I'll try to push my patch later today 09:08:49 I am working on an update following your comments 09:08:59 From etherpad page, only this patch is under the review but easy to backport lator 09:09:10 GeraldK: tejaswi_: o/ 09:09:38 priteau: have you received feedback from previous cores? 09:09:47 none :( 09:10:33 priteau: thanks. I'll check it tomorrow. 09:11:09 priteau: well this is 3 years old... 09:13:02 we can improve current blazar. if we get any feedback we can respond it. 09:13:23 any comments for the release? 09:13:35 About docs 09:13:46 I've published docs on readthedocs.org 09:13:54 #link http://blazar.readthedocs.io/en/latest/ 09:14:14 This docs are built from the doc directory of blazar git repo 09:14:32 hiro-kobayashi: great job! 09:14:35 And I will update the wiki to link the new readthedocs page 09:14:43 hiro-kobayashi: nice! 09:15:04 hiro-kobayashi: nice work! 09:15:25 So, we can stop managing duplications! 09:16:18 we're ready to release :) 09:16:25 thx hiro-kobayashi 09:16:36 #topic Pike Blueprints 09:17:17 I see hiro-kobayashi want to discuss some topics because of he added the agenda. 09:17:25 hiro-kobayashi: want to start? 09:17:33 Yes. I’ve updated 2 blueprints. I want you to review them. 09:17:45 1 on-end-options #link https://blueprints.launchpad.net/blazar/+spec/on-end-options 09:17:54 2 terminate-lease-at-anytime #link https://blueprints.launchpad.net/blazar/+spec/terminate-lease-at-anytime 09:18:06 And I want to discuss 1 here 09:18:37 In Chameleon we use an on_end action to terminate instances 09:19:05 priteau: Yes, so I want your feedback :-) 09:19:15 I'm thinking of 'How to specify the on-end option?' 09:19:32 But we've hardcoded it in the code. I think it should be something more flexible that can be chosen via config file 09:19:48 priteau: +1 09:19:52 1 idea is 'By config value' 09:20:11 The other is 'By parameters of create/update lease request (REST API) 09:20:11 IMHO for Pike it would be okay to go with the easier approach. we can optimize later on. 09:20:42 GeraldK: +1. I think 'By config value' is easier. 09:20:56 if we can have options as listed in the BP that should be fine. 09:21:10 Because 'By parameters of requests' needs modification of REST API 09:21:20 I prefer to config value because it doesn't need API schema changes. 09:21:31 masahito: +1 09:21:35 Actually some kind of on end action is necessary, because if an instance stays running on the node, blazar fails to end the lease properly 09:21:48 +1 masahito 09:22:03 Yes, so I will add actions in on_end() method 09:22:19 And need to resolve on_end conflicting behaviors. 09:22:23 Then, I will adopt 'By config value' 09:22:42 masahito: which on-end conflicts do you forsee? 09:23:34 hiro-kobayashi: another option for on_end is "kill" 09:23:59 GeraldK: For instance if user#1 specifies keep_running at on_end but default is terminating, how the reserved_host is treated? 09:24:12 GeraldK: kill is same with 'delete' which I plan to do by default 09:24:22 after on_end. 09:24:41 hiro-kobayashi: okay. got it. 09:24:50 masahito: Yes, that is the big problem. 09:25:33 masahito: what about removing "keep_running" from the list of options? 09:25:58 if the user wants to extend the lease, it should/could do an update lease to keep its resources running 09:26:29 GeraldK: That make sense 09:26:33 +1 09:26:38 GeraldK: it's reasonable. 09:27:02 on the "snapshot" option: this will take some time to create the snapshot so a) the snapshot must be triggered prior to end time or b) we need sufficient safety times between two leases 09:27:15 So, we don't allow any lease to block other leases 09:27:31 GeraldK: right 09:27:31 same issue for "migration". 09:28:54 The period taken for snapshot/migration is not easy to predict, though 09:29:19 we should use a conservative time here. better to reserve too long time than too short. 09:29:57 The time depends on instance size, how active the instance write on memory, and so on. 09:30:07 Transition between leases is a general problem with Blazar, we will need to work on it 09:30:11 if we assign 24h it should be sufficient :) 09:30:18 haha 09:30:28 e.g. a lease with many nodes can take a long time to put back all hosts in the freepool 09:30:49 yeah 09:30:58 priteau: right. I notice blazar polls every 10 sec. so 09:31:44 There are still some critical problem that we should work on in long term. 09:31:46 It's needed to change something like push type event handling. 09:32:00 can we add a safety_time as parameter the user can set, i.e. safety_time minutes prior to lease end the action will be triggered. if the action is not completed by the end of the release, then it's bad luck for the user. that is, it is in the responsibility of the user to plan for sufficient safety_time 09:32:53 +1 09:33:08 GeraldK: sounds good. 09:33:31 This will require API changes though? 09:33:39 most important for Pike IMHO is to have the delete running instances. the on_end actions are a nice addon. 09:33:51 I thought it's specified in config file. 09:34:21 How about implement it by config file for now? 09:34:21 then it is the admin who sets it, not the user? 09:34:48 priteau: Yes, it should. 09:34:55 IMHO, first step of on_end options is delete instance, then snapshot or others are next steps. 09:34:56 it think that would be acceptable. 09:35:52 Then I will start implementation from the first step 09:35:53 priteau: do you expect to have safety_times that largely defer from user to user? 09:36:11 priteau: i think so. the admin notifies the safety_time to user and the user sets the end time including the time. 09:36:17 GeraldK: For snapshot it could be much higher for users with lots of data in their image 09:37:26 priteau: okay. I guess you have some experiments with large data sets 09:38:45 So, step 1: force delete all leases. step2: add options. step3: add safety_time in config_value. step4: add safety_time in REST API. 09:39:09 +1 09:39:21 +1 09:39:25 +1 09:39:57 OK, thank you all! Now its clear and I can start implementation! 09:40:08 for migrate we may also need API change to specify location WHERE to migrate 09:40:51 so I propose to do that action with/after step 4 only 09:41:40 GeraldK: +1. so only 'snapshot' option will be introduced for the first, right? 09:41:52 We could use Nova scheduler first b/c Nova choose some hosts when migration requests doesn't have a dest host. 09:43:20 Of course, it's just one idea. 09:43:21 masahito: good idea. this could be the default option if no dest host is specified 09:43:25 masahito: A problem is VMs running on leased hosts may be bound to the AZ 09:44:07 The AZ is created per lease by Blazar, 09:44:23 IIRC, when blazar has admin role, admin user can specify any hosts. 09:45:30 hiro-kobayashi: The scheduling happens b/c create instance API request body has 'scheduler hints' 09:46:04 masahito: Got it 09:46:47 anyway, please check it. and if it can't work, we can skip the feature in step2 09:46:50 :-) 09:47:05 ok 09:47:35 That's all for what i want to discuss about Blueprints 09:47:40 hiro-kobayashi: do you want to discuss BP#2? 09:47:56 No, #2 is clear. 09:48:02 hiro-kobayashi: got it. 09:48:27 Speaking of BP, I thought we need a place to discuss the details of each BP. 09:48:59 Do you make sense to have spec repo for this purpose? 09:49:19 It's better 09:49:32 or have a dir in blazar repo. 09:50:07 in blazar repo is easy. 09:50:29 How about creating specs repo in blazar repo for now? 09:50:52 ok, I'll create the spec repo. 09:50:56 And create blazar-specs repo if we think we need it? 09:51:03 masahito: thanks! 09:51:21 +1 09:51:30 grepping through my local git clones, I see a couple of projects using doc/source/specs 09:51:40 ./diskimage-builder/doc/source/specs 09:51:40 ./python-openstackclient/doc/source/specs 09:51:52 bigger projects use a dedicated repo 09:52:17 priteau: thanks. it looks better to create specs directory under doc/source 09:53:29 Proc of having the dir under doc/source is the spec is published in readthedoc. 09:54:11 Proc of having the different repo is.... what? 09:55:04 clearly separate design process and impl process...? 09:55:32 hiro-kobayashi: oh, yes. right. 09:56:01 masahito: also you can have specs for multi-repo projects 09:56:09 like ours, we have blazar, blazar-nova, python-blazarclient 09:56:59 priteau: right. 09:58:06 Putting specs under doc/source looks better now for me. 09:58:19 +1 09:58:51 because all of bp are related to only blazar repo. 09:59:37 anyway, I'll create some place to discuss. 09:59:42 last one min. 09:59:45 #AOB 09:59:51 #topic AOB 10:00:09 do you all have another thing to discuss. 10:00:12 ? 10:00:13 do we need a new Etherpad page? 10:00:23 For Pike? 10:00:49 yes, e.g. for general discussion/planning for Pike and Q 10:01:21 sounds good. 10:01:48 okay. I will create a Blazar_status_2017 page 10:01:53 ok, I created :-) 10:02:01 https://etherpad.openstack.org/p/Blazar_status_2017 10:02:03 okay. thanks masahito. 10:02:16 thanks 10:02:59 running out time. 10:03:05 thanks, all! 10:03:09 bye. thx 10:03:12 #endmeeting