*** cheneydc has joined #openstack-mistral | 01:04 | |
*** bobh has joined #openstack-mistral | 01:05 | |
*** bobh has quit IRC | 01:17 | |
*** bobh has joined #openstack-mistral | 02:33 | |
*** bobh has quit IRC | 02:35 | |
*** bobh has joined #openstack-mistral | 02:36 | |
*** bobh has quit IRC | 02:37 | |
*** bobh has joined #openstack-mistral | 04:16 | |
openstackgerrit | Merged openstack/python-mistralclient: Updated from global requirements https://review.openstack.org/334001 | 04:26 |
---|---|---|
openstackgerrit | Renat Akhmerov proposed openstack/python-mistralclient: Use osc-lib instead of openstackclient https://review.openstack.org/333739 | 04:32 |
*** bobh has quit IRC | 04:39 | |
*** bobh has joined #openstack-mistral | 04:50 | |
*** bobh has quit IRC | 04:54 | |
*** bobh has joined #openstack-mistral | 04:57 | |
*** bobh has quit IRC | 05:02 | |
*** bobh has joined #openstack-mistral | 05:59 | |
*** bobh has quit IRC | 06:05 | |
*** d0ugal has joined #openstack-mistral | 06:58 | |
*** d0ugal has quit IRC | 06:59 | |
*** d0ugal has joined #openstack-mistral | 07:00 | |
*** bobh has joined #openstack-mistral | 07:01 | |
*** Ravikiran_K has joined #openstack-mistral | 07:04 | |
rakhmerov | hparekh: hi Hardik, could you please look at https://review.openstack.org/#/c/333739/ ? It's not passing the gate and seems like because of the same issue you fixed (tempest lib) | 07:04 |
rakhmerov | although this patch has been rebased | 07:05 |
rakhmerov | I don't understand what's going on | 07:05 |
hparekh | rakhmerov, I am looking into the same | 07:05 |
*** bobh has quit IRC | 07:05 | |
rakhmerov | ooh, ok | 07:05 |
rakhmerov | it's really weird | 07:06 |
*** jtomasek has joined #openstack-mistral | 07:11 | |
openstackgerrit | Xavier Hardy proposed openstack/mistral: Add filters to all collections listing functions (tags included) https://review.openstack.org/334311 | 07:17 |
openstackgerrit | hardik proposed openstack/python-mistralclient: Use osc-lib instead of openstackclient https://review.openstack.org/333739 | 07:17 |
openstackgerrit | Xavier Hardy proposed openstack/mistral: Allow recursive ad-hoc actions https://review.openstack.org/334312 | 07:19 |
*** NikolayM has quit IRC | 07:25 | |
*** nmakhotkin has joined #openstack-mistral | 07:25 | |
openstackgerrit | Xavier Hardy proposed openstack/mistral: Add action context to all action executions https://review.openstack.org/334315 | 07:26 |
*** dmk0202 has joined #openstack-mistral | 07:31 | |
*** jpich has joined #openstack-mistral | 07:31 | |
*** saphi has joined #openstack-mistral | 07:42 | |
openstackgerrit | Renat Akhmerov proposed openstack/mistral-specs: Custom actions API specification https://review.openstack.org/325769 | 07:43 |
*** shardy has joined #openstack-mistral | 07:47 | |
*** bobh has joined #openstack-mistral | 08:02 | |
hparekh | rakhmerov, https://review.openstack.org/#/c/333739/ passed jenkins tests | 08:04 |
rakhmerov | hparekh: thanks! | 08:04 |
rakhmerov | what was the problem? | 08:04 |
hparekh | rakhmerov, we need python-openstack-client is our tests. | 08:05 |
rakhmerov | ok, and it was missing.. | 08:05 |
rakhmerov | I see | 08:05 |
hparekh | yeah | 08:05 |
rakhmerov | can you approve it pls? | 08:05 |
rakhmerov | I gave my +2 | 08:05 |
hparekh | done ! | 08:06 |
*** bobh has quit IRC | 08:07 | |
openstackgerrit | Xavier Hardy proposed openstack/mistral: A ad-hoc action can be based on another ad-hoc actions, allowing several level of abstractions in actions. https://review.openstack.org/334312 | 08:27 |
*** shardy has quit IRC | 08:32 | |
*** shardy has joined #openstack-mistral | 08:34 | |
openstackgerrit | Merged openstack/python-mistralclient: Use osc-lib instead of openstackclient https://review.openstack.org/333739 | 08:46 |
*** ddeja has quit IRC | 08:48 | |
*** bobh has joined #openstack-mistral | 09:03 | |
*** bobh has quit IRC | 09:07 | |
*** cheneydc has quit IRC | 10:06 | |
saphi | hi rakhmerov | 10:11 |
rakhmerov | hi | 10:12 |
saphi | I'm writing a workflow and I don't know how to get vars in input section to publish section | 10:12 |
saphi | this is my workbook file: http://i.imgur.com/XkpQr7j.png | 10:12 |
nmakhotkin | hi saphi | 10:16 |
nmakhotkin | I can answer to your question | 10:17 |
nmakhotkin | the reason here is that '$' there is not pointing to main data context anymore | 10:17 |
nmakhotkin | it is how the YAQL works :) | 10:18 |
rakhmerov | yes, I confirm | 10:18 |
saphi | So I can't use this var in publish section | 10:19 |
nmakhotkin | when you write .select() or .where() function for lists, they overrides '$' inside | 10:19 |
rakhmerov | as far as I remember there's some function to get a ref to the root context | 10:19 |
nmakhotkin | rakhmerov, yes | 10:19 |
rakhmerov | saphi: you can | 10:19 |
rakhmerov | using a special function | 10:19 |
nmakhotkin | but AFAIK it was deleted in YAQL 1.0.0 | 10:19 |
rakhmerov | nmakhotkin: really?? | 10:19 |
nmakhotkin | I think the whole expression could be rephrased to something else | 10:19 |
saphi | rakhmerov. How ? | 10:20 |
nmakhotkin | rakhmerov: yes | 10:20 |
nmakhotkin | I had an example for this... | 10:20 |
rakhmerov | let me see | 10:20 |
nmakhotkin | but I don't remember where it is | 10:20 |
saphi | :( | 10:21 |
nmakhotkin | We can assign a variable to root context and use it in the same YAQL expression | 10:21 |
saphi | can you give me an example? | 10:22 |
rakhmerov | nmakhotkin: yes, but that's pretty ugly :) | 10:22 |
rakhmerov | saphi: looking.. | 10:22 |
saphi | yes. | 10:22 |
nmakhotkin | rakhmerov: yes I know | 10:23 |
nmakhotkin | but I don't know other way :) | 10:23 |
nmakhotkin | this is kind of a workaround | 10:23 |
nmakhotkin | I found | 10:24 |
nmakhotkin | let(root => $) -> $root | 10:24 |
openstackgerrit | Shaik Apsar proposed openstack/mistral: [WIP] Add tacker actions in mistral https://review.openstack.org/331827 | 10:24 |
nmakhotkin | and replace $root on your expression | 10:24 |
nmakhotkin | and refer to the root context as $root | 10:24 |
nmakhotkin | example: let(root => $) -> task(get_volumes_by_prefix).result.select({id=>$.id, name=>$.name}).where($.name.startsWith($root.vol_prefix)) | 10:25 |
rakhmerov | hm.. yes | 10:25 |
nmakhotkin | sophi: ^^ | 10:25 |
rakhmerov | it should work | 10:26 |
nmakhotkin | saphi: ^^ | 10:26 |
rakhmerov | nmakhotkin: what does "->" mean in your example? | 10:27 |
*** mgershen has quit IRC | 10:28 | |
*** mgershen has joined #openstack-mistral | 10:29 | |
rakhmerov | ok, I see it's kind of "given X" DO "this with X" | 10:29 |
rakhmerov | so first we define something (vars, functions) and then eval the actual expression | 10:30 |
saphi | yes. I writed: instances_list: <% let(root => $) -> task(list_instances).result.where($.get("OS-EXT-SRV-ATTR:host") = $root.from_host .select($.id) %> | 10:31 |
saphi | Was I right? | 10:32 |
nmakhotkin | saphi: mostly yes but please also remove extra spaces (before '.') | 10:33 |
*** mgershen has quit IRC | 10:33 | |
saphi | It is working :D | 10:33 |
nmakhotkin | saphi: looks ok | 10:33 |
saphi | thank alot | 10:33 |
rakhmerov | cool | 10:34 |
nmakhotkin | ok, np :) | 10:34 |
saphi | very cool | 10:34 |
nmakhotkin | rakhmerov: yes, it is something like that | 10:34 |
nmakhotkin | but I don't know what it exactly means in YAQL :D | 10:35 |
rakhmerov | docs, docs... | 10:35 |
nmakhotkin | one guy from YAQL team gives me it | 10:36 |
*** ddeja has joined #openstack-mistral | 10:36 | |
nmakhotkin | gave* | 10:36 |
nmakhotkin | rakhmerov: I see in docs now | 10:37 |
nmakhotkin | Context pass: -> | 10:37 |
rakhmerov | where? | 10:38 |
nmakhotkin | so we can define some vars and functions in context and then use it | 10:38 |
nmakhotkin | you are right | 10:38 |
rakhmerov | link? | 10:38 |
nmakhotkin | http://yaql.readthedocs.io/en/latest/getting_started.html#operators | 10:38 |
nmakhotkin | YAQL docs are published, finally | 10:39 |
nmakhotkin | I didn't see any doc for YAQL before :) | 10:40 |
nmakhotkin | so I excited | 10:40 |
nmakhotkin | cool | 10:40 |
*** ddeja has quit IRC | 10:41 | |
saphi | :D | 10:42 |
saphi | one problem again. I want to use nova.servers_live_migrate action. I see an input is obj. but when I input arg here is my workbook: http://i.imgur.com/8XOaokO.png . It notice me: ERROR mistral.engine.default_executor ActionException: NovaAction.servers.live_migrate failed: <type 'exceptions.TypeErro | 10:45 |
saphi | r'>: live_migrate() takes exactly 5 arguments (3 given) | 10:45 |
saphi | I saw in nova live_migrate code only 3 args | 10:45 |
*** mgershen has joined #openstack-mistral | 10:50 | |
saphi | I think I have to input a dict | 10:51 |
saphi | I tried: nova.servers_live_migrate obj=<% dict(server=> $.instance_id, host=> $.to_host) %> . But It still failed | 10:57 |
*** ddeja has joined #openstack-mistral | 11:04 | |
nmakhotkin | saphi: could you please give field input for this action? | 11:04 |
*** bobh has joined #openstack-mistral | 11:04 | |
nmakhotkin | you can see it using 'mistral action-list | grep nova.servers_live_migrate' | 11:05 |
saphi | here you are: http://i.imgur.com/mJoMUng.png | 11:05 |
saphi | I can't understand what "obj" mean | 11:06 |
rakhmerov | nmakhotkin: woow :) It's still pretty small though | 11:07 |
rakhmerov | but at least something | 11:07 |
*** bobh has quit IRC | 11:09 | |
nmakhotkin | saphi: look at the description | 11:10 |
nmakhotkin | here are 3 params | 11:10 |
nmakhotkin | but if it should be 5... | 11:10 |
nmakhotkin | weird :( | 11:10 |
nmakhotkin | 4th param is self | 11:11 |
nmakhotkin | but what is 5th? | 11:11 |
saphi | I writen: action: nova.servers_live_migrate server=<% $.instance_id %> host=<% $.to_host %> block_migration=False. But I still failed | 11:11 |
nmakhotkin | saphi, yes, there should be one more argument | 11:12 |
nmakhotkin | rakhmerov: I think we need to update mapping.json for nova actions :) | 11:13 |
rakhmerov | nmakhotkin: can you do this? | 11:13 |
rakhmerov | :) | 11:13 |
nmakhotkin | I can try but I am not sure | 11:14 |
nmakhotkin | I try to post a patch today | 11:14 |
saphi | how to update mapping.json? I want to try? | 11:15 |
nmakhotkin | saphi: I found in novaclient code: def live_migrate(self, host=None, | 11:15 |
nmakhotkin | block_migration=False, | 11:15 |
nmakhotkin | disk_over_commit=None): | 11:15 |
saphi | I found so. | 11:18 |
hparekh | Hi mapping.json file is outdaed for neutron, nova | 11:19 |
*** saphi has quit IRC | 11:22 | |
*** mgershen has quit IRC | 11:26 | |
*** mgershen has joined #openstack-mistral | 11:36 | |
*** ddeja has quit IRC | 11:39 | |
rakhmerov | hparekh: can you please update this file? | 11:42 |
rakhmerov | I can't do this now.. Busy with something else | 11:43 |
*** ddeja has joined #openstack-mistral | 12:01 | |
*** bobh has joined #openstack-mistral | 12:05 | |
*** bobh has quit IRC | 12:10 | |
rakhmerov | hparekh: are you going to today's meeting? | 12:26 |
*** rbrady has quit IRC | 12:27 | |
*** rbrady has joined #openstack-mistral | 12:28 | |
rakhmerov | ddeja: hi, here? | 12:45 |
rakhmerov | mgershen, hparekh, ddeja, d0ugal, rbrady: guys, I'm not going to be able to make it to the meeting today | 12:47 |
rakhmerov | should we cancel it or someone can drive? | 12:47 |
rakhmerov | kong: ^ too | 12:47 |
rakhmerov | jpeeler: ^ too | 12:48 |
*** toddjohn has joined #openstack-mistral | 12:48 | |
rakhmerov | Ok, I'm sending out an announcement | 12:51 |
rakhmerov | no meeting today | 12:51 |
rakhmerov | d0ugal, rbrady, jpeeler: guys, please review the spec for actions API | 12:52 |
d0ugal | rakhmerov: Will do. | 12:54 |
ddeja | rakhmerov: I'm here | 13:02 |
mgershen | rakhmerov: got the mail before seeing it here ^^ (it's fine by me) | 13:05 |
*** bobh has joined #openstack-mistral | 13:06 | |
*** bobh has quit IRC | 13:10 | |
*** saphi has joined #openstack-mistral | 13:15 | |
saphi | how about actions with neutron? :D | 13:37 |
*** ddeja has quit IRC | 13:51 | |
*** bobh has joined #openstack-mistral | 14:00 | |
*** saphi has quit IRC | 14:03 | |
*** Ravikiran_K has quit IRC | 14:35 | |
*** jistr is now known as jistr|mtg | 15:01 | |
*** krotscheck is now known as krotscheck_dcm | 15:05 | |
*** jistr|mtg is now known as jistr | 15:16 | |
*** dmk0202 has quit IRC | 15:30 | |
*** ddeja has joined #openstack-mistral | 15:38 | |
*** tonytan4ever has joined #openstack-mistral | 15:44 | |
*** mgershen has quit IRC | 16:15 | |
*** jpich has quit IRC | 16:36 | |
*** Ravikiran_K has joined #openstack-mistral | 16:44 | |
*** gyee has joined #openstack-mistral | 16:51 | |
*** saphi has joined #openstack-mistral | 16:56 | |
*** mgershen has joined #openstack-mistral | 17:11 | |
*** harlowja has quit IRC | 17:25 | |
*** harlowja has joined #openstack-mistral | 17:33 | |
*** tonytan4ever has quit IRC | 17:52 | |
*** tonytan4ever has joined #openstack-mistral | 18:00 | |
*** shardy is now known as shardy_afk | 18:17 | |
*** mgershen has quit IRC | 18:25 | |
*** tonytan4ever has quit IRC | 18:28 | |
*** tonytan4ever has joined #openstack-mistral | 18:38 | |
*** saphi has quit IRC | 18:41 | |
*** ddeja has quit IRC | 19:06 | |
*** harlowja has quit IRC | 19:36 | |
*** harlowja has joined #openstack-mistral | 19:52 | |
*** catintheroof has joined #openstack-mistral | 20:55 | |
*** toddjohn has quit IRC | 21:21 | |
*** toddjohn has joined #openstack-mistral | 21:22 | |
*** toddjohn has quit IRC | 21:26 | |
*** catintheroof has quit IRC | 21:55 | |
*** toddjohn has joined #openstack-mistral | 22:04 | |
*** bobh has quit IRC | 22:08 | |
*** toddjohn has quit IRC | 22:09 | |
*** toddjohn has joined #openstack-mistral | 22:10 | |
*** toddjohn has quit IRC | 22:14 | |
*** tonytan4ever has quit IRC | 23:02 | |
*** toddjohn has joined #openstack-mistral | 23:11 | |
*** toddjohn has quit IRC | 23:11 | |
*** toddjohn has joined #openstack-mistral | 23:12 | |
*** toddjohn has quit IRC | 23:12 | |
*** toddjohn has joined #openstack-mistral | 23:12 | |
*** toddjohn has quit IRC | 23:12 | |
*** toddjohn has joined #openstack-mistral | 23:13 | |
*** toddjohn has quit IRC | 23:17 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!