*** bobh has quit IRC | 00:52 | |
*** bobh has joined #openstack-mistral | 01:37 | |
*** weshay is now known as weshay_pto | 02:01 | |
*** bobh_ has joined #openstack-mistral | 02:18 | |
*** bobh has quit IRC | 02:19 | |
*** bobh_ has quit IRC | 03:10 | |
*** bobh has joined #openstack-mistral | 03:21 | |
*** bobh has quit IRC | 03:35 | |
*** gkadam has joined #openstack-mistral | 03:59 | |
openstackgerrit | Merged openstack/mistral master: Updated from global requirements https://review.openstack.org/483057 | 04:08 |
---|---|---|
*** sharatss has joined #openstack-mistral | 04:56 | |
sharatss | apetrich, hi | 05:00 |
sharatss | i submitted patch on https://review.openstack.org/#/c/480368/ it passes gate now | 05:00 |
*** jtomasek_ has joined #openstack-mistral | 05:07 | |
*** jtomasek has quit IRC | 05:23 | |
*** jtomasek_ has quit IRC | 05:31 | |
apetrich | sharatss, morning | 05:43 |
apetrich | looking | 05:43 |
sharatss | apetrich, ok :) | 05:44 |
apetrich | sharatss, ok need more coffee I was looking at version 5 not 6 :) | 05:44 |
sharatss | apetrich, hahaha... pls have some | 05:46 |
sharatss | apetrich, if u find any time i need some guidance with this https://review.openstack.org/#/c/458515/ | 05:59 |
*** d0ugal has quit IRC | 06:33 | |
*** FL1SK has quit IRC | 06:53 | |
*** d0ugal has joined #openstack-mistral | 07:10 | |
*** d0ugal has quit IRC | 07:18 | |
openstackgerrit | junbo.li proposed openstack/mistral master: Tests: Use recommended assertion https://review.openstack.org/483237 | 07:24 |
*** jpich has joined #openstack-mistral | 07:38 | |
*** mgershen has joined #openstack-mistral | 07:43 | |
*** shardy has joined #openstack-mistral | 07:52 | |
openstackgerrit | Gergely Csatari proposed openstack/mistral master: Adding warning-is-error to doc building https://review.openstack.org/483254 | 08:13 |
openstackgerrit | junbo.li proposed openstack/mistral master: Update reference link to Ocata https://review.openstack.org/483255 | 08:13 |
openstackgerrit | junbo.li proposed openstack/mistral master: Update reference link to Ocata https://review.openstack.org/483255 | 08:14 |
*** jtomasek_ has joined #openstack-mistral | 08:34 | |
*** mgershen has quit IRC | 08:38 | |
*** d0ugal has joined #openstack-mistral | 08:42 | |
*** dtantsur|afk is now known as dtantsur | 08:52 | |
*** FL1SK has joined #openstack-mistral | 08:53 | |
*** d0ugal has quit IRC | 09:15 | |
*** sharatss has quit IRC | 09:44 | |
*** jpich has quit IRC | 10:35 | |
*** jpich has joined #openstack-mistral | 10:38 | |
*** jkilpatr has quit IRC | 11:01 | |
*** khandhedia has joined #openstack-mistral | 11:09 | |
khandhedia | Is there any way to perform run-action through ReST API. I don't see such details here https://docs.openstack.org/mistral/latest/api/v2.html#actions Is it that I must create a workflow to test the action through ReST? | 11:09 |
thrash | khandhedia: you need to create an action execution. | 11:26 |
thrash | https://docs.openstack.org/mistral/latest/api/v2.html#action-executions | 11:27 |
*** dprince has joined #openstack-mistral | 11:27 | |
khandhedia | thrash: Thanks. I see these are get APIs. As in, I can get all executions (../executions) or get a specific execution (../execution/<execution-id>). But, I am not able to create an execution for an existing action. | 11:35 |
thrash | khandhedia: interesting... the docs look incomplete. | 11:36 |
*** dprince_ has joined #openstack-mistral | 11:37 | |
*** dprince_ has quit IRC | 11:37 | |
thrash | khandhedia: I will look into that... In the meantime, a POST to /executions or /action-executions should do the trick. | 11:38 |
thrash | POST to /executions will create a workflow execution, and /action-execution runs an action | 11:39 |
thrash | but yeah... that's a problem with the docs | 11:39 |
*** jkilpatr has joined #openstack-mistral | 11:39 | |
rbrady | thrash: if you can, file a quick doc bug with a link to the part that's incomplete | 11:40 |
khandhedia | thrash: let me try with that. I will try to check out some sample for json request body. | 11:40 |
thrash | rbrady: already in process | 11:40 |
rbrady | thrash: woot! | 11:40 |
thrash | rbrady: https://bugs.launchpad.net/mistral/+bug/1704113 | 11:42 |
openstack | Launchpad bug 1704113 in Mistral "The API docs appear incomplete" [Undecided,New] | 11:42 |
rbrady | thrash: thanks! | 11:42 |
*** d0ugal has joined #openstack-mistral | 11:42 | |
*** d0ugal has quit IRC | 11:47 | |
khandhedia | https://bugs.launchpad.net/mistral/+bug/1704113/comments/1 | 11:51 |
openstack | Launchpad bug 1704113 in Mistral "The API docs appear incomplete" [Undecided,New] | 11:51 |
thrash | khandhedia: rbrady simple fix coming up! | 12:04 |
thrash | :D | 12:04 |
khandhedia | thrash: Thank you! BTW, do we have sample request for /executions? May be some paste? | 12:05 |
thrash | http://paste.openstack.org/show/615251/ | 12:06 |
openstackgerrit | Brad P. Crochet proposed openstack/mistral master: Make the API docs fully generate https://review.openstack.org/483320 | 12:10 |
*** mgershen has joined #openstack-mistral | 12:13 | |
thrash | rbrady: ^^^ | 12:26 |
*** khandhedia has quit IRC | 12:39 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/mistral master: Updated from global requirements https://review.openstack.org/483333 | 12:40 |
*** d0ugal has joined #openstack-mistral | 12:56 | |
*** catintheroof has joined #openstack-mistral | 12:56 | |
*** d0ugal has quit IRC | 13:07 | |
*** gkadam has quit IRC | 13:08 | |
*** deep-book-gk_ has joined #openstack-mistral | 13:09 | |
*** deep-book-gk_ has left #openstack-mistral | 13:10 | |
*** d0ugal has joined #openstack-mistral | 13:18 | |
*** d0ugal has quit IRC | 13:18 | |
*** d0ugal has joined #openstack-mistral | 13:18 | |
*** d0ugal has quit IRC | 13:20 | |
*** d0ugal has joined #openstack-mistral | 13:20 | |
*** bobh has joined #openstack-mistral | 13:28 | |
*** d0ugal has quit IRC | 13:29 | |
*** jkilpatr has quit IRC | 13:42 | |
openstackgerrit | Ryan Brady proposed openstack/mistral-extra master: [WIP] Port keystone utils to mistral-extra https://review.openstack.org/483397 | 13:45 |
*** jkilpatr has joined #openstack-mistral | 13:47 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/mistral master: Updated from global requirements https://review.openstack.org/483333 | 14:16 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-mistralclient master: Updated from global requirements https://review.openstack.org/483420 | 14:24 |
*** jtomasek_ is now known as jtomasek | 14:53 | |
*** bobh has quit IRC | 15:01 | |
*** toure is now known as toure|afk | 15:18 | |
*** jkilpatr has quit IRC | 15:23 | |
*** bobh has joined #openstack-mistral | 15:44 | |
*** dtantsur is now known as dtantsur|afk | 16:02 | |
apetrich | thrash, O | 16:05 |
apetrich | thrash, I've -1ed it because https://review.openstack.org/#/c/483254/ is doing the same. Do you feel that we should do that in two different patches I'll remove the -1 | 16:06 |
thrash | apetrich: wfm. I'll abandon mine. | 16:09 |
thrash | mgershen: can you +2 ^^^ instead? | 16:09 |
*** jpich has quit IRC | 16:09 | |
*** jtomasek has quit IRC | 16:10 | |
mgershen | sure :) | 16:14 |
mgershen | thrash: done | 16:16 |
thrash | mgershen: thanks! | 16:16 |
*** jamielennox has quit IRC | 16:19 | |
*** dprince has quit IRC | 16:21 | |
*** chlong has joined #openstack-mistral | 16:30 | |
*** chlong has quit IRC | 16:32 | |
*** chlong has joined #openstack-mistral | 16:33 | |
*** dprince has joined #openstack-mistral | 16:49 | |
*** shardy has quit IRC | 16:58 | |
*** jkilpatr has joined #openstack-mistral | 17:18 | |
*** jkilpatr has quit IRC | 17:26 | |
*** harlowja has quit IRC | 17:27 | |
*** FL1SK has quit IRC | 18:04 | |
*** mgershen has quit IRC | 18:05 | |
*** jkilpatr has joined #openstack-mistral | 18:16 | |
*** thrash is now known as thrash|brb | 18:17 | |
*** thrash|brb is now known as thrash | 18:31 | |
*** mnaser has joined #openstack-mistral | 18:33 | |
mnaser | i'm thinking of using mistral to do things like build images with dib on demand | 18:35 |
mnaser | is that a good idea.. or? | 18:35 |
*** jamielennox has joined #openstack-mistral | 18:37 | |
mnaser | also anywhere i can find some sample workflows? | 18:39 |
*** harlowja has joined #openstack-mistral | 18:54 | |
apetrich | mnaser, I think the ansible workflow and tripleo-quickstart | 18:59 |
mnaser | apetrich i found this too https://github.com/openstack/mistral-extra | 18:59 |
rbrady | mnaser: not a bad idea. you might need to build a custom action to wrap dib, but there should be existing swift/glance/glare actions for storage needs | 19:01 |
mnaser | rbrady im thinking that id have to spin up a vm and do the work inside it, but the one interesting thing is how i can get permissions for openstack inside the vm | 19:01 |
mnaser | ex: uploading to glance from the VM that build it | 19:01 |
rbrady | msaser: ssh | 19:02 |
mnaser | rbrady: yeah i figured i can use the std.ssh but how can i get access to the "trust" or token which i can then use to upload to glance | 19:14 |
mnaser | is that somehow shipped as an env variable.. am i missing something obvious? | 19:14 |
rbrady | mnaser: push it to the vm via metadata service? | 19:18 |
mnaser | rbrady that's a pretty good idea | 19:18 |
openstackgerrit | Brad P. Crochet proposed openstack/mistral master: Cleanup docs to include params https://review.openstack.org/483517 | 19:19 |
thrash | rbrady: ^^^ doc rabbit hole | 19:19 |
thrash | rbrady: hopefully not too crazy. :D | 19:20 |
thrash | hmmm... Could you create a custom action whose output is an image?? | 19:21 |
thrash | Would that be stupid? | 19:22 |
thrash | lol | 19:22 |
rbrady | thrash: aren't action results stored in the db? if so, I think you might run into an issue | 19:23 |
rbrady | thrash: I was thinking you could create an action that created the image and pushed to storage, but mnaser wanted to do it in a VM | 19:24 |
rbrady | thrash: hmm...what about starting a container to build the image and passing the token in as an arg? | 19:25 |
mnaser | rbrady the reason behind not doing it that way is that i dont want the mistral-executor process to possibly create a giant file and cause issues on the controller | 19:25 |
mnaser | so putting it in a VM will cause a good amount of isolation | 19:25 |
thrash | mnaser: yeah... that makes sense. | 19:25 |
thrash | mnaser: you'd really be better off doing most of it via std.ssh I think... | 19:26 |
thrash | like rbrady said. | 19:26 |
mnaser | yeah i think i'll maybe do something like install all the packages required first and then another one which builds the actual image | 19:26 |
mnaser | and then figure out a way to get access to the token (is there an action for that?) to pass via metadata | 19:26 |
thrash | this is some inception-level stuff. lol | 19:28 |
thrash | rbrady: TODO: mistral-extra README is crap | 19:29 |
rbrady | thrash: ack | 19:30 |
thrash | rbrady: still basically just mentions examples... | 19:30 |
thrash | mnaser: RE: token... not that I'm aware of.. | 19:30 |
thrash | mnaser: unless it can be done via keystone actions | 19:31 |
thrash | mnaser: which is you most likely vector | 19:31 |
thrash | *your | 19:31 |
thrash | rbrady: thoughts? ^^^ | 19:33 |
rbrady | you can get the token from the context within the action | 19:35 |
rbrady | the vm instance would need to retrieve via metadata service | 19:36 |
thrash | w00t! | 19:36 |
thrash | hehe | 19:36 |
rbrady | you just need to see if there is a client for the metadata service already in the openstack actions | 19:36 |
*** rbrady is now known as rbrady-biab | 19:36 | |
*** thrash is now known as thrash|brb | 19:55 | |
mnaser | https://docs.openstack.org/mistral/latest/admin/dsl_v2.html | 20:03 |
mnaser | word-for-word the create_vm is failing? | 20:03 |
mnaser | YaqlEvaluationException: Can not evaluate YAQL expression: $.vm_id , data = {}; error: u'vm_id' | 20:03 |
*** FL1SK has joined #openstack-mistral | 20:03 | |
*** thrash|brb is now known as thrash | 20:08 | |
mnaser | more specifically i am running to the exact issue here - https://bugs.launchpad.net/mistral/+bug/1599122 | 20:08 |
openstack | Launchpad bug 1599122 in Mistral "execution-create of standard workflow fails with yaql error" [High,Fix released] - Assigned to Shaik Apsar (sa709c) | 20:08 |
*** harlowja has quit IRC | 20:19 | |
*** harlowja has joined #openstack-mistral | 20:22 | |
*** rbrady-biab is now known as rbrady | 20:45 | |
*** dprince has quit IRC | 20:50 | |
*** chlong has quit IRC | 20:52 | |
openstackgerrit | Merged openstack/mistral master: Adding warning-is-error to doc building https://review.openstack.org/483254 | 21:30 |
*** rbrady is now known as rbrady-afk | 21:31 | |
*** bobh has quit IRC | 22:19 | |
*** catintheroof has quit IRC | 23:03 | |
*** vishwanathj has quit IRC | 23:53 | |
*** vishwanathj has joined #openstack-mistral | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!