Thursday, 2020-01-30

*** anastzhyr has quit IRC00:07
*** slaweq has joined #openstack-meeting-400:11
*** slaweq has quit IRC00:16
*** igordc has quit IRC00:28
*** jokke_ has quit IRC00:43
*** igordc has joined #openstack-meeting-400:59
*** ricolin has joined #openstack-meeting-401:14
*** ricolin has quit IRC01:17
*** ricolin_ is now known as ricolin01:18
*** Liang__ has joined #openstack-meeting-401:40
*** tinwood has quit IRC02:10
*** slaweq has joined #openstack-meeting-402:11
*** tinwood has joined #openstack-meeting-402:12
*** slaweq has quit IRC02:16
*** ktibi has joined #openstack-meeting-402:53
*** ktibi has quit IRC02:57
*** psachin has joined #openstack-meeting-403:35
*** igordc has quit IRC04:08
*** slaweq has joined #openstack-meeting-404:11
*** slaweq has quit IRC04:16
*** ricolin has quit IRC04:42
*** links has joined #openstack-meeting-405:00
*** slaweq has joined #openstack-meeting-406:11
*** slaweq has quit IRC06:16
*** Liang__ has quit IRC06:30
*** slaweq has joined #openstack-meeting-407:05
*** eharney has quit IRC07:08
*** eharney has joined #openstack-meeting-407:21
*** ralonsoh has joined #openstack-meeting-407:31
*** gcheresh_ has joined #openstack-meeting-407:46
*** gcheresh_ has quit IRC08:09
*** gcheresh_ has joined #openstack-meeting-408:13
*** gcheresh_ has quit IRC08:47
*** gcheresh_ has joined #openstack-meeting-408:50
*** e0ne has joined #openstack-meeting-409:07
*** gcheresh_ has quit IRC09:15
*** gcheresh_ has joined #openstack-meeting-409:22
*** gcheresh_ has quit IRC09:36
*** gcheresh_ has joined #openstack-meeting-409:41
*** e0ne has quit IRC09:54
*** yebinama_ has quit IRC09:57
*** salmankhan has joined #openstack-meeting-410:09
*** dviroel has joined #openstack-meeting-410:36
*** pcaruana has quit IRC10:46
*** e0ne has joined #openstack-meeting-411:07
*** pcaruana has joined #openstack-meeting-411:48
*** pcaruana has quit IRC12:21
*** jokke_ has joined #openstack-meeting-413:24
*** enriquetaso has joined #openstack-meeting-413:27
*** rishabhhpe has joined #openstack-meeting-413:45
*** rosmaita has joined #openstack-meeting-413:49
*** yebinama_ has joined #openstack-meeting-413:58
*** pcaruana has joined #openstack-meeting-414:03
*** alistarle has joined #openstack-meeting-414:07
*** alistarle has quit IRC14:08
jokke_startmeeting glance14:08
jokke_#startmeeting glance14:08
openstackMeeting started Thu Jan 30 14:08:25 2020 UTC and is due to finish in 60 minutes.  The chair is jokke_. Information about MeetBot at http://wiki.debian.org/MeetBot.14:08
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:08
*** openstack changes topic to " (Meeting topic: glance)"14:08
openstackThe meeting name has been set to 'glance'14:08
jokke_#topic roll-call14:08
*** openstack changes topic to "roll-call (Meeting topic: glance)"14:08
jokke_o/14:08
rosmaitao/14:08
yebinama_o/14:08
rosmaitalooks like a short agenda today, just open discussion14:09
rosmaitai am behind on my reviewing, is there anything in particular that i should look at first?14:09
jokke_#topic open discussion14:10
*** openstack changes topic to "open discussion (Meeting topic: glance)"14:10
jokke_ok, yebinama_ looking into the hashing14:11
jokke_sorry for noticing it this late14:11
yebinama_No problem14:11
yebinama_Did you see my update?14:12
rosmaitalink to patch?14:12
yebinama_review.opendev.org/#/c/66713214:13
rosmaitaty14:13
jokke_https://review.opendev.org/#/c/667132/21/glance/location.py14:13
jokke_yebinama_: I saw your comment and that you had update, didn't have my head with me glancing it through to follow what was going on there :P14:14
jokke_I need to look through it properly14:14
yebinama_Ok :)14:14
yebinama_I didn't do the revert part14:15
yebinama_I had a question regarding it14:15
jokke_yeah, that might get hairy14:15
jokke_go for it rosmaita might be able to help as well14:15
yebinama_Today, if an import fails we don't revert to queued state?14:16
yebinama_Or I didn't see the code for this14:16
jokke_IIRC it depends, I think web-download reverts to queued glance-direct might go to uploading or something like that as we leave the data in staging14:17
rosmaitai think that's correct14:17
jokke_but neither should leave it active with locations in there14:17
*** eharney has quit IRC14:18
yebinama_Ok so I don't have to change that part14:18
yebinama_Just make sure in case of revert to delete os_hash ans other related14:19
jokke_no, what I meant and might have frased it wrong was that when we rever to the point that we have no locations in the image, we should not have hashes there either14:19
jokke_yep!14:20
jokke_and this is the part that might get hairy, rosmaita do you remember if we have some protections at the db lever for those properties?14:21
rosmaitayou mean whether a user can modify them?14:21
rosmaitathey're protected however we protect 'checksum'14:22
jokke_I mean wether we can actually internally remove them once they have been set14:22
rosmaitathat's a good question14:22
jokke_as I can't remember which point of the code path those protections kicks in14:22
yebinama_I think we can do it as with the code I wrote today, they are changed each time an import is done14:23
rosmaitai think they get filtered at the api layer14:23
jokke_yebinama_: that sounds great14:23
rosmaitai don't think we have any hard core protections in the DB14:23
yebinama_And that's what you asked to change14:23
jokke_yebinama_: yeah, true that's where my initial concern came from so they are not protected on this level ;)14:24
jokke_I really need to take my head with me next time I sit back to the computer :D14:25
yebinama_:)14:25
rosmaitasounds like we are OK thne14:25
jokke_yebinama_: so it's clear for you now what I was looking for?14:25
rosmaita*then14:25
yebinama_My only concern is where is the revert code you talked about14:26
yebinama_There is no revert in image import flow14:26
jokke_and rosmaita does that make sense to you?14:26
rosmaitayou mean the part about if there's no image data, then os_hash_* and checksum should not be set?14:27
yebinama_The part where we go back from active to queued14:28
jokke_rosmaita: I mean the 2 cases, first we should not set the checksums every time we upload image, but rather validate against the first one if we do multi store import and if it fails we should revert the checksums and algo out of the image metadata as well when we clean up the locations14:28
rosmaitai definitely agree with that14:29
jokke_yebinama_: so each task in taskflow has it's rever function (if it's defined)14:29
jokke_revert14:29
jokke_taskflow calls those on failure (this happens each time there comes exception through the flow instead of sucessful return)14:30
yebinama_Yep I added one for ImportToStore14:30
jokke_so basically what we want to do is, in the code that deletes the locations upon failure, add a check that looks if we delete last location and clean out the chekcsum and _os_hash_*14:31
yebinama_But you told that today if an import fails, glance set the image status back to queued14:31
*** Liang__ has joined #openstack-meeting-414:32
yebinama_I couldn't find that revert in the code14:32
*** psachin has quit IRC14:32
*** links has quit IRC14:33
jokke_yebinama_: web_download.py L:132 does14:34
*** pcaruana has quit IRC14:34
jokke_so like said, we do it all the way to queued on the case of web-download method as we do not have data in staging14:34
yebinama_Oh ok, not the image import. I missed that point.14:35
yebinama_So I don't have to deal with it, thanks for the clarification.14:36
jokke_sorry, you don't need to deal with what?14:37
yebinama_Reverting the state in image import workflow14:37
jokke_ah, no we don't need to change into which status we are reverting the image to14:37
yebinama_Sorry for the confusion :)14:38
jokke_np, it's good that we're on the same page. I love taskflow for what it enables us to do but It can be confusing14:39
yebinama_Yes it' a great feature.14:40
jokke_if you ever want to get few more grey hair, look our first try with it on the tasks api (the code lives directly under async_/flows/)14:41
jokke_It was nice try, but the user experience was from the horror movies14:41
yebinama_I'll give it a look :)14:42
jokke_ok, we've spent 40min on this (which is good) ... anything else?14:42
yebinama_It's good for me.14:43
jokke_I'm good too, rosmaita?14:44
rosmaitasounds good to me (given that i haven't looked at the code yet)14:44
rosmaitai have something else14:44
jokke_rosmaita: more like timecheck for the meeting14:45
jokke_ah, exactly14:45
*** gcheresh_ has quit IRC14:45
rosmaitai wonder if we should deprecate 'checksum' this cycle14:45
rosmaitai think the md5 reliance is becoming a problem14:45
rosmaitaboth for us calculating it, but also for people confirming it14:45
rosmaitai think the multihash has been in place for a few cycles14:46
rosmaitahopefully people are starting to use that instead14:46
rosmaitabut, i admit that it's going to be a problem for legacy images14:46
jokke_I'm even less worried it being there, but lots of environments are removing the support to actually calculate them14:46
rosmaitayeah, so i guess we can leave it there, but stop computing it in Victoria14:47
rosmaitathat way we don't change the image-show response14:47
jokke_need to see what abhishek thinks, but yeah I agree, we could potentially stop adding it, or at least write checks if md5 is not supported in the env, leaving it out14:48
rosmaitaalso, i'm not sure how glanceclient would handle md5 being unavailable14:48
*** gcheresh_ has joined #openstack-meeting-414:48
rosmaitait uses multihash if its available14:48
rosmaitabut i think it will always try to compute md5sum14:49
jokke_the nice part of md5 is that it's super light to calculate (that's why it's still used in so many places)14:49
rosmaitaalthough there is a really weird case in that code14:49
jokke_it might calculate it but it definitely doesn't expect it to be there14:50
jokke_as all the ceph snapshots comes without any checksums and they still work14:50
rosmaitayeah, a null checksum is ok, i think the problem case will be checksum is there, no multihash, it will try to compute the checksum, get an exception, and then the image can't be downloaded14:51
jokke_yeah, we need to look into the client code if we're finally dropping this for sure14:52
jokke_ok, 7min left, something else?14:53
*** andrebeltrami has joined #openstack-meeting-414:54
yebinama_Just remembered something14:54
rosmaitaok, i'll put it on the agenda for next week and we can see what abhishek thinks14:54
jokke_rosmaita: gr814:54
yebinama_I check checksum and hash for each import14:54
yebinama_But I also added a check for the size14:54
yebinama_Is it needed or not?14:54
jokke_not necessarily, but it's lightweight check and kind of makes sense there14:55
jokke_I didn't mind it when I saw it14:55
yebinama_Ok, I'll keep it then. Thanks.14:56
jokke_if our size suddenly changes, something is definitely wrong14:56
jokke_specially if the hashes matches14:56
rosmaitano kidding14:57
jokke_ok, last call, going first14:57
rosmaitanothing from me, see you next week14:58
yebinama_Bye.14:58
jokke_ok, thanks all!14:58
jokke_#endmeeting14:58
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings/"14:58
openstackMeeting ended Thu Jan 30 14:58:27 2020 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:58
openstackMinutes:        http://eavesdrop.openstack.org/meetings/glance/2020/glance.2020-01-30-14.08.html14:58
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/glance/2020/glance.2020-01-30-14.08.txt14:58
openstackLog:            http://eavesdrop.openstack.org/meetings/glance/2020/glance.2020-01-30-14.08.log.html14:58
*** ricolin has joined #openstack-meeting-414:58
*** pcaruana has joined #openstack-meeting-415:02
*** salmankhan1 has joined #openstack-meeting-415:03
*** gcheresh_ has quit IRC15:04
*** salmankhan has quit IRC15:04
*** salmankhan1 is now known as salmankhan15:04
*** trident has quit IRC15:06
*** trident has joined #openstack-meeting-415:17
*** eharney has joined #openstack-meeting-415:18
*** bobmel has quit IRC15:21
*** bobmel has joined #openstack-meeting-415:25
*** bobmel has quit IRC15:28
*** psachin has joined #openstack-meeting-415:28
*** k_mouza has joined #openstack-meeting-415:31
*** salmankhan1 has joined #openstack-meeting-415:35
*** k_mouza has quit IRC15:36
*** salmankhan has quit IRC15:38
*** salmankhan1 is now known as salmankhan15:38
*** ricolin has quit IRC15:45
*** rishabhhpe has quit IRC15:46
*** eharney has quit IRC16:16
*** eharney has joined #openstack-meeting-416:16
*** rishabhhpe has joined #openstack-meeting-416:33
*** michael-beaver has quit IRC16:50
*** rishabhhpe has quit IRC17:01
*** yebinama_ has quit IRC17:08
*** evrardjp has joined #openstack-meeting-417:33
*** e0ne has quit IRC17:36
*** salmankhan has quit IRC17:46
*** bobmel has joined #openstack-meeting-417:56
*** igordc has joined #openstack-meeting-418:09
*** ralonsoh has quit IRC18:11
*** andrebeltrami has quit IRC18:13
*** gcheresh has joined #openstack-meeting-418:19
*** k_mouza has joined #openstack-meeting-418:34
*** k_mouza has quit IRC18:38
*** k_mouza_ has joined #openstack-meeting-418:39
*** bnemec has joined #openstack-meeting-418:41
*** gcheresh has quit IRC18:45
*** bobmel has quit IRC18:55
*** bobmel has joined #openstack-meeting-418:56
*** bobmel has quit IRC19:00
*** gcheresh has joined #openstack-meeting-419:07
*** bnemec has quit IRC19:24
*** e0ne has joined #openstack-meeting-419:27
*** gcheresh has quit IRC19:28
*** Liang__ has quit IRC19:29
*** e0ne has quit IRC19:33
*** hamzy_ has joined #openstack-meeting-420:11
*** hamzy has quit IRC20:14
*** psachin has quit IRC20:16
*** eharney has quit IRC21:15
*** enriquetaso has quit IRC21:33
*** slaweq has quit IRC21:43
*** slaweq has joined #openstack-meeting-421:45
*** slaweq has quit IRC21:55
*** dviroel has quit IRC23:26

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!