14:00:52 #startmeeting glance 14:00:52 Meeting started Thu Apr 12 14:00:52 2018 UTC and is due to finish in 60 minutes. The chair is jokke_. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:53 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:56 The meeting name has been set to 'glance' 14:00:58 #topic roll-call 14:01:01 o/ 14:01:06 o/ 14:01:07 o/ 14:01:09 \o 14:01:35 GM all o/ 14:01:39 or afternoon/evening 14:01:46 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:01:52 there's the agenda link 14:02:22 we might need to timebox today so lets get started as it seems like we have pretty much everyone around 14:02:33 #topic updates 14:02:55 #link https://etherpad.openstack.org/p/YVR-glance-brainstorming 14:03:21 Last minit to throw your ideas to the Vancouver Summit Forum 14:03:35 last minute even 14:04:09 Who has participation confirmed by now? 14:04:19 I am booked and will be there 14:04:22 me too 14:04:27 cool 14:04:33 same here 14:04:36 I will miss this time 14:04:55 abhishekk: ok :( 14:05:01 oh yeah, i got an email yesterday about glance onboarding, apparently i am booked for that session -- i will reuse our sydney stuff 14:05:02 I assume smcginnis will be there? 14:05:04 I will be there. 14:05:13 But the usual running around. :/ 14:05:19 sure 14:05:51 lets try to meet up at some point, if nothing else for some food and pints 14:05:59 Definitely! 14:06:04 there's good beer and good coffee in Vancouver ;) 14:06:33 Last time was great. I'm looking forward to exploring Vancouver some more. 14:07:14 then another update which I let rosmaita go more into details is that now when we finally have the glanceclient stable release out, we need to start focusing on 2 things. 14:07:28 removal of the v1 api 14:07:50 if not complete ocde removal, but getting rid of the tests and killing the endpoints 14:08:07 and figuring out how badly intelocked the code is 14:08:44 and the second part is that we have few specs sitting in the review queue that needs attention. 14:08:53 huge +1 on removal of v1 14:09:02 For the API, do we have a config option to enable/disable that API? 14:09:12 So lets try to get the feedback into the spec patches and merge the ones we want to have in 14:09:25 smcginnis: yes, those needs to go as well 14:09:46 jokke_: Checking now, but do we have it defaulted to disabled right now? 14:09:57 smcginnis: and that config option has been false by default of quite a few releases already 14:10:12 for quite 14:10:13 OK, perfect. Shouldn't be any surprises then. 14:10:30 yeah, and devstack default is no v1 14:10:34 Yeah confirmed there its defaulted out 14:10:38 for a few cycles 14:10:38 I checked yesterday actually 14:10:49 rm -fr api/v1 then. :) 14:11:09 smcginnis: I have that patch up already, zuul did not like it ;) 14:11:34 yeah, my 2 cents from doing the glare-ectomy is that this will take longer than we expect 14:11:46 It is entrenched in a few places 14:11:57 Multihash presented those issues as well 14:12:36 rosmaita: thus I'm saying we need to ensure that we get rid of the endpoints and possibilities to enable it in this cycle. Obviously as much of the cleanup as possible 14:12:47 ++ 14:12:59 Sounds like a good plan to me. 14:13:11 When does this release cycle end 14:13:17 but we should not - vote those patches just because the patch did not remove all of it 14:13:28 lets just get the work rolling ;) 14:13:50 McClymontS: Release candidate deadline (code freeze) is the week of Aug 6 - https://releases.openstack.org/rocky/schedule.html 14:13:51 the release is in August IIRC 14:14:28 #link http://specs.openstack.org/openstack/glance-specs/priorities/rocky-priorities.html 14:14:30 Awesome thanks smcginnis 14:14:45 Provides a good amount of time to tackle that 14:14:47 Would be great to get the v1 endpoint removed earlier in the cycle though, just in case there are any surprises. 14:14:56 ++ 14:15:13 smcginnis: YES! That's why it was prioritized to the very beginning of the cycle 14:15:39 ok, next one 14:15:47 #topic release updates 14:15:52 rosmaita: stage is yours 14:15:52 i'll make it fast 14:16:09 we have 2 client releases, one on stable/queens for packagers and one from master 14:16:18 2.10.0 and 2.11.0 respectively 14:16:24 basically the same content in both 14:16:43 we should be releasing a new stable/queens today 14:17:05 and we have rocky-1 milestone next week 14:17:06 that's from openstack/glance not client, right 14:17:16 right, sorry, today will be glance 14:17:31 rocky-1 milestone aiming for wednesday release 14:17:52 and our first bug smash is next friday 20 April, so put it on your calendars 14:18:04 and bug squad meeting monday at some ungodly hour 14:18:10 this monday 14:18:14 time edt? 14:18:15 :D 14:18:22 6 am 14:18:29 YEah 14:18:31 that's all 14:18:33 lol 14:18:58 #topic uncapping eventlet 14:19:04 just for info 14:19:05 this should be fast as that's done 14:19:20 yeah, have we merged those patches? 14:19:41 I think I saw at least the glance merge message in irc 14:19:48 not sure if store was merged yet 14:20:00 ok, then if glance is ok, should not be a problem 14:20:08 nope, I have my +2 there as of now 14:20:11 i was worried over nothing, forget about it 14:20:21 that's all 14:20:54 #topic what to do about store_capabilities_update_min_interval ? 14:21:04 keep the mic 14:21:11 ok, this came up in glance channel earlier this week, at least i thought it did 14:21:21 problem with nfs mount for filesystem store 14:21:35 anyway, it made me realize that we never decided what to do about this option 14:21:45 that no store actually implements 14:22:04 so, i was wondering is a spec-lite ok? 14:22:18 and i think we can deprecate it AND remove the code at the same time 14:22:19 I'm still standing behind the proposal that we should deprecate the config option and remove it next cycle 14:22:24 since the option does nothing 14:22:30 and the code is just a stub 14:22:50 so the deprecation will just be an announcement that you shouldn't expect this to work and it never has 14:22:57 comments? 14:23:34 to be clear, spec will be to remove the stub and deprecate the option now, remove the option in S 14:23:48 there is no reason not to follow the standard and leave the removal for next cycle ... just in the case that someone has actually implemented driver or that feature to some of the drivers downstream 14:24:14 well, its just that you get that really misleading log message that freaks people out 14:24:42 which one? 14:25:05 i don't remember, it's in the meeting logs from the previous discussion 14:25:17 it makes it sound like you don't have your store configured properly 14:25:37 but enough of that ... i will propose a spec lite to deprecate the option 14:25:42 but that's only if you actally configure that 14:25:45 that's all 14:25:45 ? 14:25:54 no, you get it no matter what, i think 14:26:04 anyway, not worth discussing now 14:26:20 oh crap ... ok lets put spec lite up for it and we can nail the details down there 14:26:24 will do 14:26:28 yeah spec-lite sounds good 14:26:46 #topic Deleting image data after signature verification failure 14:27:05 #link https://review.openstack.org/#/c/529083/ 14:27:13 that's green, but pretty sure it wasn't me 14:27:19 spoiler alert, I -2'd that approach 14:28:05 i don't know if it's possible to move the verifier.verify into the store? so we can not store the data when it fails? 14:28:16 lost the network :( 14:28:20 no point 14:28:58 we would need to cache the data locally and that opens yet another can of worms 14:29:13 No cahcing 14:29:15 caching* 14:29:33 not sure i follow, isn't that how the checksum failure is handled? 14:30:08 rosmaita: the crypto function is fed from the stream when we push the data to the backend 14:30:38 and once that finishes we know if the sig matches or not 14:31:32 right, but don't we have a feature where you can specify the checksum on image creation, and if the data doesn't match, image is killed? 14:31:50 what actually is the problem here is that we have except statement for that crypto to fail, but we do not handle the data cleanup in the backend before we raise it further 14:31:58 yes that is true rosmaita I believe 14:32:08 So jokke_ you think just handle it right there? 14:32:10 in that exception 14:33:21 McClymontS: yes, when we get the crypto failure, we catch that, remove the data from the backend and after that we raise it back to the api that takes care of killing the image record 14:34:18 i'm just saying that the store has the verifier, it is passed in, so maybe call verify on it in the store and just delete the data there 14:34:59 whatever we do, we should try to use the same pattern as the checksum code 14:35:18 I'm conflicted I agree with both tbh.. 14:35:34 rosmaita: that's too late already, the verifier object is passed to the store from the location.py 14:35:58 also IIRC we do not support setting the checksum in v2 14:36:33 which means that from Rocky we also never kill image for checksum failure, only for signature failure if it's signed image 14:38:10 what behavior do we want here? do we want it to go 'killed' or 'queued' ? 14:38:44 Well it's in released API that it goes killed. I really don't see backwards compatible way to change that 14:39:03 yeah, but we can say that's v1 only 14:39:25 no image signinghas never been a thing in v1 14:39:36 i mean the image going killed 14:39:56 but it's not because image signing has been doing that since mitaka or so 14:40:05 that's my point, we fucked it up 14:40:14 and I don't see way out of it 14:40:19 ok 14:41:05 well, 'killed' shows up in the image schema, which was kind of a suprise to me this week 14:41:08 it just looks like our datapath is reliable enough that the signature failures does not happen and the fact that there is data left behind is noticed only now ;) 14:44:00 So what I'm saying is, it's a nasty bug and we need to fix it. Lets do it in a right place and not overengineer it to the point where someone in 2-3 years time when we all might be doing something totally different is cursing us to the deepest hell "What were these guys thinking of!" ;) 14:44:32 hard to disagree with that 14:44:38 yeah lol 14:45:00 ok next topic 14:45:00 Leave a comment saying '#my bad' 14:45:11 #topic Images API v1 removal 14:45:20 we did touch this pretty well already 14:45:46 #agreed we need to remove the endpoints in Rocky cycle and do as much code cleanup as possible 14:46:16 I have patch up that removes the v1 tests and last time it ran it's passing the gate 14:46:23 I can have a look as well 14:46:35 This will also help from a security perspective 14:46:37 that's a good place to start with to avoid unnecessary failures 14:47:22 #link https://review.openstack.org/#/c/549732 14:47:26 Specifically this would resolve OSSN-0078 14:47:31 AFAIK 14:48:14 McClymontS you are correct 14:48:38 Along with lessening 76 technically 14:48:41 And please feel free to path up any other tests you might find that still pokes the v1 api 14:49:03 we unfortunately have quite a few of those 14:49:27 That's kind of all from me about this topic. Anyone else? 14:50:06 going once 14:50:20 going twice 14:50:27 wait 14:50:40 we need to get this in also: https://review.openstack.org/#/c/553641/ 14:50:52 or the glanceclient gates will start failing when v2 goes 14:51:11 some core who is not me or abhishekk needs to +A it 14:51:23 #link https://review.openstack.org/#/c/553641/ 14:51:29 (and i meant v1) 14:52:07 good, thanks for the pointer ... like said that was not on the priority list for client to get the 2.10.0 and 2.11.0 out, now it becomes to that ;) 14:52:23 ok 14:52:54 I assume that needs to be backported as well? 14:52:59 nope 14:53:26 or is the stable/queens hitting only stable/queens and no grenada nastyness there? 14:53:29 stable/queens client tests run in stable/queens devstack 14:53:36 so should be no problem 14:53:42 ok cool 14:53:48 happy to hear 14:53:50 * rosmaita hopes he is right 14:53:57 next topic! 14:54:19 #topic Restore v1 api-ref? 14:54:26 Sam Betts filed this bug: 14:54:32 #link https://bugs.launchpad.net/glance/+bug/1762387 14:54:32 Launchpad bug 1762387 in Glance "v1 Image Service APIs in Image Service API Reference" [High,Triaged] 14:54:34 #link https://bugs.launchpad.net/glance/+bug/1762387 14:54:39 :) 14:54:39 ahh 14:54:42 #undo 14:54:42 Removing item from minutes: #link https://bugs.launchpad.net/glance/+bug/1762387 14:55:06 so the problem is that we got rid of the v1 api-ref to show we are serious about removing v1 14:55:07 FWIW, we kept Cinder v1 api-ref around for a bit, then decided we didn't want to have that old information out there in the current documentation. 14:55:24 that's kind of my view 14:55:31 but sam points out that there's no published non-master api-ref 14:55:45 so i think we need to revert the removal 14:55:49 How long as v1 been deprecated now? 14:55:56 the info is available in tree for those who wants to refer to the old deprecated/removed stuff 14:55:59 years 14:56:09 yes, but it has not actually been removed yet 14:56:40 I could go either way. We could revert it, then remove again once everything is actually removed. 14:56:42 if v1 still exists I think the docs should 14:56:43 well, we could just put a note on the api-ref telling you to build it yourself 14:56:47 I agree with smcginnis there 14:56:48 true, but it has also been disabled by default for years already (at least over year if not 2 year mark yet) 14:56:54 but it would be better to have the ref there 14:57:09 we could put up a scary page saying it only applies to really old openstacks 14:57:20 which are the majority of clouds, tbh 14:57:31 As long as it's very clearly marked deprecated in the api-ref, not much harm still publishing it for a release or two I suppose. 14:57:44 this is again one of these things I really hate about how we do things ;) 14:58:18 poor PTL leadership pre-rocky 14:58:23 lol 14:58:24 "We do not provide certain information from stable branches but we assume it will be always accurate and available from master" 14:58:43 yeah, openstack is a bit inconsistent about that 14:58:46 rosmaita: this is more OpenStack issue than Glance issue tbh 14:58:55 i was just being a wise-ass 14:59:27 so, should i put up a restore patch with scary front page? 14:59:30 so if it's really important to have the API ref for v1 published, go and publish it from the branch it's released from ;) 14:59:41 rosmaita: nah, I do not want that back 14:59:57 ok, then a note about generating it yourself? 15:00:06 that we can do 15:00:17 ok, i'll slap something together 15:00:29 and sorry, Open Discussion is today in #openstack-glance as we're out of time! 15:00:30 Timecheck 15:00:35 Thanks everyone 15:00:39 bye! 15:00:39 Thanks! 15:00:40 #endmeeting