Wednesday, 2020-09-16

*** zzzeek has quit IRC00:13
*** zzzeek has joined #openstack-glance00:15
*** zzzeek has quit IRC00:20
*** zzzeek has joined #openstack-glance00:21
*** zzzeek has quit IRC00:33
*** zzzeek has joined #openstack-glance00:35
*** Liang__ has joined #openstack-glance01:12
*** zzzeek has quit IRC01:22
*** zzzeek has joined #openstack-glance01:24
*** gyee has quit IRC01:25
*** zzzeek has quit IRC01:45
*** zzzeek has joined #openstack-glance01:47
*** k_mouza has joined #openstack-glance02:25
*** k_mouza has quit IRC02:30
*** rcernin has quit IRC02:46
*** rcernin has joined #openstack-glance02:56
*** k_mouza has joined #openstack-glance03:24
*** k_mouza has quit IRC03:28
*** k_mouza has joined #openstack-glance03:32
*** udesale has joined #openstack-glance03:34
*** k_mouza has quit IRC03:36
*** Liang__ has quit IRC04:11
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-glance04:33
*** ratailor has joined #openstack-glance04:34
*** m75abrams has joined #openstack-glance04:57
*** k_mouza has joined #openstack-glance05:18
*** rcernin has quit IRC05:19
*** k_mouza has quit IRC05:23
*** rcernin has joined #openstack-glance05:27
*** rcernin has quit IRC05:28
*** rcernin has joined #openstack-glance05:28
*** ralonsoh has joined #openstack-glance06:03
*** lpetrut has joined #openstack-glance06:15
*** whoami-rajat__ has joined #openstack-glance06:45
*** ratailor has quit IRC07:08
*** ratailor has joined #openstack-glance07:08
*** ralonsoh has quit IRC07:17
openstackgerritGrégoire Unbekandt proposed openstack/glance master: Image import "web-download" check downloaded size  https://review.opendev.org/75206707:32
*** k_mouza has joined #openstack-glance07:40
*** k_mouza has quit IRC07:44
*** rcernin has quit IRC08:06
*** ralonsoh has joined #openstack-glance08:20
*** k_mouza has joined #openstack-glance08:22
*** ralonsoh has quit IRC08:24
*** udesale_ has joined #openstack-glance08:24
*** k_mouza has quit IRC08:26
*** udesale has quit IRC08:27
*** udesale__ has joined #openstack-glance08:30
*** k_mouza has joined #openstack-glance08:31
*** udesale_ has quit IRC08:33
*** k_mouza has quit IRC08:35
*** k_mouza has joined #openstack-glance08:44
*** ralonsoh has joined #openstack-glance09:16
*** jawad_axd has joined #openstack-glance10:07
*** zzzeek has quit IRC11:27
*** zzzeek has joined #openstack-glance11:30
*** ratailor has quit IRC12:01
openstackgerritGrégoire Unbekandt proposed openstack/glance master: Image import "web-download" check downloaded size  https://review.opendev.org/75206712:58
*** udesale has joined #openstack-glance13:15
*** udesale__ has quit IRC13:16
*** benj_ has quit IRC13:38
*** rosmaita has quit IRC13:38
*** rosmaita has joined #openstack-glance13:39
*** k_mouza has quit IRC13:49
*** benj_ has joined #openstack-glance13:51
*** k_mouza has joined #openstack-glance13:56
*** Liang__ has joined #openstack-glance14:00
*** Liang__ is now known as LiangFang14:00
*** m75abrams has quit IRC14:02
openstackgerritGrégoire Unbekandt proposed openstack/glance master: Fix cleaning of web-download image import  https://review.opendev.org/60768014:15
*** LiangFang has quit IRC14:25
*** Liang__ has joined #openstack-glance14:27
*** priteau has joined #openstack-glance14:30
*** udesale has quit IRC14:37
*** lpetrut has quit IRC14:38
dansmithabhishekk: can you comment on my comment about communicating revert parameters through an exception here? https://review.opendev.org/#/c/752067/3/glance/async_/flows/_internal_plugins/web_download.py@12914:39
abhishekkdansmith, looking14:39
abhishekkdansmith, so revert you are talking about is to use it for cleaning the data?14:44
dansmithabhishekk: yeah, the author is saying they're passing that path into the exception so that the store can be cleaned during revert, in a different patch (see the top-level comment)14:45
abhishekkdansmith, ack, I just saw that other patch14:45
abhishekkdansmith, commented14:49
dansmithabhishekk: ah, that store.add() is the staging store?14:50
dansmithI guess that makes sense14:50
abhishekkyes, staging store14:50
dansmithyeah I kinda forgot that's the flow14:52
abhishekk:D14:54
*** k_mouza has quit IRC14:55
*** k_mouza has joined #openstack-glance15:01
*** Liang__ has quit IRC15:04
*** gyee has joined #openstack-glance15:05
jokkeNone of that is necessary as it's stored as the target image ID so we always know where that data is if it exists15:05
dansmithwell, I think the point was to avoid having to make another db call or something, but regardless, it seemed not-very-taskflow-esque to stash it in the exception, yeah15:06
dansmiths/think/assume/15:06
jokkedon't need even db call, all what's needed is available as we can look up the staging uri from conf if needed and the image id is saved in the task object parameters15:08
abhishekkI think there is a difference here;15:09
abhishekkfor glance-direct image is staged before import call is made, so if import is failed then the image-status will reverted back to uploading (which indicates data is in staging and we can reissue import call)15:09
abhishekkIn case of web-download image is staged during import call it self so state transition is like <queued-uploading-importing-active> and as we are setting image status back to queued in reviert call of this method then if we try to restage the data to same image using /stage call then it will raise Duplicate exception here (https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L345).15:09
abhishekkSo that image is no longer useful and  we need to delete it. If we delete data in revert then we can use the image to stage the data and import call.15:09
jokkeand if one wants to be really clever about it, just adding "self." x2 (when the path is defined in row 120 and when it's returned in 121 would save that directly in the object15:09
dansmithjokke: right, that was my suggestion15:10
jokkedansmith: ++15:10
jokkeI know myself too well how easy it is to overcomplicate things15:11
jokkemost of the things I clean up multiple iterations and end up with like 30% of the code in the first one :P15:11
abhishekkI don't think these bugs are critical enough to involve these in victoria release, we can backport them later as well, any suggestion?15:14
abhishekkjokke, dansmith ^^15:14
dansmithabhishekk: yeah agree15:15
abhishekkack15:15
jokkeabhishekk: depends when they are ready, we're not even in RC1 yet so now is good time to get stuff fixed to avoid backports15:15
abhishekkhmm, so we can wait till today, if those get merged by tomorrow this time, we need to update release notes and then can tag the release15:16
jokkeabhishekk: RC1 is next week, M-3 is just feature freeze15:17
jokkeno need to have all bugfixes in this one15:18
abhishekkjokke, right15:18
jokkethe whole point for having feature freeze is to get people focusing on bugfixes for few weeks to get stable release out ;)15:19
abhishekk:)15:20
* abhishekk dinner break15:33
*** k_mouza has quit IRC15:39
*** k_mouza has joined #openstack-glance15:40
* abhishekk back from dinner break16:05
*** jawad_axd has quit IRC16:24
*** jawad_axd has joined #openstack-glance16:37
*** tonyb has quit IRC16:41
*** tonyb has joined #openstack-glance16:42
*** k_mouza has quit IRC16:48
*** johanssone_ has quit IRC16:59
*** tonyb has quit IRC17:01
*** johanssone has joined #openstack-glance17:03
openstackgerritMerged openstack/glance master: Victoria milestone 3 release notes  https://review.opendev.org/74965017:10
*** jawad_axd has quit IRC17:15
*** ralonsoh has quit IRC17:26
*** ralonsoh has joined #openstack-glance17:58
*** jawad_axd has joined #openstack-glance18:00
*** jawad_axd has quit IRC18:15
openstackgerritMerged openstack/glance_store master: Update user/project referencing from context  https://review.opendev.org/75013118:16
*** rosmaita has left #openstack-glance18:20
*** priteau has quit IRC19:12
*** jawad_axd has joined #openstack-glance19:19
*** ralonsoh has quit IRC19:20
*** ralonsoh has joined #openstack-glance19:21
*** ralonsoh has quit IRC19:28
*** jawad_axd has quit IRC20:06
*** whoami-rajat__ has quit IRC20:32
*** zzzeek has quit IRC21:05
*** zzzeek has joined #openstack-glance21:07
*** zzzeek has quit IRC21:22
*** zzzeek has joined #openstack-glance21:25
*** rcernin has joined #openstack-glance21:31
*** rcernin has quit IRC21:36
*** rcernin has joined #openstack-glance22:09
*** rcernin has quit IRC22:18
*** rcernin has joined #openstack-glance22:31
*** rcernin has quit IRC22:33
*** rcernin has joined #openstack-glance22:33
*** zzzeek has quit IRC22:38
*** zzzeek has joined #openstack-glance22:40
*** zzzeek has quit IRC22:58
*** zzzeek has joined #openstack-glance23:00
*** zzzeek has quit IRC23:17
*** zzzeek has joined #openstack-glance23:19
*** zzzeek has quit IRC23:43
*** zzzeek has joined #openstack-glance23:44
*** zzzeek has quit IRC23:49
*** zzzeek has joined #openstack-glance23:52
*** zzzeek has quit IRC23:57
*** zzzeek has joined #openstack-glance23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!