Thursday, 2015-02-26

*** cpallares has quit IRC00:13
*** cpallares has joined #openstack-zaqar01:17
*** amalagon has joined #openstack-zaqar01:38
*** cpallares has quit IRC02:16
*** cpallares has joined #openstack-zaqar03:50
*** flwang1 has quit IRC04:20
*** chandankumar has joined #openstack-zaqar05:02
*** cpallares has quit IRC05:24
*** amalagon has quit IRC05:36
*** echevemaster has quit IRC05:38
*** achanda has quit IRC05:50
*** number80 has quit IRC05:55
*** achanda has joined #openstack-zaqar06:19
*** fifieldt has joined #openstack-zaqar06:26
*** chandankumar has quit IRC06:44
*** chandankumar has joined #openstack-zaqar06:55
*** achanda has quit IRC08:09
*** exploreshaifali has joined #openstack-zaqar08:14
exploreshaifaligooooooooood morning!!08:22
*** flwang1 has joined #openstack-zaqar08:57
flwang1flaper87: ping08:57
flaper87flwang1: pong09:00
flaper87exploreshaifali: gooooooood morning09:00
flaper87exploreshaifali: how's the patch going?09:00
flaper87flwang1: the tempest patch landed09:00
flwang1flaper87: awesome09:00
flaper87flwang1: no idea what's going on with redis, though09:01
flaper87I tried in a local vm and it worked09:01
flaper87but it seems to still fail in the gate09:01
flaper87:/09:01
flwang1yep, that's really weird09:02
flwang1what did you mean worked?09:02
flwang1the function worked or the test?09:02
flaper87flwang1: "./stack.sh" worked09:02
flaper87it installed everything and ran zaqar09:02
flaper87no failures09:02
flwang1oh, ok09:02
flaper87all good09:02
flaper87so, no idea why it's not running in the gate09:02
flwang1it's not a good news for me :)09:03
flaper87:( sorry buddy, I need to investigate more09:04
flwang1flaper87: don't say sorry, body. i just feel hopeless if you can't tell me why :(09:08
exploreshaifaliflaper87: even after passing "self._storage" instead of "self" it is returning None :(09:14
exploreshaifaliI am iterating everything once again from start09:14
exploreshaifaliflaper87: it is saying *TypeError: MessageQueueHandler constructor argument after * must be a sequence, not DataDriver*09:16
flaper87exploreshaifali: that error seems very explicit to me :D Try looking at the MessageQueueHandler __init__. What does it look like?09:16
exploreshaifaliit have only two args: (self, driver)09:18
flaper87and what does your invoke_args looks like ?09:18
exploreshaifaliflaper87: invoke_args = self._storage from storage/pipeline.DataDriver09:21
flaper87exploreshaifali: the error is there09:21
flaper87you should pass a sequence to invoke_args, not a DataDriver09:21
flaper87try with [self._storage]09:21
exploreshaifalioh yes yes09:22
flaper87The reason is that stevedore will pass that to the loaded driver as `*invoke_args`09:22
exploreshaifaliflaper87: yes correct09:22
exploreshaifaliflaper87: now it wants - queues_database - *AttributeError: 'DataDriver' object has no attribute 'queues_database'*09:41
exploreshaifaliflaper87: we cannot define queues_database inside pipeline.DataDriver as we are suppose to place them in control plane09:41
exploreshaifaliflaper87: also I initialized MessageController object inside MessageQueueHandelr like -  "self.message_controller = MessageController(self)" I could not think of any other option there for same09:53
exploreshaifalihttps://review.openstack.org/#/c/144340/20/zaqar/storage/mongodb/messages.py L87309:53
exploreshaifaliI am sure it will create problmes as there are many things which are not defined in MessageQueueHandler but MessageController's driver is using09:55
*** achanda has joined #openstack-zaqar10:01
*** achanda has quit IRC10:17
*** malini has joined #openstack-zaqar10:44
*** achanda has joined #openstack-zaqar10:50
*** achanda has quit IRC11:17
*** pcaruana has joined #openstack-zaqar11:19
*** malini has quit IRC11:19
*** ihrachyshka has joined #openstack-zaqar11:19
*** malini has joined #openstack-zaqar11:19
*** exploreshaifali has quit IRC11:27
*** exploreshaifali has joined #openstack-zaqar11:31
*** dguerri is now known as dguerri`afk11:47
vkmcmorning all11:59
kragnizmorning11:59
vkmchow are you kragniz? long time no chat12:00
kragnizI'm pretty good!12:00
kragnizhow's things in troveland?12:00
vkmcinteresting... would be the word, I think12:01
kragnizwhat are the interesting bits?12:02
vkmcthe features being developed and the discussions around them12:03
kragnizis that interesting good, or interesting bad?12:03
* kragniz -> lunch12:04
vkmcgenerally good :D12:04
vkmcenjoy it!12:04
*** malini has quit IRC12:26
*** malini has joined #openstack-zaqar12:26
*** malini has left #openstack-zaqar12:26
vkmc\(•◡•)/12:45
vkmcflaper87, yo yo yo12:47
flaper87vkmc: yo yo yo yo yo12:48
vkmcflaper87, could you poke someone on globalrequirements? for this? https://review.openstack.org/#/c/156982/12:48
flaper87vkmc: yes12:48
vkmcthey don't want to give their blessing yet :(12:49
flaper87vkmc: done12:49
vkmcflaper87, you are da best12:50
flaper87vkmc: wait for the +2's before you say that :P12:51
vkmcflaper87, haha12:51
vkmcflaper87, what's the status of the gates? let me know how I can help12:53
flaper87vkmc: mind adding a min_version to the requirements patch?12:57
flaper87the mongo one should be fixed12:58
flaper87need to dig in the redis one12:58
vkmcsure12:58
*** exploreshaifali has quit IRC13:05
flaper87vkmc: meen version ?13:11
flaper87ern, min*13:11
vkmchttps://review.openstack.org/#/c/156982/13:15
vkmcflaper87, ^13:15
flaper87awesome, thanks13:16
flaper87literally no idea what's going on with the redis gate13:27
*** chandankumar has quit IRC13:27
*** mpanetta has joined #openstack-zaqar13:35
*** dynarro has joined #openstack-zaqar14:07
*** exploreshaifali has joined #openstack-zaqar14:11
*** chandankumar has joined #openstack-zaqar14:12
exploreshaifaliflaper87,  AttributeError: 'DataDriver' object has no attribute 'queues_database'14:16
exploreshaifaliflaper87, MessageQueueHandler that we are defining should have an attribute 'self._collection'14:17
exploreshaifaliand its value need 'queues_database'14:18
exploreshaifalihttps://review.openstack.org/#/c/144340/20/zaqar/storage/mongodb/messages.py L87114:19
exploreshaifaliflaper87, I think we need ControlDriver inside pipeline.py14:27
*** chandankumar has quit IRC14:36
openstackgerritShaifali Agrawal proposed openstack/zaqar: Removing QueueController from data to control plane  https://review.openstack.org/14434014:36
*** chandankumar has joined #openstack-zaqar14:50
*** csoukup has joined #openstack-zaqar14:55
*** ametts has joined #openstack-zaqar14:58
*** exploreshaifali has quit IRC14:59
*** chandankumar has quit IRC15:01
*** chandankumar has joined #openstack-zaqar15:01
*** chandankumar has quit IRC15:02
*** dynarro has quit IRC15:13
*** malini has joined #openstack-zaqar15:30
*** malini has quit IRC15:47
*** reed has joined #openstack-zaqar15:48
*** malini has joined #openstack-zaqar15:52
*** dynarro has joined #openstack-zaqar15:59
*** kgriffs|afk is now known as kgriffs16:04
*** exploreshaifali has joined #openstack-zaqar16:22
*** malini has quit IRC16:31
*** amitgandhinz has joined #openstack-zaqar16:38
*** pcaruana has quit IRC16:50
*** amitgandhinz has quit IRC16:56
*** ihrachyshka has quit IRC17:00
*** kgriffs is now known as kgriffs|afk17:16
flaper87flwang1: http://paste.openstack.org/show/182573/17:25
flaper87that's the error in the gate17:25
flaper87vkmc: ^17:25
flaper87exploreshaifali: hey, sorry I was heads down coding17:26
exploreshaifaliflaper87, no worries at all :)17:26
exploreshaifaliflaper87, so still you are busy ?17:26
flaper87exploreshaifali: just a tiny bit, lemme figure out the issue with the gate and I'll get back to you17:27
exploreshaifaliflaper87, yea :D17:27
*** dynarro has quit IRC17:29
vkmcflaper87, is that the transport driver?17:30
flaper87vkmc: mmh, it dies while loading it but I believe it's something to do with flwang1's patch17:32
flaper87not sure17:32
flaper87we need to improve logging here17:32
vkmcyeah17:32
flaper87I know what the problem is17:36
flaper87flwang1: you need to add fake implementations for the subcription methods to zaqar.storage.redis.driver.DataDriver17:36
flaper87flwang1: actually, I'll do it17:38
flaper87mmh, but17:38
flaper87why didn't it fail in my vm17:38
flaper87OHHHH17:38
vkmc:|17:39
flaper87because I wasn't testing your freaking patch but vanilla Zaqar17:39
flaper87I'm an IDIOT!17:39
flaper87QUE COÑO17:39
* flaper87 slaps himself ten times17:39
flaper87head -> desk -> air -> desk -> air -> desk17:39
flaper87I'm a freaking idiot17:39
flaper87anyway, glad we found it17:39
vkmclooool17:39
exploreshaifali:D17:40
flaper87jeeeez, so much time wasted17:40
flaper87we could have figured this out ages ago17:40
* vkmc gives flaper87 a poptart17:41
flaper87vkmc: I need a shrink17:41
flaper87I'm going NUTS17:41
flaper87nuts, nuts. nuts17:41
vkmcyou need to take some days off dude17:42
flaper87vkmc: :(17:53
flaper87exploreshaifali: here17:53
flaper87exploreshaifali: turns out the work you're doing for the "builtin" stages will be needed for the work flwang1 is doing17:53
exploreshaifaliflaper87, okay17:54
flaper87exploreshaifali: let me read your questions again17:54
flaper87exploreshaifali: passing the control driver sounds good to me17:56
flaper87exploreshaifali: in summary, you'd pass both drivers17:56
flaper87which gives the builtin stage enough control17:56
exploreshaifaliflaper87, you mean adding ControlDriver inside pipeline ?17:56
flaper87and it should be fine, it's builtin trait17:56
flaper87erm, fuckit, stage17:56
flaper87trait is a rust lang thing17:56
flaper87T_T17:57
flaper87exploreshaifali: I mean, passing it in the invoke_args17:57
*** cpallares has joined #openstack-zaqar17:57
flaper87and having it in the MessageQueueHandler17:57
flaper87exploreshaifali: also, you don't need to call ensure_index from the handler17:57
exploreshaifaliflaper87, we are passing args from pipeline's DataDriver where no ControlDriver is defined17:58
flaper87exploreshaifali: mmh, not sure I follow that17:59
exploreshaifaliflaper87, https://review.openstack.org/#/c/144340/21/zaqar/storage/pipeline.py L12617:59
exploreshaifalifrom there we are calling  _get_builtin_entry_points which is initializing MessageQueueHandler18:00
flaper87yes, you need to pass self._storage and self.control_driver18:00
flaper87then, those need to be passed to the entry_point18:00
exploreshaifaliflaper87, yes but we are not sure if self.control_driver will not be always Nonw18:02
exploreshaifaliNone*18:02
flaper87in what cases can it be None ?18:03
flaper87AFAICT, it shouldn't have a None default18:04
exploreshaifaliflaper87, it is getting called from bootstrap https://review.openstack.org/#/c/144340/21/zaqar/bootstrap.py18:07
exploreshaifalithere we are not passing value of control_driver18:07
exploreshaifaliL11618:07
flaper87exploreshaifali: that's my point, we should :D18:08
flaper87The point is that all data drivers should have a consistent API18:08
flaper87if we break consistency (therfore, not always passing what DataDrivers should receive) we'll break the contract18:08
flaper87and that's not good :(18:09
exploreshaifaliflaper87, okay, so while calling pipeline.DataDriver() I will add one more parameter=self.control........... but in case of non-pooling conf storage_driver already have that18:13
exploreshaifaliis it okay to send same thing twice?18:14
exploreshaifaliits tiny thing so I think it will be okay18:14
flaper87exploreshaifali: yeah, it shouldn't be an issue18:15
exploreshaifalicoool18:15
*** cpallares has quit IRC18:42
*** exploreshaifali has quit IRC18:55
*** flwang1 has quit IRC19:07
*** exploreshaifali has joined #openstack-zaqar19:30
*** achanda has joined #openstack-zaqar19:45
*** exploreshaifali has quit IRC19:56
*** flwang1 has joined #openstack-zaqar20:10
*** malini has joined #openstack-zaqar20:18
*** flwang1 has quit IRC20:40
*** mpanetta_ has joined #openstack-zaqar20:43
*** mpanetta has quit IRC20:43
*** flwang1 has joined #openstack-zaqar20:44
*** mpanetta_ is now known as mpanetta20:49
*** malini has quit IRC21:26
*** achanda has quit IRC21:34
*** achanda has joined #openstack-zaqar21:35
flaper87flwang1: hey, there?22:07
flaper87flwang1: pls, read my comment on your review22:08
flaper87s/review/patch/22:08
*** mpanetta has quit IRC22:26
*** achanda has quit IRC22:51
*** achanda has joined #openstack-zaqar23:02
*** csoukup has quit IRC23:53

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