14:00:02 #startmeeting glance 14:00:02 Meeting started Thu Nov 18 14:00:02 2021 UTC and is due to finish in 60 minutes. The chair is abhishekk. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:02 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:02 The meeting name has been set to 'glance' 14:00:03 #topic roll call 14:00:07 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:00:09 o/ 14:00:46 waiting for others to join 14:02:22 o/ 14:02:38 lets wait couple of minutes more 14:02:51 o/ 14:04:09 Ok, lets start, others may/can join in between 14:04:22 #topic Announcement 14:04:37 OpenInfra summit is back 14:04:49 do you know whether the PTG will be there, too? 14:04:54 So in person OpenInfra events are back 14:05:03 at the moment there is only summit 14:05:09 ok 14:05:12 I think PTG is still under discussion 14:05:32 For early registration you can use, https://openinfra.dev/summit/ 14:05:51 It is between 7 to 9 June and in Berlin 14:06:16 Hopefully we will be able to meet in person this time 14:06:25 fingers crossed 14:06:30 ++ 14:06:35 Moving ahead 14:06:41 #topic release/periodic jobs update 14:06:52 This is milestone 1 release week 14:07:02 and we are not releasing anything this time 14:07:08 So we are good \o/ 14:07:08 :P 14:07:33 I guess our m1 targets didn't make it ;) 14:07:54 :D 14:07:57 AND periodic jobs all are green as well 14:08:03 uuh 14:08:13 that's cool 14:08:25 I saw couple of timeouts on glance patches this week, but that is due to heavy queue in the gate 14:08:40 Moving to next topic 14:08:48 #topic Catching up with reviews and specs 14:09:00 We have couple of specs up for reviews 14:09:14 So requesting all of you to kindly provide your feedback on them 14:09:43 AFAIK, Quota usage API, metadef tag append and resource type modification specs are up 14:10:16 Please put some time in reviewing them 14:10:36 moving ahead 14:10:40 sorry 14:10:56 Could you disscuss my patch ? 14:11:10 Mitya_Eremeev, your topic is next so we can discuss it at that time 14:11:18 sorry))) 14:11:23 no problem 14:11:36 #topic Secure RBAC - Impact, what's next? 14:12:08 lbragstad, if you are around, can you put some light on current Yoga goal for RBAC 14:13:08 Does addition of project-manager role has any impact for glance project personas 14:13:52 i thought project-manager was a stretch goal for Yoga? 14:14:34 yeah, I think so as well 14:14:43 here's the proposal: https://review.opendev.org/c/openstack/governance/+/815158 14:14:52 i haven't read the latest version, but looks like dansmith has 14:15:11 right, and it has two specific targets 14:15:24 1 is implementation of project-manager role 14:15:34 2 openstack client compatibility 14:15:37 o/ 14:15:45 i'm catching up on that today 14:15:48 cool, here he is 14:15:53 and addressing feedback 14:16:28 but the biggest change from previous versions is that, 14:16:34 lbragstad, ack, I think we can sync some time early next week (if you have time) 14:16:45 project-admin will remain an operator specific persona 14:18:15 ok 14:18:38 when is next RBAC open office hours meeting? 14:18:48 the system personas are truly reserved for system-specific APIs (which I don't think glance has?) 14:18:59 * lbragstad checks 14:19:17 right 14:19:23 the TC is discussing the goal today 14:19:27 in about 3 hours 14:19:43 Ok, I will try to be there to clear some doubts 14:19:45 thank you 14:19:50 in 2.5 hours 14:19:52 actually 14:20:09 and also if you have some time, we can sync as per your availability as well 14:20:15 ++ sounds good 14:20:19 next week * 14:20:29 thank you, please let me know 14:20:40 i'll be around all day monday - wednesday 14:20:44 so - i can make any time work 14:20:59 Great, I will ping you on monday then 14:21:10 moving ahead 14:21:27 #topic Discussion of spec lite 14:21:46 Add ability to purge all needed rows by glance-manage script 14:21:52 Mitya_Eremeev, stage is yours 14:22:00 just to put some light 14:22:04 thanks 14:22:23 Mitya_Eremeev, reported a bug for the same, and as it is enhancement I have asked him for spec lite 14:22:35 #link https://review.opendev.org/c/openstack/glance-specs/+/817938 14:22:51 https://review.opendev.org/c/openstack/glance/+/813691 14:23:11 I do think we can have one option max-rows for glance db purge operation 14:23:17 Mitya_Eremeev, have you tried that ? 14:23:59 max-rows have nothing in common with number of all deleted rows 14:24:39 it's just some limitation how many rows will be deleted by script 14:24:48 ok 14:25:06 so you just want to delete/purge all rows in one command 14:25:12 so no guarantess that all deleted rows will be purged 14:25:40 Yes, I think user should have ability to purge in one pass 14:26:11 So currently we're checking that max-rows is at least one. We could be consisten and use -1 there 14:26:25 ack, so we have a spec lite up for the same, please review it and give some early feedback to Mitya_Eremeev 14:26:25 otherwise user wil do some monkey job just by launching script many times until script deleted all 14:26:45 so -1 means delete all ? 14:26:52 no 14:27:09 abhishekk: that's how our other limits works 14:27:40 Mitya_Eremeev, he is giving suggestion 14:27:42 so yeah, --max-rows -1 and --age-in-days 0 would equal to purge all 14:28:06 if pass key --purhe_all then --max row is just number of rows in one step 14:28:25 no need for an extra parameter for that nor breaking anyone 14:28:49 I don't think that max-rows allows negative values 14:29:24 Mitya_Eremeev: that's what I'm saying .... don't add the extra --purhe-all, but allow -1 as --max-rows 14:29:33 understood 14:29:35 Mitya_Eremeev, we can modify it to allow 14:29:47 but we should not do that 14:29:52 jokke_, please add this suggestion on the speclite 14:30:02 simple way to indicate that we don't want to patch it ... if we're looping anyways doing it in patches is just tons of extra queries into the db that are not needed 14:30:14 abhishekk: sure 14:30:29 any specific reason for not doing it Mitya_Eremeev 14:30:57 sometimes db can be very huge and sometimes it's better to divide deleting in steps 14:31:20 in nova we have a date-based filter as well, so you can say "older than last month" 14:31:23 so max-rows helps regarding performance 14:31:48 dansmith, I think similar we have age-in-days option 14:32:08 okay cool, I'm not sure why anyone would use max-rows if they have an age-based option 14:32:35 dansmith: well we for some reason default that to 100 rows 14:32:36 max-rows is just for db performance 14:32:54 jokke_: oh max-rows counts against an age-based purge as well? 14:33:15 yes 14:33:22 yeah, that seems weird to me 14:33:29 dansmith: yeah yeah ... by default it does only 100 rows and you loop it as needed or give it sufficient value 14:33:33 makes no sense 14:33:36 maybe loop and do $max_rows at a time until there are no more that satisfy the age query? 14:33:45 I mean, make the tool do that for them 14:33:48 I think if age-in-days is mentioned then it should ignore max-rows 14:33:53 as it just introduces more load for db to loop the data and identify those rows 14:34:59 I think its time to revisit glance-manage utility tool and do some enhancements there as well 14:35:16 abhishekk: well, depends on how the loop works - but max-rows may be desirable to avoid loading a billion things into memory just to delete them, 14:35:28 but the user should expect it to behave sanely, regardless of internal batching, IMHO 14:35:35 abhishekk: they both have default values 14:36:17 dansmith: but that should be handled in the db_api side, rather than from the command client 14:36:23 hmm, I need to recheck how it works, we never looked back once we added purge image table separately 14:36:26 batching I mean 14:36:29 if needed 14:36:41 jokke_: as long as it's not handled by the user in the shell, I agree :) 14:36:55 :D 14:37:12 but any case the 100 line limit is ridiculous 14:37:23 We can continue this discussion on spec lite 14:37:26 mhm 14:37:44 and if required we can change it to spec where we can target all the improvements at once 14:37:59 Mitya_Eremeev, thank you for bringing this up 14:38:09 Thank you all ! 14:38:19 moving ahead 14:38:39 #topic in-flight encryption without Barbican Consumer API 14:38:46 rosmaita, this is you 14:39:06 yeah, my -1 on that may be preventing people from looking at it 14:39:17 I think I have added in PTG etherpad some feedback but forget to add it to spec before going on Vacation 14:39:21 -1 because it's not targeted for yoga 14:40:02 will again have a look after the meeting or early tomorrow 14:40:03 but i was wondering if dansmith and jokke_ still have reservations about doing this without the secret consumer API? 14:40:48 Only reservation is whether we should allow commented code as place holder or we should have dependent patch instead of having commented code in code base 14:41:09 -1 on commented code, but I'm not up to date on the current state 14:41:24 i agree with dansmith on that 14:42:01 Yeah, its better to have dependent patch 14:42:12 what is it going to depend on? 14:42:40 rosmaita: as actual stable feature yes, I've been promoting doing this as experimental so the development work can move on while waiting for the consumer api for over cycle now ;) 14:43:22 ok, my only interest is that i want them to get this thing to the state where they can run end-to-end CI tests 14:43:23 rosmaita: the non-exiting release patch of barbican to release the consumer api ;) 14:43:35 https://review.opendev.org/c/openstack/glance/+/705445/4/glance/api/v2/images.py 14:43:37 because there are a bunch of edge cases that will have to be dealt with, i suspect 14:43:51 rosmaita, we can move commented code from this patch to a separate patch 14:44:21 i wonder about that patch 14:44:27 the comment i mean 14:44:41 i thought castellan was a backend-neutral library 14:44:50 so unlikely to have support for this thing 14:45:11 it doesn't even support naming a secret (unless the version i use is way out of date) 14:45:47 that's a separate issue, i guess 14:46:00 right 14:46:33 is encryption weekly meeting still going on? 14:46:53 yes, though i keep missing it because i am stupid about the time change 14:47:17 mondays at 1300 UTC, i think 14:47:18 let me know the timing I will join it (next time) 14:47:26 I think it is on Monday 14:47:37 Ok, will try to be there this time 14:47:56 yes, 1300 utc in #openstack-meeting 14:47:56 moving ahead 14:48:00 thanks! 14:48:03 cool, thank you 14:48:19 #topic Open discussion 14:48:44 I need to revisit PTG discussions to start up pending works 14:48:56 I guess Cache API is one of them 14:49:21 So in next meeting we will have some targets for Milestone 2 14:49:37 that's it from me 14:49:49 Kindly put some time in spec reviews 14:51:40 anything else ? 14:52:11 not from me 14:53:27 not me 14:53:56 nay 14:54:24 cool, lets wrap up for the day 14:54:26 thank you all 14:54:34 have a great week ahead 14:55:05 thanks 14:55:23 #endmeeting