16:00:08 #startmeeting cinder-nova-api-changes 16:00:09 Meeting started Thu Apr 6 16:00:08 2017 UTC and is due to finish in 60 minutes. The chair is ildikov. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:10 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:12 The meeting name has been set to 'cinder_nova_api_changes' 16:00:24 DuncanT ameade cFouts johnthetubaguy jaypipes takashin alaski e0ne jgriffith tbarron andrearosa hemna erlon mriedem gouthamr ebalduf patrickeast smcginnis diablo_rojo gsilvis xyang1 raj_singh lyarwood breitz jungleboyj 16:00:35 * johnthetubaguy lurks with intent 16:00:37 o/ 16:00:47 o/ 16:01:49 we have a few folks on vacation this week, so we might not get more people 16:02:28 we have the detach refactor patch merged now and have the detach PoC up for review using the new detach flow: https://review.openstack.org/#/c/438750/ 16:03:19 lyarwood has one more refactor patch up to centralize the terminate and detach calls: https://review.openstack.org/#/c/452181/ 16:03:41 my first question here would be whether that's the direction we want or not? 16:05:02 no 16:05:04 well, 16:05:12 nova.compute.api has never called nova.virt.block_device before 16:05:15 that's a layer violation 16:05:26 nova.virt has always been tied more to nova.compute.!api 16:05:45 even though i see we have nova.virt.hardware in nova.compute.api, gros 16:05:46 *gross 16:06:49 idk, at this point i wouldn't hold up the new detach patch for the refactor 16:07:06 mriedem that's what I needed to hear ;) 16:07:31 ideally long term it's all centralized 16:07:38 because the copy/paste is not fun 16:07:40 mriedem: fine with me too, at least we don't have to co-maintain a patch chain again which makes me happy at this point :) 16:07:46 mriedem: +1 16:08:54 i feel like we're missing some things in the unit tests on the detach patch 16:09:14 mriedem in all honesty there's a bunch of things I'll need to add to that 16:09:17 heh, yeah, because the tests are all changed to set attachment_id=None 16:09:19 unit tests included 16:09:42 I've just been out of the loop the past couple weeks 16:10:03 that's fine 16:10:05 mriedem: yeah, as a first step we tried to keep the test suite clean and get a general ok to the direction and then finish 16:10:08 i'll comment when i do a full review 16:10:20 mriedem: cool, tnx! 16:11:24 I think we're fine with detach for now unless there's something that seems to be problematic and should be discussed here 16:12:11 yeah i think that's the goal right now, the detach patch, 16:12:14 anything else we need to talk about? 16:12:43 there is something that came up in the spec review, 16:12:46 if you're not tracking it, 16:12:49 which is changes to grenade 16:13:03 to make a volume attachment on the old side and preserve that through to the new side and then detach 16:13:08 that doesn't exist today 16:13:27 so that's up for anyone to pick up if they want 16:14:11 I don't think we went this deep so far on the meetings 16:14:32 i'm happy to end the meeting :) 16:14:46 sorry, I'm just thinking about the grenade case 16:14:56 we're nowhere near needing that yet 16:15:03 it's just something that could be done in parallel 16:15:21 ok, then we're on the same page :) 16:15:58 as until we kind of keep the old attachments and detach them with the old flow we should be ok 16:16:51 another thing around detach is the remove check_detach patch: https://review.openstack.org/#/c/446671/ 16:17:04 johnthetubaguy has concerns with that one 16:17:14 has he 16:17:31 johnthetubaguy: you don't have anymore after finding the BDM checks? 16:18:17 I am less worried 16:18:25 just want to make sure we don't change the API behaviour 16:18:26 but you're still worried :) 16:18:30 around error handling 16:19:57 I have some extra raise InvalidVolume lines in the patch for that one 16:20:25 like how we needed those for removing check_attach due to the error translations 16:21:38 but I can extend the commit message with info if that helps 16:23:39 johnthetubaguy: ^ ? 16:26:41 sorry, distracted 16:26:58 I think more context in the commit message would be good 16:27:52 ok, I will add more info there 16:28:39 another one that just hangs is the Cinder v2 API deprecation: https://review.openstack.org/#/c/444253/ 16:28:46 johnthetubaguy: mriedem: ^ 16:29:07 marginal, but at least small and trivial 16:29:07 is that all in the etherpad now? 16:29:22 johnthetubaguy: I think I added them, but will check 16:29:26 hmm, i thought we had some plan around when we would deprecate cinder v2 usage 16:29:35 but i'd have to check my notes 16:30:10 http://lists.openstack.org/pipermail/openstack-dev/2017-February/113063.html 16:30:17 "Outside of the session, Sean Dague suggested that Nova actually deprecate it's usage of Cinder v2 starting in Pike too, and make Cinder v3 required for Nova in Queens." 16:30:51 however, 16:30:56 that side steps the issue of upgrades 16:30:57 johnthetubaguy: added the deprecation patch to the etherpad now, check_detach was there already 16:30:58 and old attachments 16:31:08 so if we deprecate cinder v2 usage in pike, 16:31:11 and drop it in queens, 16:31:31 that means we have to have an upgrade plan to migrate old v2-created attachments to the v3 style 16:31:38 which we punted on at the ptg 16:31:43 and said we'd tackle that in queens 16:31:54 mriedem: but v3 is the same as v2, dropping v2 does not mean we go up to 3.27 immediately 16:32:03 or I'm missing something 16:32:04 that's true i guess 16:32:13 we can still call detach/terminate_connection with v3 16:32:17 on the v3.0 microversion yes? 16:32:29 so until we don't add the microversion detection Nova just uses base v3, which is basically v2 16:32:38 mriedem: yes 16:32:46 alright i feel better about that then 16:32:49 mriedem: Nova is already configured to use v3 16:32:53 i know 16:32:58 i just worry 16:33:03 always 16:33:04 worried 16:33:12 the catalog_info patch merged and it's the old flow everywhere the old way 16:33:38 mriedem: you can be relaxed about this one, piece of cake really 16:34:38 ok i'll take a look 16:34:46 so don't make me worry about you're worrying too much :) 16:34:51 mriedem: cool, tnx 16:35:37 this is mainly it from my side for today 16:36:24 let's end it 16:36:45 ok :) 16:37:10 thanks everyone, let's look into the detach PoC until the next meeting and try to get that done 16:37:34 I will be in Korea next week, no idea what time the meeting is there, but will try my best 16:38:06 thank you all! 16:38:12 have a good day! 16:39:03 #endmeeting