Wednesday, 2016-09-07

*** rrecio_ has quit IRC00:15
*** rrecio has joined #openstack-mistral00:49
*** rrecio has quit IRC00:56
*** vishwanathj has quit IRC02:54
*** janki has joined #openstack-mistral03:28
*** janki has quit IRC03:28
*** janki has joined #openstack-mistral03:43
*** kiteall has joined #openstack-mistral04:17
*** sharat has quit IRC04:22
*** hparekh has joined #openstack-mistral04:26
*** kiteall has quit IRC04:27
*** kiteall has joined #openstack-mistral04:36
*** kiteall has quit IRC04:54
*** tonytan_brb has quit IRC05:09
*** jaosorior has joined #openstack-mistral05:12
*** openstackgerrit has quit IRC05:18
*** openstackgerrit has joined #openstack-mistral05:19
*** tonytan4ever has joined #openstack-mistral06:10
*** tonytan4ever has quit IRC06:15
*** shardy has joined #openstack-mistral06:19
*** Ravikiran_K has joined #openstack-mistral06:44
*** mflobo has joined #openstack-mistral07:04
*** shardy is now known as shardy_afk07:08
*** jpich has joined #openstack-mistral07:24
rakhmerovkong: hi, you here?07:41
rakhmerovnmakhotkin, hparekh, kong, ddeja: guys, please review https://review.openstack.org/#/c/356343/, it's super important07:44
rakhmerovalthough not easy to understand07:44
rakhmerovask any questions pls07:44
*** tonytan4ever has joined #openstack-mistral07:47
*** tonytan4ever has quit IRC07:52
*** shardy_afk is now known as shardy07:57
hparekhrakhmerov, sure08:08
rakhmerovthanks08:09
rakhmerovhparekh: how is it going? Did you relocate?08:09
hparekhrakhmerov, Yeah. Set up everything. Just few things are remaining.08:09
hparekhstarted working from this week08:10
rakhmerovgreat )08:11
rakhmerovgood to know08:11
rakhmerovI'm traveling now so may not be always available08:11
hparekhbusiness trip ?08:12
*** aspiers has joined #openstack-mistral08:23
*** nmakhotkin has joined #openstack-mistral08:26
*** openstackgerrit has quit IRC08:34
*** openstackgerrit has joined #openstack-mistral08:34
*** kiteall has joined #openstack-mistral08:52
*** janki has quit IRC08:53
*** janki has joined #openstack-mistral08:57
*** Ravikiran_K has quit IRC10:08
*** sharatss has joined #openstack-mistral10:25
rakhmerovhparekh: ok, thanks a lot10:42
rakhmerovfor a review, I'll address your comments10:42
kongrakhmerov: hi10:46
kongrakhmerov: the milestone options in python-mistralclient launchpad is inappropriate10:47
kongcan you config that?10:47
rakhmerovkong: hi, yes10:47
rakhmerovwhat should I do?10:47
sharatssrakhmerov: hi10:48
kongrakhmerov: maybe create some milestones10:48
rakhmerovkong: so, the latest version of the client is 2.1.1, right?10:49
kongthe current mistralclient version is 2.1.110:49
rakhmerovyep10:49
rakhmerovdo I need to create 2.1.2?10:49
kongi think so10:49
rakhmerovok10:49
rakhmerovsharatss: hi10:49
sharatssrakhmerov: tox is failing even on the master branch10:49
rakhmerovwhat exactly fails? and what's the error?10:50
sharatssrakhmerov: can u help me in fixing this?10:50
rakhmerovdescribe all the steps you make and what you get10:50
sharatssrakhmerov: give me a minute10:51
sharatssrakhmerov: i will post the log10:51
rakhmerovok10:51
rakhmerovkong: I created 2.1.2 for now10:53
rakhmerovwill create others later10:53
rakhmerovkong: was everything ok with N-3 release?10:53
rakhmerovI've been traveling for a few days and didn't ask you10:53
kongrakhmerov: yes, already released. rc1 will be 15 Sep10:54
rakhmerovyeah, ok10:54
rakhmerovthanks a lot10:55
kongnp10:55
sharatssrakhmerov: 2016-09-07 10:05:44.478440 | venv create: /home/jenkins/workspace/gate-python-mistralclient-docs-ubuntu-xenial/.tox/venv 2016-09-07 10:05:47.209093 | venv installdeps: -r/home/jenkins/workspace/gate-python-mistralclient-docs-ubuntu-xenial/requirements.txt, -r/home/jenkins/workspace/gate-python-mistralclient-docs-ubuntu-xenial/test-requirements.txt 2016-09-07 10:05:47.225609 | ERROR: invocation failed (errno 2), a10:59
sharatssstrangely it passed this time10:59
openstackgerritRenat Akhmerov proposed openstack/mistral: Change execution mechanism for 'join' tasks  https://review.openstack.org/35634311:07
openstackgerritRenat Akhmerov proposed openstack/mistral: Optimize finder functions for task executions  https://review.openstack.org/36543111:07
hparekhrakhmerov, Hi, Regarding your explanation, I understand that there is problem with eventlet green threads,. Have you checked 'threading' options too ?11:11
hparekhhttp://docs.openstack.org/developer/oslo.messaging/executors.html11:11
rakhmerovyes, I have11:12
rakhmeroveffectively same result11:12
hparekhoh ok. understand11:12
*** gmann has quit IRC11:13
rakhmerovhparekh: I know it seems weird, but this is how it works. Maybe I'll find a better option (e.g. tune eventlet itself somehow to do dispatching differently)11:13
rakhmerovbut seems like it's the limitation we'll have to leave with and design taking it into account11:13
rakhmerovit's not too severe problem actually if we are able to launch multiple engines11:14
rakhmerovthat way we will be scaling the system11:14
rakhmerovand transactional concurrency specifically11:14
rakhmerovsharatss: I see, can you give me a link so that I can look at it?11:15
rakhmerovthis is not enough info yet11:15
rakhmerovit could have been a temporary issue in CI system itself which now could be fixed11:16
rakhmerovdunno11:16
rakhmerovsometimes it happens11:16
hparekhrakhmerov, yeah, Ok11:16
openstackgerritRenat Akhmerov proposed openstack/mistral: Change execution mechanism for 'join' tasks  https://review.openstack.org/35634311:18
openstackgerritRenat Akhmerov proposed openstack/mistral: Optimize finder functions for task executions  https://review.openstack.org/36543111:18
rakhmerovyeah, we saw similar problem long time ago and every time blamed DB (and not 100% correct transactional model) but I finally was able to understand the real reason11:19
rakhmerovhparekh: could you please also look at https://review.openstack.org/#/c/365037/ and https://review.openstack.org/#/c/356404/ ?11:21
hparekhrakhmerov, Yeah looking the same :)11:22
rakhmerovok11:22
rakhmerovand I also sent another patchset for my patch11:22
openstackgerritMerged openstack/mistral: cast to str for allowable types  https://review.openstack.org/36503711:36
openstackgerritMerged openstack/mistral: Add event configuration for event trigger  https://review.openstack.org/35640411:42
*** tonytan4ever has joined #openstack-mistral11:49
sharatssrakhmerov: i dont have a link for it11:51
rakhmerovsharatss: but it works now, right? Can we consider it resolved for now?11:51
sharatssrakhmerov: i have just cloned mistral, installed the requirements and running tox11:51
sharatssrakhmerov: mistralclient is working11:52
sharatssrakhmerov: having the problem in mistral11:52
rakhmerovcan you file a bug pls with all info you have?11:52
sharatssImportError: No module named 'pysqlite2' ====================================================================== FAIL: mistral.tests.unit.services.test_trigger_service.TriggerServiceV2Test.test_trigger_create_wrong_workflow_input tags: worker-0 ---------------------------------------------------------------------- Empty attachments:   pythonlogging:''   stderr   stdout11:52
*** shardy is now known as shardy_lunch11:53
sharatssrakhmerov: yes i will do it now11:53
*** tonytan4ever has quit IRC11:53
rakhmerovooh, you don't have pysqlite211:53
rakhmerovwhat is you operating system?11:54
rakhmerovyou can try to install pysqlite2 module manually, it's not in the project requirements explicitly. In my understanding, it's usually preinstalled in Python11:55
sharatssrakhmerov: ubuntu11:55
sharatssrakhmerov: i will try installing pysqlite and update you11:56
*** bobh has joined #openstack-mistral11:59
rakhmerovok11:59
rakhmerovit's good that it's ubuntu11:59
d0ugalIs there a way to have an action execution save the result without having it also schedule it to run later?12:01
d0ugalI want to use save_result for auditing purposes, but that then means I need to change how I call the action :(12:02
d0ugalFrom looking at this, I guess there isn't a way to do what I want: https://github.com/openstack/mistral/blob/master/mistral/engine/default_engine.py#L6812:03
*** chlong has joined #openstack-mistral12:05
*** bobh has quit IRC12:20
*** bobh has joined #openstack-mistral12:21
*** dprince has joined #openstack-mistral12:27
sharatssrakhmerov: i have installed pysqlite2 but still getting the error,  https://bugs.launchpad.net/mistral/+bug/162103912:27
openstackLaunchpad bug 1621039 in Mistral "tox failing on the master branch" [Undecided,New]12:27
rakhmerovok12:27
*** bobh has quit IRC12:28
*** bobh has joined #openstack-mistral12:28
rakhmerovd0ugal: hm.. I didn't get actually your idea )12:28
rakhmerovso you want to run action12:29
d0ugalrakhmerov: Yeah, and I want the result to be saved in Mistral and returned to me12:29
rakhmerovand you want to save its result12:29
rakhmerovok12:30
rakhmerovisn't it how it works now?12:30
d0ugalNo :)12:30
rakhmerovyou mean run-action thing?12:30
*** szaher_ has quit IRC12:30
d0ugalrakhmerov: Yeah12:30
rakhmerovooh, you mean you need to run it in a synchronous way12:31
rakhmerovbut to also save a result in DB12:31
rakhmerovsynchronous meaning that you'll get a result immediately12:31
d0ugalrakhmerov: Yeah12:31
*** szaher has joined #openstack-mistral12:31
rakhmerovas a response to your request12:31
rakhmerovI see12:31
d0ugalExactly that :)12:31
rakhmerovyeah, I guess it's impossible now12:31
rakhmerovsomething needs to be fixed in default_engine.run_action() method12:32
rakhmerovit should not be that hard to do12:32
d0ugalrakhmerov: Yup, it looks quite easy I think12:32
*** bobh has quit IRC12:33
d0ugalrakhmerov: I think --save-result is a bad name btw, it should maybe be --schedule or something like that12:33
d0ugaland then --save-result only either saves or doesn't12:33
*** bobh has joined #openstack-mistral12:33
rakhmerovthere's two different aspects here12:33
d0ugalYup12:33
rakhmerovsync/async (from user perspective) and save/'doesn't save'12:34
rakhmerovif it's async then save has to be True12:34
d0ugalyup, true12:35
rakhmerovyeah, there needs to be one more parameter actually12:35
rakhmerovagree12:35
d0ugalMaybe it should just always save? Why wouldn't we want it to save?12:35
d0ugalI think workflows always save the action results12:35
rakhmerovthe intention was the following: I may want to test how my new action works w/o polluting my DB12:36
d0ugalRight, makes sense12:36
rakhmerovit's useful when I'm just designing a WF12:36
rakhmerovyeah12:36
d0ugalI do find that useful actually12:36
rakhmerovI think that too, for people who implement a lot of actions12:37
d0ugalYup12:37
*** hparekh has quit IRC12:37
d0ugal(we have about 20 now :) )12:38
d0ugalnot that many, but growing fairly fast12:38
rakhmerovok12:38
d0ugalI'll open a bug and try to create a summary for this discussion12:39
rakhmerovd0ugal: just curious, are you going to the summit?12:39
d0ugalrakhmerov: Yup!12:39
rakhmerovgreat :)12:39
d0ugalLooking forward to it. I plan to come to all and any Mistral sessions.12:39
*** bobh has quit IRC12:39
d0ugal(assuming I don't have any bad conflicts)12:39
rakhmerovwe don't have many sessions on Mistral this time (only 3 work sessions) but you're very welcome to join12:40
*** bobh has joined #openstack-mistral12:40
d0ugalrakhmerov: 3 sounds good to me :) Do you know when they will be yet?12:40
rakhmerovnot yet, the schedule is not ready yet12:41
d0ugalk, no worries.12:41
d0ugalI'll look out for it12:41
rakhmerovusually it gets ready 2-3 week prior to a summit12:41
sharatssrakhmerov: I want to contribute to mistral.. Expecting your support12:41
*** rbrady has joined #openstack-mistral12:42
rakhmerovsharatss: that's great news! Please feel free to ask anything you want12:42
rakhmerovsharatss: it would be very cool if you could you reveal your interest in Mistral :)12:42
sharatssrakhmerov: yes actually I find this service very cool12:43
rakhmerovI always ask people about that so that I know who and how are going to use Mistral12:43
rakhmerovthanks, I find it cool too :) Although we still have a huge work ahead12:44
rakhmerovon usability, stability, docs and other things12:44
sharatssrakhmerov: this thing I somehow feel that can automate the whole process12:44
rakhmerovcool12:47
sharatssrakmerov: thanks for taking time, please look into that bug and help me12:49
*** jaosorior has quit IRC12:49
*** jaosorior has joined #openstack-mistral12:50
rakhmerovok12:50
*** bobh has quit IRC12:52
*** janki has quit IRC12:54
*** janki has joined #openstack-mistral12:58
*** mflobo has quit IRC13:06
*** shardy_lunch is now known as shardy13:08
*** vishwanathj has joined #openstack-mistral13:11
*** tonytan4ever has joined #openstack-mistral13:26
openstackgerritNikolay Mahotkin proposed openstack/python-mistralclient: Fixing auth for keystone v2.0  https://review.openstack.org/36565513:30
*** bobh has joined #openstack-mistral13:32
openstackgerritSharat Sharma proposed openstack/python-mistralclient: Use upper constraints for all jobs in tox.ini  https://review.openstack.org/36675413:39
*** mflobo has joined #openstack-mistral13:53
openstackgerritNikolay Mahotkin proposed openstack/python-mistralclient: Fixing auth for keystone v2.0  https://review.openstack.org/36565513:55
openstackgerritSharat Sharma proposed openstack/mistral-lib: Update info in the configuration file  https://review.openstack.org/36676813:58
*** janki has quit IRC14:03
*** dulek has quit IRC14:20
*** mgershen has quit IRC14:20
*** stevebaker has quit IRC14:20
*** dulek has joined #openstack-mistral14:42
*** mgershen has joined #openstack-mistral14:42
*** stevebaker has joined #openstack-mistral14:42
*** rbrady has quit IRC14:44
d0ugalrakhmerov: FYI, I reported this which I think covers our conversation from earlier: https://bugs.launchpad.net/mistral/+bug/162112014:49
openstackLaunchpad bug 1621120 in Mistral "Allow saving the result of synchronous action execution calls" [Undecided,New]14:49
d0ugalrakhmerov: somewhat related, do you give out triage powers to non-cores? I'd be happy to do some triage work if you do.14:49
rakhmerovd0ugal: I'd be happy to give you this :)14:50
d0ugalrakhmerov: Thanks!14:50
rakhmerovwhat exactly are you going to do?14:50
rakhmerovset up some triage sessions?14:50
d0ugalrakhmerov: I hadn't planned anything that big - I just wanted to be able to triage bugs as I looked at them14:51
d0ugalso, like that one I reported I could mark as confirmed because we spoke about it14:51
rakhmerovsure, no problem14:51
rakhmerovgo ahead and do this14:51
rakhmerovyes14:51
d0ugalrakhmerov: oh, I can already do it. Thanks :)14:52
rakhmerovd0ugal: hm.. you mean you have enough LP permissions?14:53
rakhmerovor I still need to do something so you get them?14:53
d0ugalrakhmerov: I think I have enough permissions, but I thought I didn't before. Did you change something?14:54
*** toure has quit IRC14:54
rakhmerovnope14:54
rakhmerovdidn't touch anything14:54
rakhmerovI was just going to14:54
d0ugalrakhmerov: right, I just realised I can do more than I thought I could - I can't set importance etc.14:54
*** sharatss has quit IRC14:55
rakhmerov:))14:55
d0ugalLaunchpad confuses me, even after 3 years.14:55
bobhrakhmerov: Do you know if there are any YAQL examples that include variables in a where clause?  We can't seem to pass a variable into the where clause and have it retrieve the data properly14:57
*** rrecio has joined #openstack-mistral14:57
rakhmerovbobh: can you show me your expression?14:58
nmakhotkinhi bobh14:58
rakhmerovI'll try to find an example in the meantime14:58
nmakhotkinI guess I know what you are about14:59
bobhnmakhotkin: hello14:59
bobhrakhmerov: one second for the example14:59
*** rbrady has joined #openstack-mistral15:00
nmakhotkinif you have variable $.my_var, you can't use it in $.my_list.where($.my_var = some_val) ?15:00
rakhmerovyes, true, you need to use 'let'15:00
bobhnmakhotkin: exactly - looks like it used to work with $.as()15:00
rakhmerovit's now with 'let'15:00
bobhok, thanks - I'll dig into the docs/examples for let15:01
nmakhotkinbobh, yup, just use let(root => $) -> <your_expression>15:01
*** kiteall has quit IRC15:01
rakhmerovyep, looks right to me15:02
nmakhotkinand then refer to global context as $root15:02
nmakhotkinso your expression will look like $.my_list.where($root.my_var = some_val)15:02
bobhnmakhotkin: rakhmerov  thanks!15:02
rakhmerovyeah, notice that there's no dot in $root15:02
rakhmerovbecause it references a variable15:02
rakhmerovnot a field of an object15:02
bobhso the let(root => $) is a standalone line15:03
nmakhotkinno15:03
nmakhotkinthey all on the same line15:03
nmakhotkinso the whole expression will be: let(root => $) -> $.my_list.where($root.my_var = some_val)15:04
bobhnmakhotkin: ok - I'll play with it - thanks for the help15:04
*** nmakhotkin has quit IRC15:09
*** sharat has joined #openstack-mistral15:13
*** mflobo has left #openstack-mistral15:31
*** jpeeler has joined #openstack-mistral15:35
*** jpeeler has quit IRC15:35
*** jpeeler has joined #openstack-mistral15:35
*** chlong has quit IRC15:41
*** jpich has quit IRC16:31
*** jaosorior has quit IRC16:33
*** brian_price_ has joined #openstack-mistral16:48
rakhmerovhi everyone, is there anybody here who has experience with oslo.service?16:49
*** shardy has quit IRC17:19
*** sharat has quit IRC17:34
*** harlowja has quit IRC17:46
*** harlowja has joined #openstack-mistral17:49
*** mandre has quit IRC17:57
*** mandre has joined #openstack-mistral18:05
*** tonytan4ever has quit IRC18:56
*** clenimar has quit IRC19:10
*** tonytan4ever has joined #openstack-mistral19:53
*** dprince has quit IRC20:01
*** openstackgerrit has quit IRC20:04
*** openstackgerrit has joined #openstack-mistral20:04
*** kiteall has joined #openstack-mistral20:08
*** kiteall has quit IRC20:11
*** kiteall has joined #openstack-mistral20:23
*** kiteall has quit IRC20:38
*** rrecio has quit IRC20:50
*** vishwana_ has joined #openstack-mistral20:51
*** vishwanathj has quit IRC20:52
*** bobh has quit IRC21:36
*** tonytan4ever has quit IRC22:10
*** chlong has joined #openstack-mistral22:12
*** harlowja has quit IRC23:03
*** brian_price_ has quit IRC23:09
*** tonytan4ever has joined #openstack-mistral23:10
*** tonytan4ever has quit IRC23:15
*** gmann has joined #openstack-mistral23:34
*** tonytan4ever has joined #openstack-mistral23:45

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