14:01:06 <abhishekk> #startmeeting glance 14:01:07 <openstack> Meeting started Thu Jan 28 14:01:06 2021 UTC and is due to finish in 60 minutes. The chair is abhishekk. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:01:08 <openstack> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:01:11 <openstack> The meeting name has been set to 'glance' 14:01:12 <abhishekk> #topic roll call 14:01:17 <abhishekk> #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:01:23 <abhishekk> o/ 14:01:41 <jokke> o/ 14:02:00 <abhishekk> lets wait couple of minutes for others 14:03:20 <rosmaita> sorry i'm late 14:03:28 <abhishekk> no worries 14:03:43 <abhishekk> I guess dansmith will be late as well due to daylight saving 14:03:46 <abhishekk> lets start 14:04:02 <abhishekk> #topic release/periodic jobs update 14:04:07 <abhishekk> Final release of non-client libraries - 4 weeks 14:04:21 <abhishekk> We don't have major changes in glance-store this cycle 14:04:28 <abhishekk> so we could be good on this front 14:04:36 <abhishekk> Milestone 3 - 5 weeks 14:05:00 <rosmaita> that is coming up soon! 14:05:11 <abhishekk> We have couple of specs to review/approve and need to focus on RBAC stuff in this milestone 14:05:43 <abhishekk> yeah, lot of work to do :/ 14:05:51 <abhishekk> Periodic jobs - green this week 14:05:57 <abhishekk> Moving ahead 14:05:59 <jokke> nice 14:06:16 <abhishekk> #topic Important specs reviews 14:06:35 <abhishekk> Distributed image import 14:06:47 <abhishekk> #link https://review.opendev.org/c/openstack/glance-specs/+/763574 14:07:06 <abhishekk> So there are two approaches for this 14:07:09 <jokke> Lets lead the elephant into the store right away. 14:07:17 <abhishekk> :D 14:07:35 <jokke> Abhishek described my motivations pretty well in his comment earlier this week 14:07:52 <abhishekk> 1. Use locations table to store staging information and reuse most of the code 14:08:18 <abhishekk> 2. Use reserved property to store staging host 14:08:31 <abhishekk> I have added my findings on both the approaches on the specs 14:08:38 <jokke> The way I see this is we have pretty much three options how to move on: 14:09:21 <abhishekk> go ahead 14:09:25 <jokke> 1) we utilize the locations like outlined in the spec, which will allow to clean up lots of techical dept we've had hanging around since we introduced the Interoperable Image Import 14:11:08 <jokke> 2) We acknowledge that we have absolutely no intention to clear the depts we have been cumulating when the opportunity comes, continue with Dan's proposal of quick and easy and remove all the remarks of TODOs etc. And we stop in the future merging MVPs expecting that when the feature is worked it needs to be complete as we will never finish it anyways. 14:12:04 <jokke> 3) We agree that we haven't came to an agreement how to handle this by the spec deadline, and include this work to be bikeshed again in Xena. 14:12:39 <rosmaita> well, #3 is not a good option 14:12:57 <abhishekk> For option 1, we don't have much time in hand 14:13:15 <jokke> And I'm by no means blaming Dan or anyone in specific for us cumulating that tech dept, I'm first to admit being as guilty as any. It's just not sustainable whn we never get back to the items we agree to postpone 14:14:03 <abhishekk> I would like to go with option 2 but in good manner, We should go with reserved property and come back in Xena to use locations 14:14:27 <abhishekk> I will be volunteering to do this work in Xena 14:14:36 <jokke> abhishekk: you know as well as I do that it will never happen 14:15:21 <jokke> And we're doing the work multiple times just because we've been bikeshedding and not having the conversation of why for months 14:15:38 <abhishekk> sadly its true, but I will put my best to do it 14:15:41 <jokke> so if we decide to tackle this in Xena, fine by me, lets do it in Xena 14:16:19 <abhishekk> rosmaita, do you have any suggestions? 14:16:36 <rosmaita> when you say "tackle this" you mean the refactoring, or the whole spec? 14:16:42 <jokke> Or lets get the spec agreed upon and I can get to work to make it happen. I'm more than happy to take Dan's poc and refactoring it to clean up the mess we left behind earlier 14:17:14 <rosmaita> ok, that's the key question ... do you think there's time to do that in W? 14:17:23 <jokke> rosmaita: I'm saying if we decide to finish this in Xena, lets push this work to Xena and stop wasting our Wallaby to put any of it in. 14:18:49 <jokke> rosmaita: yeah, the changes, specially as abhishekk pointed out that we could use locations metadata instead of having dedicated column, are fairly trivial. It's tuching few places like staging, import, delete but it's not weeks of work taking the basis of Dan's work 14:19:33 <abhishekk> jokke, if possible could you push your PoC on top of dan's work? 14:19:42 <rosmaita> i would be against pushing this to Xena (where "this" == "Distributed image import") 14:19:49 <jokke> Most of it is deleting 20 lines of hacky code and replacing it with single location. call 14:20:08 <jokke> in all of those places 14:21:04 <rosmaita> quick question ... what do image locations look like now? I mean a JSON-ish sketch 14:21:24 <rosmaita> like is is_active its own field? 14:21:32 <rosmaita> or is it in the location metadata? 14:21:45 <jokke> iirc it is its own field 14:21:47 <abhishekk> Ok, so If jokke manages to push his PoC around/before next weeks meeting, then we will take a call accordingly in next weeks meeting 14:22:12 <abhishekk> is_active is a flag in code which tells image whether to set image active or not 14:22:48 <jokke> ohh, that's why it's fying in the code on it's own rather than part of the metadtaa 14:22:59 <jokke> flying ... metadata 14:23:09 <abhishekk> kind of 14:23:27 <dansmith> I'd definitely like to see the 20 lines it removes and replaces with one, because maybe that will help me understand 14:23:32 <dansmith> I looked at the store code last night, 14:23:51 <dansmith> trying to figure out how I could fix the current bug of not cleaning up stage residue after a stage..delete 14:24:14 <dansmith> and it looks to me like it will require new store methods and support, to be able to list items in the store so we can compare against deleted images 14:24:28 <jokke> but basically when staging we want to have something like (data, is_active=False, staging=True) and if staging == True: skip hashing and set the staging host to the metadata 14:24:31 <dansmith> it definitely does not seem like a flexible interface for something that can never be more than a local file on disk to me 14:25:42 <dansmith> so we're going to use the store metadata (but create an entry first) instead of the image metadata which is already here, and protected (by my other series)? 14:25:49 <jokke> dansmith: that's why if we have location record for the data, when we iterate through that, we can just fire delete from store call to the host listed in the metadata and get that cleaned. without doing it that way we would need pretty much new api for it 14:26:27 <dansmith> we don't have to add a new api for it, my series proxies delete 14:26:33 <jokke> dansmith: the location metadata is all internal anyways. It's not something user would be able to set in the first place 14:26:38 <dansmith> which has to happen anyway 14:27:29 <abhishekk> I think we should wait for PoC which will help all of us for better understanding 14:27:40 <abhishekk> like dansmith's 14:27:46 <dansmith> sure, I'd definitely like to see a PoC 14:28:04 <dansmith> and if it's really less work or complex, a delta patch on top should make it super easy 14:28:07 <abhishekk> Based on the progress I will take a call in next meeting 14:28:19 <dansmith> but I haven't even gotten any real review on my series yet, 14:28:26 <dansmith> it's tempest-tested, devstack-supported, 14:28:48 <dansmith> and given that rate, I'd be super concerned about landing this in this cycle with any more confusion or discussion of approach 14:28:56 <abhishekk> sorry for that, I was away most of the time, will try to put some time in this week 14:29:15 <dansmith> so it surely seems like if what we care about is fixing this, we should plan to land this, with or without a delta on top to see the locations as a better way 14:29:37 <dansmith> abhishekk: yeah I know, it's just frustrating 14:29:39 <jokke> dansmith: I'm more than happy to -2 that series with note of waiting ofr the psec to be agreed upon if it makes you to feel any better ;) 14:29:49 <jokke> for .. spec 14:30:18 <rosmaita> jokke: do you have a new keyboard? more typos than usual 14:30:25 <dansmith> jokke: if you think that's the best way... 14:30:40 <abhishekk> Lets conclude, revisit this next week 14:30:49 <jokke> rosmaita: kind of, on the laptop kb atm. 14:30:56 <abhishekk> next spec is Task show API 14:31:05 <abhishekk> #link https://review.opendev.org/c/openstack/glance-specs/+/763740 14:31:08 <rosmaita> i wonder if we should have a quick videoconf tomorrow maybe 14:31:15 <rosmaita> i hate to see this pushed off another week 14:31:16 <abhishekk> I think I have covered all the suggestions now 14:32:03 <abhishekk> rosmaita, ack, we need to justify both the approaches and which will be cleared around next week 14:32:08 <dansmith> abhishekk: my +1 on that is implied given that I submitted recently, but happy to +1 again if you ant 14:32:48 <abhishekk> dansmith, thanks, I will start on implementation if I get nod from all the reviewers here 14:33:08 <abhishekk> It should take couple of days for me to finish, will start on it anyway 14:33:36 <abhishekk> rosmaita, jokke please have a look 14:34:01 <rosmaita> abhishekk: sorry, i will review after my next meeting 14:34:02 <abhishekk> moving ahead 14:34:10 <abhishekk> rosmaita, thanks 14:34:14 <abhishekk> #topic Secure RBAC status 14:34:39 <abhishekk> If distribute image import is elephant in room then this is hippo standing in the same room 14:34:56 <abhishekk> We have PoC here, https://review.opendev.org/q/project:openstack/glance+topic:secure-rbac 14:35:06 <rosmaita> this room is getting pretty crowded 14:35:16 <abhishekk> and I am testing it and recording results here, https://etherpad.opendev.org/p/glance-rbac-testing 14:35:41 <abhishekk> I would like to have other eyes on this as well 14:36:05 <abhishekk> also https://review.opendev.org/c/openstack/glance/+/764074 14:36:21 <abhishekk> nova-ceph-multistore job is failing continuously on this patch 14:36:59 <abhishekk> I didn't get time to dig into it, but we also need to get this in to satisfy upstream goal for W 14:37:19 <dansmith> abhishekk: several patches fixed some things in the multistore job earlier this week, 14:37:22 <dansmith> have you rechecked lately? 14:37:32 <dansmith> all cinder-related things, interestingly :) 14:37:45 <abhishekk> yes, yesterday 14:37:51 <dansmith> okay, I'll have a look 14:38:00 <abhishekk> thank you 14:38:25 <abhishekk> Moving in Open discussion 14:38:31 <abhishekk> #topic Open discussion 14:38:46 <jokke> yeah, most of those rbac patches has been my waiting list until tests are fixed 14:39:01 <abhishekk> jokke, I will be looking into tests 14:39:10 <abhishekk> I will sync with lbragstad for that 14:39:25 <jokke> ++ 14:39:55 <abhishekk> I went through last weeks meeting logs and found that Bug scrub was scheduled on 26th January 14:40:06 <rosmaita> oops 14:40:16 <abhishekk> which was public holiday for me and I was on PTO on 25th as well 14:40:27 <jokke> That's what we agreed at the beginning of the cycle, the Tuesday after milestone week ;) 14:40:49 <jokke> yeah, had no idea it hit on the Indian public holiday 14:40:59 <rosmaita> so did anyone do any scrubbing? 14:41:06 <abhishekk> So we should have this bug scrub on coming Tuesday? 14:41:28 <abhishekk> yeah, I failed to notify about that :( 14:42:32 <rosmaita> i won't be able to join, i have too much going on in cinder 14:42:36 <jokke> abhishekk: I don't mind the day, we just really should take a day to look through and ee what's in there and how if we should tackle and prioritize them 14:43:00 <jokke> The reason we greed not-Monday was that basically most of Irish public holidays hits on Mondays 14:43:08 <abhishekk> ack 14:43:16 <jokke> but the next one is couple of months away 14:43:37 <abhishekk> So lets have the Bug scrub on coming Tuesday 14:43:55 <abhishekk> I will create one etherpad and share it on #openstack-glance channel 14:44:10 <rosmaita> i am not anti-bug-scrub, but i'd prefer to see us do something that will cause us to come to a consensus on the distributed image import work 14:44:33 <rosmaita> because right now, i don't see how we will have any new info about that at the next glance meeting 14:45:04 <abhishekk> we will have it 14:45:22 <dansmith> abhishekk: we will have what? 14:45:41 <abhishekk> the PoC with locations approach 14:46:09 <dansmith> okay, and as a delta on top of mine? 14:46:14 <abhishekk> In next week we will finalize the approach and move ahead 14:46:16 <abhishekk> dansmith, yes 14:46:22 <rosmaita> oh, ok, so if that's available by Tuesday, we can discuss 14:46:32 <rosmaita> that sounds good to me 14:46:36 <dansmith> abhishekk: okay are you doing that or jokke ? I didn't see anyone say they would actually do it 14:47:26 <abhishekk> dansmith, it will be jokke, that what we discussed earlier 14:47:30 <rosmaita> would probably be good for jokke to do it, he has a strong opinion on what needs to change to harden the locations code 14:47:34 <rosmaita> ok, cool 14:47:43 <dansmith> okay, great 14:47:58 <abhishekk> anything else for discussion? 14:48:01 <dansmith> yes, 14:48:14 <abhishekk> go ahead 14:48:17 <dansmith> this is pretty trivial and I think everyone agrees, can we please get it reviewed? https://review.opendev.org/c/openstack/glance/+/771990 14:48:26 <jokke> Yeah, I have plan ready I have been just waiting for us to stop the arguing and make to go/no-go call for m to start working on it 14:48:42 <dansmith> this is also tested by tempest now: https://review.opendev.org/c/openstack/tempest/+/771071 14:49:08 <abhishekk> rosmaita, jokke kindly review 14:50:00 <rosmaita> ack 14:50:44 <abhishekk> cool, anything else? 14:51:06 <jokke> shall I just abandon the ceph spec as well? 14:51:31 <jokke> or do you guys want to keep bikeshedding on that too? 14:51:38 <abhishekk> I didn't have time to go through it, will look and comment on the specs 14:52:09 <dansmith> are you talking about this? https://review.opendev.org/c/openstack/glance-specs/+/740980 14:52:27 <abhishekk> yes 14:52:31 <dansmith> I haven't seen responses to the outstanding -1 comments 14:52:33 <jokke> yup 14:53:20 <abhishekk> will comment on the spec 14:54:04 <rajivmucheli> Hi, i upgraded few regions to Victoria release, i see the below snippets in the logs (this spec was introduced in stein release), is this an issue ? do i need to enable any flags (node_staging_uri) to fix it ? 14:54:04 <rajivmucheli> https://opendev.org/openstack/glance/commit/149ea050cc58f39eaf9b4660bb8f0271b99d03da 14:54:38 <rajivmucheli> 2021-01-28 07:11:53,935.935 32 WARNING glance.api.v2.images [req-07c8d1ec-f23a-4842-8d92-2e9b3a6aa8b1 4c8fc9f2c67c41e195ddebef32d4fa68 8eba81a5654c4bb2a86fde93ccc33cab - default 049d584cc5064a34ad7defa7b48b7903] After upload to backend, deletion of staged image data has failed because it cannot be found at 14:54:39 <rajivmucheli> /tmp/staging//d21fcb46-27d1-4385-b20f-c2d0acd2d1dc 14:55:16 <abhishekk> rajivmucheli, try setting node_staging_uri in your glance-api.conf under default section 14:56:23 <rajivmucheli> sure! 14:56:29 <abhishekk> last 4 minutes 14:57:03 <jokke> rajivmucheli: yeah, the node_staging_uri is needed for the image import 'glance-direct' and copy methods 14:57:21 <jokke> actually all of them I think 14:57:31 <jokke> web-download picks it down there as well 14:57:50 <abhishekk> copy methods are available only if multiple stores are configured 14:58:03 <rajivmucheli> but i have only swift enabled, 14:58:12 <abhishekk> I think rajivmucheli is still using single store and that's why node_staging_uri is required 14:59:59 <rajivmucheli> so the flag needs to be set for single or multiple store ? i use swift as backend, so its single store right ? 15:00:11 <abhishekk> rajivmucheli, that flag requires for single store 15:00:22 <jokke> rajivmucheli: it depends how your stores are configured in your config files 15:00:35 <abhishekk> it should start with file:///<your-staging-path> 15:00:47 <rajivmucheli> okay, would this be related if these flags are enabled swift_buffer_on_upload = True, swift_upload_buffer_dir = /upload ? 15:00:54 <jokke> if you have old style configs that is needed, if new multi-store approach then you need to configure the staging store 15:01:12 <abhishekk> that is nothing to do with swift 15:01:14 <abhishekk> out of time 15:01:22 <abhishekk> lets move the glance channel 15:01:24 <abhishekk> thank you all 15:01:29 <jokke> Thanks all 15:01:30 <abhishekk> #endmeeting