Thursday, 2017-05-04

*** zhurong has joined #openstack-mistral00:31
*** therve has quit IRC00:59
*** jkilpatr has quit IRC01:02
*** therve has joined #openstack-mistral01:04
*** zhurong has quit IRC01:16
*** zhurong has joined #openstack-mistral01:26
*** zhurong has quit IRC02:34
*** zhurong has joined #openstack-mistral02:37
*** Kevin_Zheng has quit IRC03:11
*** portdirect has quit IRC03:11
*** Kevin_Zheng has joined #openstack-mistral03:23
*** gongysh has joined #openstack-mistral03:32
*** zhurong has quit IRC04:12
*** zhurong has joined #openstack-mistral04:37
rakhmerovd0ugal, mgershen: pls review https://review.openstack.org/#/c/457184/ and https://review.openstack.org/#/c/45800004:54
*** portdirect has joined #openstack-mistral05:13
gongyshkong, hi05:20
*** gkadam has quit IRC05:31
*** gkadam has joined #openstack-mistral05:34
*** sharat has joined #openstack-mistral05:38
*** gkadam has quit IRC06:00
*** gkadam has joined #openstack-mistral06:01
*** xavierhardy has quit IRC07:01
*** jamielennox is now known as jamielennox|away07:06
*** xavierhardy has joined #openstack-mistral07:07
*** shardy has joined #openstack-mistral07:08
*** jpich has joined #openstack-mistral07:35
bretonkong: hey. Nope, was asleep already07:55
d0ugalrakhmerov: done, can we have a release note for them?08:00
rakhmerovd0ugal: well, it's not a feature, it's essentially a bug fix for testing framework08:01
rakhmerovd0ugal: ooh08:01
rakhmerovsorry, I thought about a different thing08:01
d0ugal:)08:01
rakhmerovyes, sure, I'll write a release not, it's not 100% finished yet (working now)08:01
d0ugalsure08:01
d0ugalthanks!08:02
rakhmerov)08:02
bretonkong: mistral execution-create my_workflow '{"project_id": "1"}'08:02
bretonkong: credentials -- default from packstack, http://paste.openstack.org/show/608813/08:03
*** jaosorior_away is now known as jaosorior08:14
openstackgerritchenaidong1 proposed openstack/mistral master: Fix a typo  https://review.openstack.org/46244208:50
*** zhurong has quit IRC09:06
*** zhurong has joined #openstack-mistral09:15
kongbreton: 'OS_REGION_NAME' is missing09:19
konggongysh: hi09:19
gongyshkong, https://docs.openstack.org/developer/mistral/architecture.html09:20
gongyshthe archi shows there is a scheduler, but do we have a standalone scheduler process running?09:20
konggongysh: no, not standalone, the scheduler is running along with mistral-engine09:23
bretonkong: yeah, i wonder why packstack doesn't set it09:26
breton(and does devstack set it?)09:26
kongbreton: not familiar with packstack, but you could give it a try according to my suggestion09:27
bretonkong: nope, didn't help09:27
bretonstill the same error09:27
d0ugalIs it possible to do an if/else with YAQL?09:28
d0ugali.e. I want to do 'A if something else B'09:28
kongbreton: what version of python-mistralclient are you using?09:28
kongbreton: i know there was a bug in client, I fixed that recently09:29
bretonkong: __version__ says '3.0.0'09:30
kongbreton: let me check09:30
kongbreton: unfortunately, you should do a upgrade :(09:31
kongit was fixed in 3.1.009:31
kongbreton: https://docs.openstack.org/releasenotes/python-mistralclient/unreleased.html#id109:33
d0ugalhah, I can do an if statement with "A and something or B"09:36
d0ugalthat is nasty09:36
kongd0ugal: yaql needs a more detailed documentation :)09:37
d0ugalkong: or we should just all switch to jinja :)09:37
bretonkong: but... why does mistral even specify the region when it's None?09:38
bretoni'm gonna propose a patch09:38
bretonor maybe not.09:41
bretonso the problem in my case is that mistralclient fetches only unscoped token and tries to perform operations with it. Mistral tries to fetch catalog from keystone for this token. But unscoped token hasn't catalog, and that's why mistral fails to find an endpoint09:49
bretonwhy doesn't mistralclient fetch a project-scoped token?09:50
bretonis mistralclient even supported, or am i supposed to use openstackclient?09:50
breton[root@st91 mistral(keystone_admin)]# openstack workflow execution create my_workflow '{"project_id": "1"}'09:52
bretonpublicURL endpoint for workflowv2 service not found09:52
d0ugalbreton: both are supported09:52
breton:(09:52
*** zhurong has quit IRC10:07
openstackgerritMerged openstack/mistral master: Fix a typo  https://review.openstack.org/46244210:08
*** sharatss_ has joined #openstack-mistral10:15
*** sharat has quit IRC10:15
*** zhurong has joined #openstack-mistral10:24
*** gongysh has quit IRC10:30
*** warface has joined #openstack-mistral10:35
*** jkilpatr has joined #openstack-mistral10:53
*** shardy is now known as shardy_lunch11:43
*** catintheroof has joined #openstack-mistral11:47
*** catintheroof has quit IRC11:51
*** shardy_lunch is now known as shardy12:16
*** dprince has joined #openstack-mistral12:24
*** zhurong has quit IRC12:30
*** sharatss_ has quit IRC12:37
*** bobh has joined #openstack-mistral12:52
*** bobh has quit IRC12:58
*** brunograz has quit IRC13:01
*** brunograz has joined #openstack-mistral13:05
*** toure|gone is now known as toure13:13
*** chlong has joined #openstack-mistral13:32
*** zhurong has joined #openstack-mistral13:41
*** zhurong_ has joined #openstack-mistral13:50
*** zhurong has quit IRC13:51
d0ugalrakhmerov: Hey13:53
*** gkadam has quit IRC13:53
*** jamielennox|away is now known as jamielennox13:58
*** chlong has quit IRC14:01
*** zhurong_ has quit IRC14:12
openstackgerritBrad P. Crochet proposed openstack/mistral master: Support transition to proper keystone v3  https://review.openstack.org/46256014:13
bretonafter i created 2 more services (https://bugs.launchpad.net/mistral/+bug/1688219) workflow execution works!14:14
openstackLaunchpad bug 1688219 in python-mistralclient "Wrong service type is used in osc" [Undecided,New]14:14
*** chlong has joined #openstack-mistral14:14
breton(well, not really works, but i get another error now)14:14
flaper87d0ugal: have you and fultonj talked about how to give permissions to the mistral user to the ssh-key? Not sure how they are doing it14:17
* flaper87 gets the links14:17
flaper87d0ugal: this is about mistral-ansible-actions, of course14:18
d0ugalflaper87: no, not yet.14:18
d0ugalflaper87: The validations store a key in the Mistral environment14:19
d0ugalflaper87: mistral environments-get ssh_keys14:19
d0ugalflaper87: I honestly don't know what that key is for... but could that be the one you want?14:19
flaper87d0ugal: and can I access the overcloud with those keys?14:19
d0ugalor maybe a similar approach could work...14:19
flaper87lemme check14:19
*** catintheroof has joined #openstack-mistral14:20
flaper87d0ugal: ok, the key is authorized in the overcloud nodes. Now I need to understand how the heck I can access it from m-a-a14:23
flaper87I guess I have to pass it over14:23
flaper87d0ugal: thanks14:23
d0ugalflaper87: np14:23
*** catinthe_ has joined #openstack-mistral14:23
d0ugalflaper87: I'll be interested to find out how you do that :)14:24
*** catintheroof has quit IRC14:24
flaper87d0ugal: will let you know as soon as I do something14:25
*** mbrennan has joined #openstack-mistral14:30
*** gongysh has joined #openstack-mistral14:44
flaper87d0ugal: is it possible to pass results from previous actions as inputs for other actions?14:48
*** gongysh has quit IRC14:49
mbrennanflaper87: https://github.com/StackStorm/st2docs/blob/master/docs/source/mistral.rst#publishing-variables-in-mistral-workflows14:53
flaper87mbrennan: thanks :)14:54
*** mbrennan has quit IRC15:03
*** mbrennan has joined #openstack-mistral15:05
*** chlong has quit IRC15:36
*** jaosorior has quit IRC15:54
*** jpich has quit IRC16:17
*** jkilpatr has quit IRC16:48
*** shardy has quit IRC16:57
*** jkilpatr has joined #openstack-mistral17:04
flaper87mbrennan: d0ugal is the mistral environment accessible from any action?17:18
*** warface has quit IRC17:29
mbrennanflaper87: You can specify <% $.env.foo %> as an input parameter. I believe there's also a way to set default parameters for actions http://lists.openstack.org/pipermail/openstack-dev/2014-December/053506.html17:35
flaper87mbrennan: nnnniiiice, ok! This helps a lot17:36
flaper87thanks17:36
mbrennanI think that's in docs somewhere, but couldn't track it down17:36
mbrennannp17:36
d0ugalflaper87: that is a different mistral environment - watch out, the concept is a bit confusing.18:05
mbrennanwhoops18:06
d0ugalflaper87: if you grep tripleo-common you'll see we use it in quite a few places - from actions and from workflows18:06
d0ugalflaper87: anyway, just passing by - we can continue tomorrow.18:06
*** harlowja has quit IRC18:19
openstackgerritBrad P. Crochet proposed openstack/mistral master: Support transition to proper keystone v3  https://review.openstack.org/46256019:23
*** mbrennan has quit IRC19:29
*** mbrennan has joined #openstack-mistral19:45
*** harlowja has joined #openstack-mistral19:48
*** mbrennan has quit IRC19:49
*** mbrennan has joined #openstack-mistral20:20
openstackgerritBrad P. Crochet proposed openstack/mistral master: Support transition to proper keystone v3  https://review.openstack.org/46256020:35
*** dprince has quit IRC21:00
openstackgerritBrad P. Crochet proposed openstack/mistral master: Support transition to keystone auth plugin  https://review.openstack.org/46256021:42
*** mbrennan has quit IRC22:50
*** catinthe_ has quit IRC23:08
*** jkilpatr has quit IRC23:38
*** jkilpatr has joined #openstack-mistral23:39

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