Thursday, 2022-06-09

opendevreviewPierre-Samuel Le Stang proposed openstack/glance master: Implement glance-download internal plugin  https://review.opendev.org/c/openstack/glance/+/84031807:14
opendevreviewPierre-Samuel Le Stang proposed openstack/glance master: Implement glance-download internal plugin  https://review.opendev.org/c/openstack/glance/+/84031807:17
pslestan1hello07:18
pslestan1abhishekk: I pushed some fixes about glance-download plugin07:19
abhishekkpslestan1, ack, i will have a look at it, I think you can now start fixing failing tests07:19
pslestan1Will you or someone else have time to implement/help for writing tests?07:20
opendevreviewPranali Deore proposed openstack/glance master: Remove dead code of auth and policy layers  https://review.opendev.org/c/openstack/glance/+/84511409:49
abhishekkpslestang, Lets meet in today's meeting to talk about it09:53
opendevreviewPranali Deore proposed openstack/glance master: Remove dead code of auth and policy layers  https://review.opendev.org/c/openstack/glance/+/84511411:59
*** croeland1 is now known as croelandt12:24
opendevreviewMerged openstack/glance master: Modify wrong file path in README  https://review.opendev.org/c/openstack/glance/+/56842813:31
abhishekkrosmaita, jokke_, dansmith, croelandt, pslestang, alistarle, mrjoshi glance weekly meeting in 15 minutes at #openstack-meeting 13:47
rosmaitai thought we cancelled this week?13:47
dansmithI kinda thought so too13:48
dansmithI'm woefully behind on stuff because of what's going on this week13:48
rosmaitame too, i will have nothing to contribute today13:48
abhishekkdon't worry we don't have much on the agenda so if you guys skipped then no issue at all13:49
rosmaitaok, thanks!13:50
abhishekkjust when you get time then have a look at https://review.opendev.org/c/openstack/glance/+/845114 13:50
abhishekkand dansmith please look at immediate caching patch once you became free from summit work13:50
abhishekks/work/workload13:50
dansmithabhishekk: oh god, sorry13:51
abhishekkno worries :D13:51
dansmithI've had the api locations thing open all week trying to get to that13:51
abhishekkwe still have enough time13:51
abhishekkyep, I know and that is why didn't pinged you in between (next week is also ok)13:52
alistarleabhishekk About unit test we experience issue with UT due to the config not well loaded: oslo_config.cfg.NoSuchGroupError: no such group [glance_store], we struggle to figure out how it can have worked before before it is never mocked, do you have any idea ?15:36
dansmithalistarle: you're not alone, it's a frustrating thing15:51
dansmithalistarle: can you upload what you have and/or show a pastebin of the error?15:51
dansmithI always have to re-figure this out when I add test classes15:51
dansmithif it's a simple unit test I think you need to inherit from base.IsolatedUnitTest, and then call stores.create_stores() in your setUp()15:53
dansmithit's a combination of actual config and generated config from the latter I think15:53
alistarleactually we are just move the test_web_download.py class to test_case_download.py one, when updating the imports16:04
alistarle*test_web_download.py to test_base_download.py, sorry16:05
alistarleSo I think a IsolatedUnitTest is not a solution, it should work like before in the web_download case, we basically just rename the class and the test class also16:07
pslestangdansmith: https://paste.openstack.org/show/bwCaztaIb6Eqd62FbUsb/16:09
dansmithpslestang: okay, but what does BaseDownload look like?16:13
dansmithoh, sorry,16:13
dansmiththat's not the test class16:13
pslestangdansmith: https://review.opendev.org/c/openstack/glance/+/84031816:14
dansmithright, sorry, I was reading the indents wrong and thought that was your test class16:14
pslestangdansmith: yes it is the test class16:15
dansmithso TestWebDownload is the class you renamed and am using that?16:15
pslestangexactly16:15
dansmithwell, based on just that it seems like it should be fine.. can you pastebin the whole git diff from the latest rev you have in gerrit?16:18
pslestangdansmith: https://paste.openstack.org/show/bixnYRLMHBpvUP7fDpOs/16:28
pslestangdansmith: we need to go, we will work on it tomorrow morning (UTC+2)16:29
dansmithpslestang: ack16:29

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