Monday, 2020-04-27

*** Liang__ has joined #openstack-glance01:22
*** threestrands has joined #openstack-glance02:51
openstackgerritQiu Fossen proposed openstack/python-glanceclient master: Remove Babel requirement  https://review.opendev.org/72330203:26
*** ratailor has joined #openstack-glance04:24
*** evrardjp has quit IRC04:35
*** evrardjp has joined #openstack-glance04:35
*** udesale has joined #openstack-glance05:29
*** CeeMac has joined #openstack-glance06:16
openstackgerritAbhishek Kekane proposed openstack/glance_store master: Fix: API returns 503 if one of the store is mis-configured  https://review.opendev.org/72291506:47
openstackgerritMerged openstack/glance stable/ussuri: Imported Translations from Zanata  https://review.opendev.org/72314107:08
*** rcernin has quit IRC08:13
*** threestrands has quit IRC08:20
openstackgerritMerged openstack/python-glanceclient master: Add py38 package metadata  https://review.opendev.org/72274208:22
*** tkajinam has quit IRC08:23
openstackgerritMerged openstack/glance master: Add py38 package metadata  https://review.opendev.org/72269508:28
openstackgerritMerged openstack/glance_store master: Add py38 package metadata  https://review.opendev.org/72269608:31
*** Liang__ has quit IRC10:15
*** smcginnis has quit IRC11:40
*** smcginnis has joined #openstack-glance11:41
*** rosmaita has left #openstack-glance12:34
*** rosmaita has joined #openstack-glance12:39
*** udesale_ has joined #openstack-glance13:20
*** udesale has quit IRC13:23
*** ratailor has quit IRC13:27
*** tkajinam has joined #openstack-glance13:42
*** irclogbot_0 has joined #openstack-glance14:08
abhishekkrosmaita, around?14:11
rosmaitayep, good morning14:11
rosmaitaor afternoon14:12
abhishekkevening :D14:12
abhishekkgood morning to you14:12
*** irclogbot_0 has quit IRC14:12
*** irclogbot_1 has joined #openstack-glance14:22
*** irclogbot_1 has quit IRC14:25
*** irclogbot_1 has joined #openstack-glance14:26
*** irclogbot_1 has quit IRC14:29
*** irclogbot_2 has joined #openstack-glance14:30
*** irclogbot_2 has quit IRC14:35
*** irclogbot_2 has joined #openstack-glance14:36
*** irclogbot_2 has quit IRC14:39
*** irclogbot_3 has joined #openstack-glance14:40
*** irclogbot_3 has quit IRC14:45
*** irclogbot_3 has joined #openstack-glance14:46
jokke_whoami-rajat: ping14:49
*** irclogbot_3 has quit IRC14:51
*** irclogbot_2 has joined #openstack-glance14:52
*** tkajinam has quit IRC14:54
*** irclogbot_2 has quit IRC14:55
*** irclogbot_2 has joined #openstack-glance14:56
whoami-rajatjokke_, hi14:58
*** irclogbot_2 has quit IRC14:59
*** irclogbot_2 has joined #openstack-glance15:00
*** irclogbot_2 has quit IRC15:03
*** irclogbot_3 has joined #openstack-glance15:04
jokke_whoami-rajat: hav a look and let me know what you think http://paste.openstack.org/show/792761/ ... I just sent a mail out (internally) abot that as well as I wasn't sure if you were around15:05
jokke_whoami-rajat: ^^ is a diff against your PS815:05
jokke_I think abhishekk is testing that too as we speak15:06
*** irclogbot_3 has quit IRC15:07
abhishekkjokke_, yes tested, created 10 images so far and its working as expected15:07
*** irclogbot_0 has joined #openstack-glance15:08
*** irclogbot_0 has quit IRC15:11
abhishekkjokke_, after 11th image it has created new object :/15:11
*** irclogbot_2 has joined #openstack-glance15:12
jokke_abhishekk: but is there multiples of them? Looking the code I'd expect that to be the case when garbage collection cleans that manager away15:12
abhishekkjokke_, yes, I am thinking the same15:13
abhishekkfor next images it is using same id/object of the 11th image15:13
abhishekk:/15:14
abhishekknope, 1st one is back again15:14
*** irclogbot_2 has quit IRC15:15
*** irclogbot_0 has joined #openstack-glance15:16
jokke_abhishekk: hmm-m ... that should never happen unless we have different namespaces running simultaneously15:16
abhishekknot sure15:17
abhishekkFound new issue though15:17
jokke_abhishekk: how are you monitoring that inside the process?15:17
abhishekkI have added debug log15:17
jokke_and they are logged by same pid?15:18
abhishekkwait may be I haven't used entire your code, let me check it again15:18
jokke_Anywhere I could have a look?15:18
jokke_kk15:19
*** irclogbot_0 has quit IRC15:19
*** irclogbot_3 has joined #openstack-glance15:20
abhishekkgive me a minute15:21
*** irclogbot_3 has quit IRC15:23
*** irclogbot_2 has joined #openstack-glance15:24
abhishekkI was doing this way15:25
abhishekkhttp://paste.openstack.org/show/792762/15:25
*** brinzhang_ has quit IRC15:25
*** brinzhang_ has joined #openstack-glance15:26
*** irclogbot_2 has quit IRC15:27
*** irclogbot_1 has joined #openstack-glance15:28
*** brinzhang_ has quit IRC15:28
*** brinzhang_ has joined #openstack-glance15:28
abhishekkjokke_, whoami-rajat tested code as per http://paste.openstack.org/show/792764/15:30
abhishekkand for 20 images it has used same object15:30
abhishekkhttp://paste.openstack.org/show/792763/15:30
*** irclogbot_1 has quit IRC15:31
*** irclogbot_3 has joined #openstack-glance15:37
*** udesale_ has quit IRC16:26
*** vesper11 has quit IRC16:26
*** hoonetorg has quit IRC16:26
*** noonedeadpunk has quit IRC16:26
*** abhishekk has quit IRC16:26
*** Blinkiz has quit IRC16:26
*** tonyb has quit IRC16:26
*** kgz has quit IRC16:26
*** kgz has joined #openstack-glance16:28
*** irclogbot_3 has quit IRC16:28
*** vesper11 has joined #openstack-glance16:29
*** irclogbot_0 has joined #openstack-glance16:29
*** hoonetorg has joined #openstack-glance16:31
*** udesale_ has joined #openstack-glance16:31
*** noonedeadpunk has joined #openstack-glance16:32
*** abhishekk has joined #openstack-glance16:32
*** Blinkiz has joined #openstack-glance16:32
*** tonyb has joined #openstack-glance16:32
*** evrardjp has quit IRC16:35
whoami-rajatabhishekk, jokke_ the implementation mentioned uses __manager__ = _HostMountStateManager(HOST)16:37
abhishekkyes16:38
whoami-rajatabhishekk, jokke_ i thought the point of introducing metaclass singleton was to have a class who will return one instance doesn't matter how many times we initialize it16:38
jokke_whoami-rajat: it does16:40
jokke_as long as there is that one, if you let it to garbage collect it obviously gets recreated16:41
jokke_so you don't need to use the __manager__, you will not necessarily get always the same object but there wil ever be just one16:42
whoami-rajatjokke_, hmm, now i don't see much difference in my implementation and this one, i achieved the same result with mine16:43
jokke_also in that case you could also just call the managers (u)mount functions directly16:43
jokke_whoami-rajat: The big difference is that with this implementation it literally doesn't matter how many times you call the class to create new object you get the existing one. Your original implementation relied on the module level get function and should someone call the manager class directly they would get another instance of it16:45
jokke_which is very Java-like thing to do and unfortunately by no means enforced in Python16:46
jokke_like it's in Java16:46
*** evrardjp has joined #openstack-glance16:46
whoami-rajatjokke_, nope. the get_manager call was for using the manager externally, it wasn't used so i removed it in my latest patchset16:46
whoami-rajats/call/function16:46
whoami-rajatjokke_, and yes, we could get new manager object with new initialization but it wasn't called anywhere16:47
jokke_whoami-rajat: like said the diff I sent to you fixed the metaclassing, you want to clean up that more, feel free.16:47
jokke_didn't want to spend time to rewrite your whole patch, just the part you couldn't get working ;)16:48
jokke_easier than trying to explain how it works16:49
whoami-rajatjokke_, ack. thanks for the help on it. i will update the patchset.16:49
whoami-rajatalso thanks abhishekk for the help16:49
jokke_whoami-rajat: the __manager__ is "handy" in a sense that it keeps the manager in memory all the time, not just when we do need to drive those mounts16:50
*** udesale_ has quit IRC16:50
jokke_whoami-rajat: but if you're happy to just ensure we ever have only one instance of that object it's totally not needed and can be cleaned from there16:51
jokke_but specially if we take the approach of cleaning up when it's initialized keeping it running might speed things up a bit16:52
openstackgerritMerged openstack/glance-specs master: Deprecate 'checksum' computation  https://review.opendev.org/70876117:00
abhishekkjokke_, security bug has been reported as well ^^17:02
*** noonedeadpunk has quit IRC17:26
*** abhishekk has quit IRC17:26
*** Blinkiz has quit IRC17:26
*** tonyb has quit IRC17:26
*** noonedeadpunk has joined #openstack-glance17:29
*** abhishekk has joined #openstack-glance17:29
*** Blinkiz has joined #openstack-glance17:29
*** tonyb has joined #openstack-glance17:29
jokke_abhishekk: ack ... will check after dinner17:44
abhishekkjokke_, ack, have a nice one17:45
abhishekkI am signing off for the day17:45
jokke_kk, gn17:47
abhishekkthanks, have a nice time ahead17:50
*** hoonetorg has quit IRC18:02
openstackgerritMerged openstack/glance master: Deprecate the 'checksum' image property  https://review.opendev.org/71814718:19
openstackgerritBrian Rosmaita proposed openstack/glance stable/ussuri: Deprecate the 'checksum' image property  https://review.opendev.org/72363818:36
*** brinzhang_ has quit IRC20:14
*** brinzhang_ has joined #openstack-glance20:14
*** brinzhang has joined #openstack-glance21:08
*** brinzhang_ has quit IRC21:11
*** rcernin has joined #openstack-glance21:14
openstackgerritRajat Dhasmana proposed openstack/glance_store master: Add lock per share for cinder nfs mount/umount  https://review.opendev.org/71687422:46
*** tkajinam has joined #openstack-glance22:49
*** tkajinam has quit IRC22:49
*** tkajinam has joined #openstack-glance22:50

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