14:00:23 #startmeeting freezer 14:00:24 Meeting started Thu Jul 6 14:00:23 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:25 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:28 The meeting name has been set to 'freezer' 14:01:06 Hello guys 14:01:18 Let's wait 10 minutes for everyone to join the meeting 14:01:36 szaher: hello 14:02:26 jiaopengju trinaths raliev kforde yangyapeng slashme m3m0 14:02:43 szaher: hi 14:02:55 Hi guys 14:03:40 Hi 14:04:00 https://etherpad.openstack.org/p/freezer_meetings 14:05:00 trinaths ping 14:09:29 Ok guys let's start ? 14:09:40 vnogin are you around ? raliev is vnogin is here ? 14:10:19 #topic Fix 'NoneType' error when backup nova instance 14:10:34 jiaopengju: Do you want to explain this ? 14:10:39 https://review.openstack.org/#/c/477750/ 14:11:17 When we backup nova instance and with out specify the engine value , fs type will be used as default 14:11:35 This will cause the NoneType error 14:11:51 without 14:12:46 jiaopengju: I think removing the default value is the best solution 14:13:28 if you sepcify nova_inst_id but without mode = 'nova', it cause the more error, too 14:13:40 this will require the users who use freezer-agent as command with --engine 14:13:41 jiaopengju: I'm not sure if we remove the default value we might break backward compitability 14:14:07 for me i think the agent should expect --engine value 14:14:18 what do you think guys ? 14:14:43 Will nova backup use fs engine? 14:14:48 nope 14:15:19 If not, I think we can set nova engine as default for nova backup 14:15:40 i think, we should make some associated, 14:15:46 jiaopengju: yeah 14:15:53 jiaopengju: imagine if we add more engines the code will be just if and else :) 14:16:18 jiaopengju: if you backup nova or you have a value nova_inst_id so the engine must be nova. 14:16:21 szaher: yes 14:16:45 I don't think this is good, what do you think m3m0 slashme :) ? 14:17:03 yangyapeng: yes 14:18:09 so what if we have 10 engines ? 14:18:14 10 if, else ? 14:18:22 Will we add new engines for nova backup? 14:19:23 hey guys :) 14:19:23 szaher: that will be a disaster with using too many if else 14:19:35 raliev: hey 14:20:09 jiaopengju: that's why I am against if else approache 14:22:39 szaher: I think we'd better to mark what engines could be used for each backup resources 14:23:46 for example, if the resource is nova, we should restrict the engines in 'nova, engine1, engine2, etc' 14:24:25 jiaopengju: we can do this later but definitely not with a if, else condition. I was thinking about a function or a list inside the engine itself which holds what this engine can be used for 14:24:47 jiaopengju: Also if the user provides incomplete arguments we can't start the backup job! 14:25:02 szaher: agree with you 14:25:10 so the user has to provide the full arguments 14:25:26 szaher: what i think is a list 14:25:38 jiaopengju: Ok, let's remove the default value for engine and let the user provide a value for it 14:26:17 szaher: I think remove it now will break the freezer-web-ui or some else 14:26:50 jiaopengju: so do you have another good solution for this problem :) 14:28:05 szaher: maybe we should add engine value for where it is used first, and then remove the default value 14:28:40 jiaopengju: Agree 14:29:56 szaher: the most important is freezer-web-ui, currently it no works well 14:30:06 no/not/ 14:31:05 m3m0 was supposed to fix the related issues but I'm not sure about his availability 14:33:05 I have tried, but failed because not familiar with the web development. 14:33:53 I will try to ping him later to see what can he do 14:34:09 szaher: that's good 14:34:23 Cool!, agreed 14:35:14 Let's move to the next topic 14:35:22 #topic use sudo or rootwrap in freezer?(jiaopengju) 14:35:59 use rootwrap requires a configuration file 14:36:21 I think it is not very friendly for freezer-agent 14:36:34 Yes, that is the problem 14:37:13 also what are we going to do if we are running this as a daemon and we were trying to use sudo and then it requires password 14:37:43 I think we can use it in freezer-scheduler. 14:39:11 Yes, but in that case we need a real implementation of rootwrap 14:40:21 This seems can not be avoided. 14:41:45 jiaopengju: agree, so let's create a blueprint and work on it asap 14:41:59 szaher: ok 14:42:23 when users use freezer-agent in command line, they should add sudo before the command by themselves 14:42:51 !Agree 14:42:52 szaher: Error: "Agree" is not a valid command. 14:43:02 # use sudo or rootwrap in freezer?(jiaopengju) 14:43:08 sorry!! 14:43:12 #agree 14:44:50 jiaopengju: Do you want to add anything else ? 14:44:52 I will create this bp soon 14:45:17 No more 14:45:46 jiaopengju: Thank you and thanks for attending the meeting 14:46:17 szaher: You are welcome and that's my pleasure 14:46:33 :) 14:46:35 #endmeeting