16:05:26 #startmeeting thu-04-02-2016 16:05:27 Meeting started Thu Feb 4 16:05:26 2016 UTC and is due to finish in 60 minutes. The chair is daemontool. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:05:28 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:05:30 The meeting name has been set to 'thu_04_02_2016' 16:05:38 Hi Team 16:05:42 hi 16:05:45 hi 16:05:51 today topics are avaialble here https://etherpad.openstack.org/p/freezer_meetings 16:06:26 we have today a specific etherpad for the tenant backup topic here https://etherpad.openstack.org/p/tenant-backup 16:06:45 #topic Define common metadata for all backups 16:07:12 so we need to define a metadata that will be used by all the backup methods 16:07:31 ie. file based, incremental, cindernative, novanative and so on 16:07:58 we have so far a schema example available here https://etherpad.openstack.org/p/tenant-backup 16:08:43 reldan, we do not use anymore the old medata, right? 16:08:59 Nope, it was only swift based 16:09:18 so it is obsoleted and deleted 16:09:41 ok 16:09:58 Actually about tenant backup 16:10:14 Who is the driver? Who defines requireents? 16:10:24 requirements 16:11:08 reldan, Igood question 16:11:31 Because otherwise we can create something, that is very good but not very practical 16:11:33 I think, one way of defining basic requirements 16:11:49 is to get them from our Companies 16:12:00 so from HP I think someone should talk with Arun 16:12:17 from 99Cloud we can get some from EinstCrazy and zhangjn 16:12:36 Yes, exactly - we need a guy who wants “tenant backup” and ask - how do you see this feature? how are you going to use it? 16:12:37 I'll take the requirements from Ericsson 16:12:46 yes 16:12:54 I'd say that as a quick win 16:12:59 for volumes backups 16:13:19 we can integrate with the cinder volumes incrementals feature 16:13:28 available from Liberty 16:13:30 volumes backups online 16:14:01 zhangjn, by online you mean, without downtime right? 16:14:03 For example I have question - if we have many volumes, we cannot implement backup immidiatele. All backups will have different time. How we specify the time of tenant backup then? 16:14:04 ok 16:14:08 I'm adding the requirements 16:14:11 on etherpad 16:14:34 reldan, probably we can manage that from the scheduler? 16:16:05 Yes, let’s say we started our backup at 2:00 and we have 4 volumes - 1G, 2G, 100G, 1K G - so backups very completed at 2:00:30, 2:00:50, 2:04:00, 2:14:00 16:16:31 But for tenant backup we need to specify time - should it be 2:00? 16:17:12 Maybe define every volume backup time 16:17:39 how about start time and end time for each volume? 16:17:39 Or what to do if by some reason we can do backup for 3 of 4 our volumes. And 4-th returns error 16:17:46 Use can config every volume or vm backup time 16:17:49 user 16:18:11 Yes, exactly - here a lot of questions and it will be great to some product owner - who knows how it should be from practical point of view 16:18:12 ddieterly, we do not know the end time :( 16:18:18 to have 16:18:55 daemontool: would it be possible to have some kind of estimate for that? 16:19:03 If we have no such person, I can imagine some metadata format - but I doupt it will be very good in real life 16:19:22 we use the cinder api, so it's cinder dependant 16:19:30 it depends on the volume size 16:19:47 but I'm not sure we can do an estimate 16:19:55 it depends on the current load of the cinder storage nodes also 16:20:13 on how many backup are happening etc 16:20:16 so 16:20:18 I see 16:20:20 on which case 16:20:30 the volumes that belongs to a tenant 16:20:36 should be taken at the same time? 16:20:55 backup_start_time and backup_end_time in our schema 16:21:01 ok 16:21:06 even if they do start at a given time we won't be sure if they end at the same time 16:21:12 so if they are thought as ' a block ' 16:21:23 maybe we'd have to wait for the slowest one to end 16:21:58 I think we need to define probably a timeout, that would be backup_end_time? 16:23:57 dmellado, ++ 16:24:09 reldan, your question is about what we do if one volume fail? 16:24:25 so here we have the same challenge of parallel backups right? :) 16:24:27 Yes 16:24:34 Yes, exaclty 16:24:40 we solved that by defining a policy 16:24:41 like 16:25:06 strict: if one fail, the job session fail, and all the volumes backups needs to be retaken 16:25:25 Yes, but we need it in metadata 16:25:36 reldan, yes 16:25:39 ok 16:25:58 So probably we will have corrupted tenant backups 16:26:03 so we can have a key called 16:26:13 Pierre Mathieu proposed openstack/freezer: Fixing database config file parsing https://review.openstack.org/276333 16:26:18 failure_policy: {strict, flexible} ? 16:26:24 Yes 16:26:44 Let’s say we want to restore tenant backup now, and the latest one contains only 3 volumes of 4 16:26:56 And we have previous backup with 4 of 4 16:27:02 What I should do for restore? 16:27:44 so that backup 16:27:48 to have 3 of 4 16:28:07 it mean the user set failure_polic: 'flexible' 16:28:12 yes 16:28:15 policy 16:28:22 should we restore 3 of 4? 16:28:32 or should we restore previous one with 4 of 4? 16:28:32 yes 16:28:38 3 of 4 16:28:41 or should ve restore one from old and 3 from new? 16:28:55 I think 3 of 4 16:29:11 because the backup session if OK according to the policy 16:29:27 and is just the previous backups available from the restore date set by the user 16:29:42 we have failure_policy 16:29:47 it semplify 16:29:51 the whole thing 16:30:03 because if you have 'strict' 16:30:10 But what I should do if I wnat to restore all 4? 16:30:11 3 of 4 is not valid 16:30:36 Let’s say I have 1 web node, 2 sql node (master - slave), 1 processing node 16:30:38 wouldn't that lead to data issues? that would happen if any data from changes in between 16:30:44 in that case the user shoudl have the the 'failure_policy': 'strict' 16:30:49 If I restore 3 of 4 - it will be not very good for me 16:31:10 reldan, yes I agree 16:31:14 so in that case you set 16:31:21 'failure_policy': 'strict' 16:31:24 I suppose we need to have a mechanism to choose backup for restore not only by datetime 16:31:34 yes 16:31:49 like in my sql: select last full backup to this date 16:31:50 yes 16:32:04 that's a requirement 16:32:10 ++ 16:32:29 Pierre Mathieu proposed openstack/freezer: Fixing database config file parsing https://review.openstack.org/276333 16:32:32 How we are going to store our metadata? In mysql? 16:32:42 reldan, one sec 16:32:47 let me add the requirement 16:33:21 ok 16:33:23 mysql backup we can use xtrabackup tools. 16:33:57 zhangjn, we have been analyzing that, we can talk about that off line if you want 16:34:05 I'll tell you the whole story 16:34:14 :) 16:34:28 OK 16:34:36 reldan, I think, 16:34:41 we need to store the metadata 16:34:59 in the API and also in the media storage we set 16:35:09 for cindernative we do not have a media storage to set 16:35:29 but I think, we should store it on the freezer-api 16:35:34 cause from that we can compute metrics 16:35:38 and show data from the web ui 16:36:08 for now, I wouldn't solve which db are we going to use as api backup other than elastic search 16:36:11 Should freezer-agent know about api? 16:36:14 cause that's story itself 16:36:21 the scheduler knows 16:36:45 the agent return the metadata 16:36:47 to the scheduler 16:36:51 Ok ) 16:36:55 and the scheduler upload it to the api 16:36:59 as we are doing now 16:37:04 we have that already 16:37:04 So who is the guy responsible for metadata format? 16:37:19 Pierre Mathieu proposed openstack/freezer: Fixing database config file parsing https://review.openstack.org/276333 16:37:28 I think we need 2 dudes for that 16:37:37 1 backup the other :) 16:37:47 well, it's more ha 16:37:55 ha 16:38:00 daemontool: gotta run, would you put the 'proposed schedule' for the source code overview in etherpad? 16:38:07 dmellado, yes 16:38:11 thanks a lot for your inputs 16:38:20 np, thanks! ;) 16:38:32 reldan, zhangjn are you ok doing that? 16:38:35 I believe it should be someone who knows requirements. 16:38:38 vannif, needs to do that also 16:38:42 zhangjn, and vannif ? 16:38:46 me? 16:39:04 it should be someone that works on the agent 16:39:10 and someone that works on the api 16:39:23 the requierments we can define that together 16:39:30 as we need to collect them from our companies also 16:39:33 I can create metadata - but it may be just useless for guy who actually is going to use tenant backup 16:40:16 is vannif around there? 16:40:27 he did quite a good job last time with scheduler metadata 16:40:38 Nope he is not here 16:40:44 ok 16:40:54 so I can do it for now 16:41:08 reldan, and zhangjn if you wants to do it too 16:41:12 you are welcoem 16:41:22 we have a holiday(Spring Festival). 16:41:26 Thank you :) 16:41:35 ok reldan we'll do it 16:41:42 Just because now we have only that 16:41:46 As a tenant, I need to use Freezer to backup all my data and metadata from an OS Cloud and restore it at my convenience. 16:41:52 And it is good 16:42:09 But it would be great a real person, who wants this because he is really running something 16:42:25 and it is really important for him to have tenant backup 16:42:35 Like guy who runs e-commerce application 16:43:18 reldan, can you ask to Arun there? 16:43:20 Otherwise it is more like - we need a tenant backup just because it is cool 16:43:21 that's his job 16:43:50 Oh, I don’t have lync on my comp. Probably ddieterly can 16:44:12 ddieterly, can you have a conversation with Arun 16:44:12 I have some customer want this function. 16:44:27 and get the requirements for the backup as a service in general? 16:44:29 zhangjn: Great. Could you gather requirements? 16:44:34 I'll do the same 16:44:57 yes 16:45:12 also Pierre can have some requirement 16:45:15 Slashme 16:45:19 ddieterly, thanks a lot 16:45:54 Yes, I will gather requirements. 16:46:00 Yes, sure - let’s gather requirements first. If we can, otherwise we will implement something that may not very usefull for our customers. I’m afraid this situation 16:46:03 we have a product owner here 16:46:05 Thank you 16:46:14 Pierre Mathieu proposed openstack/freezer: Fixing database config file parsing https://review.openstack.org/276333 16:46:16 ok 16:46:20 I will push our guys to join in this project. 16:46:34 zhangjn, lol thank you :) 16:46:46 now 16:46:51 Currently I can start to add —force and —increment to cindernative 16:46:58 ok let's move forward 16:47:01 reldan, that's good 16:47:09 Some POC will start after Spring Festival 16:47:11 I think zhangjn can do that 16:47:19 reldan, with your guidance? 16:47:31 so he'll take familiarity with the base code? 16:47:34 Yes, sure - it shouldn’t be very difficult 16:47:48 zhangjn: please contact me anytime 16:47:53 ok, please arrange a meeting 16:48:07 ok, I will 16:48:10 ty 16:48:12 zhangjn, when the Spring Festival 16:48:16 will ends up? 16:49:01 ok let's move forward 16:49:04 to the next topic 16:49:29 #topic Source code walkthru definition 16:49:34 Feb 6 ~ Feb 15 16:49:55 zhangjn, ok so we'll arrange the source code walkthough session 16:50:02 after the 15th of Feb? 16:50:14 yes 16:50:17 ok 16:51:01 let's move forward 16:51:03 to 16:51:15 I have a beginer in freezer. learn and learn, :) 16:51:16 #topic Mitaka-3 release 16:51:24 ok :) 16:51:28 so 16:51:33 I'm doing that currently 16:51:46 there are few issues, like adding modules to global-requirements.txt 16:52:02 fixing devstack api plugin (it's required by something I can't remember) and the tagging 16:52:53 we should be good for M3 timeline at 16:53:26 13th of Feb 16:54:06 8-12th Feb 16:54:09 need to verify 16:54:14 anyway that is important 16:54:24 Pierre Mathieu proposed openstack/freezer-web-ui: Using a smarter way to get freezer-api URL https://review.openstack.org/275804 16:54:37 moving forward 16:54:50 #topic Change meeting to 11am GMT every Thu to facilitate people from Asia to participate 16:55:12 anyone wants to submit a patch for that to the openstac-infra/meetings repo? 16:55:28 I can do that 16:55:43 great 16:55:45 so the topic are over 16:55:58 there's anything else you want to discuss? 16:56:03 great 16:56:08 anyone wanted to say somethign and didn't had the chance? 16:56:22 something more on the volumes meta? 16:56:32 reldan, we need to set a meeting 16:56:41 11 AM GMT is like 4AM for me 16:56:41 yikes 16:56:46 with frescof_ 16:56:48 mmmhhh 16:56:49 ok 16:56:55 that's the issue 16:57:02 how can we do this at a time 16:57:08 that is suitable for US and Asia? 16:57:25 2 PM GMT? 16:57:26 1PM ? 16:57:41 zhangjn, ? 16:57:42 4 AM ? 16:57:50 or PM? 16:57:50 lol 16:57:53 am 16:58:09 in us 11AM GMT is 4AM 16:58:29 ddieterly, 1 PM sound? 16:58:35 GMT 4 AM? 16:58:35 early 16:58:53 that's 6AM my MST 16:58:58 how is this problem solved 16:59:06 in the other teams? 16:59:17 i could do 2 PM GMT which is 7 AM MTD 16:59:27 zhangjn, is that ok? 16:59:31 what is that in Japan? 16:59:33 it will be 10pm in china 16:59:57 who is in china? 17:00:02 zhangjn, and EinstCrazy 17:00:16 how is 10pm for them? 17:00:25 they will work on baas 17:00:30 mainly cinder and nova 17:01:11 if i have to, i can do 1PM GMT 17:01:49 1.30 pm that would be 9.30 pm ? 17:01:51 6.30? 17:02:39 I think 2 PM is ok 17:03:15 zhangjn, ddieterly thanks for your flexibility 17:03:28 so 2PM GMT is the new time 17:03:37 I'll send a patch 17:04:33 ddieterly ,thank you :) 17:04:35 #endmeeting thu-04-02-2016