Tuesday, 2017-02-07

*** rbrady-afk has quit IRC00:06
*** bobh has joined #openstack-mistral00:07
*** bobh has quit IRC00:24
*** bobh has joined #openstack-mistral00:27
*** bobh has quit IRC00:43
*** jkilpatr has quit IRC01:25
*** rbrady-afk has joined #openstack-mistral02:08
*** thrash is now known as thrash|g0ne02:17
*** jkilpatr has joined #openstack-mistral02:20
*** gongysh has joined #openstack-mistral02:31
*** jkilpatr has quit IRC02:48
*** jkilpatr has joined #openstack-mistral03:05
*** sharatss has quit IRC03:24
*** sharatss has joined #openstack-mistral03:25
*** sharatss has quit IRC03:30
*** sharatss has joined #openstack-mistral03:31
*** jkilpatr has quit IRC03:40
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964304:42
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964304:45
*** sharatss has quit IRC05:09
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964305:18
*** sharatss has joined #openstack-mistral05:24
openstackgerritMerged openstack/python-mistralclient master: Add project_id and project_name options  https://review.openstack.org/42864005:34
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964305:58
openstackgerritMerged openstack/mistral master: Refactor RPC serialization: remove JsonPayloadSerializer class  https://review.openstack.org/42859106:16
openstackgerritMerged openstack/mistral master: Enforce style check for xrange()  https://review.openstack.org/42811606:17
*** sharatss has quit IRC06:19
*** sharatss has joined #openstack-mistral06:20
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964306:37
*** sharatss has quit IRC06:54
*** sharatss has joined #openstack-mistral06:55
*** sharatss has quit IRC07:15
*** sharatss has joined #openstack-mistral07:16
*** sharatss has quit IRC07:25
*** sharatss has joined #openstack-mistral07:25
*** sharatss has quit IRC07:36
*** sharatss has joined #openstack-mistral07:36
*** jamielennox is now known as jamielennox|away07:59
*** sharatss has quit IRC08:05
*** jamielennox|away is now known as jamielennox08:06
*** sharatss has joined #openstack-mistral08:06
*** pcastets has joined #openstack-mistral08:14
*** sharatss has quit IRC08:25
*** sharatss has joined #openstack-mistral08:25
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964308:32
*** jpich has joined #openstack-mistral08:40
rakhmerovddeja: hi08:42
*** sharatss has quit IRC08:42
rakhmerovseems like I'll need your help with my patch08:42
rakhmerovto fix Kombu properly08:42
*** sharatss has joined #openstack-mistral08:42
rakhmerovall is almost fine now but kombu gate fails with a weird behavior08:42
rakhmerovif you look at the logs you'll see that it tries to fetch the same execution again and again08:43
rakhmerovand eventually the entire gate times out08:43
rakhmerovcan you pls have a look at it once you have time?08:44
rakhmerovmaybe you saw something similar08:45
*** sharatss has quit IRC08:46
*** sharatss has joined #openstack-mistral08:46
ddejarakhmerov: Hi08:53
rakhmerovhi08:54
ddejarakhmerov: I'll take a look in a few minutes08:54
rakhmerovok08:54
*** sharatss has quit IRC09:18
*** sharatss has joined #openstack-mistral09:19
rakhmerovddeja: when you're looking at it, first of all look at https://review.openstack.org/#/c/429643/12/mistral/engine/rpc_backend/kombu/base.py09:22
rakhmerovthis is how I fixed the kombu server09:22
*** sharatss has quit IRC09:25
*** sharatss has joined #openstack-mistral09:26
*** gongysh has quit IRC09:29
*** gongysh has joined #openstack-mistral09:29
*** gongysh has quit IRC09:30
ddejarakhmerov: OK, sorry, I had an ad-hoc meeting09:34
ddejabut right now I'm looking on your patch09:34
*** sharatss has quit IRC10:03
*** sharatss has joined #openstack-mistral10:03
rakhmerovddeja: I broke the patch again with something..10:38
rakhmerovlooking10:38
ddejarakhmerov: I've just refreshed it and... oh my10:41
rakhmerov?10:41
ddejaeverything red ;)10:41
rakhmerovyeah, fixing it now, I made a mistake in the last patchset10:41
rakhmerovplease look at the previous patchset10:41
ddejakinda scary10:41
rakhmerovit's ok, I know where the problem is10:42
ddejawell, I'm going through the kombu code and try to understand if change of behaviour may broke something10:42
ddejabut it seems not, I need to download your patch and test it locally10:43
*** szaher has joined #openstack-mistral10:43
rakhmerovyeah, I read the docs in Kombu serialization module10:44
rakhmerovmethod 'register' seems to be compatible with what I've done10:44
rakhmerovit's basically object->string->object conversion10:44
rakhmerovunlike serialization in o.m10:44
rakhmerovso I did exactly the same in my implementation10:45
rakhmerovnot sure why it's failing that bad10:45
openstackgerritRenat Akhmerov proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964310:45
rakhmerovddeja: sent another patch, should be ok now10:46
rakhmerov(except Kombu)10:46
*** ist has quit IRC11:01
*** sharatss has quit IRC11:03
*** sharatss has joined #openstack-mistral11:03
*** sharatss has quit IRC11:05
*** sharatss has joined #openstack-mistral11:06
*** tuan_ has joined #openstack-mistral11:08
*** sharatss has quit IRC11:09
*** sharatss has joined #openstack-mistral11:10
ddejarakhmerov: OK, I now what's the problem with kombu11:33
rakhmerov?11:33
ddejarakhmerov: you have deleted the creation of Result object from on_message_safe method11:33
rakhmerovin what module?11:34
ddejahttps://review.openstack.org/#/c/429643/12/mistral/engine/rpc_backend/rpc.py11:34
ddejalines 31511:34
ddejabut kombu driver doesn't return an Result object11:35
*** sharatss has quit IRC11:38
ddejaoh, sorry, line 37011:38
*** sharatss has joined #openstack-mistral11:38
rakhmerovhm..11:39
rakhmerovwhy doesn't it return a Result object?11:39
rakhmerovit should11:39
rakhmerovotherwise it works not interchangibly with o.m11:40
rakhmerovI mean, method return value should also go through serialization/deserialization11:42
rakhmerovnot only method parameters11:42
ddejawell, it was compliant before we change the serialization mechanism11:43
rakhmerovok11:44
*** sharatss has quit IRC11:44
ddejabut it should be easy fix, give me a second11:44
*** sharatss has joined #openstack-mistral11:44
rakhmerovyes, so I guess we just need to push a return value through a serializer11:44
ddejawe need to serialize it manually on the sender side11:45
ddejaand deserialize it on receiver side, yes11:46
ddejaok, it's not that easy11:50
rakhmerov:)11:50
rakhmerovwhy not easy?11:50
ddejawe need to add some logic11:50
ddejathat is probably implemented in o.m11:50
rakhmerovlogic for what?11:51
rakhmerovserialize and deserialize?11:51
rakhmerovor something else?11:51
*** sharatss has quit IRC11:52
*** sharatss has joined #openstack-mistral11:52
ddejaright now we got such dict to send over rpc: {'action_ex_id':action_ex_id, 'result'=resultObject, 'wf_action'= [True|False])11:52
ddejaand if we just serialize it as-is, we use the regular dictionary serializer11:53
rakhmerovfrom executor to engine11:53
rakhmerov?11:53
ddejayes11:53
ddejawe need itereate over that dict and serialize every key saparetly11:53
ddejaevery value*11:53
rakhmerovyes11:53
rakhmerovI see11:53
ddejaand if value is another dict, we should also serialize/deserialize recursively11:53
rakhmerovaha11:54
ddejaI bet it is somehow implemented in o.m.11:54
ddejait's the only way how it works right now11:54
rakhmerovhm.. yes, otherwise it wouldn't work11:54
ddejasince input is the same11:54
rakhmerovinteresting11:54
ddejafrom o.m11:55
ddeja        for argname, arg in args.items():11:55
ddeja            msg['args'][argname] = self.serializer.serialize_entity(ctxt, arg)11:55
ddejawhere args is a dict I've pasted before11:55
rakhmerovthat's the answer11:56
ddejahttps://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/client.py#L104-L10911:57
ddejayou'd like me to add it in your patch or you will do it?11:57
ddejarakhmerov ^11:57
rakhmerovddeja: if you can do it'd be good11:58
rakhmerovI guess you could do it faster11:58
rakhmerovand if you have time, of course11:58
ddejaI have11:58
rakhmerovother than this my patch is ready for review11:58
rakhmerovddeja: we can actually even merge it :)11:58
rakhmerovas is11:58
ddejaOK, I'll fix it and send a patch in a few minutes11:58
rakhmerovsince kombu gate is non-voting11:58
rakhmerovok, whatever you prefer11:59
rakhmerovI actually still don't understand one thing...12:00
rakhmerovgive me a few min12:00
*** jkilpatr has joined #openstack-mistral12:00
rakhmerovddeja: question12:00
ddeja?12:01
rakhmerovooh, no12:01
rakhmerovclear12:01
rakhmerovso all method arguments eventually become entries in a dict sent over RPC12:01
ddejayes12:01
rakhmerovI was just trying to understand where this dict came from12:01
rakhmerovgot it12:01
rakhmerovok, so pls add it either in my patch or in a new one following after mine12:02
rakhmerovthanks12:02
rakhmerovsharatss: hi12:06
rakhmerovI see that you keep working on coverage job in the client12:07
rakhmerovis there any serious problem?12:07
rakhmerovfor the server it works fine, I saw its result today for the first time. It made the gate fail and I saw where I worsened our coverage12:08
rakhmerovddeja: Dawid, I'll be back in a couple of hours12:09
rakhmerovwrite questions here if you have some, I'll read later12:09
ddejarakhmerov: OK12:09
ddejarakhmerov: I think I have it working12:09
rakhmerovawesome :)12:10
rakhmerovlooking forward to seeing the patch12:10
ddejajust need to test it12:10
rakhmerovok12:10
*** sharat has joined #openstack-mistral12:15
*** sharatss has quit IRC12:15
openstackgerritDawid Deja proposed openstack/mistral master: Refactor RPC serialization: add polymophic serializer  https://review.openstack.org/42964312:21
*** sharatss has joined #openstack-mistral12:29
*** sharat has quit IRC12:29
*** ist has joined #openstack-mistral12:33
*** sharatss has quit IRC12:40
*** sharatss has joined #openstack-mistral12:41
*** thrash|g0ne is now known as thrash12:47
*** catintheroof has joined #openstack-mistral12:50
*** sharat has joined #openstack-mistral12:53
*** sharatss has quit IRC12:53
sharatrakhmerov, there is nothing specific about it12:56
sharatrakhmerov, was just trying to get the open patches merged12:56
*** sharatss_ has joined #openstack-mistral13:00
*** sharat has quit IRC13:01
*** bobh has joined #openstack-mistral13:02
*** bobh has quit IRC13:02
*** bobh has joined #openstack-mistral13:02
*** tuan_ has quit IRC13:06
*** pcastets has quit IRC13:12
*** chlong has joined #openstack-mistral13:14
*** pcastets has joined #openstack-mistral13:15
*** sharatss_ has quit IRC13:16
*** sharatss_ has joined #openstack-mistral13:17
*** ist has quit IRC13:18
*** bobh has quit IRC13:22
*** dprince has joined #openstack-mistral13:24
*** sharatss_ has quit IRC13:32
*** rbrady-afk is now known as rbrady13:42
rakhmerovok14:05
rakhmerovddeja: I'm here14:05
rakhmerovbtw, if you look at the coverage gate log you'll see that it's failing because coverage became worse :)14:06
ddejarakhmerov: Oh14:07
rakhmerovyeah :)14:07
rakhmerovnot critical though14:07
rakhmerovI'm concerned with kombu14:07
ddejaand kombu is still failing14:07
rakhmerovyes, but for a different reason14:07
* ddeja was not looking on the gates14:07
ddejarakhmerov: yes, only 3 tests, not 1214:08
ddejaand log doesn't weight around 100MB14:08
ddejarakhmerov: I'll look on those 3, but tommorow14:09
ddejaI need to finish my work for today in next 20 minutes14:09
*** tuan_ has joined #openstack-mistral14:18
rakhmerovddeja: ok, no problem14:35
*** pcastets has quit IRC14:47
*** szaher has quit IRC14:50
*** tuan_ has quit IRC15:24
*** tuan has joined #openstack-mistral15:27
*** pcastets has joined #openstack-mistral15:33
openstackgerritluong tuan proposed openstack/mistral master: Deleting the expired execution in chunk  https://review.openstack.org/42462115:46
*** rbrady is now known as rbrady-afk15:46
*** ist has joined #openstack-mistral15:51
*** ist has quit IRC15:52
*** jaosorior has joined #openstack-mistral16:18
*** szaher has joined #openstack-mistral16:25
*** openstackgerrit has quit IRC16:35
*** rbrady-afk is now known as rbrady16:49
*** rbrady has quit IRC16:50
*** rbrady has joined #openstack-mistral16:50
*** tuan has quit IRC17:09
*** jkilpatr_ has joined #openstack-mistral17:17
*** jkilpatr has quit IRC17:19
*** jaosorior has quit IRC17:22
*** jaosorior has joined #openstack-mistral17:23
*** jaosorior has quit IRC17:24
*** jaosorior has joined #openstack-mistral17:24
*** dprince has quit IRC17:34
*** dprince has joined #openstack-mistral17:35
*** dtturner has joined #openstack-mistral17:53
*** jpich has quit IRC17:55
*** dprince has quit IRC18:21
*** dprince has joined #openstack-mistral18:22
*** thrash is now known as thrash|biab18:33
*** pcastets has quit IRC18:42
*** hrybacki is now known as hrybacki____18:42
*** bobh has joined #openstack-mistral18:57
*** thrash|biab is now known as thrash18:58
*** bobh has quit IRC19:01
*** dprince has quit IRC19:27
*** toure is now known as toure|biab20:32
*** dprince has joined #openstack-mistral20:33
*** jaosorior has quit IRC20:40
*** harlowja has quit IRC21:09
*** jkilpatr_ has quit IRC21:26
*** harlowja has joined #openstack-mistral21:35
*** jamielennox is now known as jamielennox|away21:42
*** jkilpatr has joined #openstack-mistral21:43
*** catintheroof has quit IRC21:48
*** catintheroof has joined #openstack-mistral21:49
*** catintheroof has quit IRC21:54
*** fultonj has joined #openstack-mistral22:10
*** jamielennox|away is now known as jamielennox22:42
*** dprince has quit IRC22:43
*** fultonj has quit IRC23:53

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