Monday, 2017-06-19

*** bobh has joined #openstack-mistral00:22
*** bobh has quit IRC00:31
*** bobh has joined #openstack-mistral00:50
*** bobh has quit IRC01:04
*** bobh has joined #openstack-mistral01:37
*** bobh has quit IRC02:04
*** tung_doan has joined #openstack-mistral02:05
*** gkadam has joined #openstack-mistral03:02
*** tung_doan has quit IRC03:17
*** gongysh has joined #openstack-mistral03:27
*** gkadam has quit IRC04:01
*** gkadam has joined #openstack-mistral04:03
*** gkadam has quit IRC04:06
*** gkadam has joined #openstack-mistral04:06
*** gkadam has quit IRC04:09
*** gkadam has joined #openstack-mistral04:10
*** gkadam_ has joined #openstack-mistral04:23
*** gkadam has quit IRC04:26
*** tung_doan has joined #openstack-mistral04:32
*** apetrich has joined #openstack-mistral05:06
*** jtomasek has joined #openstack-mistral05:48
*** jtomasek has quit IRC06:12
*** sharatss has joined #openstack-mistral06:17
*** openstackgerrit has joined #openstack-mistral06:17
openstackgerritTovin Seven proposed openstack/python-mistralclient master: Make --profile load from environment variables  https://review.openstack.org/47525006:17
openstackgerritTovin Seven proposed openstack/python-mistralclient master: Make --profile load from environment variables  https://review.openstack.org/47525006:37
*** gkadam_ is now known as gkadam06:44
*** jtomasek has joined #openstack-mistral06:49
*** shardy has joined #openstack-mistral07:12
*** jpich has joined #openstack-mistral07:15
*** jaosorior has joined #openstack-mistral07:26
d0ugalrakhmerov: thanks :)07:30
rakhmerov:)07:30
*** Dinesh_Bhor has joined #openstack-mistral07:31
rakhmerovd0ugal: once you have time: https://review.openstack.org/#/c/474195/07:31
d0ugalSure07:32
rakhmerovnot sure if you are going to agree with the solution but I can elaborate on it07:32
rakhmerovthat's seemingly the best what I could do for now07:32
d0ugal:)07:36
d0ugalI'll look in a min07:36
d0ugalrakhmerov: I don't really understand why 32 bytes more helps.07:45
rakhmerovwell, some number helps. I just took the closes round number07:45
d0ugalright07:46
rakhmerovclosest07:46
rakhmerovbecause cut_dict is not precise enough07:46
rakhmerovit has a mistake to approximately one string representation of a number07:46
d0ugalah07:46
rakhmerovyeah07:47
d0ugalI guess I need to read the cut_dict code to understand fully07:47
rakhmerovit's just for how this algo works internally, it's pretty tricky07:47
rakhmerovyeah, good luck )07:47
d0ugallol07:47
*** openstackgerrit has quit IRC07:48
rakhmerovmy point though is: yes, we can probably fix cut_dict() and we may do it later (although its original intention was to be used for logging where precision is not so critical)07:48
d0ugalmakes sense07:48
rakhmerovbut that's the simples and practical fix that will help us with "state_info"07:48
d0ugalyeah07:48
rakhmerovyep07:49
d0ugalso cut_dict is usually longer than the length you ask for07:49
d0ugalit is a bit messy, but I guess this will do for now :)07:50
rakhmerovyes, I think I'll get to this algo later and fix it more properly07:51
rakhmerovthanks07:51
d0ugalnp07:51
d0ugalMaybe worth opening a bug?07:51
*** amoralej|off is now known as amoralej07:51
rakhmerovyes, just a minute07:55
rakhmerovyou're right07:55
apetrichrakhmerov, d0ugal if you folks have a moment I've moved more stuff into mistral lib here https://review.openstack.org/#/c/474895/ I wanted to check with you if you think it is the correct approach07:55
rakhmerovd0ugal: https://bugs.launchpad.net/mistral/+bug/169875407:58
openstackLaunchpad bug 1698754 in Mistral "Fix utils.cut_dict() so that it trims more accurately" [Medium,Confirmed]07:58
rakhmerovapetrich: yeah, I was gonna look at it shortly07:58
apetrichrakhmerov, cheers07:59
gongyshhi08:02
gongysh| State info    | Failed to initialize action tacker.nfvo.workflows.vim_monitor.vim_ping_action.PingVimAction.       |08:02
gongysh|               | Action init params = ['count', 'targetip', 'vim_id', 'interval', 'timeout']. Actual init params =  |08:02
gongysh|               | [u'count', u'targetip', u'vim_id', u'interval', u'timeout']. More info:08:03
gongyshwhat is the problem?08:03
gongyshcould anyone help?08:03
d0ugalapetrich: yup, I'll take a look too08:08
gongyshd0ugal, could you help me?08:09
d0ugalgongysh: I don't know what that means, I've not seen it before. The only difference seems to be that one is unicode strings and the other isnt'08:11
gongyshyea08:11
*** dtantsur|afk is now known as dtantsur08:16
d0ugalgongysh: do you have an exception tracebacks in the logs?08:17
gongyshd0ugal, the log is the same: root@ubuntu64:~# journalctl -n 200 -u devstack@mistral-executor.service | grep mistral.executors.default_executor08:20
gongyshJun 19 16:14:14 ubuntu64 mistral-server[106222]: 2017-06-19 16:14:14.991 WARNING mistral.executors.default_executor [-] Failed to initialize action tacker.nfvo.workflows.vim_monitor.vim_ping_action.PingVimAction. Action init params = ['count', 'targetip', 'vim_id', 'interval', 'timeout']. Actual init params = [u'count', u'targetip', u'vim_id', u'interval', u'timeout']. More info: : AssertionError08:20
rakhmerovapetrich: just reviewed, see my comments08:21
rakhmerovgongysh: please use paste.openstack.org, it'll be more convenient08:22
gongyshrakhmerov, I think it is short, so paste it in place.08:22
gongyshI will use paste later.08:22
gongyshthanks08:23
rakhmerovok, np08:23
rakhmerovyeah, maybe unicode is the reason, it's hard to tell08:23
rakhmerovneed to experiment08:23
rakhmerovis there anything in the engine log?08:23
apetrichrakhmerov, thanks08:24
rakhmerovbut I believe it's not unicode, I assume there's an assertion inside this action that checks some preconditions08:25
rakhmerovotherwise, why would we get AssertionError ?08:25
rakhmerovlook at the action implementation and see what's happening there, maybe some of the parameter values that you pass are not compliant with preconditions08:25
rakhmerovgongysh: ^08:26
gongyshhi08:26
gongyshrakhmerov, I am trying to reproduce it, and then I can give you the url of review, thanks08:27
rakhmerovok, np08:27
rakhmerovshare with us what was it08:27
rakhmerovd0ugal: how is that requirement problem going?08:28
rakhmerovhas it been solved?08:28
d0ugalrakhmerov: no, not yet.08:29
rakhmerovI see08:29
d0ugalrakhmerov: rbrady-afk was looking into breaking out link on the keystone utils. I am not sure if he made any progress, I'll ask him later08:29
d0ugalI've been tied up with other tasks.08:29
rakhmerovok08:29
rakhmerovI hate this keystone stuff :)08:30
rakhmerovcan't wait to fix it all out08:30
d0ugalhaha, yeah08:30
rakhmerov:)08:30
d0ugalI never really understand it08:30
rakhmerovyeah, well, it was mostly OK a couple of years ago08:30
rakhmerovbut then tens of people fixed something in it, something has changed in Keystone itself and eventually it turned to a mess08:31
d0ugalyup08:31
d0ugaljust keeping up with the OpenStack projects you use is a big task.08:31
rakhmerovyep08:35
gongyshd0ugal, rakhmerov https://review.openstack.org/#/c/475207/508:40
gongyshthe paste url is at http://paste.openstack.org/show/613075/08:40
gongyshI have frustrated by it half day.08:40
rakhmerovgongysh: what's the value of "count" for this action?08:49
rakhmerovcan you set a breakpoint inside this action and see what happens there?08:49
rakhmerovor log statements, doesn't matter..08:49
rakhmerovis the problem happening inside action or in Mistral somewhere?08:50
rakhmerovif in Mistral can you point to the line?08:51
rakhmerovtry to debug it please08:51
rakhmerovone more question: what version of Mistral are you on?08:51
gongyshyou can see via workflow definition.08:53
gongyshjust a value, 108:54
gongyshI am using the master branch, using devstack.08:54
gongyshrakhmerov08:54
rakhmerovas far as I can see, it's "1", a string, not a number08:55
rakhmerovcan this be a problem?08:55
rakhmerovok, probably not..08:55
rakhmerovan assumption: you call start_rpc_listeners() from within an initializer08:57
rakhmerovif it fails the action won't be created08:57
rakhmerovmay be it fails because some of the actual parameters you pass are not valid08:57
rakhmerovI don't know, you need to debug it08:58
gongyshrakhmerov, do we have a way for action to listen to an event from outside?09:22
rakhmerovbuilt-in? no, it's purely up to a concrete action09:22
gongyshrakhmerov,  after removing start_rpc_listeners, it works.09:23
rakhmerovif you need, you can create a class hierarchy for actions that require it09:23
rakhmerovyep, ok09:23
gongyshI am starting a amqp server so that outsider can notify action something09:24
rakhmerovgongysh: btw, be careful about creating RPC endpoints out of action instances. Once the action has completed you need to make sure to reliably clean things up09:24
rakhmerovremove this endpoint etc.09:24
rakhmerovothwerise you'll be creating them endlessly09:24
rakhmerovI think it can be an implicit memory leak09:24
*** openstackgerrit has joined #openstack-mistral09:25
openstackgerritMerged openstack/mistral master: Make sure that the field "state_info" trimmed as expected  https://review.openstack.org/47419509:25
rakhmerovyes, i saw the code.. I think the approach is ok, but just be careful09:25
gongyshso what is the other choice for it to work?09:25
rakhmerovgongysh: another option, create an asynchronous action but in this case some 3rd party needs to call Mistral API back to notify about the result09:26
rakhmerovwell, I think it's ok, just design this RPC code reliably first09:26
rakhmerovit probably just has a mistake somewhere09:26
gongyshrakhmerov, thanks, I will let my colleague to fix the rpc first.09:27
rakhmerovyes, that's the way to go in you case I believe09:28
*** mgershen has joined #openstack-mistral09:29
rakhmerovapetrich: please rebase https://review.openstack.org/#/c/474895/10:09
apetrichrakhmerov, I will10:09
apetrichI saw that thanks :)10:09
rakhmerovthnx10:09
rakhmerov)10:09
*** gkadam has quit IRC10:28
*** gkadam has joined #openstack-mistral10:30
*** Kevin_Zheng has quit IRC10:31
*** Guest48624 has quit IRC10:39
*** rook has joined #openstack-mistral10:41
*** rook is now known as Guest5203410:42
rakhmerovapetrich, d0ugal: do you think we need to backport mistral_lib related changes to Ocata? Do you need it in TripleO maybe?10:55
d0ugalrakhmerov: no, we only need it for Pike10:56
apetrichrakhmerov, I don't think so. but not sure. it will ship with mistral lib 0.2.010:56
rakhmerovI'm just trying to backport https://review.openstack.org/#/c/475316/ and it fails because I already changed mistral.actions.base to mistral_lib.actions.base in one tasks10:56
rakhmerovbut other changes were not backported10:56
rakhmerovok10:56
rakhmerovso for now I'll just change this patch in Ocata manually10:56
d0ugalyeah10:56
d0ugalI doubt that mistral_lib would quality for backporting10:56
rakhmerovw/o backporting other changes10:56
apetrichaye10:56
rakhmerovok10:56
rakhmerovthanks10:57
*** jkilpatr has joined #openstack-mistral10:57
rakhmerovd0ugal: agree on quality10:57
d0ugaloops, except I meant qualify :)10:57
*** gongysh has quit IRC11:56
apetrichrakhmerov, say I want to remove the serialization.register(Result, ResultSerializer) from mistral/workflow/utils.py where would you think would be a good place to register it?12:01
*** dprince has joined #openstack-mistral12:03
*** apetrich has quit IRC12:05
*** apetrich has joined #openstack-mistral12:08
*** amoralej is now known as amoralej|lunch12:09
*** jtomasek_ has joined #openstack-mistral12:09
*** fultonj has joined #openstack-mistral12:21
*** jtomasek_ has quit IRC12:26
*** dtantsur is now known as dtantsur|brb12:26
*** gkadam has quit IRC12:31
*** sharatss has quit IRC12:33
*** sharatss has joined #openstack-mistral12:33
*** sharatss has quit IRC13:04
*** amoralej|lunch is now known as amoralej13:08
*** catintheroof has joined #openstack-mistral13:09
*** catintheroof has quit IRC13:14
*** catintheroof has joined #openstack-mistral13:14
*** Guest52034 is now known as rook13:30
*** dtantsur|brb is now known as dtantsur13:57
openstackgerritDougal Matthews proposed openstack/mistral master: Add the baremetal_introspection action for aborting  https://review.openstack.org/47540414:21
*** gongysh has joined #openstack-mistral14:25
*** gongysh has quit IRC14:26
openstackgerritMichal Gershenzon proposed openstack/mistral-specs master: Create and run workflows within a namespace  https://review.openstack.org/47099614:31
*** bobh has joined #openstack-mistral14:46
rakhmerovmeeting at #openstack-meeting-315:02
rakhmerovapetrich: let me think, good question15:02
rakhmerovmaybe something like a launch script15:03
*** chlong has joined #openstack-mistral15:03
rakhmerovor engine initialization15:03
rakhmerovbut executor actually needs it too..15:03
rakhmerovok, let me think..15:03
apetrichcheers15:03
apetrichharder question than I thought15:04
*** catintheroof has quit IRC15:07
*** catintheroof has joined #openstack-mistral15:08
*** shardy has quit IRC15:58
*** bobh has quit IRC15:58
*** dprince has quit IRC16:06
*** jpich has quit IRC16:27
*** bobh has joined #openstack-mistral16:29
*** dprince has joined #openstack-mistral16:33
*** chlong has quit IRC16:56
*** amoralej is now known as amoralej|off17:11
*** chlong has joined #openstack-mistral17:11
*** MAXIMILIANA has joined #openstack-mistral17:32
MAXIMILIANAhola17:32
MAXIMILIANAnadie responde17:45
*** MAXIMILIANA has left #openstack-mistral17:46
*** zigo has quit IRC18:05
*** zigo has joined #openstack-mistral18:09
*** doriftoshoes__ has joined #openstack-mistral18:12
*** cargonza_ has joined #openstack-mistral18:12
*** histrio_ has joined #openstack-mistral18:18
*** doriftoshoes_ has quit IRC18:19
*** cargonza has quit IRC18:19
*** histrio has quit IRC18:19
*** jamielennox has quit IRC18:19
*** rbrady-afk has quit IRC18:19
*** d0ugal has quit IRC18:19
*** histrio_ is now known as histrio18:19
*** cargonza_ is now known as cargonza18:19
*** dtantsur is now known as dtantsur|afk18:19
*** jamielennox has joined #openstack-mistral18:21
*** rbrady-afk has joined #openstack-mistral18:23
*** d0ugal has joined #openstack-mistral18:26
*** bobh has quit IRC18:28
*** shardy has joined #openstack-mistral19:04
*** bobh has joined #openstack-mistral19:28
*** jtomasek_ has joined #openstack-mistral19:59
*** jtomasek_ has quit IRC20:10
*** mgershen has quit IRC20:11
*** mgershen has joined #openstack-mistral20:13
*** shardy has quit IRC20:21
*** bobh has quit IRC20:24
*** bobh has joined #openstack-mistral20:24
*** chlong has quit IRC20:41
*** chlong has joined #openstack-mistral20:55
openstackgerritOpenStack Proposal Bot proposed openstack/mistral master: Updated from global requirements  https://review.openstack.org/47555021:04
*** dprince has quit IRC21:10
*** jkilpatr has quit IRC21:45
*** chlong has quit IRC21:46
*** bobh has quit IRC22:13
*** jkilpatr has joined #openstack-mistral22:18
*** jkilpatr has quit IRC22:29

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