Tuesday, 2014-12-30

*** amitgandhinz has joined #openstack-zaqar00:26
*** amitgandhinz has quit IRC00:31
*** boris-42 has quit IRC02:03
*** fifieldt has quit IRC05:02
*** reed has quit IRC05:02
*** fifieldt has joined #openstack-zaqar05:15
*** sgotliv has joined #openstack-zaqar05:25
*** exploreshaifali has joined #openstack-zaqar05:26
*** exploreshaifali has quit IRC05:52
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar: Imported Translations from Transifex  https://review.openstack.org/14377506:05
*** sgotliv has quit IRC06:14
*** exploreshaifali has joined #openstack-zaqar06:30
*** achanda has joined #openstack-zaqar06:39
openstackgerritZhi Yan Liu proposed openstack/zaqar: Integrate OSprofiler with Zaqar  https://review.openstack.org/14135606:50
*** exploreshaifali has quit IRC06:57
*** achanda has quit IRC07:06
*** exploreshaifali has joined #openstack-zaqar07:10
exploreshaifalikragniz, if you are not much busy can you please help me in understanding the problem in my changed code07:18
kragnizexploreshaifali: I'd love to, but I'm going to bed now07:25
kragniz7:25 am is a bit too late for me!07:25
exploreshaifalikragniz, yea sure Good Night07:26
*** achanda has joined #openstack-zaqar07:44
*** sgotliv has joined #openstack-zaqar07:47
*** achanda has quit IRC08:01
*** exploreshaifali has quit IRC08:07
*** sgotliv has quit IRC08:24
*** achanda has joined #openstack-zaqar08:31
*** achanda has quit IRC08:36
*** achanda has joined #openstack-zaqar08:47
*** achanda has quit IRC09:13
*** pcaruana has joined #openstack-zaqar09:24
*** sgotliv has joined #openstack-zaqar09:44
*** boris-42 has joined #openstack-zaqar09:50
*** flwang has joined #openstack-zaqar09:56
flwangflaper87: ping09:56
*** bradjones has quit IRC10:12
*** bradjones has joined #openstack-zaqar10:14
*** exploreshaifali has joined #openstack-zaqar10:38
*** achanda has joined #openstack-zaqar10:53
*** achanda has quit IRC11:19
*** achanda has joined #openstack-zaqar11:33
openstackgerritFei Long Wang proposed openstack/zaqar: Implement mongodb driver for notifications  https://review.openstack.org/13979211:34
*** vkmc has joined #openstack-zaqar11:35
*** sgotliv has quit IRC11:37
vkmcmorning!11:37
exploreshaifalivkmc, gooooooood morning :D11:46
vkmcexploreshaifali, hi there, I'm checking out your patch11:47
exploreshaifalivkmc, yes yes.... I am also trying to understand the problem there :)11:47
exploreshaifalihere is the output of tox -e py27 http://dpaste.com/1A78RRV11:48
vkmcwell, its a design problem11:51
vkmcabstract classes shouldn't be instantiated11:51
vkmcthey are only intented to work as interfaces11:51
exploreshaifalibut DataDriver is not an abstract class11:51
vkmcqueue_create is abstract11:51
vkmcsorry, create_queue11:51
exploreshaifaliqueue_create is an abstract method in DataDriverBase and that is overrided in DataDriver11:52
exploreshaifalias like previously queue_controller() method was11:52
exploreshaifaliam I wrong ?11:53
vkmclet me finish reviewing the code11:54
exploreshaifaliok :)11:55
*** sgotliv has joined #openstack-zaqar11:59
vkmcexploreshaifali, so, why you need the create_queue method?12:01
exploreshaifalivkmc, basically we want to access QueueController.create() method in order to facilitate create and delete queue12:02
exploreshaifalias here https://github.com/openstack/zaqar/blob/master/zaqar/storage/base.py#L15412:02
exploreshaifalipreviously queue_controller method was doing it12:03
exploreshaifalibut now since that mentod is in ControlDriver12:03
exploreshaifaliwe need a method to access that method of ControlDriver12:04
vkmcok12:05
vkmcso, there should be another way to access it12:05
vkmcbecause I suspect that is what its causing you trouble12:05
exploreshaifaliok12:05
exploreshaifalianother option is as you said12:06
exploreshaifaliwithout crete_queue mentod12:06
exploreshaifaliwe can directly make an instance of ControlDriver and call its method there12:06
exploreshaifaliright12:06
exploreshaifalibut since its an abstract class we will surely need an abstract method which will do this stuff12:07
exploreshaifalivkmc, I am not getting why we are having error message "TypeError: Can't instantiate abstract class DataDriver with abstract methods create_queue"12:08
exploreshaifalithough there is no abstract method in DataDriver12:08
vkmcso... you didn't remove the queue_controller from the datadriver class in pipeline.py https://github.com/openstack/zaqar/blob/master/zaqar/storage/pipeline.py#L10912:14
*** flwang has quit IRC12:16
vkmcso when it tries to instantiate it...12:16
exploreshaifalivkmc, yes yes.... thanks a looot12:18
exploreshaifalithat is the problem I think12:18
exploreshaifalinow I need to add create_queue there instead12:18
vkmcsure12:19
vkmcI should use pdb to follow the flow12:19
vkmcso you are certain of what is happening there12:19
exploreshaifalivkmc, I tried to use pdb but it didn't worked for me12:20
exploreshaifaliI have put three set_trace() at the places above where I made changes12:20
vkmcyou have to follow this https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests12:20
vkmctry it and let me know12:21
exploreshaifalivkmc, ok :) and there is no pipelining kind of thing for ControllDriver ?12:21
exploreshaifaliwhy we need it for DataDriver ?12:22
vkmcflaper87 would be able to clarify more about this12:26
vkmcbecause I just assumed that what I understood was ok :P12:26
vkmcwhat I understood about the usage of the pipeline though, is that you need to maintain an ordering for the entities12:27
vkmcqueues, messages and claims12:27
vkmcwhen the server receives many requests, you have to make sure the requests are processed in order and that you don't lose any of them12:28
vkmcsomething that is not needed for control features12:28
vkmclike pooling or flavors12:28
vkmcdoes that make sense?12:28
*** pcaruana has quit IRC12:36
exploreshaifaliyes it makes sense :)12:42
exploreshaifalireading that debugging wiki12:42
*** achanda has quit IRC12:45
*** pcaruana has joined #openstack-zaqar12:47
*** openstack has joined #openstack-zaqar13:07
*** achanda has joined #openstack-zaqar13:09
*** exploreshaifali has quit IRC13:30
zhiyanvkmc: hey! i saw currently zaqarclient-dsvm-functional job always down, it blocks my client side patch for zaqar profiling change, when you  ok would you like take a look https://review.openstack.org/#/c/144416/ ? it's a straightforward way, to enable pooling in devstack. pls let me know if i miss anything, thanks.13:33
vkmczhiyan, hi there! sure, I'll take a look13:33
zhiyanvkmc: btw, all things a read there for zaqar profiling, i listed them in commit msg at https://review.openstack.org/#/c/141356/ , have a try please when you ok :)13:35
zhiyani tried it locally, everything is fine.13:35
vkmczhiyan, that's great! thanks for that, I'll try it this afternoon13:39
zhiyanvkmc: THANKS!13:39
*** achanda has quit IRC13:46
*** achanda has joined #openstack-zaqar13:47
*** fifieldt has quit IRC13:48
*** achanda has quit IRC13:52
*** fifieldt has joined #openstack-zaqar14:01
*** dynarro has joined #openstack-zaqar14:06
*** mpanetta has joined #openstack-zaqar14:27
*** mpanetta has quit IRC14:29
*** mpanetta has joined #openstack-zaqar14:31
*** exploreshaifali has joined #openstack-zaqar14:53
*** dynarro has quit IRC15:07
*** dynarro has joined #openstack-zaqar15:07
*** amitgandhinz has joined #openstack-zaqar15:09
*** dynarro has quit IRC15:12
*** achanda has joined #openstack-zaqar15:14
*** cpallares has joined #openstack-zaqar15:33
*** sgotliv has quit IRC16:04
*** amitgandhinz has quit IRC17:16
*** achanda_ has joined #openstack-zaqar17:21
*** achanda_ has quit IRC17:22
*** achanda_ has joined #openstack-zaqar17:22
*** achanda has quit IRC17:24
*** flwang1 has quit IRC17:26
*** achanda_ has quit IRC17:32
*** achanda has joined #openstack-zaqar17:33
*** achanda_ has joined #openstack-zaqar17:35
*** achanda has quit IRC17:36
*** flwang has joined #openstack-zaqar17:39
*** achanda_ has quit IRC17:41
*** achanda has joined #openstack-zaqar17:42
*** achanda has quit IRC17:46
*** reed has joined #openstack-zaqar17:50
*** exploreshaifali has quit IRC18:07
*** dynarro has joined #openstack-zaqar18:08
*** amitgandhinz has joined #openstack-zaqar18:18
*** achanda has joined #openstack-zaqar18:35
*** pcaruana has quit IRC19:00
* vkmc lurks19:07
vkmc(o/19:07
*** yfujioka has joined #openstack-zaqar19:20
*** flwang1 has joined #openstack-zaqar19:36
* kragniz twerks19:41
kragnizI've made the worst thing ever19:42
kragnizhttps://github.com/kragniz/json-sempai19:42
* vkmc clicks19:42
vkmcthat is magical19:43
*** exploreshaifali has joined #openstack-zaqar20:17
*** exploreshaifali has quit IRC20:20
*** exploreshaifali has joined #openstack-zaqar20:20
cpallareskragniz: nice disclaimer20:22
kragnizcpallares: it needed to be said20:22
cpallareskragniz: did you code this while drinking tequila?20:23
kragnizcpallares: black raspberry liqueur, actually20:25
*** flwang1 has quit IRC20:25
*** dynarro has quit IRC20:31
*** dynarro has joined #openstack-zaqar20:34
cpallareslol20:38
*** exploreshaifali has quit IRC20:52
*** dynarro has quit IRC20:53
*** sgotliv has joined #openstack-zaqar21:07
*** achanda has quit IRC21:13
*** cpallares has quit IRC21:27
*** flwang1 has joined #openstack-zaqar21:31
*** vkmc has quit IRC21:56
*** mpanetta has quit IRC22:03
*** flwang2 has joined #openstack-zaqar22:26
*** flwang1 has quit IRC22:26
*** sgotliv has quit IRC22:39
*** amitgandhinz has quit IRC23:19
*** flwang2 has quit IRC23:21
*** flwang1 has joined #openstack-zaqar23:21
*** flwang1 has quit IRC23:47
*** bradjones_ has joined #openstack-zaqar23:50
*** bradjones has quit IRC23:51
*** bradjones_ is now known as bradjones23:51
*** bradjones has joined #openstack-zaqar23:51
*** flwang1 has joined #openstack-zaqar23:59
*** bradjones has quit IRC23:59

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