14:00:14 #startmeeting glance 14:00:16 Meeting started Thu Nov 14 14:00:14 2019 UTC and is due to finish in 60 minutes. The chair is abhishekk. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:17 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:18 #topic roll call 14:00:20 The meeting name has been set to 'glance' 14:00:30 o/ 14:00:33 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:00:41 o/ 14:00:54 0/ 14:01:21 o/ 14:01:43 o/ 14:01:47 o/ 14:01:54 all are here, lets start 14:02:15 #topic Updates 14:02:35 Last week we had good summit and PTG 14:02:50 Below is the summary of what happened in summit and PTG 14:02:59 #link http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010752.html 14:03:16 Thanks for the nice recap. I appreciated being able to catch up with that. 14:03:33 smcginnis, ty 14:04:06 also, we have came up with planning and priorities which is captured at the end of this etherpad 14:04:16 #link https://etherpad.openstack.org/p/Glance-Ussuri-PTG-planning 14:04:44 I will submit a patch for ussuri priorities this week for the same 14:05:02 Lets move to next topic 14:05:05 question: have we removed v2 from the glanceclient? 14:05:35 rosmaita: ehh, nope, not that I know of 14:05:43 rosmaita, nope 14:05:47 yeah, i didn't think so 14:05:54 the priorities look pretty full 14:06:09 rosmaita, yes :D 14:06:10 but you might want to slap that in there just in case we get someone else 14:06:32 rosmaita: why in earth we would want to remov v2 from the client? 14:06:35 * smcginnis loves removing code :) 14:06:35 rosmaita, v2 or v1? 14:06:43 no bugs 14:06:48 i meant v1 14:06:53 :D 14:06:54 (was thinking of cinder) 14:07:19 rm -rf *.* should do it 14:07:26 ;) 14:07:30 i may have to stop attending these meetings, it is too confusing 14:07:38 I will include this in priorities and will report a bug with low-hanging-fruit tag for the same 14:07:48 sounds good 14:07:56 Cool 14:08:15 #action abhishekk to include this in priorities and will report a bug with low-hanging-fruit tag for the same 14:08:33 moving ahead 14:08:43 #topic release/periodic jobs update 14:08:48 yeah, I'm at least much more interested to get ri of the registry atm vs the v1 client. It doesn't hurt much there and haven't been causing maintenance burden 14:09:23 jokke_, right 14:09:24 and there's still some very old deployments out there 14:10:15 As we are talking Ussuri milestone is just 3 weeks away 14:10:43 and we have a lot on the U1 target list 14:10:46 it will be around 09-13 December and we need to do lots of stuff in this milestone 14:11:26 I have contacted greg who submitted the multiple imports specs and he is still willing to do the same 14:11:51 Yes I confirm, I'm here :) 14:12:04 yebinama_, great, welcome 14:12:11 yebinama_: \o/ 14:12:18 Thanks 14:12:36 I had some questions regarding the PTG discussion on this topic 14:12:54 yebinama_, yes, we can discuss this during Open discussion 14:12:57 Can I ask now or wait for the open discussion? 14:13:02 ok thanks 14:13:31 Similarly I will write a spec to copying existing image in multiple stores early next week 14:13:44 great 14:14:18 moving ahead, Periodic jobs all green except two transition related failures and post failure 14:14:53 jokke_, as discussed in PTG I have tried to analyze the code around fixture, but not able to reproduce this issue in local any more 14:15:18 earlier it was failing in my local environment every time but suddenly it has stopped 14:15:40 so not able to debug and analyze 14:15:52 so I will keep this aside for some time 14:16:34 moving ahead 14:16:50 #topic Open discussion 14:16:56 yebinama_, stage is yours 14:17:18 :) 14:17:41 (after that and if there is still some time, I have some questions, so please don't quickly close the meeting :) 14:17:49 Si I had some questions to clarify some points 14:17:55 tosky, ack 14:18:07 go ahead 14:18:33 Regarding the flag to bypass the image activation on location 14:18:42 What is this about? 14:20:32 yebinama_, if we specify multiple stores in request then we should set image to active when it is imported/uploaded to all stores 14:21:41 so when we set image location it becomes active to avoid this and maintain backword compatibility we should set one flag and restrict image being active unless it is uploaded to all stores 14:22:50 Why not simply update locations at once when all uploads have been treated? 14:23:05 yebinama_: I haven't looked into it yet too much on code level, but like abhishekk said, currently we do activate image when first location is added to it. We need to be able to postpone that to the point we know if we're failing the import or not 14:24:28 yebinama_: that's one option, but will cause issues if we loose the glance node during the import process. We end up with image data in the stores we have no track of as the locations are not in the database. Which means that if someone deletes that image to try again that ghost data will stay lingering in the store 14:24:46 if we do have the locations updated, we will delete the data from the store upon image delete 14:25:10 right 14:25:16 ok fine 14:25:53 yebinama_, also we need to find out how delete works when import is in progress 14:26:17 Should we accept a delete request if import is on progress? 14:26:28 Or send a 409? 14:27:11 i believe we accept a delete while an image is in 'saving' status now, so should probably accept the delete 14:27:13 yebinama_, we don't have locking mechanism or way to find out any operation is still in progress on that particular image id 14:28:23 agree, we should accept the delete request and raise HTTPGone from current request if staging data is not available any more 14:28:27 rosmaita: right, and I think when we are importing into multiple stores, we need to check before starting new upload that the image is not "deleted" 14:28:49 yes, that would be smart 14:29:03 so we can signal the taskflow to stop instead of keep uploading the data 14:29:09 ++ 14:29:44 Agree we need a way to cancel that. Would hate to have to upload a large image that we know will just be deleted. 14:30:29 yebinama_, anything else? 14:30:31 smcginnis: the bigger problem is that if we process the delete and keep uploading, we won't delete from those stores so we end up again with untracked ghost data 14:30:51 That would be very bad too! 14:31:08 it might cause revert if the location add fails 'though 14:31:22 so we might aleady have failsafe for that 14:31:24 jokke_, that will not happen as on deleting it deletes the data from staging area too 14:31:27 but still 14:31:57 abhishekk: yeah, but the data is really not deleted from staging as long as we have file descriptor open to it. 14:32:12 we just need to be careful 14:32:16 ack 14:32:24 ok 14:32:44 and last one 14:32:49 yebinama_: other than that it should be pretty straight forward 14:33:00 feel free to ping me with any questions 14:33:00 About " Is there need for internal plugin (only available on create-image-via-import, on /v2/import)" 14:33:22 jokke_: ok thanks 14:33:41 what do you mean by internal plugin? 14:34:04 yebinama_: yes, so we were discussing does it actually make sense to create new import method rather than just add the functionality to the existing ones 14:34:52 What I've already implemented (based on the first spec) 14:34:55 and we came to the conclusion that it makes more sense to add it to the current ones (so we just need to implement task that does the looping into the taskflow if the store list is in the import request) 14:35:10 yebinama_: which way did you do it? 14:35:16 I have keep the same method 14:35:25 yebinama_: great 14:35:31 and call 2 new methods in it 14:35:34 jokke_, he has PoC reference in the specs 14:35:46 one for multistore and one for old behaviour 14:35:48 I will need to take a look on that 14:36:06 #link https://review.opendev.org/#/c/667132/ 14:36:12 yep i've already uploaded some code 14:36:22 yebinama_: cool. As we don't want to end up with "glance-direct-to-multistore" and "web-download-to-multistore" :P 14:36:39 jokke_: ++ 14:36:49 Agree :)) 14:37:03 jokke_, we also need to figure out how we trigger taskflow from upload in case nova and cinder sends us base image id 14:37:56 abhishekk: that is outside of the scope for this for now. we need to do quite a bit of piping for that feature to become reality 14:38:12 jokke_, yes 14:38:54 last one 14:39:08 Regarding policies 14:39:23 I don't think we need to add a new one 14:39:27 * jokke_ runs! 14:39:52 :d 14:39:53 :) 14:39:57 Since we can already choose a store to upload to 14:40:15 yebinama_: I do agree, for this specific feture there is no need to do policy work 14:40:28 great :) 14:40:52 that's all for me 14:41:06 thanks for the feedbacks 14:41:17 we got some ideas/requests to create policies to control who is able to create images to specific stores, but I totally agree, it should not be requisite for this feature to land 14:41:18 cool, feel free if you have any more questions 14:41:27 it will affect it later when implemented 14:41:46 yebinama_, in which timezone you are 14:41:55 abhishekk: ok thanks 14:41:55 tosky, your turn now 14:42:02 GMT+1 Paris 14:42:15 I will be very quick 14:42:24 yebinama_, cool 14:42:27 tosky: no worries, you have 18min :P 14:42:28 I proposed 3 test-related backports for stein 14:42:58 the base one is https://review.opendev.org/#/c/691308/, rosmaita already commented; I think it was simply a slip because this change was really intended for stein 14:43:43 the other two depends on it; once you remove py35, the other jobs should be fixed too: https://review.opendev.org/#/c/691313/ (this is not a backport, but it's a branch-specific fix) and https://review.opendev.org/#/c/691367/ 14:43:45 abhishekk: can approve that now, he was just added to the stable-maint team 14:44:16 and that's it, it was just a small ping for them, so that the functional tox test environment works out of the box with python 3.6 as expected 14:44:46 ty rosmaita 14:45:11 tosky, will have a look at them asap 14:45:20 abhishekk: don't know if you saw matt r's email, make sure you read through https://docs.openstack.org/project-team-guide/stable-branches.html 14:45:22 we should not merge that 14:46:03 rosmaita, ack, I have seen it and also aware of these guidelines 14:46:06 Just doing comment on the patch, but if the py35 is not present and we're fixing those envlists we should not leave the py35 env there ;) 14:47:10 they don't hurt anything 14:47:14 uhm, that's true; at least it's not superharmful, I was trying to not touch too many things 14:47:15 the gate doesn't run 'tox' 14:47:29 it runs for particular envs 14:48:07 i imagine centos still has 3.5 14:48:26 is it? 14:48:30 and funny enough, looking the check job list openstack-tox-py35 runs and passes 14:50:08 so either that is named wrong and is actually running py36 (wouldn't be first time) or the 35 intrepreter is somewhere available still :P 14:50:31 agree with jokke_ here, if py35 environment is not available it should be included 14:50:55 another patch then? 14:51:31 tosky: if you just remove the 35 envs from the list and definitions we can push that through today I assume 14:51:42 tosky: it looks otherwise very reasonable 14:52:26 slightly related, we need to keep an eye on https://review.opendev.org/#/c/693951/ 14:52:40 we aren't installing constraints and requirements correctly 14:52:42 jokke_: so changing the first patch in the stack? 14:52:55 or we can merge that cherrypick and put another patch out as it seems that abhishekk's original patch did leave them behind already in Train 14:53:01 tosky: wait a sec 14:53:06 because of ^^ 14:53:28 oh, sure, if they are still in train they should be removed first there (and backported) 14:53:33 abhishekk: rosmaita: what do you think? 14:53:59 there is another patch that I could backport 14:54:05 https://review.opendev.org/#/c/648614 14:54:11 +1 14:54:54 ok, I can approve this one now and we can do the cleanup as follow-up for backport clarity 14:54:58 this one: https://review.opendev.org/#/c/664475/ 14:55:03 thanks tosky 14:55:43 we have 5 minutes left 14:57:21 anything else to discuss? 14:58:23 Thank you all, see you in next meeting 14:58:37 bye! 14:58:38 Bye 14:58:55 #endmeeting