16:02:33 #startmeeting openstack-freezer 12-11-2015 16:02:34 Meeting started Thu Nov 12 16:02:33 2015 UTC and is due to finish in 60 minutes. The chair is m3m0__. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:02:36 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:02:38 The meeting name has been set to 'openstack_freezer_12_11_2015' 16:02:40 All: meetings notes available in real time at: https://etherpad.openstack.org/p/freezer_meetings 16:03:04 hello all, the first topic of the meeting will be parallel backups 16:03:08 #topic parallel backups 16:03:16 reldan any update? 16:03:36 Hi m3m0__ 16:03:41 Hi m3m0 16:04:24 I’m working on parallelb backups. Everything seems to be nice, I have a MultipleStorage now, so it seems a big of part of code will be the same as before 16:04:37 I’m going to show result next week 16:04:56 cool, any blockers that you have so far? 16:05:15 Nope, have no blockers. Everything is clear 16:05:39 is this going to be release for liberty right? 16:05:48 what will be next? 16:06:28 I don’t know, Fausto should know better. We decided that deadline will be 25 November. 16:06:45 we need to define that on the freezer roadmap 16:07:00 yep 16:07:01 == 16:07:02 ++ 16:07:22 https://wiki.openstack.org/wiki/FreezerRoadmap 16:07:24 What will be next. I would like to make some changes in swift storage. 16:07:39 anything critical? 16:07:53 Nope, just code optimization and cleaning 16:08:33 I also would like to refactor 1) lvm and shadow (separate database locking from snapshotting) 16:09:04 2) mysql, mssql etc - I would like to have classes with some structure instead of functions 16:09:11 yes 16:09:15 #agree on that 16:09:15 reldan, that sounds reasonable 16:09:31 #agreed 16:09:36 and I would like to add something to that 16:09:51 the sql server behaviour should be similar to the one in mysql 16:09:57 yep 16:09:59 reldan, code for snapshots and mysql needs to be intermixed. are we going to use some kind of "hooks" ? 16:10:08 where the database only gets locked at the snapshot creation 16:10:56 I don’t believe it should be intermixed. We should have separated objects for application and for lvm/shadow. Like 16:11:05 Application: stop(); run() 16:11:07 yes. separated objects 16:11:16 Snapshot: create(); delete() 16:11:29 And probably the third class that will be actually execut it 16:11:33 but, the procedure to backup calls the various methods in sequence 16:11:47 and has to roll back in case of errors 16:11:48 appllication.stop(); snapshot.create(); application.run(); snapshot.detete() 16:12:00 Ok then 16:12:09 application.stop(); 16:12:15 try snapshot.create() 16:12:21 finally application.run() 16:12:32 the ; at the end came from Perl? lol :) 16:13:06 Because now I cannot execute mysql backup on windows 16:13:12 And it’s really wrong 16:14:22 yes, the behaviour right now is very *unix 16:14:56 Or we can provide application to snapshot, or snapshot to application. But I absolutly belive, we shouldn’t know doing lvm/shadow about concrete mysql, mssql, mongodb stop/run implementation 16:15:36 #agreed 16:15:41 the less dependencies between each other the better 16:15:45 yep 16:16:15 http://pastebin.com/abeDAQ0h 16:16:18 that will allow us to create an snapshot at the begginig of the job and not in the action itself 16:16:33 line 70 16:16:46 line 85 16:17:26 Otherwise it will be a lot of checks if mode is mysql … elif mode is mongodb … elif msserver ... 16:18:00 Next thing 16:18:18 I know that Zaher wants to provide possiblity to write plugins for freezer 16:18:59 Like I need to create s3 storage, but don’t want to share it. Probably it is not good enough for merging to master, but good engough to me 16:19:28 So If I understand it correct, we should have some dir in freezer, scan this directory and loading modules from it 16:19:53 we need to explore the option on how horizon handles this 16:19:55 Sounds good, but requres from us to think very carefully about internal interfaces 16:20:29 that way we can import/extend/override freezer functions and classes 16:20:35 We should say, if you want to have new storage: 1) create class 2) implement methods a, b, c 3) add metainformation 16:20:50 yes, agree 16:21:03 So we need to decide which components we would like to have pluggable 16:21:18 Decide and fix interfaces 16:21:34 I would like to be involved in that :) 16:21:55 m3m0__, you are involved already :) 16:22:09 that's true :) 16:22:18 Great ) So probably when we have time, we shold review components and interfaces between them 16:22:22 It is all from my side 16:22:25 yep #agree 16:22:33 #agreed 16:22:42 does anyone has anything more to say on this topic? 16:23:05 Memo Garcia proposed openstack/freezer-web-ui: Improved horizon dashboard for freezer https://review.openstack.org/236175 16:23:07 (let's use a subsection in the wiki) 16:24:02 ok, next topic 16:24:13 #topic freezer included in the big tent 16:24:19 http://governance.openstack.org/reference/projects/freezer.html 16:24:34 congratulations to everybody :) 16:24:46 I would like to take a minute and congratulate everyone for this amazing achievement 16:24:58 ++ 16:25:01 #agreed 16:25:07 we need some more beers to celebrate :) 16:25:24 tonight 6:30 pm GMT :) 16:25:38 McSwiggans of Galway if anyone is interested :) 16:25:49 +2 16:26:20 +1 congrats everyone 16:26:30 well moving to the next topic :) we are short on time 16:26:40 #topic freezer api 16:26:46 vannif, any news? 16:27:17 yep. sent the code for review, with unit tests and coverage 16:27:41 which commit is it? 16:27:49 is the one related to action_id ?? 16:28:06 now, when creating a job in the api, the api can understand the content of the job, extract the actions and put them in the actions db with a proper action_id 16:28:33 https://review.openstack.org/#/c/244245 16:28:58 so guys, please review ^^ 16:29:02 the, solved some minor bugs with the db-init 16:29:10 question 16:29:23 https://review.openstack.org/#/c/244072/ 16:29:23 https://review.openstack.org/#/c/243679/ 16:29:24 when freezer is installed it create a freezer-db-init executable 16:29:26 shoot 16:29:43 yes 16:29:47 should it be there? I don't think it make sense in an end user perspective 16:29:51 but I could be wrong 16:30:19 hello all, sorry to be late 16:30:28 to be more precise, its in the freezer-api repo 16:30:35 not freezer (agent) 16:30:38 oooooo 16:30:46 well makes more sense now 16:31:51 the. you suggested the addition of a backup_uuid to support the web-ui 16:32:04 and there is the issue of the client_id 16:32:05 there is also this commit related to the api: https://review.openstack.org/#/c/244563/ 16:32:23 exaclty 16:32:55 regarding the client_id, we talked a little about that 16:32:58 to summarize: 16:33:22 Merged openstack/freezer-api: fix freezer-db-init modifies replicas in test mode https://review.openstack.org/244072 16:33:42 having it default to ptoject-id_hostname can result in conflicts 16:34:03 but having it created as a uuid everytime can be a problem as well 16:34:29 yes, while retrieving data from the api when the you don't now the id for example 16:34:47 yes. so we are thinking of having it stored in a configuration file. 16:35:04 what happens if that configuration gets deleted? 16:35:16 vannif: a file where ? 16:35:34 when not defined it gets created, but then stored. so subsequent invocation of the freezer-scheduler (and the future python-freezerclient) will result in using the same client_if 16:35:38 *client_id 16:35:53 we were thinking of ~/.freezer/scheduler.conf 16:36:11 or (if not present) /etc/freezer/scheduler.conf 16:36:11 why not /etc? 16:36:37 etc should be first IMO 16:36:57 in /etc you need to be root 16:37:49 to modify it, yes. anyway, we'll stick to *nix standard way of looking for config files, that's a side problem, I think. 16:38:03 the important concept is that of storing the client_id locally 16:38:31 exactly vannif, I don't like the idea 16:39:08 why not? fabriziof ? 16:39:54 I'm not that sure too, but I can see it has some good points 16:40:35 if you loose the file ? 16:40:50 yes I agree with that point 16:41:06 is this a blocker vannif? 16:41:24 If you lose the file, you can recover the id from freezer-scheduler client-list 16:41:58 there is a bp on this: 16:42:27 About the api, I'm working on a patch that will allow to define property that will span across multiple actions of a job. 16:42:28 When the api will receive a job that contains actions_default, it will expand those properties to all actions in that job. 16:42:35 https://blueprints.launchpad.net/freezer/+spec/better-client-id 16:42:46 Oosps wrong copy / paste 16:42:47 https://blueprints.launchpad.net/freezer/+spec/better-client-id 16:43:40 please all review this bp and send feedback 16:43:51 if you can retrieve the client_id then the only problem I see is security 16:44:23 the client_id is not a secret even now 16:45:04 even if you provide the client_id of another user, you need to provide valid OS credentials to access that information 16:45:17 or you mean something else ? 16:47:26 I'm just worried saving sensible thing locally on disk 16:47:42 https://docs.python.org/2/library/uuid.html 16:48:19 since most of the customers I have been in touch are concerned 16:48:56 What sensible info ? 16:49:14 users / pwds / ids etc... 16:49:52 sometimes users of vm's are not allowed to access the openstack part 16:50:15 Yes, but the scheduler client_id is not sensitive at all 16:50:28 but let's skip this for now and have a security specific discussion in the near future 16:50:39 ++ 16:50:40 and the users should have permissions at least to store data on swift and get a keystone token 16:50:49 #agree on that 16:51:02 we need to define that on the roadmap as well 16:51:14 I think we can move forward 16:51:17 anything more to say related to the api? 16:51:18 yes 16:51:23 #topic free4all 16:51:30 branching 16:51:47 so currently our code is aligned with kilo requirements 16:51:51 yes 16:52:01 as soon as https://review.openstack.org/#/c/244245/ 16:52:12 is in we can create the stable/kilo branch 16:52:19 and as soon as we merge the new changes on the ui and api we have to create that branch 16:52:25 yes 16:52:32 this: https://review.openstack.org/#/c/236175/ 16:52:40 and this: https://review.openstack.org/#/c/244563/ 16:52:41 eggsactly thanks 16:52:51 after that 16:52:57 So, stable/kilo tomorrow? And we need to define the date where we will branch liberty so I can put it on the roadmap 16:53:20 do we need to agree on that this very moment Slashme_ ? 16:53:22 after stable/kilo, master will be liberty 16:53:45 Slashme_, I think as soon as the parallel backup change is in 16:53:53 we can branch liberty 16:54:19 and in master align the requirements with mitaka 16:54:37 so I think, no late than tomorrow we need to create stable/kilo 16:54:51 so, as Slashme_ said after kilo, liberty should be very quick relase 16:55:04 only containing few new features and bug fixes 16:55:14 because we need to catch up with mitaka 16:55:27 and also see if anything brake after we change the requirements 16:55:29 yes 16:55:47 for liberty we need to send the windows scheduler 16:55:52 I'll work on that 16:55:56 we need to make sure freezer works with kilo onwards.. 16:55:59 ok 16:56:04 #agreed 16:56:08 and for mitaka test coverage for web-ui 16:56:15 ++ 16:56:22 let's write that in the wiki please 16:56:29 so we can send an email to the OS ml 16:56:45 yes, and send an email to the openstack-dev 16:57:10 ++ 16:57:23 and release also a new pypi version 16:57:28 so looks like 16:57:30 so we can agree that will release liberty by the end of december? 16:57:32 openstack is movign away 16:57:38 from release with dates 16:57:47 to releases with ...? 16:57:51 m3m0__, before Christmass 16:57:57 like 16:58:02 release 2015.12.10 16:58:06 liberty by 24 of of december? 16:58:09 that is not used anymore 16:58:12 liberty 16:58:29 I'd say by 18th of dicember 16:58:33 december 16:58:40 no later than that 16:58:54 it would be more then 1 month from now 16:59:22 20 is a friday 16:59:27 +1 fot 20 16:59:44 ok guys we are running out of time 16:59:59 isn't 18th of December aq Friday? 16:59:59 are we clear on the next steps? 17:00:10 ok 17:00:23 also 17:00:31 I'd like to propose the following 17:00:50 Slashme_, as a core reviewer, all in favor? 17:00:54 +2 17:01:04 vannif, fabriziof ? 17:01:08 reldan, ? 17:01:19 sounds good? 17:01:33 #agree 17:01:52 and reldan also as a core reviewer, all in favor? 17:01:57 and reldan too 17:02:01 yes 17:02:03 :) 17:02:05 yes 17:02:07 :) 17:02:10 +2 for reldan as well 17:02:15 +1 for @reldan 17:02:24 we have to send an email to the openstack-dev ml 17:02:28 but before 17:02:44 I'd like to send the roadmap changes that was requested by the TC 17:02:51 so please let's do that fast :) 17:03:35 so please when I send the email for Slashme_ and reldan, the current cores send a reply with +1 17:03:44 as that is how it works in os 17:03:48 yes of course 17:04:05 I'm also revisiting the mission 17:04:08 with dhellmann 17:04:26 that's all from me 17:04:34 thanks a lot daemontool_ 17:04:36 I'd like to add block based incrementals for Liberty 17:04:41 let's see if I can make it 17:05:22 guys thanks for your time 17:05:26 and please review 17:05:27 #endmeeting