Tuesday, 2020-08-18

*** gyee has quit IRC01:49
*** ratailor has joined #openstack-glance04:30
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-glance04:33
*** m75abrams has joined #openstack-glance05:21
*** belmoreira has joined #openstack-glance05:55
*** belmoreira has quit IRC05:55
*** belmoreira has joined #openstack-glance05:56
*** nikparasyr has joined #openstack-glance06:01
*** happyhemant has joined #openstack-glance06:28
*** rcernin has quit IRC07:02
*** rcernin has joined #openstack-glance07:03
*** lpetrut has joined #openstack-glance07:23
openstackgerritMerged openstack/glance master: zuul: use the new barbican simple-crypto job  https://review.opendev.org/74658207:24
*** rosmaita has quit IRC07:49
*** rcernin has quit IRC08:34
*** priteau has joined #openstack-glance08:35
*** k_mouza has joined #openstack-glance08:55
* abhishekk will be back at 7 pm09:24
openstackgerritLuigi Toscano proposed openstack/glance_store master: DNM test a devstack-tox-functional change  https://review.opendev.org/74666909:30
*** Luzi has joined #openstack-glance09:53
*** tkajinam has quit IRC09:58
*** rosmaita has joined #openstack-glance12:04
*** rosmaita has quit IRC12:04
*** rosmaita has joined #openstack-glance12:13
*** zzzeek has quit IRC12:19
*** zzzeek has joined #openstack-glance12:23
openstackgerritErno Kuvaja proposed openstack/glance_store master: Ramp up rbd resize to avoid excessive calls  https://review.opendev.org/74657912:58
*** priteau has quit IRC13:06
*** Luzi has quit IRC13:34
*** tkajinam has joined #openstack-glance13:50
*** k_mouza has quit IRC13:51
*** k_mouza has joined #openstack-glance13:53
*** jv_ has quit IRC13:54
*** rosmaita has quit IRC14:18
*** davee_ has joined #openstack-glance14:20
*** rosmaita has joined #openstack-glance14:22
*** davee_ has quit IRC14:22
openstackgerritErno Kuvaja proposed openstack/glance-specs master: Optimize Ceph store network usage  https://review.opendev.org/74098014:39
*** ratailor has quit IRC14:45
*** rosmaita has quit IRC14:47
*** lpetrut has quit IRC14:48
*** rosmaita has joined #openstack-glance14:51
abhishekkjust for FYI, tomorrow I will be on leave, need to take care of some personal work14:53
*** nikparasyr has left #openstack-glance14:56
*** belmoreira has quit IRC14:57
*** priteau has joined #openstack-glance15:04
openstackgerritDan Smith proposed openstack/glance master: Implement time-limited import locking  https://review.opendev.org/74359715:04
openstackgerritDan Smith proposed openstack/glance master: Add functional test for task status updating  https://review.opendev.org/74539215:04
openstackgerritDan Smith proposed openstack/glance master: Move SynchronousAPIBase to a generalized location  https://review.opendev.org/74556615:04
openstackgerritDan Smith proposed openstack/glance master: Handle atomic image properties separately  https://review.opendev.org/74651815:04
openstackgerritDan Smith proposed openstack/glance master: Functional test enhancement for lock busting  https://review.opendev.org/74653115:04
openstackgerritDan Smith proposed openstack/glance master: Cleanup import status information after busting a lock  https://review.opendev.org/74655415:04
openstackgerritDan Smith proposed openstack/glance master: Add FakeData generator test utility  https://review.opendev.org/74674615:04
* abhishekk dinner break, will be back in 30 mins15:14
*** gyee has joined #openstack-glance15:16
*** lpetrut has joined #openstack-glance15:23
jokkedansmith: you around?15:38
dansmithyup15:38
dansmithI have your patch in a tab, if that's what you're about to ask :)15:38
jokkeSo the rdb change in glance_store was that what you wanted?15:38
jokkeYeah ... it became really messy and hard to follow after doing the suggestions what you wanted. But if that's what's needed to get it in so be it15:39
dansmithjokke: honestly if you believe that why would you make the changes?15:40
dansmithI've just skimmed it and replied to abhishekk's comment, but I think characterizing the difference as "really messy and hard to follow" may be a little unfair15:41
dansmithbut if you really feel that way, you should definitely revert back to what you had15:41
jokkeWanted to see if that was what you were after and to see that I got it working. Rather done once than leave it half way waiting you getting online and trying to explain how it turned out15:42
jokke;)15:42
jokkegerrit is pretty easy tool to share different revisions15:42
jokkesaved few lines of code, but now we are doing quite a bit of redundant assignments and it took me good while to explain abhishekk how it actually works and that it's functionally same as rev 2 just refactored into shape I understood from your comments15:44
dansmithlol, come on dude :)15:45
jokkeso wanted to check with you if that was indeed what you were looking for or if I should keep the test changes and roll back the actual code (part from initializing the cariables)15:45
dansmithI totally don't understand how an if..elif block is less complicated to read than a single min() call, but if you guys think that it is you should totally revert back to what you had15:50
abhishekkyes, I was confused with the way self.resize_amount was calculated and found it bit easy to understand with earlier if/elif conditions until dan's comment about how we can avoid calculating that twice and use the min function more effectively15:56
jokkethe if .. elif was just self explanary and did not reassign the value every execution after the cap had been reached. Similar with the if in L555 versus moving it inside the helper function needed extra parameters thrown in there just to make it noop vs. not calling it at all15:56
abhishekkalso I was not sure the condition moved to helper was effective one, as earlier we were triggering resize based on that condition only15:57
jokkehonestly I don't mind ... the outcome is the same either way.15:58
*** m75abrams has quit IRC16:01
openstackgerritErno Kuvaja proposed openstack/glance_store master: Ramp up rbd resize to avoid excessive calls  https://review.opendev.org/74657916:02
openstackgerritErno Kuvaja proposed openstack/glance_store master: Ramp up rbd resize to avoid excessive calls  https://review.opendev.org/74657916:05
jokkedansmith: also while I was figuring out the tests I found out that the FakeData iterator won't change the situation as mock will store the data in memory anyways (the call_args_list contains the arguments for the write, so moving it from the iterator to args list or creating it and storing to args list should have same footprint)16:09
dansmithjokke: AFAIK, the mock will store copies, which means not using a generator will store the original plus the copies, so you're getting on to a quarter gig by that point16:12
jokkekk16:17
abhishekkjokke, smcginnis https://review.opendev.org/#/c/745933/3 kindly look if you have time, this will unblock frequent py36-functional job failure16:19
dansmithgah, pep816:31
openstackgerritDan Smith proposed openstack/glance master: Add FakeData generator test utility  https://review.opendev.org/74674616:34
openstackgerritDan Smith proposed openstack/glance master: Add functional test for task status updating  https://review.opendev.org/74539216:34
openstackgerritDan Smith proposed openstack/glance master: Move SynchronousAPIBase to a generalized location  https://review.opendev.org/74556616:34
openstackgerritDan Smith proposed openstack/glance master: Handle atomic image properties separately  https://review.opendev.org/74651816:34
openstackgerritDan Smith proposed openstack/glance master: Functional test enhancement for lock busting  https://review.opendev.org/74653116:34
openstackgerritDan Smith proposed openstack/glance master: Cleanup import status information after busting a lock  https://review.opendev.org/74655416:34
jokkemight not had to put the -2 on that patch, not sure but not blocking the change, just trying to stop the gate merging it :P16:49
abhishekkjokke, regarding that comment, I insisted dansmith to keep only failed store in the failed list as it might confuse the end_user that what went wrong as all the stores failed to import the data16:54
openstackgerritDan Smith proposed openstack/glance master: Fix import failure status reporting when all_stores_must_succeed=True  https://review.opendev.org/74593316:56
dansmithnew revision kicks it out of the gate immediately, otherwise you cause a full gate queue reset with just a -2 and penalize everybody that is waiting16:57
openstackgerritDan Smith proposed openstack/glance master: Poll for final state on test_copy_image_revert_lifecycle()  https://review.opendev.org/74593716:57
jokkedansmith: good point ... dropped the -2 ... sorry for the confusion there. I think we might have different idea of tracking progress and failue with abhishekk :(17:03
*** k_mouza has quit IRC17:04
abhishekkAFAIK -2 will not hold from the patch getting merged17:04
dansmithit will17:06
dansmithbut only at the last minute, so it'll reset the whole gate at the last possible point, which means the most pain for all the people behind you in the queue17:06
jokkeLeft my note on the PS3 just send it back to gate if I understood the whole point wrong17:06
abhishekkahh17:06
*** lpetrut has quit IRC17:29
openstackgerritMerged openstack/glance master: Functional reproducer for bug 1891352  https://review.opendev.org/74593217:58
openstackbug 1891352 in Glance "Failed import of one store will remain in progress forever if all_stores_must_succeed=True" [Undecided,In progress] https://launchpad.net/bugs/189135217:58
* abhishekk signing out for the day18:21
*** k_mouza has joined #openstack-glance19:14
*** k_mouza has quit IRC19:17
*** priteau has quit IRC19:44
*** happyhemant has quit IRC20:11
*** keper7 has joined #openstack-glance20:48
*** rcernin has joined #openstack-glance21:18
*** rcernin has quit IRC21:35
*** rcernin has joined #openstack-glance21:52
*** rcernin has quit IRC21:57
*** rcernin has joined #openstack-glance22:08
*** rcernin has quit IRC22:09
openstackgerritMerged openstack/glance master: Fix import failure status reporting when all_stores_must_succeed=True  https://review.opendev.org/74593322:18
openstackgerritMerged openstack/glance master: Poll for final state on test_copy_image_revert_lifecycle()  https://review.opendev.org/74593722:18
*** rcernin has joined #openstack-glance22:33
*** knikolla has quit IRC22:43
*** knikolla has joined #openstack-glance22:55

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