Monday, 2016-06-27

*** cheneydc has joined #openstack-mistral01:04
*** bobh has joined #openstack-mistral01:05
*** bobh has quit IRC01:17
*** bobh has joined #openstack-mistral02:33
*** bobh has quit IRC02:35
*** bobh has joined #openstack-mistral02:36
*** bobh has quit IRC02:37
*** bobh has joined #openstack-mistral04:16
openstackgerritMerged openstack/python-mistralclient: Updated from global requirements  https://review.openstack.org/33400104:26
openstackgerritRenat Akhmerov proposed openstack/python-mistralclient: Use osc-lib instead of openstackclient  https://review.openstack.org/33373904:32
*** bobh has quit IRC04:39
*** bobh has joined #openstack-mistral04:50
*** bobh has quit IRC04:54
*** bobh has joined #openstack-mistral04:57
*** bobh has quit IRC05:02
*** bobh has joined #openstack-mistral05:59
*** bobh has quit IRC06:05
*** d0ugal has joined #openstack-mistral06:58
*** d0ugal has quit IRC06:59
*** d0ugal has joined #openstack-mistral07:00
*** bobh has joined #openstack-mistral07:01
*** Ravikiran_K has joined #openstack-mistral07:04
rakhmerovhparekh: 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
rakhmerovalthough this patch has been rebased07:05
rakhmerovI don't understand what's going on07:05
hparekhrakhmerov, I am looking into the same07:05
*** bobh has quit IRC07:05
rakhmerovooh, ok07:05
rakhmerovit's really weird07:06
*** jtomasek has joined #openstack-mistral07:11
openstackgerritXavier Hardy proposed openstack/mistral: Add filters to all collections listing functions (tags included)  https://review.openstack.org/33431107:17
openstackgerrithardik proposed openstack/python-mistralclient: Use osc-lib instead of openstackclient  https://review.openstack.org/33373907:17
openstackgerritXavier Hardy proposed openstack/mistral: Allow recursive ad-hoc actions  https://review.openstack.org/33431207:19
*** NikolayM has quit IRC07:25
*** nmakhotkin has joined #openstack-mistral07:25
openstackgerritXavier Hardy proposed openstack/mistral: Add action context to all action executions  https://review.openstack.org/33431507:26
*** dmk0202 has joined #openstack-mistral07:31
*** jpich has joined #openstack-mistral07:31
*** saphi has joined #openstack-mistral07:42
openstackgerritRenat Akhmerov proposed openstack/mistral-specs: Custom actions API specification  https://review.openstack.org/32576907:43
*** shardy has joined #openstack-mistral07:47
*** bobh has joined #openstack-mistral08:02
hparekhrakhmerov, https://review.openstack.org/#/c/333739/ passed jenkins tests08:04
rakhmerovhparekh: thanks!08:04
rakhmerovwhat was the problem?08:04
hparekhrakhmerov, we need python-openstack-client is our tests.08:05
rakhmerovok, and it was missing..08:05
rakhmerovI see08:05
hparekhyeah08:05
rakhmerovcan you approve it pls?08:05
rakhmerovI gave my +208:05
hparekhdone !08:06
*** bobh has quit IRC08:07
openstackgerritXavier 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/33431208:27
*** shardy has quit IRC08:32
*** shardy has joined #openstack-mistral08:34
openstackgerritMerged openstack/python-mistralclient: Use osc-lib instead of openstackclient  https://review.openstack.org/33373908:46
*** ddeja has quit IRC08:48
*** bobh has joined #openstack-mistral09:03
*** bobh has quit IRC09:07
*** cheneydc has quit IRC10:06
saphihi rakhmerov10:11
rakhmerovhi10:12
saphiI'm writing a workflow and I don't know how to get vars in input section to publish section10:12
saphithis is my workbook file: http://i.imgur.com/XkpQr7j.png10:12
nmakhotkinhi saphi10:16
nmakhotkinI can answer to your question10:17
nmakhotkinthe reason here is that '$' there is not pointing to main data context anymore10:17
nmakhotkinit is how the YAQL works :)10:18
rakhmerovyes, I confirm10:18
saphiSo I can't use this var in publish section10:19
nmakhotkinwhen you write .select() or .where() function for lists, they overrides '$' inside10:19
rakhmerovas far as I remember there's some function to get a ref to the root context10:19
nmakhotkinrakhmerov, yes10:19
rakhmerovsaphi: you can10:19
rakhmerovusing a special function10:19
nmakhotkinbut AFAIK it was deleted in YAQL 1.0.010:19
rakhmerovnmakhotkin: really??10:19
nmakhotkinI think the whole expression could be rephrased to something else10:19
saphirakhmerov. How ?10:20
nmakhotkinrakhmerov: yes10:20
nmakhotkinI had an example for this...10:20
rakhmerovlet me see10:20
nmakhotkinbut I don't remember where it is10:20
saphi:(10:21
nmakhotkinWe can assign a variable to root context and use it in the same YAQL expression10:21
saphican you give me an example?10:22
rakhmerovnmakhotkin: yes, but that's pretty ugly :)10:22
rakhmerovsaphi: looking..10:22
saphiyes.10:22
nmakhotkinrakhmerov: yes I know10:23
nmakhotkinbut I don't know other way :)10:23
nmakhotkinthis is kind of a workaround10:23
nmakhotkinI found10:24
nmakhotkinlet(root => $) -> $root10:24
openstackgerritShaik Apsar proposed openstack/mistral: [WIP] Add tacker actions in mistral  https://review.openstack.org/33182710:24
nmakhotkinand replace $root on your expression10:24
nmakhotkinand refer to the root context as $root10:24
nmakhotkinexample: let(root => $) -> task(get_volumes_by_prefix).result.select({id=>$.id, name=>$.name}).where($.name.startsWith($root.vol_prefix))10:25
rakhmerovhm.. yes10:25
nmakhotkinsophi: ^^10:25
rakhmerovit should work10:26
nmakhotkinsaphi: ^^10:26
rakhmerovnmakhotkin: what does "->" mean in your example?10:27
*** mgershen has quit IRC10:28
*** mgershen has joined #openstack-mistral10:29
rakhmerovok, I see it's kind of "given X" DO "this with X"10:29
rakhmerovso first we define something (vars, functions) and then eval the actual expression10:30
saphiyes. I writed: instances_list: <% let(root => $) -> task(list_instances).result.where($.get("OS-EXT-SRV-ATTR:host") = $root.from_host .select($.id) %>10:31
saphiWas I right?10:32
nmakhotkinsaphi: mostly yes but please also remove extra spaces (before '.')10:33
*** mgershen has quit IRC10:33
saphiIt is working :D10:33
nmakhotkinsaphi: looks ok10:33
saphithank alot10:33
rakhmerovcool10:34
nmakhotkinok, np :)10:34
saphivery cool10:34
nmakhotkinrakhmerov: yes, it is something like that10:34
nmakhotkinbut I don't know what it exactly means in YAQL :D10:35
rakhmerovdocs, docs...10:35
nmakhotkinone guy from YAQL team gives me it10:36
*** ddeja has joined #openstack-mistral10:36
nmakhotkingave*10:36
nmakhotkinrakhmerov: I see in docs now10:37
nmakhotkinContext pass: ->10:37
rakhmerovwhere?10:38
nmakhotkinso we can define some vars and functions in context and then use it10:38
nmakhotkinyou are right10:38
rakhmerovlink?10:38
nmakhotkinhttp://yaql.readthedocs.io/en/latest/getting_started.html#operators10:38
nmakhotkinYAQL docs are published, finally10:39
nmakhotkinI didn't see any doc for YAQL before :)10:40
nmakhotkinso I excited10:40
nmakhotkincool10:40
*** ddeja has quit IRC10:41
saphi:D10:42
saphione 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.TypeErro10:45
saphir'>: live_migrate() takes exactly 5 arguments (3 given)10:45
saphiI saw in nova live_migrate code only 3 args10:45
*** mgershen has joined #openstack-mistral10:50
saphiI think I have to input a dict10:51
saphiI tried: nova.servers_live_migrate obj=<% dict(server=> $.instance_id, host=> $.to_host) %> . But It still failed10:57
*** ddeja has joined #openstack-mistral11:04
nmakhotkinsaphi: could you please give field input for this action?11:04
*** bobh has joined #openstack-mistral11:04
nmakhotkinyou can see it using 'mistral action-list | grep nova.servers_live_migrate'11:05
saphihere you are: http://i.imgur.com/mJoMUng.png11:05
saphiI can't understand what "obj" mean11:06
rakhmerovnmakhotkin: woow :) It's still pretty small though11:07
rakhmerovbut at least something11:07
*** bobh has quit IRC11:09
nmakhotkinsaphi: look at the description11:10
nmakhotkinhere are 3 params11:10
nmakhotkinbut if it should be 5...11:10
nmakhotkinweird :(11:10
nmakhotkin4th param is self11:11
nmakhotkinbut what is 5th?11:11
saphiI writen: action: nova.servers_live_migrate server=<% $.instance_id %> host=<% $.to_host %> block_migration=False. But I still failed11:11
nmakhotkinsaphi, yes, there should be one more argument11:12
nmakhotkinrakhmerov: I think we need to update mapping.json for nova actions :)11:13
rakhmerovnmakhotkin: can you do this?11:13
rakhmerov:)11:13
nmakhotkinI can try but I am not sure11:14
nmakhotkinI try to post a patch today11:14
saphihow to update mapping.json? I want to try?11:15
nmakhotkinsaphi: 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
saphiI found so.11:18
hparekhHi mapping.json file is outdaed for neutron, nova11:19
*** saphi has quit IRC11:22
*** mgershen has quit IRC11:26
*** mgershen has joined #openstack-mistral11:36
*** ddeja has quit IRC11:39
rakhmerovhparekh: can you please update this file?11:42
rakhmerovI can't do this now.. Busy with something else11:43
*** ddeja has joined #openstack-mistral12:01
*** bobh has joined #openstack-mistral12:05
*** bobh has quit IRC12:10
rakhmerovhparekh: are you going to today's meeting?12:26
*** rbrady has quit IRC12:27
*** rbrady has joined #openstack-mistral12:28
rakhmerovddeja: hi, here?12:45
rakhmerovmgershen, hparekh, ddeja, d0ugal, rbrady: guys, I'm not going to be able to make it to the meeting today12:47
rakhmerovshould we cancel it or someone can drive?12:47
rakhmerovkong: ^ too12:47
rakhmerovjpeeler: ^ too12:48
*** toddjohn has joined #openstack-mistral12:48
rakhmerovOk, I'm sending out an announcement12:51
rakhmerovno meeting today12:51
rakhmerovd0ugal, rbrady, jpeeler: guys, please review the spec for actions API12:52
d0ugalrakhmerov: Will do.12:54
ddejarakhmerov: I'm here13:02
mgershenrakhmerov: got the mail before seeing it here ^^  (it's fine by me)13:05
*** bobh has joined #openstack-mistral13:06
*** bobh has quit IRC13:10
*** saphi has joined #openstack-mistral13:15
saphihow about actions with neutron? :D13:37
*** ddeja has quit IRC13:51
*** bobh has joined #openstack-mistral14:00
*** saphi has quit IRC14:03
*** Ravikiran_K has quit IRC14:35
*** jistr is now known as jistr|mtg15:01
*** krotscheck is now known as krotscheck_dcm15:05
*** jistr|mtg is now known as jistr15:16
*** dmk0202 has quit IRC15:30
*** ddeja has joined #openstack-mistral15:38
*** tonytan4ever has joined #openstack-mistral15:44
*** mgershen has quit IRC16:15
*** jpich has quit IRC16:36
*** Ravikiran_K has joined #openstack-mistral16:44
*** gyee has joined #openstack-mistral16:51
*** saphi has joined #openstack-mistral16:56
*** mgershen has joined #openstack-mistral17:11
*** harlowja has quit IRC17:25
*** harlowja has joined #openstack-mistral17:33
*** tonytan4ever has quit IRC17:52
*** tonytan4ever has joined #openstack-mistral18:00
*** shardy is now known as shardy_afk18:17
*** mgershen has quit IRC18:25
*** tonytan4ever has quit IRC18:28
*** tonytan4ever has joined #openstack-mistral18:38
*** saphi has quit IRC18:41
*** ddeja has quit IRC19:06
*** harlowja has quit IRC19:36
*** harlowja has joined #openstack-mistral19:52
*** catintheroof has joined #openstack-mistral20:55
*** toddjohn has quit IRC21:21
*** toddjohn has joined #openstack-mistral21:22
*** toddjohn has quit IRC21:26
*** catintheroof has quit IRC21:55
*** toddjohn has joined #openstack-mistral22:04
*** bobh has quit IRC22:08
*** toddjohn has quit IRC22:09
*** toddjohn has joined #openstack-mistral22:10
*** toddjohn has quit IRC22:14
*** tonytan4ever has quit IRC23:02
*** toddjohn has joined #openstack-mistral23:11
*** toddjohn has quit IRC23:11
*** toddjohn has joined #openstack-mistral23:12
*** toddjohn has quit IRC23:12
*** toddjohn has joined #openstack-mistral23:12
*** toddjohn has quit IRC23:12
*** toddjohn has joined #openstack-mistral23:13
*** toddjohn has quit IRC23:17

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