Thursday, 2015-01-22

*** amitgandhinz has joined #openstack-zaqar00:24
*** amitgandhinz has quit IRC00:29
*** achanda has quit IRC00:31
*** achanda has joined #openstack-zaqar00:37
*** cpallares has quit IRC00:46
*** achanda has quit IRC00:50
*** amalagon has quit IRC00:51
*** amalagon has joined #openstack-zaqar00:51
*** achanda has joined #openstack-zaqar00:54
*** amalagon has quit IRC01:06
*** jasondotstar has joined #openstack-zaqar01:07
*** achanda has quit IRC01:30
openstackgerritShaifali Agrawal proposed openstack/zaqar: Removing QueueController from data to control plane  https://review.openstack.org/14434001:41
*** exploreshaifali has quit IRC01:48
*** kragniz_ has joined #openstack-zaqar01:59
*** kragniz has quit IRC02:06
*** achanda has joined #openstack-zaqar02:31
*** achanda has quit IRC02:36
*** achanda has joined #openstack-zaqar03:33
*** diga has joined #openstack-zaqar03:35
*** achanda has quit IRC03:37
*** jasondotstar has quit IRC03:47
*** zhiyan has quit IRC03:48
*** zhiyan has joined #openstack-zaqar03:49
*** exploreshaifali has joined #openstack-zaqar04:55
*** exploreshaifali has quit IRC05:00
*** achanda has joined #openstack-zaqar05:34
*** achanda has quit IRC05:39
*** achanda has joined #openstack-zaqar06:53
*** achanda has quit IRC07:39
*** achanda has joined #openstack-zaqar07:46
*** exploreshaifali has joined #openstack-zaqar07:50
*** dynarro has joined #openstack-zaqar08:05
*** achanda has quit IRC08:06
exploreshaifaliflaper87, gooooooood mooooooooooorning :)08:10
exploreshaifaliflaper87, kindly review https://review.openstack.org/#/c/144340/08:10
flaper87exploreshaifali: yo yo yo08:13
flaper87exploreshaifali: still failing :(08:13
exploreshaifaliflaper87, here is list of different errors which log have http://dpaste.com/2ZYZABJ08:13
flaper87exploreshaifali: anything I could help with ?08:13
flaper87exploreshaifali: did you read those errors?08:13
flaper87:)08:13
exploreshaifaliflaper87, yes08:14
exploreshaifaliI am trying to solve them08:14
flaper87exploreshaifali: ok, do you know what's wrong ?08:14
exploreshaifaliflaper87, no08:14
flaper87exploreshaifali: what's the *real* error ?08:15
flaper87exploreshaifali: if you open that paste, the error is there08:15
exploreshaifaliflaper87, yes08:15
flaper87exploreshaifali: so, what's the real error ?08:18
exploreshaifaliflaper87, https://review.openstack.org/#/c/144340/14/zaqar/tests/unit/storage/base.py08:18
exploreshaifaliI think errors are occuring from there08:18
exploreshaifaliand re real error -- *'NoneType' object has no attribute 'queue_controller'*08:19
flaper87exploreshaifali: ok, great. That basically means that some instance is getting `None` as the control_driver08:19
*** achanda has joined #openstack-zaqar08:20
exploreshaifaliyup exactly08:20
flaper87exploreshaifali: commented on the review08:20
exploreshaifalithat could arise only from bootstrap.py08:20
exploreshaifaliflaper87, hahah cool, thanks :)08:21
flaper87exploreshaifali: I think you should revert your changes in the load_storage code08:21
flaper87you *need* to pass an actual control_driver instance to `DataDriver` when needed08:21
exploreshaifaliflaper87, the current code is  aslo sending actual control_driver instance to dataDriver whenever bootstrap passes it08:22
exploreshaifalito utils's mehtod08:22
exploreshaifalisecondly if we will take the old code it will give *only 3 arguments are give 4 expected*08:23
flaper87exploreshaifali: I believe it's not passing valid control_drivers to the DataDriver and your second error confirms that08:24
flaper87exploreshaifali: your if says: "if control_driver is not None"08:24
flaper87which means it'll add the control_driver to the args if it is *not* None08:25
flaper87if you're getting "only 3... expected 4" errors, that means `control_driver` is not always being passed08:25
flaper87does that make sense?08:25
exploreshaifaliokay...08:26
exploreshaifaliyes making sense08:26
exploreshaifalibut if so, that is control_driver is not always passed than there should be some problem in bootstrap.py08:26
flaper87exploreshaifali: or probably some tests that still need to be update :)08:27
exploreshaifaliflaper87, yes yes08:27
exploreshaifalicool let me look at it :)08:27
exploreshaifalibrb08:28
*** exploreshaifali has quit IRC08:28
*** achanda has quit IRC08:31
*** zhiyan has quit IRC08:55
*** zhiyan has joined #openstack-zaqar09:01
*** exploreshaifali has joined #openstack-zaqar09:06
*** dynarro has quit IRC09:26
*** flwang1 has joined #openstack-zaqar09:36
*** jasondotstar has joined #openstack-zaqar10:30
*** flwang1 has quit IRC10:46
*** wpf1 has quit IRC11:31
*** wpf1 has joined #openstack-zaqar11:44
*** kragniz_ is now known as kragniz11:45
*** echevemaster has quit IRC12:14
vkmcmorning!12:25
exploreshaifalivkmc, morning :)12:28
exploreshaifaliflaper87, there are places other than bootstrap, that call load_storage_driver and I think due to them we are getting errors12:29
exploreshaifalilike https://github.com/openstack/zaqar/blob/master/zaqar/storage/utils.py#L15012:29
flaper87vkmc: gooooooooooooooooooood morning, girl!12:29
exploreshaifalisince control_mode is not set to true, so this call is for DataDriver12:29
vkmcexploreshaifali, flaper87, hiiiiiiiiiiiiiiiiiiiiiiiiii12:29
exploreshaifaliNow we need to pass an instance of ControlDriver there12:30
flaper87exploreshaifali: sounds correct. We need to update those calls in that case12:30
flaper87and make sure they provide everything that's needed12:30
exploreshaifalibut I don't know how to get its instance <- problem12:30
flaper87exploreshaifali: where is `can_connect` being called from ?12:31
exploreshaifaliflaper87, don't know let me search for it12:32
exploreshaifaliflaper87, btw there is one more place where load_storage_driver is called https://github.com/openstack/zaqar/blob/master/zaqar/storage/pooling.py#L42712:33
exploreshaifalibut i think it will call pooling's DataDriver so there we don't need to add control_driver12:33
exploreshaifaliright?12:33
flaper87exploreshaifali: well, the Catalogue driver has an instance of the control12:34
flaper87... control_driver already12:34
flaper87(sorry hit enter too early)12:34
exploreshaifaliokay pooling.Catalog have an instance control in its __init__, so we can pass it in load_storage_driver argument12:39
exploreshaifaliflaper87, utuils.can_connect is called a bunch of times here https://github.com/openstack/zaqar/blob/master/tests/unit/common/storage/test_utils.py#L3312:51
exploreshaifaliand https://github.com/openstack/zaqar/blob/master/zaqar/transport/wsgi/v1_1/pools.py#L17412:52
exploreshaifaliok, have fixed can_connect by calling load_storage_driver inside can_connect once again with control_mode=True13:07
*** dynarro has joined #openstack-zaqar13:10
exploreshaifaliyuppieee get rid of AttributeError: 'NoneType' object has no attribute 'queue_controller'13:16
exploreshaifalinow solving rest other errors :)13:17
*** jchai has joined #openstack-zaqar13:19
*** exploreshaifali has quit IRC13:32
*** flwang has quit IRC13:35
*** jchai has quit IRC13:47
*** flwang has joined #openstack-zaqar13:48
*** miqui has joined #openstack-zaqar13:54
*** miqui_ has joined #openstack-zaqar13:57
*** csoukup has joined #openstack-zaqar14:04
*** sriram has joined #openstack-zaqar14:13
*** jchai has joined #openstack-zaqar14:23
*** mpanetta has joined #openstack-zaqar14:40
*** amitgandhinz has joined #openstack-zaqar15:05
flaper87peeeeeeeeeeeeeeeeople16:01
flaper87make some noise!16:01
* kragniz makes some quiet and polite noise16:02
vkmcwhatsaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap16:09
*** diga_ has joined #openstack-zaqar16:51
*** sriram has quit IRC16:51
*** jchai is now known as jchai_afk17:00
*** amalagon has joined #openstack-zaqar17:03
*** jchai_afk is now known as jchai17:14
*** dynarro has quit IRC17:19
* vkmc lurks17:20
*** sriram has joined #openstack-zaqar17:24
*** achanda has joined #openstack-zaqar17:49
*** jasondotstar has joined #openstack-zaqar18:02
vkmcflaper87, hey hey, around?18:23
vkmcflaper87, https://review.openstack.org/#/c/148297/2/zaqar/storage/mongodb/driver.py what does the p stands for?18:23
flaper87vkmc: here18:49
flaper87vkmc: partition18:50
vkmcflaper87, thx18:51
*** c_soukup has joined #openstack-zaqar19:06
*** csoukup has quit IRC19:10
*** achanda has quit IRC19:13
*** achanda has joined #openstack-zaqar19:15
*** exploreshaifali has joined #openstack-zaqar19:44
*** flwang1 has joined #openstack-zaqar19:50
*** achanda has quit IRC19:51
*** flwang1 has quit IRC19:51
*** flwang2 has joined #openstack-zaqar19:51
*** achanda has joined #openstack-zaqar19:57
*** achanda has quit IRC20:12
*** achanda has joined #openstack-zaqar20:23
*** jasondotstar has quit IRC20:43
*** kgriffs|afk is now known as kgriffs20:55
*** davideagnello has quit IRC21:20
*** davideagnello has joined #openstack-zaqar21:21
*** fifieldt__ has quit IRC21:37
*** fifieldt__ has joined #openstack-zaqar21:38
*** flwang2 has quit IRC21:51
*** davideagnello has quit IRC21:56
*** davideagnello has joined #openstack-zaqar21:58
*** davideagnello has quit IRC22:02
*** davideagnello has joined #openstack-zaqar22:05
*** exploreshaifali has quit IRC22:11
*** flwang1 has joined #openstack-zaqar22:14
*** sriram has quit IRC22:15
*** mpanetta has quit IRC22:18
*** exploreshaifali has joined #openstack-zaqar22:46
*** amitgandhinz has quit IRC23:14
*** exploreshaifali has quit IRC23:22
*** diga_ has quit IRC23:30
*** jchai has quit IRC23:33
*** jasondotstar has joined #openstack-zaqar23:34
*** echevemaster has joined #openstack-zaqar23:46
*** c_soukup has quit IRC23:54

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