*** thrash is now known as thrash|g0ne | 00:40 | |
*** zhurong has joined #openstack-mistral | 00:57 | |
*** dixiaoli has joined #openstack-mistral | 00:59 | |
*** tung_doan has quit IRC | 01:32 | |
*** dixiaoli has quit IRC | 02:15 | |
*** dixiaoli has joined #openstack-mistral | 02:19 | |
*** weshay is now known as weshay_PTO_AM | 02:37 | |
*** zhurong has quit IRC | 02:58 | |
*** gkadam has joined #openstack-mistral | 03:40 | |
*** jtomasek_ has joined #openstack-mistral | 05:01 | |
*** jtomasek has quit IRC | 05:02 | |
*** zhenguo has quit IRC | 05:02 | |
*** aspiers has quit IRC | 05:02 | |
*** doriftoshoes__ has quit IRC | 05:02 | |
*** zhenguo has joined #openstack-mistral | 05:02 | |
*** doriftoshoes__ has joined #openstack-mistral | 05:02 | |
*** rook has quit IRC | 05:06 | |
*** aspiers has joined #openstack-mistral | 05:10 | |
*** rook has joined #openstack-mistral | 05:12 | |
*** rook is now known as Guest91464 | 05:12 | |
*** nkoffman has joined #openstack-mistral | 05:29 | |
*** zhurong has joined #openstack-mistral | 05:31 | |
*** shardy has joined #openstack-mistral | 06:13 | |
*** vishwana_ has joined #openstack-mistral | 06:15 | |
*** vishwanathj has quit IRC | 06:18 | |
*** shardy has quit IRC | 06:58 | |
*** shardy has joined #openstack-mistral | 06:59 | |
*** nkoffman has quit IRC | 07:00 | |
*** jpich has joined #openstack-mistral | 07:04 | |
*** oidgar has joined #openstack-mistral | 07:20 | |
*** nkoffman has joined #openstack-mistral | 07:22 | |
*** dixiaoli_ has joined #openstack-mistral | 07:29 | |
*** oidgar has quit IRC | 07:30 | |
*** dixiaoli has quit IRC | 07:32 | |
*** livelace has joined #openstack-mistral | 07:59 | |
*** openstackgerrit has quit IRC | 08:03 | |
*** oidgar has joined #openstack-mistral | 08:51 | |
*** doriftoshoes__ has quit IRC | 08:51 | |
*** zhenguo has quit IRC | 08:52 | |
*** doriftoshoes__ has joined #openstack-mistral | 08:52 | |
*** zhenguo has joined #openstack-mistral | 08:52 | |
*** pratapagoutham has joined #openstack-mistral | 09:11 | |
*** nkoffman has quit IRC | 09:17 | |
*** nkoffman has joined #openstack-mistral | 09:23 | |
*** pratapagoutham has quit IRC | 09:34 | |
*** dixiaoli_ has quit IRC | 09:52 | |
*** pratapagoutham has joined #openstack-mistral | 10:03 | |
d0ugal | livelace: Hi | 10:12 |
---|---|---|
d0ugal | livelace: Did you get an answer to your question? | 10:12 |
pratapagoutham | Hi all i think 'OS_PROJECT_DOMAIN_NAME' -- should be replaced with DOMAIN_ID in this https://github.com/openstack/python-mistralclient/blob/master/mistralclient/shell.py#L315 | 10:24 |
d0ugal | http://codesearch.openstack.org/?q=OS_PROJECT_DOMAIN_&i=nope&files=%2C*client.*%5C.py&repos= | 10:26 |
d0ugal | It looks like we want to support both. | 10:26 |
*** Ritesh has joined #openstack-mistral | 10:26 | |
Ritesh | HI | 10:26 |
d0ugal | hi | 10:26 |
Ritesh | Does any one can share me how to provide input as file to mistral execution-create command | 10:26 |
Ritesh | thanks | 10:26 |
Ritesh | like this : | 10:28 |
pratapagoutham | yes so then mistral has to have suport for both but in the end it will be used here https://github.com/openstack/python-mistralclient/blob/master/mistralclient/auth/keystone.py#L98 | 10:28 |
d0ugal | Ritesh: You can provide it a file path I think | 10:28 |
d0ugal | Ritesh: mistral execution-create WORKFLOW_NAME path/to/input.json | 10:29 |
d0ugal | Ritesh: it must be a JSON file | 10:29 |
d0ugal | https://github.com/openstack/python-mistralclient/blob/master/mistralclient/commands/v2/executions.py#L199 | 10:29 |
pratapagoutham | so i think the variable which goes into that session plugin function has to be a one off domain_name or domain_id | 10:29 |
Ritesh | d0ugal : I am getting Error : app : No JSON object could be decoded | 10:30 |
d0ugal | Ritesh: that suggests the file is not valid JSON - is it? | 10:30 |
pratapagoutham | in pike my env has only ID so suggested ID in the place of name but may be name is used in newton cycle so older one | 10:31 |
pratapagoutham | newton cycle or older one's ...** | 10:31 |
Ritesh | thanks d0ugal, it seems to be working , I have validated the JSON | 10:31 |
d0ugal | pratapagoutham: My Pike env only has NAME :) | 10:31 |
d0ugal | Ritesh: great. | 10:32 |
* d0ugal will bbiab | 10:33 | |
pratapagoutham | dougal so then i think we have to both ID and name | 10:33 |
pratapagoutham | so that there will be support for both | 10:33 |
pratapagoutham | what say?? | 10:33 |
*** Guest91464 is now known as rook | 10:39 | |
livelace | d0ugal, Hello. Sorry, was at the meeting. No, I started to use the workaround which I posted yesterday. | 10:41 |
*** jkilpatr has quit IRC | 10:42 | |
*** zhurong has quit IRC | 10:49 | |
*** nkoffman has quit IRC | 10:50 | |
d0ugal | livelace: so I was using this example thrash|g0ne created: http://paste.openstack.org/show/618946/ | 10:53 |
d0ugal | and I done some testing and think I figured it out | 10:53 |
d0ugal | join expects all tasks that reference the joining task to join directly | 10:54 |
d0ugal | so, task1 references stop in on-error, but doesn't always join (it only joins if there is an error) | 10:54 |
d0ugal | if you change on-error to on-success on task1, then it will work fine | 10:54 |
d0ugal | or, you can change join to "join: 2" if you want it to work when only two of the three tasks join | 10:55 |
d0ugal | livelace: ^ hopefully that makes sense | 10:55 |
d0ugal | pratapagoutham: yes, I agree - that sounds like the best option. | 10:55 |
d0ugal | pratapagoutham: can you open a bug for this? | 10:56 |
* d0ugal is going for a run, will be back in ~1hr | 10:57 | |
livelace | d0ugal, I think - you are wrong (if I figured it right), because I did "on-complete" too and there was the same behavior. "on-complete" must be executed always and all "on-complete" tasks must be subscribed to "join all". | 10:59 |
*** nkoffman has joined #openstack-mistral | 11:00 | |
d0ugal | livelace: I tested it with on-complete and it worked for me :) | 11:00 |
d0ugal | we can continue in 1hr if you like | 11:00 |
livelace | Ok | 11:00 |
d0ugal | I can show you multiple examples. | 11:00 |
livelace | Great! | 11:00 |
*** shardy has quit IRC | 11:01 | |
pratapagoutham | Yes dougal i will fix it also | 11:03 |
*** sharatss has joined #openstack-mistral | 11:15 | |
*** jkilpatr has joined #openstack-mistral | 11:20 | |
*** sharatss has quit IRC | 11:21 | |
*** thrash|g0ne is now known as thrash | 11:50 | |
*** bobh has joined #openstack-mistral | 12:02 | |
*** bobh has quit IRC | 12:03 | |
*** dprince has joined #openstack-mistral | 12:04 | |
*** lkannan has quit IRC | 12:12 | |
d0ugal | pratapagoutham: thanks | 12:22 |
d0ugal | livelace: okay, I'm back - I'll get your an example shortly. | 12:22 |
d0ugal | Ritesh: What was your question? | 12:23 |
Ritesh | i tried different ways get to this equation correct, but could not happen | 12:25 |
Ritesh | with-items: project in <% $.projects %> | 12:25 |
Ritesh | action: nova.servers_list search_opts={ 'tenant_id':<% $.project %> } | 12:25 |
Ritesh | action: nova.servers_list search_opts={ 'tenant_id':<% $.project %> } | 12:25 |
Ritesh | publish: vm_ids: <% task(get_vms).result[0].id %> | 12:25 |
Ritesh | could you please help | 12:25 |
Ritesh | Bascially looking for vm's inside a tenant | 12:26 |
Ritesh | I will provide the input as list of tenants | 12:26 |
*** openstackgerrit has joined #openstack-mistral | 12:26 | |
openstackgerrit | Goutham Pratapa proposed openstack/python-mistralclient master: Support for Project_domain_id and user_domain_id. https://review.openstack.org/496687 | 12:26 |
d0ugal | Ritesh: ah, interesting - so you need to generate JSON for the search_opts? | 12:26 |
d0ugal | I think this might work... | 12:27 |
Ritesh | I need list of vm's inside a tenant | 12:27 |
livelace | d0ugal, Take a look https://paste.fedoraproject.org/paste/nps4HsNXiJQz0hiUF--Dmw | 12:27 |
livelace | first task failed and "stop" was executed with "on-error" condition | 12:28 |
d0ugal | search_opts=<% {"tenant_id" => $.project } %> | 12:28 |
d0ugal | Ritesh: ^ | 12:28 |
Ritesh | d0ugal let me try this one | 12:29 |
d0ugal | livelace: when I run that workflow it calls "aaa" not "bbb" - which is what I expect | 12:31 |
d0ugal | livelace: none of the tasks failed for me. | 12:31 |
livelace | d0ugal, https://paste.fedoraproject.org/paste/jwDmC1BfQhQye5FYgNwecw | 12:32 |
livelace | several minutes ago | 12:32 |
livelace | plain mistral | 12:32 |
d0ugal | livelace: which version of Mistral do you have? | 12:33 |
livelace | d0ugal, https://paste.fedoraproject.org/paste/hqV8Q1wEaQpyvbna0hZUfw | 12:34 |
livelace | centos ocata repo | 12:34 |
d0ugal | livelace: right, I am testing on Pike (git master), so maybe there is a bug here that was fixed but never backported | 12:35 |
d0ugal | I don't remember one, rakhmerov probably might, but he is on vacation until Monday | 12:35 |
d0ugal | pratapagoutham: thanks - I'll take a look at that patch shortly! | 12:35 |
Ritesh | d0ugal that line you pasted above did not work, i still get empty list of vm's | 12:36 |
livelace | d0ugal, Could you post your results of executions ? | 12:36 |
d0ugal | Ritesh: hmm, then I am not sure or maybe I don't understand the problem fully. | 12:36 |
d0ugal | livelace: http://paste.openstack.org/show/619172/ | 12:37 |
Ritesh | d0gual : http://www.paste.org/85707 | 12:37 |
Ritesh | can you check above link | 12:37 |
Ritesh | i pasted the workflow there | 12:37 |
livelace | d0ugal, Your execution doesn't have failed task1 | 12:39 |
d0ugal | livelace: yup, it didn't fail - that is what I said above. | 12:40 |
livelace | d0ugal, Could you run my configuration ? | 12:40 |
d0ugal | What is your configuration? | 12:40 |
livelace | d0ugal, Take a look https://paste.fedoraproject.org/paste/nps4HsNXiJQz0hiUF--Dmw | 12:40 |
pratapagoutham | dougal: ok have a good day | 12:41 |
d0ugal | livelace: that is the one you sent already and I tried | 12:41 |
d0ugal | livelace: why would task1 fail? | 12:41 |
livelace | d0ugal, wrong address action: std.http url='http://1ya.ru' | 12:41 |
d0ugal | livelace: if you want to test passing and failing use "std.fail" for failing tasks and "std.noop" for passing | 12:42 |
d0ugal | livelace: that address works for me? | 12:42 |
livelace | It doesn't matter what std.* to use. | 12:42 |
livelace | it shouldn't work | 12:42 |
d0ugal | Okay, then I guess I just don't understand why | 12:43 |
*** rbrady has joined #openstack-mistral | 12:43 | |
*** rbrady has joined #openstack-mistral | 12:43 | |
*** gkadam has quit IRC | 12:43 | |
d0ugal | task1 passes for me and I don't understand why it shouldn't | 12:43 |
d0ugal | You say it is the wrong address, but it seems to be a valid address. | 12:43 |
livelace | Sorry, thought about another things | 12:44 |
livelace | d0ugal, Could you run in on 4.0 version of Mistral ? | 12:44 |
d0ugal | livelace: not very easily, I don't have an environment with available | 12:45 |
*** shardy has joined #openstack-mistral | 12:55 | |
*** oidgar has quit IRC | 13:01 | |
*** bobh has joined #openstack-mistral | 13:05 | |
*** Ritesh has quit IRC | 13:09 | |
*** oidgar has joined #openstack-mistral | 13:18 | |
*** oidgar has quit IRC | 13:34 | |
*** nkoffman has quit IRC | 13:36 | |
d0ugal | Ritesh: tenant_id doesn't seem to be a valid request filter | 13:43 |
d0ugal | hrm, actually, it is, but it is deprecated. | 13:44 |
d0ugal | project_id seems to be the correct one | 13:44 |
d0ugal | oh, Ritesh left | 13:44 |
* d0ugal is too slow | 13:44 | |
pratapagoutham | yes project_id is the correct one | 13:45 |
d0ugal | Thanks :) | 13:45 |
*** oidgar has joined #openstack-mistral | 14:01 | |
*** lkannan has joined #openstack-mistral | 14:12 | |
openstackgerrit | Kupai József proposed openstack/mistral master: Removed NOT IN query from expiration policy. https://review.openstack.org/496721 | 14:14 |
*** bobh has quit IRC | 14:56 | |
*** livelace has quit IRC | 14:58 | |
*** catintheroof has joined #openstack-mistral | 15:25 | |
*** oidgar has quit IRC | 15:36 | |
*** dixiaoli has joined #openstack-mistral | 15:53 | |
*** bobh has joined #openstack-mistral | 15:56 | |
*** dixiaoli has quit IRC | 15:57 | |
*** bobh has quit IRC | 16:01 | |
*** jkilpatr has quit IRC | 16:08 | |
*** shardy has quit IRC | 16:16 | |
*** weshay_PTO_AM is now known as weshay | 16:25 | |
*** jpich has quit IRC | 16:48 | |
*** jkilpatr has joined #openstack-mistral | 16:53 | |
*** thrash is now known as thrash|biab | 17:07 | |
*** bobh has joined #openstack-mistral | 17:29 | |
*** livelace has joined #openstack-mistral | 17:51 | |
*** thrash|biab is now known as thrash | 17:56 | |
*** livelace has quit IRC | 17:58 | |
*** catintheroof has quit IRC | 18:07 | |
*** apetrich has quit IRC | 18:18 | |
*** apetrich has joined #openstack-mistral | 18:20 | |
*** dixiaoli has joined #openstack-mistral | 18:24 | |
*** dixiaoli has quit IRC | 18:28 | |
*** oidgar has joined #openstack-mistral | 18:29 | |
*** livelace has joined #openstack-mistral | 18:37 | |
*** livelace has quit IRC | 18:41 | |
*** jtomasek_ has quit IRC | 18:52 | |
*** shardy has joined #openstack-mistral | 18:57 | |
*** oidgar has quit IRC | 19:11 | |
*** shardy has quit IRC | 20:00 | |
*** jkilpatr has quit IRC | 20:22 | |
*** toure is now known as toure_biab | 20:26 | |
*** dprince has quit IRC | 20:26 | |
*** jkilpatr has joined #openstack-mistral | 21:29 | |
*** bobh has quit IRC | 22:21 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!