14:00:02 #startmeeting freezer 14:00:03 Meeting started Thu May 26 14:00:02 2016 UTC and is due to finish in 60 minutes. The chair is ddieterly. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:04 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:06 The meeting name has been set to 'freezer' 14:00:20 agenda at https://etherpad.openstack.org/p/freezer_meetings 14:00:26 welcome ice cubes 14:01:07 HELLO 14:01:08 attendance please 14:01:09 o/ 14:01:12 ddieterly: Hi 14:01:13 hello 14:01:20 o/ 14:02:11 hi 14:02:17 hi 14:02:24 is fresco back? 14:02:56 yes but I think he is unavailable at the moment 14:04:19 ok, let's get started 14:05:42 #topic enforce content-type 14:05:54 https://blueprints.launchpad.net/freezer/+spec/contenttype 14:06:01 Hi, Yuval from Smaug here 14:06:11 Ok, let me explain 14:06:31 o/ 14:06:36 A recent change broke the API by making content-type mandatory 14:06:50 the clients currently do not send the content-type 14:07:03 I reverted it back to the original state (i.e. content-type is not mandatory) 14:07:32 So it is working again but I do think enforcing content-type is the correct way 14:07:57 can you implement it so that it is lenient and does not break backward compatiblilty 14:08:05 like warn and make deprecated 14:08:21 ddieterly: It should be mandatory by design 14:08:45 how do we deal with backward compat? 14:08:58 Also starting from Netown backword compatibility will be broken 14:09:00 Yeah deprecating graciously sounds like a good idea 14:09:14 @szaher: Why? 14:09:28 The way we are storing backups will be changed 14:09:39 So will we change the API version? 14:09:42 take a look here https://review.openstack.org/#/c/319182/ 14:10:06 so, if we upated freezer-scheduler at the same time that we update the freezer-api, then there should not be a problem, right? 14:10:06 and here https://blueprints.launchpad.net/freezer/+spec/freezer-metadata 14:10:19 We agreed on that in the mid-cycle meetup 14:11:54 i'm not sure what that has to do with content-type 14:12:35 ddieterly: We don't care about backward compatibility starting from this release 14:12:43 ok 14:12:47 got that 14:13:06 how are metadata linked to content-type, though? 14:13:15 I think a new api version should be considered 14:13:20 so I would say if the clients are broken upstream we shouldn't care about it 14:13:47 metadata and content-type are both part of the api interface 14:14:00 so if we break one, we can just as well break the other 14:14:11 metadata is the payload, content-type describes the payload 14:14:47 content type is an http header field, does it needs to be linked to the metadata? 14:14:56 I don't think so 14:15:02 right 14:15:26 daemontool: No, The intersection point here is we don't care about backward compatibility anymore :) 14:15:29 seems like a trivial problem 14:15:41 oh, i see 14:16:05 so 14:16:10 ...because metadata will break backward compat anyway... 14:16:17 if the agent does not support content-type 14:16:28 and for the api is mandatory 14:16:34 do we care? 14:16:54 agent has nothing to do with the API 14:17:00 sorry 14:17:02 the scheduler 14:17:05 The scheduler is the one communicating with the API 14:17:08 yes 14:17:11 daemontool: https://blueprints.launchpad.net/freezer/+spec/switch-to-python-freezer-client 14:17:17 I understand that 14:17:24 but if the scheduler 14:17:30 does not use content-type 14:17:31 We need to switch from using apiclient to python-freezerclient 14:17:36 ok 14:17:48 daemontool: No the scheduler is not using content-type :) :d 14:17:56 so the scheduler would use the python-freezerclient right? 14:18:12 daemontool: Yes, we should implement this in Newton 14:18:31 my question is 14:18:55 if the scheduler that is using the python-freezerclient does not support content-type 14:19:03 and for the API is mandatory... 14:19:07 do we care? 14:19:12 or we don't 14:20:07 daemontool: we do care 14:20:16 ok 14:20:19 should be enforce by the freezerclient 14:20:26 daemontool: but the problem here is not the API the problem is the client :) 14:20:29 ok 14:20:39 I guess the question is do we enforce the content-type? By this I mean do we send an error message if the content-type is not present? 14:20:56 At the moment we ignore it so it doesn't matter if the client sends a content-type or not. 14:21:39 I checked other openstack projects and they all send an error back if there is no content-type 14:21:41 well, if we don't fix it, and the client sends the wrong content type, then there will be an error 14:22:09 if we do fix it, and the client does send the right type, but for some reason has not been updated to send the header, then send an error 14:22:19 ok, so we add the header and should we backport this back to kilo? 14:22:29 m3m0, nope 14:22:34 why backport? 14:22:47 just asking... 14:22:54 not sure that this is a big issue that needs immediate attention 14:23:06 I think we have to place all these changes in API v2 and python-freezerclient >= this.version needs to be used with API v2 14:23:35 and return error for http header without content-type field 14:23:57 or alternatively check how other projects are doing it 14:24:03 is it really necessary a version bump just for this? 14:24:15 it's not a huge issue as it is working at the moment. This is mostly about consistency with other apis and making it future proof (e.g. if we want to accept XML and JSON at some point in the future) 14:24:37 I think we have multiple options: 14:24:37 1. Change it in all clients (scheduler, client, ui) and in the api at the same time and hope nobody will notice (and everybody will update everything at the same time) 14:24:37 2. We deprecate graciously (i.e. we send a warning if the client doesn't send a content type) 14:24:37 3. We just keep it the way it is (ignore the content-type completely) 14:24:37 4. We change it when we change the API in newton to V2 14:25:06 wthere is the metadata thing that would make the client and api backwards incompatible, so why not mark that with a new api version 14:25:14 and place all the incompatible changes from there on 14:25:16 https://specs.openstack.org/openstack/barbican-specs/specs/juno/barbican-enforce-content-type.html 14:25:23 * daemontool reading jonaspf options 14:25:43 daemontool +1 14:26:57 I think 4 14:27:04 daemontool +1 14:27:25 and 4 would implicitly include 1 14:27:40 let'see also what slashme says 14:28:23 that sounds like a plan 14:28:28 anyway with 4, the freezerclient would be backward compatible 14:28:45 if content-type is sent now, there's any error_ 14:28:46 ? 14:28:52 no 14:29:07 then the new freezerclient would work in both cases 14:29:23 #agreed discuss enforce content type with slashme 14:29:25 users in general always tend to use last versions of the os clients 14:29:31 let's move on 14:29:38 ok 14:29:39 ok 14:29:48 is fresco around? 14:30:00 jonaspf, good conversation thought :) 14:30:06 +1 14:30:16 frescof__, ping 14:30:21 #topic python-freezerclient instead of apiclient 14:30:31 https://blueprints.launchpad.net/freezer/+spec/switch-to-python-freezer-client 14:30:57 that needs to be done in the scheduler ? 14:31:02 We need to remove apiclient from the scheduler 14:31:06 Yes 14:31:24 m3m0, the web ui is already using the freezerclient ? 14:31:26 ok 14:32:19 this sounds reasonable to me 14:32:32 no, but is the plan for newton 14:32:58 it works, but is not officially there, the same for the scheduler 14:33:10 ok 14:33:25 so to achieve that what needs to be done? 14:33:26 as soon as I finish some internal tickets I will move with this 14:33:45 change requirements.txt, test-requirements.txt, namespaces and imports within the modules 14:33:50 ? 14:34:01 yes, and testing for the scheduler and agent 14:34:12 ok 14:34:15 documentation, which I'm doing right now 14:34:27 ok 14:34:40 all in favor for this to happen in Newton? 14:34:45 aye 14:34:56 +1 14:34:58 yay :) 14:35:18 so that will be done next week 14:35:22 ok 14:35:26 #topic We need to close implemented blueprints/bugs in launchpad 14:35:39 somebody keeps inserting agenda items at the front of the list 14:35:45 ddieterly that's a good one 14:35:47 lol 14:35:49 not me 14:35:55 sneaky 14:36:15 ddieterly: it's me :) :D 14:36:30 clever 14:36:32 someone new to the project could do that_ 14:36:33 ? 14:36:49 ok, enough said about closing bp's? 14:37:01 #topic reviews 14:37:10 https://review.openstack.org/#/c/312430/ 14:38:01 backup nova and restore, if multiple network , it is error, 14:38:21 it is need to nodify the network id 14:38:22 +2 ed 14:38:25 yangyapeng, 14:38:29 thanks 14:38:40 if anyone has nothing against that 14:38:44 please +A it 14:38:50 just like that? did you read the code? lol 14:38:50 and move forward 14:38:53 yes 14:38:54 I did 14:39:03 ok 14:39:08 I've some comments 14:39:09 :) 14:39:16 did you download it and test it ;-) 14:39:18 haha 14:39:19 I've already +2ed that in th past 14:39:29 ddieterly, no I didn't 14:39:45 https://review.openstack.org/#/c/315939/ 14:40:21 it contains comments already 14:40:34 szaher, then put -1 14:40:43 str cmp int is error. restore cindernative-vol-id 14:40:56 is reldar here? 14:41:09 daemontool: OK 14:41:13 btw, where did eldar go? 14:41:20 Microsoft 14:41:28 Bing :) 14:41:40 ah 14:41:42 He is in Canada now and will move to US soon 14:41:58 probably not going to contrib much anymore to freezer, i quess 14:42:03 guess 14:42:31 I think so 14:42:36 i'll make sure border patrol does not let him in 14:42:37 lol 14:42:41 https://review.openstack.org/#/c/318551/ 14:43:07 hahahahaha 14:43:08 haha 14:43:18 this patch increase th judment creage cinder-volume. 14:43:32 yangyapeng you've been very busy 14:43:34 if volume is creating, the image is deleted 14:43:44 yangyapeng, ok I need to review both of them, well done thought 14:43:57 I'll try to do that today or tomorrow 14:44:02 https://review.openstack.org/#/c/320964/ 14:44:19 szaher are you going to use RST or MD? 14:44:47 that's for the doc move 14:44:52 I think rst is the default format 14:45:01 manuals are using rst 14:45:22 so, does the paste deploy work with wsgi? 14:45:58 Yes 14:46:10 this one https://review.openstack.org/#/c/320964/ the devstack itself failed to be deployed :) 14:46:14 http://logs.openstack.org/64/320964/6/check/gate-freezer-api-devstack-dsvm/e75d8c7/logs/devstacklog.txt.gz 14:46:16 awesome 14:46:46 I submitted a recheck 14:46:59 i have a recheck 14:47:01 szaher ok 14:47:13 https://review.openstack.org/#/c/300080/ 14:47:39 this one has been there for sooo long ! 14:47:49 if this is Okay and tested let's merge it 14:47:51 yes and it is good 14:48:02 is cynthia in the meeting? 14:48:03 so +2 +A plz 14:48:28 Hi guys! Sorry, I was on another meeting... :) 14:48:44 +2ed 14:49:32 merged 14:49:36 :) Cool 14:49:43 #topic Newton plans 14:49:51 well done clsacramento 14:49:58 which bp's are going into newton? anyone have a list? 14:50:11 I think we have a roadmpa 14:50:12 map 14:50:15 i guess slashme is supposed to do that? 14:50:26 not sure if there's a bp for each roadmap item 14:50:36 and we have to place it in freezer-specs repo 14:50:49 yes that should be slashme 14:50:58 thanks guys! 14:51:06 I am very happy that it finally merged 14:51:17 szaher: special thanks to Saad :) 14:51:31 clsacramento: It's my pleasure to help :) 14:51:48 ok 14:52:02 ddieterly, I think we can move next 14:52:02 #topic mid-cycle meetup 14:52:08 when, where? 14:52:11 CAn we do this 14:52:13 we need to make plans now 14:52:25 in september please? 14:52:30 is that canada, you mean? 14:52:36 haha 14:52:50 I'm OK for Galway anytime in September 14:53:12 that's late isn't it? 14:53:23 last time we talked we were thinking june 14:53:36 June I can't :( 14:53:41 july or september 14:53:52 july would be better than september 14:54:03 early july 14:54:06 ok for me July 14:54:12 anyone else have an opinion? 14:54:16 any date 14:54:23 I will be in Egypt till 23 of July 14:54:30 You can go for it without me guys :) 14:54:30 yes, september is too close to the next summit... 14:54:44 well Sumit is November 14:55:04 last week of July? 14:55:15 I am Ok with that :) 14:55:22 vote? 14:55:41 #vote 14:56:01 #vote mid-cycle meeting in july? 14:56:19 #vote +1 14:56:26 yes 14:56:32 #vote +1 14:56:44 last week of July 14:57:02 ok, let's discuss with slashme when he gets back 14:57:04 ok 14:57:12 but it seems like last week in july looks good/tentative 14:57:17 july 25 14:57:43 ah, I just found out I won't be here end of july 14:57:52 oh no! 14:58:00 ok let's thing about this 14:58:06 is there any other topic? 14:58:09 item? 14:58:18 ok, next week, fresco should run this meeting 14:58:20 s/thing/think/ 14:58:41 somebody in galway, light a fire under him, please 14:58:46 haha 14:58:47 ok 14:58:55 so anyone wants to help me with rsync restore? 14:59:01 I have a full week in June 14:59:08 I can dedicate to freezer 14:59:11 100% of my time 14:59:18 so I'll do that 14:59:19 great 14:59:21 but anyone? 14:59:24 interested also? 14:59:27 ciao, everybody! 14:59:37 please respect the queue! 14:59:42 daemontool: Let 14:59:57 :) 15:00:01 ok 15:00:01 daemontool: Let's have a code feast after the midcycle meetup 15:00:09 #endmeeting