*** rrecio_ has quit IRC | 00:15 | |
*** rrecio has joined #openstack-mistral | 00:49 | |
*** rrecio has quit IRC | 00:56 | |
*** vishwanathj has quit IRC | 02:54 | |
*** janki has joined #openstack-mistral | 03:28 | |
*** janki has quit IRC | 03:28 | |
*** janki has joined #openstack-mistral | 03:43 | |
*** kiteall has joined #openstack-mistral | 04:17 | |
*** sharat has quit IRC | 04:22 | |
*** hparekh has joined #openstack-mistral | 04:26 | |
*** kiteall has quit IRC | 04:27 | |
*** kiteall has joined #openstack-mistral | 04:36 | |
*** kiteall has quit IRC | 04:54 | |
*** tonytan_brb has quit IRC | 05:09 | |
*** jaosorior has joined #openstack-mistral | 05:12 | |
*** openstackgerrit has quit IRC | 05:18 | |
*** openstackgerrit has joined #openstack-mistral | 05:19 | |
*** tonytan4ever has joined #openstack-mistral | 06:10 | |
*** tonytan4ever has quit IRC | 06:15 | |
*** shardy has joined #openstack-mistral | 06:19 | |
*** Ravikiran_K has joined #openstack-mistral | 06:44 | |
*** mflobo has joined #openstack-mistral | 07:04 | |
*** shardy is now known as shardy_afk | 07:08 | |
*** jpich has joined #openstack-mistral | 07:24 | |
rakhmerov | kong: hi, you here? | 07:41 |
---|---|---|
rakhmerov | nmakhotkin, hparekh, kong, ddeja: guys, please review https://review.openstack.org/#/c/356343/, it's super important | 07:44 |
rakhmerov | although not easy to understand | 07:44 |
rakhmerov | ask any questions pls | 07:44 |
*** tonytan4ever has joined #openstack-mistral | 07:47 | |
*** tonytan4ever has quit IRC | 07:52 | |
*** shardy_afk is now known as shardy | 07:57 | |
hparekh | rakhmerov, sure | 08:08 |
rakhmerov | thanks | 08:09 |
rakhmerov | hparekh: how is it going? Did you relocate? | 08:09 |
hparekh | rakhmerov, Yeah. Set up everything. Just few things are remaining. | 08:09 |
hparekh | started working from this week | 08:10 |
rakhmerov | great ) | 08:11 |
rakhmerov | good to know | 08:11 |
rakhmerov | I'm traveling now so may not be always available | 08:11 |
hparekh | business trip ? | 08:12 |
*** aspiers has joined #openstack-mistral | 08:23 | |
*** nmakhotkin has joined #openstack-mistral | 08:26 | |
*** openstackgerrit has quit IRC | 08:34 | |
*** openstackgerrit has joined #openstack-mistral | 08:34 | |
*** kiteall has joined #openstack-mistral | 08:52 | |
*** janki has quit IRC | 08:53 | |
*** janki has joined #openstack-mistral | 08:57 | |
*** Ravikiran_K has quit IRC | 10:08 | |
*** sharatss has joined #openstack-mistral | 10:25 | |
rakhmerov | hparekh: ok, thanks a lot | 10:42 |
rakhmerov | for a review, I'll address your comments | 10:42 |
kong | rakhmerov: hi | 10:46 |
kong | rakhmerov: the milestone options in python-mistralclient launchpad is inappropriate | 10:47 |
kong | can you config that? | 10:47 |
rakhmerov | kong: hi, yes | 10:47 |
rakhmerov | what should I do? | 10:47 |
sharatss | rakhmerov: hi | 10:48 |
kong | rakhmerov: maybe create some milestones | 10:48 |
rakhmerov | kong: so, the latest version of the client is 2.1.1, right? | 10:49 |
kong | the current mistralclient version is 2.1.1 | 10:49 |
rakhmerov | yep | 10:49 |
rakhmerov | do I need to create 2.1.2? | 10:49 |
kong | i think so | 10:49 |
rakhmerov | ok | 10:49 |
rakhmerov | sharatss: hi | 10:49 |
sharatss | rakhmerov: tox is failing even on the master branch | 10:49 |
rakhmerov | what exactly fails? and what's the error? | 10:50 |
sharatss | rakhmerov: can u help me in fixing this? | 10:50 |
rakhmerov | describe all the steps you make and what you get | 10:50 |
sharatss | rakhmerov: give me a minute | 10:51 |
sharatss | rakhmerov: i will post the log | 10:51 |
rakhmerov | ok | 10:51 |
rakhmerov | kong: I created 2.1.2 for now | 10:53 |
rakhmerov | will create others later | 10:53 |
rakhmerov | kong: was everything ok with N-3 release? | 10:53 |
rakhmerov | I've been traveling for a few days and didn't ask you | 10:53 |
kong | rakhmerov: yes, already released. rc1 will be 15 Sep | 10:54 |
rakhmerov | yeah, ok | 10:54 |
rakhmerov | thanks a lot | 10:55 |
kong | np | 10:55 |
sharatss | rakhmerov: 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), a | 10:59 |
sharatss | strangely it passed this time | 10:59 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Change execution mechanism for 'join' tasks https://review.openstack.org/356343 | 11:07 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Optimize finder functions for task executions https://review.openstack.org/365431 | 11:07 |
hparekh | rakhmerov, Hi, Regarding your explanation, I understand that there is problem with eventlet green threads,. Have you checked 'threading' options too ? | 11:11 |
hparekh | http://docs.openstack.org/developer/oslo.messaging/executors.html | 11:11 |
rakhmerov | yes, I have | 11:12 |
rakhmerov | effectively same result | 11:12 |
hparekh | oh ok. understand | 11:12 |
*** gmann has quit IRC | 11:13 | |
rakhmerov | hparekh: 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 |
rakhmerov | but seems like it's the limitation we'll have to leave with and design taking it into account | 11:13 |
rakhmerov | it's not too severe problem actually if we are able to launch multiple engines | 11:14 |
rakhmerov | that way we will be scaling the system | 11:14 |
rakhmerov | and transactional concurrency specifically | 11:14 |
rakhmerov | sharatss: I see, can you give me a link so that I can look at it? | 11:15 |
rakhmerov | this is not enough info yet | 11:15 |
rakhmerov | it could have been a temporary issue in CI system itself which now could be fixed | 11:16 |
rakhmerov | dunno | 11:16 |
rakhmerov | sometimes it happens | 11:16 |
hparekh | rakhmerov, yeah, Ok | 11:16 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Change execution mechanism for 'join' tasks https://review.openstack.org/356343 | 11:18 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Optimize finder functions for task executions https://review.openstack.org/365431 | 11:18 |
rakhmerov | yeah, 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 reason | 11:19 |
rakhmerov | hparekh: could you please also look at https://review.openstack.org/#/c/365037/ and https://review.openstack.org/#/c/356404/ ? | 11:21 |
hparekh | rakhmerov, Yeah looking the same :) | 11:22 |
rakhmerov | ok | 11:22 |
rakhmerov | and I also sent another patchset for my patch | 11:22 |
openstackgerrit | Merged openstack/mistral: cast to str for allowable types https://review.openstack.org/365037 | 11:36 |
openstackgerrit | Merged openstack/mistral: Add event configuration for event trigger https://review.openstack.org/356404 | 11:42 |
*** tonytan4ever has joined #openstack-mistral | 11:49 | |
sharatss | rakhmerov: i dont have a link for it | 11:51 |
rakhmerov | sharatss: but it works now, right? Can we consider it resolved for now? | 11:51 |
sharatss | rakhmerov: i have just cloned mistral, installed the requirements and running tox | 11:51 |
sharatss | rakhmerov: mistralclient is working | 11:52 |
sharatss | rakhmerov: having the problem in mistral | 11:52 |
rakhmerov | can you file a bug pls with all info you have? | 11:52 |
sharatss | ImportError: 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 stdout | 11:52 |
*** shardy is now known as shardy_lunch | 11:53 | |
sharatss | rakhmerov: yes i will do it now | 11:53 |
*** tonytan4ever has quit IRC | 11:53 | |
rakhmerov | ooh, you don't have pysqlite2 | 11:53 |
rakhmerov | what is you operating system? | 11:54 |
rakhmerov | you can try to install pysqlite2 module manually, it's not in the project requirements explicitly. In my understanding, it's usually preinstalled in Python | 11:55 |
sharatss | rakhmerov: ubuntu | 11:55 |
sharatss | rakhmerov: i will try installing pysqlite and update you | 11:56 |
*** bobh has joined #openstack-mistral | 11:59 | |
rakhmerov | ok | 11:59 |
rakhmerov | it's good that it's ubuntu | 11:59 |
d0ugal | Is there a way to have an action execution save the result without having it also schedule it to run later? | 12:01 |
d0ugal | I want to use save_result for auditing purposes, but that then means I need to change how I call the action :( | 12:02 |
d0ugal | From 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#L68 | 12:03 |
*** chlong has joined #openstack-mistral | 12:05 | |
*** bobh has quit IRC | 12:20 | |
*** bobh has joined #openstack-mistral | 12:21 | |
*** dprince has joined #openstack-mistral | 12:27 | |
sharatss | rakhmerov: i have installed pysqlite2 but still getting the error, https://bugs.launchpad.net/mistral/+bug/1621039 | 12:27 |
openstack | Launchpad bug 1621039 in Mistral "tox failing on the master branch" [Undecided,New] | 12:27 |
rakhmerov | ok | 12:27 |
*** bobh has quit IRC | 12:28 | |
*** bobh has joined #openstack-mistral | 12:28 | |
rakhmerov | d0ugal: hm.. I didn't get actually your idea ) | 12:28 |
rakhmerov | so you want to run action | 12:29 |
d0ugal | rakhmerov: Yeah, and I want the result to be saved in Mistral and returned to me | 12:29 |
rakhmerov | and you want to save its result | 12:29 |
rakhmerov | ok | 12:30 |
rakhmerov | isn't it how it works now? | 12:30 |
d0ugal | No :) | 12:30 |
rakhmerov | you mean run-action thing? | 12:30 |
*** szaher_ has quit IRC | 12:30 | |
d0ugal | rakhmerov: Yeah | 12:30 |
rakhmerov | ooh, you mean you need to run it in a synchronous way | 12:31 |
rakhmerov | but to also save a result in DB | 12:31 |
rakhmerov | synchronous meaning that you'll get a result immediately | 12:31 |
d0ugal | rakhmerov: Yeah | 12:31 |
*** szaher has joined #openstack-mistral | 12:31 | |
rakhmerov | as a response to your request | 12:31 |
rakhmerov | I see | 12:31 |
d0ugal | Exactly that :) | 12:31 |
rakhmerov | yeah, I guess it's impossible now | 12:31 |
rakhmerov | something needs to be fixed in default_engine.run_action() method | 12:32 |
rakhmerov | it should not be that hard to do | 12:32 |
d0ugal | rakhmerov: Yup, it looks quite easy I think | 12:32 |
*** bobh has quit IRC | 12:33 | |
d0ugal | rakhmerov: I think --save-result is a bad name btw, it should maybe be --schedule or something like that | 12:33 |
d0ugal | and then --save-result only either saves or doesn't | 12:33 |
*** bobh has joined #openstack-mistral | 12:33 | |
rakhmerov | there's two different aspects here | 12:33 |
d0ugal | Yup | 12:33 |
rakhmerov | sync/async (from user perspective) and save/'doesn't save' | 12:34 |
rakhmerov | if it's async then save has to be True | 12:34 |
d0ugal | yup, true | 12:35 |
rakhmerov | yeah, there needs to be one more parameter actually | 12:35 |
rakhmerov | agree | 12:35 |
d0ugal | Maybe it should just always save? Why wouldn't we want it to save? | 12:35 |
d0ugal | I think workflows always save the action results | 12:35 |
rakhmerov | the intention was the following: I may want to test how my new action works w/o polluting my DB | 12:36 |
d0ugal | Right, makes sense | 12:36 |
rakhmerov | it's useful when I'm just designing a WF | 12:36 |
rakhmerov | yeah | 12:36 |
d0ugal | I do find that useful actually | 12:36 |
rakhmerov | I think that too, for people who implement a lot of actions | 12:37 |
d0ugal | Yup | 12:37 |
*** hparekh has quit IRC | 12:37 | |
d0ugal | (we have about 20 now :) ) | 12:38 |
d0ugal | not that many, but growing fairly fast | 12:38 |
rakhmerov | ok | 12:38 |
d0ugal | I'll open a bug and try to create a summary for this discussion | 12:39 |
rakhmerov | d0ugal: just curious, are you going to the summit? | 12:39 |
d0ugal | rakhmerov: Yup! | 12:39 |
rakhmerov | great :) | 12:39 |
d0ugal | Looking forward to it. I plan to come to all and any Mistral sessions. | 12:39 |
*** bobh has quit IRC | 12:39 | |
d0ugal | (assuming I don't have any bad conflicts) | 12:39 |
rakhmerov | we don't have many sessions on Mistral this time (only 3 work sessions) but you're very welcome to join | 12:40 |
*** bobh has joined #openstack-mistral | 12:40 | |
d0ugal | rakhmerov: 3 sounds good to me :) Do you know when they will be yet? | 12:40 |
rakhmerov | not yet, the schedule is not ready yet | 12:41 |
d0ugal | k, no worries. | 12:41 |
d0ugal | I'll look out for it | 12:41 |
rakhmerov | usually it gets ready 2-3 week prior to a summit | 12:41 |
sharatss | rakhmerov: I want to contribute to mistral.. Expecting your support | 12:41 |
*** rbrady has joined #openstack-mistral | 12:42 | |
rakhmerov | sharatss: that's great news! Please feel free to ask anything you want | 12:42 |
rakhmerov | sharatss: it would be very cool if you could you reveal your interest in Mistral :) | 12:42 |
sharatss | rakhmerov: yes actually I find this service very cool | 12:43 |
rakhmerov | I always ask people about that so that I know who and how are going to use Mistral | 12:43 |
rakhmerov | thanks, I find it cool too :) Although we still have a huge work ahead | 12:44 |
rakhmerov | on usability, stability, docs and other things | 12:44 |
sharatss | rakhmerov: this thing I somehow feel that can automate the whole process | 12:44 |
rakhmerov | cool | 12:47 |
sharatss | rakmerov: thanks for taking time, please look into that bug and help me | 12:49 |
*** jaosorior has quit IRC | 12:49 | |
*** jaosorior has joined #openstack-mistral | 12:50 | |
rakhmerov | ok | 12:50 |
*** bobh has quit IRC | 12:52 | |
*** janki has quit IRC | 12:54 | |
*** janki has joined #openstack-mistral | 12:58 | |
*** mflobo has quit IRC | 13:06 | |
*** shardy_lunch is now known as shardy | 13:08 | |
*** vishwanathj has joined #openstack-mistral | 13:11 | |
*** tonytan4ever has joined #openstack-mistral | 13:26 | |
openstackgerrit | Nikolay Mahotkin proposed openstack/python-mistralclient: Fixing auth for keystone v2.0 https://review.openstack.org/365655 | 13:30 |
*** bobh has joined #openstack-mistral | 13:32 | |
openstackgerrit | Sharat Sharma proposed openstack/python-mistralclient: Use upper constraints for all jobs in tox.ini https://review.openstack.org/366754 | 13:39 |
*** mflobo has joined #openstack-mistral | 13:53 | |
openstackgerrit | Nikolay Mahotkin proposed openstack/python-mistralclient: Fixing auth for keystone v2.0 https://review.openstack.org/365655 | 13:55 |
openstackgerrit | Sharat Sharma proposed openstack/mistral-lib: Update info in the configuration file https://review.openstack.org/366768 | 13:58 |
*** janki has quit IRC | 14:03 | |
*** dulek has quit IRC | 14:20 | |
*** mgershen has quit IRC | 14:20 | |
*** stevebaker has quit IRC | 14:20 | |
*** dulek has joined #openstack-mistral | 14:42 | |
*** mgershen has joined #openstack-mistral | 14:42 | |
*** stevebaker has joined #openstack-mistral | 14:42 | |
*** rbrady has quit IRC | 14:44 | |
d0ugal | rakhmerov: FYI, I reported this which I think covers our conversation from earlier: https://bugs.launchpad.net/mistral/+bug/1621120 | 14:49 |
openstack | Launchpad bug 1621120 in Mistral "Allow saving the result of synchronous action execution calls" [Undecided,New] | 14:49 |
d0ugal | rakhmerov: 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 |
rakhmerov | d0ugal: I'd be happy to give you this :) | 14:50 |
d0ugal | rakhmerov: Thanks! | 14:50 |
rakhmerov | what exactly are you going to do? | 14:50 |
rakhmerov | set up some triage sessions? | 14:50 |
d0ugal | rakhmerov: I hadn't planned anything that big - I just wanted to be able to triage bugs as I looked at them | 14:51 |
d0ugal | so, like that one I reported I could mark as confirmed because we spoke about it | 14:51 |
rakhmerov | sure, no problem | 14:51 |
rakhmerov | go ahead and do this | 14:51 |
rakhmerov | yes | 14:51 |
d0ugal | rakhmerov: oh, I can already do it. Thanks :) | 14:52 |
rakhmerov | d0ugal: hm.. you mean you have enough LP permissions? | 14:53 |
rakhmerov | or I still need to do something so you get them? | 14:53 |
d0ugal | rakhmerov: I think I have enough permissions, but I thought I didn't before. Did you change something? | 14:54 |
*** toure has quit IRC | 14:54 | |
rakhmerov | nope | 14:54 |
rakhmerov | didn't touch anything | 14:54 |
rakhmerov | I was just going to | 14:54 |
d0ugal | rakhmerov: right, I just realised I can do more than I thought I could - I can't set importance etc. | 14:54 |
*** sharatss has quit IRC | 14:55 | |
rakhmerov | :)) | 14:55 |
d0ugal | Launchpad confuses me, even after 3 years. | 14:55 |
bobh | rakhmerov: 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 properly | 14:57 |
*** rrecio has joined #openstack-mistral | 14:57 | |
rakhmerov | bobh: can you show me your expression? | 14:58 |
nmakhotkin | hi bobh | 14:58 |
rakhmerov | I'll try to find an example in the meantime | 14:58 |
nmakhotkin | I guess I know what you are about | 14:59 |
bobh | nmakhotkin: hello | 14:59 |
bobh | rakhmerov: one second for the example | 14:59 |
*** rbrady has joined #openstack-mistral | 15:00 | |
nmakhotkin | if you have variable $.my_var, you can't use it in $.my_list.where($.my_var = some_val) ? | 15:00 |
rakhmerov | yes, true, you need to use 'let' | 15:00 |
bobh | nmakhotkin: exactly - looks like it used to work with $.as() | 15:00 |
rakhmerov | it's now with 'let' | 15:00 |
bobh | ok, thanks - I'll dig into the docs/examples for let | 15:01 |
nmakhotkin | bobh, yup, just use let(root => $) -> <your_expression> | 15:01 |
*** kiteall has quit IRC | 15:01 | |
rakhmerov | yep, looks right to me | 15:02 |
nmakhotkin | and then refer to global context as $root | 15:02 |
nmakhotkin | so your expression will look like $.my_list.where($root.my_var = some_val) | 15:02 |
bobh | nmakhotkin: rakhmerov thanks! | 15:02 |
rakhmerov | yeah, notice that there's no dot in $root | 15:02 |
rakhmerov | because it references a variable | 15:02 |
rakhmerov | not a field of an object | 15:02 |
bobh | so the let(root => $) is a standalone line | 15:03 |
nmakhotkin | no | 15:03 |
nmakhotkin | they all on the same line | 15:03 |
nmakhotkin | so the whole expression will be: let(root => $) -> $.my_list.where($root.my_var = some_val) | 15:04 |
bobh | nmakhotkin: ok - I'll play with it - thanks for the help | 15:04 |
*** nmakhotkin has quit IRC | 15:09 | |
*** sharat has joined #openstack-mistral | 15:13 | |
*** mflobo has left #openstack-mistral | 15:31 | |
*** jpeeler has joined #openstack-mistral | 15:35 | |
*** jpeeler has quit IRC | 15:35 | |
*** jpeeler has joined #openstack-mistral | 15:35 | |
*** chlong has quit IRC | 15:41 | |
*** jpich has quit IRC | 16:31 | |
*** jaosorior has quit IRC | 16:33 | |
*** brian_price_ has joined #openstack-mistral | 16:48 | |
rakhmerov | hi everyone, is there anybody here who has experience with oslo.service? | 16:49 |
*** shardy has quit IRC | 17:19 | |
*** sharat has quit IRC | 17:34 | |
*** harlowja has quit IRC | 17:46 | |
*** harlowja has joined #openstack-mistral | 17:49 | |
*** mandre has quit IRC | 17:57 | |
*** mandre has joined #openstack-mistral | 18:05 | |
*** tonytan4ever has quit IRC | 18:56 | |
*** clenimar has quit IRC | 19:10 | |
*** tonytan4ever has joined #openstack-mistral | 19:53 | |
*** dprince has quit IRC | 20:01 | |
*** openstackgerrit has quit IRC | 20:04 | |
*** openstackgerrit has joined #openstack-mistral | 20:04 | |
*** kiteall has joined #openstack-mistral | 20:08 | |
*** kiteall has quit IRC | 20:11 | |
*** kiteall has joined #openstack-mistral | 20:23 | |
*** kiteall has quit IRC | 20:38 | |
*** rrecio has quit IRC | 20:50 | |
*** vishwana_ has joined #openstack-mistral | 20:51 | |
*** vishwanathj has quit IRC | 20:52 | |
*** bobh has quit IRC | 21:36 | |
*** tonytan4ever has quit IRC | 22:10 | |
*** chlong has joined #openstack-mistral | 22:12 | |
*** harlowja has quit IRC | 23:03 | |
*** brian_price_ has quit IRC | 23:09 | |
*** tonytan4ever has joined #openstack-mistral | 23:10 | |
*** tonytan4ever has quit IRC | 23:15 | |
*** gmann has joined #openstack-mistral | 23:34 | |
*** tonytan4ever has joined #openstack-mistral | 23:45 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!