14:00:42 #startmeeting freezer 14:00:44 Meeting started Thu Mar 2 14:00:42 2017 UTC and is due to finish in 60 minutes. The chair is szaher. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:45 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:48 The meeting name has been set to 'freezer' 14:01:20 Hello everyone 14:01:24 hello szaher 14:01:44 hey everyone :) 14:01:48 Allen_: 14:02:56 Let's wait 5 minutes for everyone to join 14:03:05 Plop 14:03:32 hi everyone 14:03:32 hi 14:04:10 Please update the topics here https://etherpad.openstack.org/p/freezer_meetings if you have any 14:04:16 daemontool hi :) 14:04:25 hi guys 14:04:48 I think we are good to start 14:04:50 #topic puppet manifests for freezer 14:05:28 yep, me and raliev going to implement it 14:05:50 That's really good 14:06:17 first question - as far as I know it's not possible to run freezer api in cluster mode. Correct me if I'm wrong 14:06:34 as far as I see it's right 14:06:41 vnogin: I don't think so 14:06:52 We are running freezer-api behind haproxy 14:06:54 isn't that how you deploy it? 14:06:59 on 3 controllers 14:07:07 daemontool: Yes it depends on how you deploy it 14:07:25 like if you have the API DB replicated 14:07:35 and the freezer-api endpoints behind haproxy 14:07:39 you have a cluster 14:07:49 or is intended something different by cluster? 14:08:27 daemontool: you are right. Ok. so it seems that we can do it 14:08:56 but 14:09:03 the blocker is, using a DB 14:09:08 that works like that 14:09:11 because now elasticsearch 14:09:17 is not the right decision 14:09:28 (I've added a point to the agenda, we can discuss it later) 14:09:50 ok, cool. I think mysql will solve this issue 14:09:58 yes for the replication 14:10:02 for data sync 14:10:10 but we need to do it... :) 14:10:27 was this task already assigned to anyone yet? 14:10:28 daemontool: I think you still can build a clustered elasticsearch :) but anyway mysql would be great as well 14:10:29 so, does data sync work for elasticsearch implementation? 14:10:45 szaher, yes, but the sincronization is slow... 14:11:01 so you upload the dato through the API 14:11:06 then query the same data 14:11:12 haproxy send the client 14:11:15 to a different 14:11:26 api node, that will query an elasticsearch 14:11:30 node that is not yet replicated 14:11:33 and the data is not there... 14:11:38 right? 14:11:52 that was the problem we were suffering 14:11:54 I remember... 14:12:00 oh, now I understand 14:12:10 thanks for clarification, Fausto 14:12:35 so, at the begging we will not implement cluster deployment for api, ok? 14:12:58 we can do it when migration to mysql will be finished 14:13:03 yes 14:13:08 (thumbsup) 14:13:11 daemontool: well I agree with you, but there would still be some workarounds but I don't think this is the point now :) moving to mysql I think it the best for freezer-api 14:13:20 Database migration is essential 14:13:29 szaher, yes 14:13:44 vnogin, is there anyone in our Team that has that task assigned? 14:13:48 or not? 14:13:49 Guys would we consider adding project_id to our db schema ? 14:13:50 don't remember... 14:13:59 szaher, yes 14:14:22 daemontool: afak nope 14:14:25 ok 14:14:29 szaher: we should add it i think 14:14:30 cool, it's pretty clear now. second question - are we going to develop puppet manifests under freezer umbrella or it should the part of the separate project (for instance openstack puppet or fuel, cetera) 14:14:39 Fausto, I'm working on oslo_db implementation 14:14:43 szaher, yangyapeng slashme do you have bandwithd for the mysql migration? 14:14:45 even if it will be useless in the beginning but I am working on an api change to consider sending tenant ID 14:14:46 a ok 14:14:52 dstepanenko, good good :) 14:15:02 excellent 14:15:07 so we are covered 14:15:11 yep 14:15:19 szaher, we need to add that in the mysql spec? 14:15:22 the project_id right? 14:15:25 is not there? 14:15:31 Yes we need to add it 14:15:58 let's discuss second question :) 14:16:25 ok added here 14:16:26 https://review.openstack.org/#/c/408014/ 14:16:30 vnogin: I think it would be puppet-freezer repo what do you think guys ? 14:16:48 szaher: 100% agree 14:16:55 cannot we add it directly to openstack-puppet? 14:17:00 is not intended to do that? 14:17:09 not against that... just asking 14:17:15 other project have their own 14:17:16 daemontool: it there any openstack-puppet repo ? 14:17:24 I think every project has it's own repo 14:17:25 repo for deployment artefacts? 14:17:32 ah ok 14:17:41 daemontool: https://github.com/openstack/?utf8=%E2%9C%93&q=puppet&type=&language= 14:18:06 yes 14:18:07 https://wiki.openstack.org/wiki/Puppet 14:18:19 good good :) 14:18:41 szaher, manage repos and all that is on you, now, is it? :) 14:18:55 I think so :) 14:19:02 I will request it 14:19:26 brilliant 14:19:36 cool 14:19:50 ok, next? 14:20:03 anyone wants to add anything ? 14:20:11 szaher: please share then a result of your request :) 14:20:20 vnogin: will do 14:20:25 szaher: tnx 14:20:33 #topic Saad's summary of the PTG 14:20:54 Well I was attending the first PTG summit this year in Atlanta 14:21:19 nice freezer logo btw :) I have one %) 14:21:27 It was really nice to meet people from different projects and talk to them, there are some points that we might want to consider at some point 14:21:39 vnogin: Cool! glad you like it 14:21:53 I had a chat with cinder guys about volume backups 14:22:01 os_brick? 14:22:18 I think using os-brick and mounting volumes to back it up would be good to do 14:22:52 szaher, https://review.openstack.org/#/c/430304/ 14:22:56 instead cinder mode 14:23:01 yep 14:23:03 szaher, I'm working on it already (os-brick engine I mean) 14:23:10 daemontool: yes I saw it :) I was reading it 14:23:23 raliev: very good 14:23:35 then let's approve it :) 14:23:40 lol 14:24:08 szaher, any other feedback from PTG? 14:24:08 we might have a value add here using freezer to backup cinder volumes as we can store the backup to multiple backends at the same time not like cinder which is using only one backend at a time 14:24:20 yes... 14:24:36 daemontool: we need to be present more in the community we need to arrange discussions with different projects 14:24:58 szaher, yes 14:25:09 daemontool: some silly stuff like the documentation, releasenotes, api-ref all these stuff needs to be done and published 14:25:23 couldn't agree more 14:25:32 we should onboard 14:25:36 szaher: good 14:25:39 someone 14:25:41 in out internal team 14:25:42 soon 14:25:42 daemontool: I already did the tech work to do all this and I know how to publish it but we need some content :) 14:25:43 to do that 14:25:52 ok 14:25:55 daemontool: thank would be really great 14:26:04 I think within the next 2 weeks 14:26:07 will join 14:26:10 I can guide him how to add the content and I will takecare of publishing it 14:26:15 her, ok 14:26:21 daemontool: :D 14:26:30 let her publish something also 14:26:41 positive 14:26:51 ok 14:26:55 daemontool: it will be under her name but I need to add the gate jobs to freezer config :) 14:27:00 yes 14:27:01 ok 14:27:10 we need technical writer :) 14:27:13 yes 14:27:18 anyway the PTG was good and I hope I can see you soon in the next PTG or summit 14:27:22 so the feedback from community are 14:27:27 os-brick for volumes 14:27:30 documentation 14:27:36 release notes 14:27:40 api-ref 14:27:42 ok 14:28:03 daemontool: Yes, people need to use freezer but they don't know how or where to find resources and information 14:28:08 ok 14:28:24 anymore comments about PTG ? 14:28:43 #topic spec to improve nova backup 14:29:02 we have an engineer working on that 14:29:09 not sure if she's here 14:29:13 but we need to write the spec 14:29:18 on how to make that better 14:29:21 I am working now on implementing nova backup engine, so having a spec would help me a lot I can push what I have now to gerrit so you can take a look guys 14:29:33 yes 14:29:37 please 14:29:45 daemontool: Nice put me in touch with her that would be great :) 14:30:08 szaher, please write the spec when you can 14:30:18 as we need it 14:30:21 internally 14:30:22 Ok 14:30:25 not only publicly 14:30:49 then Julia can help you 14:31:11 ok 14:31:26 aftering finishing nova engine I will try to implement a cinder engine so may be coordinating with raliev would be great before doing that 14:31:55 szaher, I think raliev will get that done, before the nova engine is completed ;) 14:31:57 lol 14:32:03 lol)) 14:32:14 daemontool, I'll try of course :) 14:32:16 daemontool: :D nice 14:32:30 ok, 14:32:33 next? 14:32:43 raliev: == flash :) 14:33:06 #topic spec to define minimum backup criteria 14:33:22 ok, 14:33:26 something like the following 14:33:29 - every backup engine should support the following feature: 14:33:30 - single object backup (i.e. single volume, single instance) 14:33:30 - all objects owned by a tenant 14:33:30 - all objects from all tenants (admin) 14:33:30 - for volumes, all volumes part of a consistency group 14:33:42 something that makes life easy 14:33:48 for people that manage operations 14:34:23 we can add images as well 14:34:35 raliev: what do you think about this ? 14:35:19 by object I mean 14:35:24 szaher, about what - os-brick discussion or minimum backup criteria? :) 14:35:25 instances or volumes 14:36:16 about the backup criteria backing up one obj, all obj, tenant 14:37:49 daemontool: Fausto can we have a spec about this one as well ? 14:38:00 yes 14:38:01 so we can get an Idea about what should be done 14:38:13 next ? 14:38:17 for cinder os-brick 14:38:21 I've added that i nthe spec 14:38:28 but I think one spec should be done 14:38:34 for all backup engines 14:38:44 ok 14:38:48 good for me 14:39:00 It will be good for all 14:39:16 good for me too 14:39:31 next? 14:40:04 yep 14:40:21 #topic Heat resources for Freezer 14:40:35 ok, we have this as a requirement 14:40:37 from the business.... 14:40:43 very important for us 14:41:15 we should onboard an engineer withing the net 2 weeks 14:41:17 to do that 14:41:19 we should have a template 14:41:21 yes 14:41:38 daemontool: Do we know what needs to be done ? 14:41:38 we need to have a spec 14:41:53 yes 14:42:05 whatever can be possible to be done from the scheduler nd the agent 14:42:13 should be possible to be executed from a heat template 14:42:18 as a general rule 14:42:28 but I think we need to segment the task 14:42:32 and start with something small 14:42:45 daemontool: agree 14:43:00 backup and restore execution 14:43:05 and loading the jobs 14:43:07 at minimum 14:44:00 ok we need a spec 14:44:03 anyone? 14:44:07 I can write it 14:44:18 yangyapeng, are you interested eventually? do you have time? 14:44:22 not to implement 14:44:26 to write the spec... 14:44:33 even implementation of course, as you want 14:45:01 daemontool: i can write the spec, 14:45:13 brilliant 14:45:16 thanks :) 14:45:20 szaher, are you ok? 14:45:21 with this? 14:45:26 Yes :) 14:45:30 sorry to push for it, but we need it.... 14:45:46 daemontool: I totally Ok with me :) 14:45:56 yangyapeng: you might want to talk to heat guys at some point 14:46:03 next ? 14:46:18 yangyapeng, we count on that please, thank you :) 14:46:21 yep 14:46:30 :) 14:47:09 #topic Switch to MySQL 14:47:19 I think we discussed this already? 14:47:29 Yes 14:47:52 next? 14:47:57 yep 14:48:10 #topic Add flexible options to rsync backup 14:48:40 this backup engine 14:48:42 is critical 14:48:47 but now it is not usable 14:48:53 for big volumes 14:48:58 or big mount of data 14:49:04 we need to make it more flexible 14:49:11 the issue is the sliding window 14:49:12 of 1 byte 14:49:18 for rolling checksum 14:49:37 we have 1 checksum computation for each byte 14:49:49 good for space efficiency 14:49:51 but 14:49:55 not for time 14:50:00 guys, regarding rsync backup 14:50:07 I have one update 14:50:34 I also working on improving rsync engine 14:50:47 ok 14:51:06 Ok 14:51:24 I found a lot of problems 14:51:32 and with rolling checksum also 14:51:54 raliev, when you can write few lines on etherpad 14:51:59 long story short, performance of current implementation of rolling checksum is completely bad 14:52:00 just one liner per issue 14:52:05 raliev, yes 14:52:11 ah ok :) 14:52:13 becuase it's computed on pure python 14:52:16 yes 14:52:22 I fixed it already 14:52:29 and soon I push all my fixes 14:52:36 did you wrote it in assembler? 14:52:38 so you would see it 14:52:38 lol 14:52:52 ok 14:53:01 raliev: Ok, is that all ? 14:53:17 actually yes 14:53:18 we have 7 minutes :) 14:53:23 OK next topic 14:53:40 #topic api v2 14:54:15 I will be working on api v2 where I will try to introduce tenant_id 14:54:45 I started that already and the new url schema will look like ip:9090/v2/project_id/jobs 14:54:52 ok 14:54:53 so we can apply policy 14:55:09 also in the PTG they introduced api microversions 14:55:09 should we add something like backup to identify the service? 14:55:21 in the url imean 14:55:35 I don't think we need it as all os apis don't have something like that 14:55:49 okok 14:55:58 back again to microversions iam not sure if we will need it or not 14:56:10 gonna send something links about it got from the community 14:56:17 i will send it in freezer room 14:56:26 I think that all for me :) 14:56:32 anyone wants to add anything ? 14:56:38 we have less than 4 minutes 14:56:50 how quickly 14:57:06 Allen_: the microversion links ? 14:57:12 or the api change ? 14:58:43 Ok guys we are running out of time, Let's continue this in freezer room if you still have any questions 14:58:46 ok 14:58:48 thanks :) 14:59:02 Thank you guys :) 14:59:13 #endmeeting