14:00:11 #startmeeting glance 14:00:11 Meeting started Thu Jun 21 14:00:11 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:12 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:15 The meeting name has been set to 'glance' 14:00:18 #topic roll-call 14:00:24 o/ 14:00:25 o/ 14:00:54 o/ 14:01:06 o/ 14:01:46 ok. I have nothing special for updates, so lets use the meeting time effectively 14:01:51 #topic release updates 14:02:04 hello 14:02:15 welcome back 14:02:18 periodic jobs: all showing green 14:02:20 thanks! 14:02:31 just some reminders of upcoming deadlines: 14:02:43 this week is R-minus-10 14:02:51 R-minus-6: final glance_store Rocky release (July 18) 14:02:59 R-minus-5: final glanceclient Rocky release (July 25) 14:03:06 R-minus-3: RC-1 (August 8) 14:03:28 those dates are all wednesdays, it usually takes a day to get everything through the final gate 14:03:52 and, finally, bug squad meeting coming up on monday at 10:00 UTC 14:04:03 that's all from me 14:04:42 cool 14:04:50 #topic client-side validation 14:04:55 you can continue 14:05:07 ok 14:05:47 i noticed a new patch that wants to detect too long tag length in the client and error out without making a call to glance 14:05:54 https://review.openstack.org/#/c/576458 14:06:12 this approach was pretty much rejected for making that kind of change in the client code itself: 14:06:19 https://review.openstack.org/#/c/429518/ 14:06:31 the bug is here: https://bugs.launchpad.net/glance/+bug/1640442 14:06:32 Launchpad bug 1640442 in Glance "glance image-tag-update, not updating a tag whose length is more than 255" [Undecided,Confirmed] - Assigned to lihaijing (lihaijing) 14:06:39 stuart had some good comments about why not to do it 14:07:07 Would it ever be longer than 255? 14:07:22 i think it's a db restriction 14:07:30 but it could be made shorter 14:07:38 and more to your point, we could change the db 14:07:43 that it is, but because it's schema driven it might be shorter 14:07:43 (sorry, still in vacation mode) 14:08:20 yeah, so if the schema changes, we really don't want to be changing a bunch of outdated code 14:08:34 Just wonder, if it could be less but we never expect it to be more than 255, is there harm in detecting that on the client side and saving a round trip? 14:08:37 this clearly doesn't seem to go through, so how about I'm the evil here and go to -2 both of those and mark the bug back to invalid :P 14:09:11 rosmaita: also it might be operator thing to change the schema and they definitely don't want to be changing hardcoded values 14:09:20 smcginnis the problem is that we've got 2 different codebases, the schema is the go-between to keep things in sync 14:09:24 jokke_ that is a good point 14:09:31 it is do-able, though not encouraged 14:09:34 smcginnis: that is already validated in the client 14:10:10 yeah, to be clear, this could be fixed by translating the 400 response from the API to something more user-friendly 14:10:20 i think i said that on one of the patches 14:10:28 but hard-coding the value is not a good idea 14:10:43 IIRC that 400 is raised by client 14:10:44 my real point is that we should just close these out if we're not going to accept the patches 14:10:58 ++ 14:11:06 the client at least should validate outgoing requests against the schema 14:11:26 jokke_ you are most likely correct there 14:11:42 so we are already saving the trip to the API 14:12:06 yup 14:12:27 i think if someone wanted to take on the task to make the errors more user-friendly that would be OK, but it's not necessary 14:12:54 so i vote for jokke_ to be the bad guy and -2 everything and abandon them 14:13:04 +1 14:13:07 +1 14:13:36 the original request was to get more user friendly and informational error from client that I encouraged to do and neither of the people who started working on this wanted to do that but instead tried to do some stupid hardcoding into the client 14:14:04 ok, will drop those things 14:14:07 yeah, the hard coding is easier to implement but a bigger pain to maintain 14:14:21 and it's just in general bad idea 14:14:24 jokke_ you could repeat what you just said when you invalidate the bug 14:14:38 specially on something thta gets validated against schema 14:15:00 ++ 14:15:21 ok, that's all i had on that topic 14:15:26 ok 14:15:38 #topic open discussion 14:16:12 so I have been trying to get some sense out of the message queue stuff and getting rid of v1 14:16:52 and we need to review abhishek's multi-store stuff so we can get to an agreement before we need to release the final from glance_store 14:17:18 I have uploaded patches for multiple backends support, unit tests for glance_store and client are done 14:17:32 pending is unit tests for glance and functional tests for glance 14:17:36 abhishekk: good work 14:17:41 so as usual the end of the cycle is approaching quick and we have hell of a lot to do 14:17:47 thanks :D 14:18:07 i'll commit to reviewing the glance_store change later today 14:18:14 I have uploaded documentation patch as well, need eyes on the language :D 14:18:34 you have been busy! 14:19:02 rosmaita, tough task is to write meaningful functional tests 14:19:27 jokke_, as suggested I have mentioned experimental thing in docs 14:19:39 goodie 14:19:55 rosmaita: yes, so I think you were in holidays when we discussed this 14:20:06 i saw something in the channel logs 14:20:16 experimental in rocky, stable in stein? 14:20:31 also on these are some scenarios which I have tested 14:20:31 we agreed to stamp the multi-store EXPERIMENTAL so we can gather feedback and make changes still next cycle if needed 14:20:32 https://etherpad.openstack.org/p/multi-store-scenarios 14:20:42 rosmaita: correct 14:20:48 makes sense to me 14:21:00 this should be easy thing to get that feedback 14:21:22 yeah that was a super idea 14:21:27 as this feature has been requested for so long 14:23:41 If any of you have nothing else, I think we can free 35min today 14:24:04 or all of you 14:24:11 https://review.openstack.org/#/c/251471/ 14:24:28 oslo.config has a support for mutable config options 14:25:34 we can see how we can use it in glance 14:26:08 I'd like to say, lets worry about that in Stein if this approach sticks 14:26:26 sounds good 14:26:32 yeah, i don't like the "this is the second attempt at implementing this" comment 14:26:34 The goal for this release is just to support log levels, which I think handles that. 14:26:39 ohh ... rosmaita you guys have any updates about multi-hash? 14:26:44 nope 14:26:51 But good follow up for everyone to think about whether there are any other config options that can be changed at runtime. 14:27:19 rosmaita: is that expectation that it will not be ready in Rocky? 14:27:25 not yet 14:27:32 as IIUC that needs store change as well 14:27:37 so it's bit tighter 14:27:44 yes, store change will have to merge first 14:27:47 anything on hide old images? 14:27:57 nope 14:28:12 if anyone is not working then I might take that after next week 14:28:20 no objection from me! 14:28:48 ok 14:28:49 jokke_ : here is a patch moving some implemented rocky specs to 'implemented': https://review.openstack.org/576996 14:29:37 that will make it easier for moving more specs over the next few weeks 14:29:43 :) 14:30:18 rosmaita: cheers ... will have a look. I was planning to do that at once when going through what renos we need, but that is gr8 start for it 14:30:35 nice to have the bits in place to do it 14:30:48 yeah, both specs moved already have releasenotes 14:31:02 goodie 14:31:19 ok, anything else? 14:31:28 nothing from me 14:31:55 i have one more review, a spec-lite implementation for glance_store, if anyone wants to look: https://review.openstack.org/577011 14:32:58 rosmaita: yeah saw that 14:33:33 that should not interfere with either multi back-end nor multi-hash so I think that is fine 14:33:45 i agree 14:35:22 I'd like to make really strong point that _if_ we are going to merge those, we need to prioritize them and apart from those 2 the top priority is to find a way we get rid of the /v1/ endpoint even if the underlying code cleanup gets done later 14:35:42 I don't want to find any new excuses from anyone why we should not get rid of v1 14:36:10 ++ 14:36:17 sounds good 14:36:43 which reminds me, did you rosmaita get the grenade/tempest stuff sorted so that there is the option to disable the tests relying on that endpoint? 14:37:04 I remember you looking into it early at the cycle around PTG 14:37:35 i think you are referring to the ability for glanceclient to test against both v1 and v2 even if v1 is removed from glance? 14:37:38 that has merged 14:38:00 the glanceclient v1 tests are currently being run against stable/queens glance 14:38:04 it was that one, yes I think that was the biggest blocker to get rid of those 14:38:37 gr8 ... I will have another look what breaks when removing the endpoint by end of this week 14:39:04 ok, I think that's all ... Thanks Everyone! 14:39:11 thank you all, have a nice day ahead!!! 14:39:13 yell if something else 14:39:20 going 1st 14:39:22 bye everyone! 14:39:34 going 2nd 14:39:37 Thanks! 14:39:41 #endmeeting