*** bobh has joined #openstack-mistral | 00:19 | |
*** kbaegis1 has joined #openstack-mistral | 00:23 | |
*** chlong has joined #openstack-mistral | 00:25 | |
*** kbaegis has quit IRC | 00:27 | |
*** bobh has quit IRC | 00:43 | |
*** toure has quit IRC | 01:03 | |
*** rook has quit IRC | 01:04 | |
*** thrash|g0ne has quit IRC | 01:04 | |
*** weshay has quit IRC | 01:04 | |
*** dmellado has quit IRC | 01:04 | |
*** rook has joined #openstack-mistral | 01:08 | |
*** rook is now known as Guest36210 | 01:08 | |
*** thrash has joined #openstack-mistral | 01:09 | |
*** thrash has quit IRC | 01:09 | |
*** thrash has joined #openstack-mistral | 01:09 | |
*** weshay has joined #openstack-mistral | 01:10 | |
*** rbrady has quit IRC | 01:14 | |
*** Guest14743 has quit IRC | 01:14 | |
*** toure has joined #openstack-mistral | 01:16 | |
*** jkilpatr has quit IRC | 01:17 | |
*** dmellado has joined #openstack-mistral | 01:22 | |
*** Guest14743 has joined #openstack-mistral | 01:28 | |
*** rbrady has joined #openstack-mistral | 01:30 | |
kong | apetrich_: done, looks good to me | 01:44 |
---|---|---|
*** Kevin_Zheng has joined #openstack-mistral | 03:15 | |
*** rbrady has quit IRC | 03:35 | |
*** Guest14743 has quit IRC | 03:35 | |
*** jamielennox is now known as jamielennox|away | 03:46 | |
*** Guest14743 has joined #openstack-mistral | 03:47 | |
*** rbrady has joined #openstack-mistral | 03:49 | |
*** rbrady has quit IRC | 03:49 | |
*** rbrady has joined #openstack-mistral | 03:49 | |
*** jamielennox|away is now known as jamielennox | 03:53 | |
rakhmerov | kong: here? | 04:53 |
rakhmerov | can you pls make another Mistral release? | 04:54 |
rakhmerov | I backported an important bugfix yesterday | 04:54 |
apetrich_ | kong, thanks! | 05:10 |
*** jaosorior_away has quit IRC | 05:44 | |
*** abhishekk has joined #openstack-mistral | 05:57 | |
abhishekk | hi all is it possible to mention conditioning based on config options in yaml file? | 05:58 |
abhishekk | for example, I have a config option to get instances based on metadata, if that option is false I need to fetch all instances else only selected instances | 05:59 |
*** shardy has quit IRC | 07:16 | |
*** shardy has joined #openstack-mistral | 07:17 | |
*** tuan_ has joined #openstack-mistral | 07:18 | |
tuan_ | Morning guys | 07:21 |
tuan_ | quick questtion: Do we have an option in execution list for just "RUNNING" executions | 07:22 |
tuan_ | i just have got a look to the mistralclient and no clue for that | 07:23 |
tuan_ | may be i am out of date, please update me | 07:23 |
*** jpich has joined #openstack-mistral | 07:32 | |
d0ugal | tuan_: mistral execution-list --filter state=RUNNING | 07:46 |
tuan_ | d0ugal: thanks dougal | 08:12 |
*** Kevin_Zheng has quit IRC | 08:15 | |
*** jaosorior has joined #openstack-mistral | 08:29 | |
abhishekk | hi all is it possible to mention conditioning based on config options in yaml file? | 08:39 |
abhishekk | for example, I have a config option to get instances based on metadata, if that option is false I need to fetch all instances else only selected instances | 08:39 |
openstackgerrit | Adriano Petrich proposed openstack/mistral master: Bump up mistral-lib version https://review.openstack.org/466228 | 08:44 |
kong | rakhmerov: ok, sure, will do that now | 09:33 |
kong | apetrich_: | 09:34 |
kong | apetrich_: after release mistral-lib, you should bump version in requirement and upper constraint first | 09:34 |
kong | not sure you have done that | 09:35 |
apetrich_ | kong, https://review.openstack.org/#/c/466223/ :) | 09:35 |
kong | ooh, i see your patches | 09:35 |
kong | you should add dependency on that one | 09:36 |
kong | instead of the release request | 09:36 |
apetrich_ | kong, besides the Depends-on? | 09:36 |
kong | you should depend on https://review.openstack.org/#/c/466223/ in https://review.openstack.org/#/c/466228/ | 09:37 |
*** sharat has joined #openstack-mistral | 09:37 | |
apetrich_ | kong, oh. sure. | 09:37 |
apetrich_ | kong, thanks. fixing that | 09:38 |
kong | apetrich_: np | 09:38 |
openstackgerrit | Adriano Petrich proposed openstack/mistral master: Bump up mistral-lib version https://review.openstack.org/466228 | 09:38 |
kong | abhishekk: how do you get instances based on metadata in the workflow? do you have an example? | 09:39 |
abhishekk | kong: no, I dont have example but I have one link where filters are used to get list of vms | 09:39 |
kong | apetrich_: thanks | 09:39 |
abhishekk | kong: https://github.com/gryf/mistral-evacuate/blob/master/host-evacuate.yaml | 09:40 |
apetrich_ | kong, no worries | 09:40 |
kong | I think you can add your filter as workflow input with a default value (e.g. None), if it's not provided, then just get all instances | 09:41 |
abhishekk | kong: still I have strange requirement, in case of none again i need to filter the list :( | 09:42 |
kong | abhishekk: or, you could have 2 actions with different inputs, and call these actions based on your input. | 09:42 |
abhishekk | kong: IMO conditioning is not possible in workflow right? | 09:42 |
abhishekk | kong: do I need to define new actions? | 09:43 |
abhishekk | * not worflow but yalml | 09:43 |
kong | i'm not sure what do you mean by 'conditioning' | 09:43 |
kong | what I said is actually 'conditioning' | 09:43 |
kong | just like if...else... | 09:43 |
abhishekk | yes, if and else | 09:44 |
abhishekk | kong: got you, based on config option I need to execute the workflows right, I should pass config option as a input to the workflow | 09:45 |
kong | abhishekk: yes | 09:45 |
abhishekk | kong: ok, thank you for your time, if I have any doubts I will ping you | 09:46 |
kong | abhishekk: np | 09:46 |
*** openstack has joined #openstack-mistral | 09:58 | |
tuan_ | kong: Hi Kong, sorry if i did wrong since when i checked the annotation in context.py, i saw the last notification is under your name | 10:26 |
tuan_ | btw, if it is not True, my big sorry for that | 10:26 |
abhishekk | kong: hi, is it possible that I can write new action outside mistral and execute the same? | 10:34 |
*** shardy has quit IRC | 10:36 | |
*** shardy has joined #openstack-mistral | 10:38 | |
kong | abhishekk: it's totally possible | 10:41 |
abhishekk | kong: but I need to define those actions in setup.cfg of mistral right? | 10:42 |
kong | abhishekk: currently, correct | 10:42 |
abhishekk | kong: is there any other way, because I don't want to touch mistral (even in local) | 10:43 |
kong | if you write a customized action, and want to register it in mistral. You have to touch it :( | 10:44 |
abhishekk | kong: thanks for confirming | 10:46 |
kong | tuan_: that's all right. just make sure i didn't intend to break your patch. | 10:48 |
*** jkilpatr has joined #openstack-mistral | 11:00 | |
tuan_ | kong: nope, i did not intend to say that. Btw, thanks for reviewing my patch, i am going to upload the new one | 11:10 |
*** tuan_ has quit IRC | 11:11 | |
*** shardy has quit IRC | 11:12 | |
*** shardy has joined #openstack-mistral | 11:19 | |
*** sharat has quit IRC | 11:25 | |
*** dprince has joined #openstack-mistral | 12:10 | |
*** jistr is now known as jistr|mtg | 12:16 | |
*** jrist has joined #openstack-mistral | 12:23 | |
*** shardy has quit IRC | 12:27 | |
*** shardy has joined #openstack-mistral | 12:27 | |
*** tung_doan has joined #openstack-mistral | 12:35 | |
d0ugal | apetrich_: you shouldn't really need to do this: https://review.openstack.org/466228 | 12:39 |
d0ugal | apetrich_: the bot will come along and do it anyway | 12:39 |
*** rbrady has quit IRC | 12:39 | |
*** Guest14743 has quit IRC | 12:39 | |
*** rbrady has joined #openstack-mistral | 12:39 | |
*** rbrady has joined #openstack-mistral | 12:39 | |
apetrich_ | d0ugal, we have a bot! | 12:40 |
d0ugal | apetrich_: https://review.openstack.org/#/q/owner:%22OpenStack+Proposal+Bot%22+status:open | 12:40 |
apetrich_ | d0ugal, sorry I don't know how this whole requirementes make sense | 12:40 |
d0ugal | np | 12:40 |
apetrich_ | s/makes sense/works | 12:40 |
d0ugal | there isn't any harm in doing it manualy, but just not really needed :) | 12:41 |
apetrich_ | d0ugal, but now having a central requirements repo makes a lot more sense than just bureocracy and pbr magick | 12:41 |
d0ugal | haha, yeah | 12:42 |
d0ugal | I thought global-requirements was crazy and gross when I first started working on OpenStack | 12:42 |
d0ugal | now I don't know how I'd solve the problem any other way... | 12:42 |
*** catintheroof has joined #openstack-mistral | 12:45 | |
apetrich_ | makes a lot of sense for this scale of product | 12:48 |
*** fultonj has quit IRC | 12:57 | |
*** jistr|mtg is now known as jistr | 12:59 | |
*** shardy has quit IRC | 13:12 | |
*** shardy has joined #openstack-mistral | 13:13 | |
*** mbrennan has joined #openstack-mistral | 13:25 | |
*** mbrennan has quit IRC | 13:30 | |
*** mbrennan has joined #openstack-mistral | 13:32 | |
*** mbrennan has quit IRC | 13:38 | |
*** tung_doan has quit IRC | 13:41 | |
*** bobh has joined #openstack-mistral | 13:53 | |
d0ugal | thrash: so, I don't have any fully formed ideas about action loading - but I have spent some time thinking about it | 13:59 |
thrash | d0ugal: I was that as a last ditch effort when loading the action from the db, is to try and JIT create the action in the db | 14:00 |
thrash | but, the extensionmanager doesn't seem to get updated dynamically enough. | 14:00 |
thrash | once it's loaded, that's it. | 14:01 |
d0ugal | thrash: right, I think there will also be other issues related to how Python works - i.e. you install a new version of actions, Python wont re-import that file | 14:01 |
thrash | d0ugal: right.. | 14:03 |
d0ugal | thrash: so I started to think that the only way we can solve this is by moving the action execution into their own processes. i.e. imagine a small action runner that takes the import path and the input and runs it | 14:03 |
d0ugal | but I'm not sure about perf hit | 14:03 |
*** Guest36210 is now known as rook | 14:03 | |
thrash | d0ugal: rbrady had an idea about that... Run them in a container... | 14:03 |
thrash | :D | 14:03 |
d0ugal | the other nice advantage of this idea is that you could easily run non-python actions, or in docker | 14:03 |
d0ugal | thrash: yeah, that could be interesting but I'm not sure we want it as a default :) | 14:03 |
thrash | d0ugal: docker all the things! | 14:04 |
thrash | ok... time to take dog to vet. :D | 14:04 |
*** thrash is now known as thrash|biab | 14:04 | |
*** shardy has quit IRC | 14:08 | |
*** shardy has joined #openstack-mistral | 14:08 | |
*** brunograz has quit IRC | 14:12 | |
openstackgerrit | Nikolay Mahotkin proposed openstack/mistral master: Get rid of ambiguity in region_name https://review.openstack.org/466297 | 14:22 |
openstackgerrit | Merged openstack/python-mistralclient master: doc: Remove cruft from conf.py https://review.openstack.org/457942 | 14:39 |
*** thrash|biab is now known as thrash | 15:01 | |
*** jaosorior has quit IRC | 15:13 | |
*** apetrich_ has quit IRC | 15:19 | |
*** apetrich_ has joined #openstack-mistral | 15:20 | |
*** thrash is now known as thrash|biab | 15:49 | |
openstackgerrit | Merged openstack/mistral master: Update AdHoc Actions to support context data references https://review.openstack.org/464677 | 16:03 |
*** jpich has quit IRC | 16:18 | |
*** thrash|biab is now known as thrash | 16:45 | |
*** fultonj has joined #openstack-mistral | 16:57 | |
*** jkilpatr has quit IRC | 16:58 | |
*** jkilpatr has joined #openstack-mistral | 17:11 | |
*** rbrady is now known as rbrady-afk | 17:24 | |
*** prometheanfire has joined #openstack-mistral | 17:33 | |
prometheanfire | master has pbr capped (at least for 4.0.1) can we get a release without the cap? | 17:33 |
prometheanfire | http://logs.openstack.org/87/465887/3/check/gate-requirements-tox-py27-check-uc-ubuntu-xenial/56f5c24/console.html#_2017-05-19_16_08_33_568412 | 17:33 |
*** jkilpatr_ has joined #openstack-mistral | 17:36 | |
*** jkilpatr has quit IRC | 17:38 | |
*** dprince has quit IRC | 17:39 | |
*** harlowja has joined #openstack-mistral | 18:13 | |
*** dprince has joined #openstack-mistral | 19:01 | |
*** breton has quit IRC | 19:30 | |
*** breton has joined #openstack-mistral | 19:37 | |
*** shardy has quit IRC | 19:46 | |
*** apetrich_ has quit IRC | 20:05 | |
*** apetrich_ has joined #openstack-mistral | 20:05 | |
*** jrist has quit IRC | 20:11 | |
*** jkilpatr_ has quit IRC | 20:24 | |
*** jkilpatr has joined #openstack-mistral | 20:45 | |
*** dprince has quit IRC | 21:04 | |
*** catintheroof has quit IRC | 22:02 | |
*** harlowja has quit IRC | 22:12 | |
*** bobh has quit IRC | 22:28 | |
*** harlowja has joined #openstack-mistral | 22:57 | |
*** jamielennox is now known as jamielennox|away | 23:00 | |
*** kbaegis1 has quit IRC | 23:32 | |
*** kbaegis has joined #openstack-mistral | 23:32 | |
*** harlowja has quit IRC | 23:34 | |
*** jamielennox|away is now known as jamielennox | 23:40 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!