Tuesday, 2015-03-03

*** mpanetta has quit IRC00:22
*** JAHoagie has quit IRC01:09
*** amalagon has quit IRC01:18
*** achanda has quit IRC01:38
*** amitgandhinz has joined #openstack-zaqar02:07
*** amitgandhinz has quit IRC02:49
*** flwang2 has joined #openstack-zaqar03:51
*** flwang1 has quit IRC03:53
*** flwang2 has quit IRC04:03
*** JAHoagie has joined #openstack-zaqar05:23
*** chandankumar has joined #openstack-zaqar06:14
*** achanda has joined #openstack-zaqar06:14
*** flwang1 has joined #openstack-zaqar06:39
*** JAHoagie has quit IRC06:42
*** reed has quit IRC06:58
*** openstackgerrit has quit IRC07:22
*** openstackgerrit has joined #openstack-zaqar07:22
*** flwang1 has quit IRC07:32
*** exploreshaifali has joined #openstack-zaqar07:42
*** exploreshaifali has quit IRC07:58
*** chandankumar has quit IRC08:26
*** chandankumar has joined #openstack-zaqar08:32
*** achanda has quit IRC08:55
*** dynarro has joined #openstack-zaqar10:02
*** dynarro has quit IRC10:25
*** dynarro has joined #openstack-zaqar10:28
*** chandankumar_ has joined #openstack-zaqar10:30
*** chandankumar has quit IRC10:33
*** dynarro has quit IRC10:45
*** exploreshaifali has joined #openstack-zaqar10:52
vkmcmorning!11:13
exploreshaifalimornind vkmc11:13
exploreshaifalimorning*11:14
vkmchi there exploreshaifali, how are you doing? :)11:14
exploreshaifaliyea, re that patch11:14
exploreshaifaliI am sure it will give same error for controlDriver.message_controller attribute11:14
vkmchave you tried it? :)11:15
exploreshaifaliI was making changes, it needs few more tests to be modified as from our last change in __init__ of DataDriver11:15
exploreshaifalimade tests failed11:15
vkmcyeah, that for sure11:16
exploreshaifalibut there is same case with ControlDriver too11:16
vkmcthe thing is the server starts11:16
vkmcand that you can interact with the controllers11:16
exploreshaifalican we come to etherpad?11:16
vkmcdo not run the tests when we make changes like these because they will need refactoring as well11:16
vkmcsure11:16
vkmcgive me the lin11:16
vkmck11:16
exploreshaifalihttps://etherpad.openstack.org/p/data-plane-control-plane11:16
kragnizexploreshaifali vkmc: good morning!11:18
exploreshaifalivkmc, at line 14211:18
exploreshaifalikragniz, moooooooooooooooorning :D11:18
*** flwang has quit IRC11:18
vkmckragniz, good morning! :)11:18
exploreshaifalivkmc, so last error was because we are using DataDriver.control_driver as in line 190 at https://review.openstack.org/#/c/144340/22/zaqar/storage/mongodb/driver.py11:21
exploreshaifalivkmc, in our implementation we have not defined control_driver inside DataDriver class that is why that error occured11:22
exploreshaifaliright?11:22
vkmcgive me a moment, I'll review11:23
exploreshaifalivkmc, this was the error http://paste.openstack.org/show/185073/11:23
exploreshaifalithan we decided to always pass control_driver also inside DataDriver __init__11:24
exploreshaifaliand define self.control_driver inside __init__11:24
*** flwang has joined #openstack-zaqar11:28
*** dynarro has joined #openstack-zaqar12:37
*** dynarro has quit IRC12:45
*** dynarro has joined #openstack-zaqar12:51
vkmcexploreshaifali, so, you should add the control_plane here https://github.com/openstack/zaqar/blob/master/zaqar/storage/base.py#L9812:52
*** vromero has joined #openstack-zaqar12:54
exploreshaifalivkmc, yes that is something already done in current patch https://review.openstack.org/#/c/144340/22/zaqar/storage/base.py12:54
exploreshaifalivkmc, we can do that, bbut now the problem is with message_controller that is needed by queue_controller12:54
vkmcsure12:55
exploreshaifaliand not to forget queue_controller is now defined/initialized inside controlDriver12:55
flaper87bu4712:56
flaper87ops12:56
vkmcstop leaking your passwords flaper8712:57
exploreshaifalisince inside bootstrap.py we are also defining "self._control.message_controller = self._storage.message_controller" we will be forced to add message_controller inside __init__of controlDriver12:57
flaper87:D12:57
* flaper87 reads backlog12:58
exploreshaifaliflaper87, mooooooooooorning :D12:58
flaper87and also, GOOOD MORNING!12:58
flaper87exploreshaifali: hey hey hey12:58
flaper87exploreshaifali: I don't want to put any preasure on you but flwang is waiting for your patch12:58
flaper87:P12:58
flaper87hahahahah12:58
exploreshaifaliflaper87, oh, okay, we will make it asap, sorry for being late12:59
flaper87exploreshaifali: haha, you're not late, I was just messing with you12:59
exploreshaifali:/12:59
exploreshaifalihahahahaha13:00
vkmcso, now that you are here flaper8713:03
vkmcgiven that exploreshaifali was hitting too many issues with the pipeline design for the data/control plane split13:03
vkmcwe thought about a different approach13:04
vkmcprecisely, we though about serializing when planes are started13:04
vkmcand passing a reference of the dataplane to the controlplane13:04
vkmcthat way, queuecontroller in the controlplane can access the messagecontroller in the dataplane13:04
exploreshaifalihttps://etherpad.openstack.org/p/data-plane-control-plane13:06
vkmcto do it, we 1. initialize datadriver 2. initialize controldriver with the datadriver reference 3. establish a reference to the controldriver in the datadriver using a private method13:06
vkmcso, your feedback would be super appreciated (wink wink, gummybears)13:08
*** dynarro has quit IRC13:08
exploreshaifalivkmc, we initialize datadriver with reference of controldriver13:09
vkmcexploreshaifali, you can do it either ways13:10
vkmcmaybe its more advisable to init controldriver first13:10
exploreshaifaliokay, two things to be mentioned, just to make you aware of that vkmc13:17
vkmcshoot13:17
exploreshaifaliwe assumed that first storage() is called and than control() will by transport()13:17
exploreshaifalibut inside storage() there is a call to control()13:17
vkmcyes13:18
exploreshaifalihttps://github.com/openstack/zaqar/blob/master/zaqar/bootstrap.py#L11013:18
vkmcso, to keep things simple13:18
exploreshaifalibut that is not a big issue13:18
vkmcwe could call control first, then storage13:19
exploreshaifaliyea or I have made a try-except block inside control()13:19
exploreshaifaliand inside try kept code for setting queue_controller and message_controller13:20
exploreshaifalithat worked fined13:20
exploreshaifalivkmc, second thing is, while starting server I am getting error v13:21
exploreshaifalihttp://paste.openstack.org/show/186359/13:21
vkmcexploreshaifali, ok... and what do you think it is?13:22
exploreshaifalias what is says it is because https://github.com/openstack/zaqar/blob/master/zaqar/bootstrap.py#L15513:23
exploreshaifalibut it also says something about MessageQueueHandler... let me try to remove it because as per the new implementation  it is no more needed13:25
exploreshaifaliget rid of messagequeuecontroller but second error is still there ---> http://paste.openstack.org/show/186369/13:41
vkmcexploreshaifali, I have to be away for a while now13:49
vkmcexploreshaifali, try to start from a clean base and do little changes and test it gradually13:49
vkmcexploreshaifali, I'll be back in a while13:49
exploreshaifaliokay :D13:50
*** dynarro has joined #openstack-zaqar13:58
*** exploreshaifali has quit IRC14:08
*** exploreshaifali has joined #openstack-zaqar14:10
*** exploreshaifali has quit IRC14:18
*** mpanetta has joined #openstack-zaqar14:26
*** chandankumar_ has quit IRC14:43
*** kgriffs|afk is now known as kgriffs14:51
*** amitgandhinz has joined #openstack-zaqar14:56
*** cpallares has joined #openstack-zaqar15:02
vkmccpallares, *\o/*15:10
*** ametts has quit IRC15:10
cpallaresvkmc: o/15:11
*** jasondotstar has joined #openstack-zaqar15:16
vkmccpallares, how is it going?15:17
*** sriram has joined #openstack-zaqar15:18
cpallaresvkmc: Pretty good and you?15:21
vkmccpallares, good good15:22
vkmccpallares, trying to get some things done15:22
kragnizcpallares: how did you find boston?15:22
cpallareskragniz: Cold and snowy.15:23
cpallareskragniz: Have you been there?15:23
cpallaresvkmc: Trying? :P15:24
vkmccpallares, trying yeah, I get distracted so easily15:24
cpallaresvkmc: hahaha15:24
kragnizcpallares: yeah, I've not spent much time in boston city, though15:24
cpallareskragniz: Have you gone to the MIT museum? If not I recommend going there. There's a monopedal robot there.15:25
cpallareskragniz: I didn't go this time, but I went last year.15:25
cpallareskragniz: They had kinetic art and hologram art.15:25
cpallareskragniz: and robots!15:26
kragnizthat sounds very cool! I've not been there15:26
* kragniz puts it on his todo list15:26
vkmcoh I wanna go someday, sounds great15:26
cpallareskragniz: And also the FIRST EVER LISP machine, no biggie.15:27
kragnizwhat robots do they have there?15:27
kragnizwow15:27
cpallareskragniz: They have this really cool monopedal robot and it jumps around.15:27
cpallaresI mean, it has to because else it falls.15:27
vkmclol15:27
kragnizhehe15:27
cpallaresThere's also this creepy emotions robot.15:27
vkmcpoor monopedal robot15:27
*** exploreshaifali has joined #openstack-zaqar15:28
cpallareskragniz, vkmc: https://www.youtube.com/watch?v=XFXj81mvInc15:29
kragnizah, the legs people!15:31
kragnizI love those things15:31
kragnizthey're so cute15:31
kragniz:315:31
cpallaresI know!15:31
cpallaresThey look like they're bouncing out of joy.15:31
cpallaresLike they're having fun.15:31
vkmchahaha15:33
cpallaresThe creepy robot's name is kismet.15:35
cpallareshttps://www.youtube.com/watch?v=8KRZX5KL4fA15:35
cpallareskragniz: ^15:36
*** dynarro_ has joined #openstack-zaqar15:37
*** dynarro has quit IRC15:37
kragnizcpallares: ah, that one15:38
kragnizI remember trying to make something inspired by that in lego15:38
cpallareskragniz: "ah THAT creepy robot"15:38
cpallareskragniz: Really? That's pretty cool. Did you succeed?15:38
kragnizI made something that could look up, down, around and flap a thing which was supposed to be a mouth15:39
cpallareskragniz: Like the legos that are used in the FLL?15:52
cpallareskragniz: Or the mindstorms one?15:53
cpallareskragniz: Making a robot like that with a mindstorms kit would be kind of hard.15:53
kragnizcpallares: yeah, but the older one which came out around 2000 (yellow brick)15:53
kragniztell me about it! Those motors were terrible!15:54
kragnizthe newer ones have servos, which would make life a lot more happier15:54
cpallareskragniz: I've never played with the older ones, but I just googled it and that looks horrible.15:54
cpallareskragniz: Why are the connectors bricks. They're going to fall.15:55
kragnizI loved it :(15:55
cpallareshaha15:56
kragnizyou could stack the connectors!15:56
cpallareskragniz: You can?15:56
cpallaresThat's pretty cool!15:56
cpallaresWhy did they take that away???15:56
kragnizyeah, both the top and bottom have connectors15:56
cpallareskragniz: Lego mindstorms are some seriously cool stuff. I was reading about this high school kid who built a braille machine using one. Braille machines are like thousands of dollars and this kid built one with $300.15:58
kragnizthat's very neat!15:59
cpallaresAh wait, he's in middle school.15:59
cpallaresWhich is even cooler.15:59
kragnizI think the best I got to was a printer15:59
kragnizwell, plotter16:00
cpallareskragniz: A real one or like a 3D one?16:00
cpallares:P16:00
kragniza real one with paper :P16:00
cpallareskragniz: Could you plot stuff in like a giant poster?16:00
kragnizI'd need more than three motors for a 3d one!16:00
*** zhenq has joined #openstack-zaqar16:00
kragnizit only fit a4 paper, sadly16:01
cpallareskragniz: That's pretty cool :)16:02
kragnizI don't think I have any photos of it :(16:02
kragnizit is but a memory16:02
*** ekarlso has quit IRC16:03
*** ekarlso has joined #openstack-zaqar16:09
*** dynarro_ has quit IRC16:25
*** dynarro has joined #openstack-zaqar16:26
*** reed has joined #openstack-zaqar16:38
*** vromero has quit IRC16:43
*** vromero has joined #openstack-zaqar16:43
*** vromero has quit IRC17:03
*** dynarro has quit IRC17:17
*** exploreshaifali has quit IRC17:56
*** cpallares has quit IRC17:57
*** chandankumar has joined #openstack-zaqar17:58
*** vromero has joined #openstack-zaqar18:05
*** achanda has joined #openstack-zaqar18:23
*** flwang1 has joined #openstack-zaqar18:28
*** mpanetta has quit IRC18:30
*** flwang1 has quit IRC18:32
*** kgriffs is now known as kgriffs|afk18:40
*** achanda has quit IRC18:57
*** achanda has joined #openstack-zaqar18:57
*** vromero has quit IRC19:04
*** amitgandhinz has quit IRC19:16
*** chandankumar has quit IRC19:23
* vkmc lurks19:29
*** amitgandhinz has joined #openstack-zaqar19:48
*** vromero has joined #openstack-zaqar20:04
*** flwang1 has joined #openstack-zaqar20:30
*** achanda has quit IRC20:38
*** achanda has joined #openstack-zaqar20:46
*** cpallares has joined #openstack-zaqar20:57
*** kgriffs|afk is now known as kgriffs21:50
*** achanda has quit IRC22:01
*** vromero has quit IRC22:01
*** vromero has joined #openstack-zaqar22:03
*** achanda has joined #openstack-zaqar22:07
*** sriram has quit IRC22:18
*** cpallares has quit IRC22:22
*** vromero has quit IRC22:29
*** zhenq has quit IRC22:50
*** openstackgerrit has quit IRC22:51
*** openstackgerrit has joined #openstack-zaqar22:51
*** zhenq has joined #openstack-zaqar23:08
*** amitgandhinz has quit IRC23:24
*** achanda has quit IRC23:49
*** zhenq has quit IRC23:50
*** achanda has joined #openstack-zaqar23:56

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