Wednesday, 2022-02-02

opendevreviewTakashi Kajinami proposed openstack/glance master: Remove osprofiler parameters from api-paste.ini  https://review.opendev.org/c/openstack/glance/+/78909513:18
opendevreviewMridula Joshi proposed openstack/glance master: Added a new API to expose store info  https://review.opendev.org/c/openstack/glance/+/82443814:38
opendevreviewMridula Joshi proposed openstack/python-glanceclient master: Add an optional parameter --detail  https://review.opendev.org/c/openstack/python-glanceclient/+/82444414:40
opendevreviewMridula Joshi proposed openstack/python-glanceclient master: Add an optional parameter --append  https://review.opendev.org/c/openstack/python-glanceclient/+/81359114:43
abhishekkjokke_, around?16:02
abhishekkhttps://review.opendev.org/c/openstack/glance/+/80095716:25
abhishekkjokke_, rosmaita, dansmith, croelandt this is the patch I am talking about16:25
abhishekkglance-code-constants-check this is the job16:32
abhishekkIf I change the version then the above job will fail16:40
opendevreviewAbhishek Kekane proposed openstack/glance master: Cache management API endpoints  https://review.opendev.org/c/openstack/glance/+/79202216:50
rosmaitaabhishekk: you mean that when you have CURRENT_RELEASE = 'yoga' in glance/db/migration.py, the test fails?  Try creating a 21.0.0.0b1 tag in your local repo and see if the test passes 16:58
abhishekkack16:58
rosmaitai think the order of events has to be: cut M-1 release, (test starts failing), update migration.py16:59
rosmaitanot sure exactly how pbr determines the version, though16:59
abhishekkhttps://paste.opendev.org/show/812493/17:00
abhishekkthis is what I see after changing the CURRENT_RELEASE = 'yoga'  17:01
abhishekkI will try by creating the tag17:01
rosmaitai am an idiot, the tag should be 24.0.0.0b117:01
abhishekkyeah17:02
abhishekkyeah for the tag part :D17:02
rosmaitawell, maybe also for writing that test in the first place17:02
abhishekkcreating tag locally also does not help17:03
abhishekkthere is glance.egg-info/PKG-INFO which has glance version17:11
abhishekkIf I change it to 24.0.---then the test will pass17:11
abhishekkI think its totally related to release17:11
rosmaitaabhishekk: i wonder what would happen if you hack glance.egg-info/PKG-INFO17:12
rosmaitathird line is Version: 17:12
abhishekkyeah17:12
abhishekkI think the info here comes from setup.cfg17:14
rosmaitai didn't see any version info in there, though17:15
abhishekkthat will be added when glance is installed as a package using setup.py17:15
abhishekkpython3 setup.py --version this will fetch you the current version 17:26
rosmaitaabhishekk: try doing this before running the test:17:34
rosmaitaexport PBR_VERSION='24.0.0.0b1'17:34
abhishekkack17:36
abhishekkno luck17:36
rosmaitadang17:37
abhishekkwill try to dig further tomorrow17:38
dansmithabhishekk: I'm not seeing any of the messages in the logs that I would expect if the caching is working.. am I missing something?17:38
dansmithI see images cached as a result of uploads and stuff, but not as a result of queuing17:39
abhishekkyou mean to say in this patch, https://review.opendev.org/c/openstack/glance/+/82511517:39
abhishekkdansmith, 2022-01-31 11:10:32.671020 | controller | {3} tempest.api.image.v2.admin.test_image_caching.ImageCachingTest.test_image_caching_cycle [32.291451s] ... ok17:41
dansmithabhishekk: that says the test ran, yeah17:41
dansmithI mean g-api logs17:41
abhishekkhave you checked g-api-r logs ?17:41
dansmithare you hitting g-api-r?17:42
abhishekkI am caching everything on g-api-r17:42
dansmithahh17:42
abhishekkyeah17:42
dansmith"glance.image_cache.prefetcher [-] Found 1 images to prefetch "17:42
dansmithsweet :)17:42
abhishekkthe reason is when I am trying to hit clear API which deletes all cached images I don't want to have any regression on tests using g-api 17:42
abhishekk\o/17:43
dansmithyeah, so..  maybe we should set the periodic timer for g-api-r very low17:44
dansmithwhich won't affect other things, but will cause that to run the prefetcher very often to lower the wait times17:44
abhishekkagree, that is why I kept it as DNM to decide on timing17:44
abhishekkany ideal time you have in mind?17:45
dansmithjust looking for where that's set17:45
dansmithif we use a non-overlapping timer, then I'd say every ten seconds or so17:46
abhishekkhttps://review.opendev.org/c/openstack/glance/+/825115/3/.zuul.yaml17:46
dansmithI mean in the code17:46
abhishekkah17:46
dansmithin wsgi I see17:47
dansmithyeah, I'd try setting that to 10s17:47
dansmithbut in the -r config17:48
dansmithI guess it doesn't matter that much to set it for both, but it will make a lot of noise in the main one with all the lock verbosity17:49
abhishekkto set it only for -r config we need to change devstack17:49
abhishekk* I think17:50
dansmithyeah, I'll do it17:50
abhishekkcool, thank you17:52
abhishekkunless I don't need to be here, I will sign out now17:53
dansmitho/17:56
abhishekko/~17:57
opendevreviewDan Smith proposed openstack/glance master: DNM: Test override g-api-r cache interval  https://review.opendev.org/c/openstack/glance/+/82753818:04
opendevreviewDan Smith proposed openstack/glance master: DNM: Test override g-api-r cache interval  https://review.opendev.org/c/openstack/glance/+/82753819:23
opendevreviewDan Smith proposed openstack/glance master: DNM: Test override g-api-r cache interval  https://review.opendev.org/c/openstack/glance/+/82753820:34
*** timburke_ is now known as timburke20:57
opendevreviewDan Smith proposed openstack/glance master: DNM: Test override g-api-r cache interval  https://review.opendev.org/c/openstack/glance/+/82753821:27
opendevreviewMerged openstack/glance master: Remove six.text_type, six.binary_type usage  https://review.opendev.org/c/openstack/glance/+/82273321:55
opendevreviewMerged openstack/glance master: Replace six.BytesIO, six.StringIO usage  https://review.opendev.org/c/openstack/glance/+/82273421:55

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