Sunday, 2015-09-06

*** yamamoto has joined #murano00:11
*** yamamoto has quit IRC00:14
*** lawrancejing has joined #murano00:35
*** lawrance_ has joined #murano00:35
*** lawrancejing has quit IRC00:35
*** xiangxinyong has joined #murano00:43
*** sergmelikyan has joined #murano00:58
*** sergmelikyan has quit IRC01:02
*** yamamoto has joined #murano01:15
*** zhurong has joined #murano01:18
*** yamamoto has quit IRC01:20
*** xiangxinyong has quit IRC01:21
*** lin_yang1 has joined #murano01:38
*** Piet has joined #murano02:17
*** lawrance_ has quit IRC02:53
*** xiangxinyong has joined #murano02:54
*** vahidh has joined #murano03:02
*** xiangxinyong has quit IRC03:28
*** vahidh has quit IRC03:48
*** vahidh has joined #murano04:10
*** zhurong has quit IRC04:18
*** sergmelikyan has joined #murano04:28
*** sergmelikyan has quit IRC04:33
*** vahidh has quit IRC04:50
*** zhurong has joined #murano04:53
*** Nikolay_St has joined #murano05:10
*** xiangxinyong has joined #murano05:52
*** nkoffman_ has joined #murano06:36
openstackgerritMerged openstack/murano: Use default devstack functions for create murano in devsstack environment  https://review.openstack.org/22076006:50
*** sergmelikyan has joined #murano06:59
*** sergmelikyan has quit IRC07:03
*** xiangxinyong_ has joined #murano07:11
*** mgershen has joined #murano07:27
openstackgerritLin Yang proposed openstack/murano: Convert api internal TypeError to HTTPBadRequest  https://review.openstack.org/22078607:36
openstackgerritLin Yang proposed openstack/murano: Convert api internal TypeError to HTTPBadRequest  https://review.openstack.org/22078607:40
*** xiangxinyong__ has joined #murano07:40
*** mgershen has quit IRC07:42
*** xiangxinyong has quit IRC07:43
*** mgershen has joined #murano08:22
*** zhurong has quit IRC09:06
*** lawrancejing has joined #murano09:17
openstackgerritLin Yang proposed openstack/murano: Improve error message in case no environment name  https://review.openstack.org/22080009:34
*** lawrancejing has quit IRC09:48
*** mgershen has quit IRC10:27
*** mgershen has joined #murano10:32
*** lawrancejing has joined #murano10:49
*** lawrancejing has quit IRC10:56
openstackgerritVictor Ryzhenkin proposed openstack/murano: ID references made model not able to load in 2 passes  https://review.openstack.org/22075711:09
*** gpaz has joined #murano11:11
gpazHi guys, I m trying to use YQAL expression on devStack, and AFAIK few weeks ago we went out with YAQL 1.0 so might change some expressions. I m trying to use this :  “<% $.list_stack_servers.where($.resource_type = 'OS::Nova::Server').physical_resource_id %>” list_stack_servers is list stack resources . Is antbody know if using “where” is ok with new YAQL ? or maybe syntax changed ?11:11
*** lawrancejing has joined #murano11:19
freerunnergpaz: Hi man! Unfortunately, I don't exactly know about how syntax changed. And looks like the correct persons for this question are StanLagun and ativelkov. But today these guys may be without access to this chat. I suggest you to try communicate with them tomorrow ;)12:40
StanLagungpaz: are you doing this in Mistral?12:49
StanLagungpaz: where is okay but it might be not what you are looking for. where just filters collection so in the end you will get a list (probably of 1 element). you might want to append .first() to the query12:53
*** sergmelikyan has joined #murano13:00
*** sergmelikyan has quit IRC13:04
gpazStanLagun, yes in Mistral wf13:14
gpazStanLagun, I will try to use 'first()' but AFAIK also for one element the response is list. using YAQLuator (http://yaqluator.com)  that runnig yaql 0.2.7 it is working fine but using Mistral Liberty it is not what makes me suspect that syntax changed13:16
gpazStanLagun, these yaqluator by the way created by Moshe from our team ...13:18
gpazStanLagun, thanks for your response :)13:18
StanLagungpaz: how do I run this expression in YAQLuator?13:19
StanLagungpaz: the syntax haven't changed for the most parts13:19
gpazuse this as YAML/JSON :13:20
gpaz{     "resources": [         {             "links": [                 {                     "href": "http://10.48.3.5:8004/v1/c2edb9de95964f8ca45766d12e22ec44/stacks/myStack4c2160e8Index0/2252cd08-3c5d-465d-9b50-a0535e70dec9/resources/server0",                     "rel": "self"                 },                 {                     "href": "http://10.48.3.5:8004/v1/c2edb9de95964f8ca45766d12e22ec44/stacks/myStack4c2160e8Index0/2252cd08-13:20
*** slagun has joined #murano13:20
slagunIf I run $.servers.where($.resource_type = 'OS::Nova::Server').physical_resource_id against heat_v1_stack_list it returns empty list (as expected)13:21
gpazand this expression : $.resources.where($.resource_type = 'OS::Nova::Server').physical_resource_id13:21
slagungpaz: btw there is a yaql console utility to interactively evaluate yaql expressions13:22
gpazStanLagun, for input use some stack resources list if you have13:23
gpazslagun, thanks, where I can find some refrence how to use that CLI ?13:23
gpazreference13:24
*** StanLagun has quit IRC13:24
slagunwhere() always give you a collection. collection.attribute will also give you collections because it is the same as collection.select($.attribute). first() is available in yaql >= 1.0.0 and returns you first element of collection or exception if it is empty. first(defaultValue) will return defaultValue instead of exception13:25
slagungpaz: just run it. It is similar to python console REPL utility13:25
slagunit will guide you13:26
*** ericksonsantos has quit IRC13:26
slagungpaz: btw are you going to update YAQLuator to 1.0.0?13:27
gpazslagun, I hope we will have time for that soon ...13:28
slagungpaz: I'm finishing my work on 1.1.0 already :)13:29
*** ericksonsantos has joined #murano13:30
gpazslagun, do you have something like this YAQLautor (this CLI you mentioned) ?13:32
slagungpaz: CLI (yaql command) is very much the same only that it is not in web and without set of example JSONs13:33
gpazslagun, I m feeling that you like that Web UI with examples ;)13:34
gpazslagun, we will see how and when we have the time and upgrade to 1.013:35
slagunyes, its really cool but there are several things that I'd like to see there. In a perfect world it could be like https://regex101.com/13:36
gpazslagun, Oh yes... absolutely !13:37
slagunBut I rarely need yaql evaluator. I can do it in my head and use 1.0 unit test as a reference. There are examples for every thing imaginable there13:37
gpazThanks, I will try to use tests ... (using it with mistral and more that with Heat - as I m using right now - makes it more coplicated than the test :)13:38
gpazthe test are in Murano project ?13:39
*** ericksonsantos has quit IRC13:39
gpaztests*13:39
slagunhttps://github.com/stackforge/yaql/tree/master/yaql/tests13:39
gpazslagun, Thanks appreciate it13:41
slagungpaz: you are welcomed!13:41
slagungpaz: where is your team located in Israel? what city?13:42
slagun*which*13:43
gpazslagun, Yes, but it's classified13:45
gpazJoking :) , Renat (Mistral) and Alex Tivelkov were here few weeks ago if you familure with them ...13:47
gpaz(they are also from Mirantis)13:47
*** yamamoto has joined #murano13:47
slagunI forgot to ask them13:47
gpazslagun, anyway in Kfar Saba (alcatel Lucent Office)13:48
slagunI've been living in Yeruham long ago for about 6 years. Never been in Kfar Saba though13:49
*** ericksonsantos has joined #murano13:50
gpazslagun, well its much different, Yruham is in the south much different from the center of Israel ..13:51
slagunYes I know, I've been in all regions of the country and Negev is still my favorite13:56
*** yamamoto has quit IRC14:13
*** mgershen has quit IRC14:45
*** xiangxinyong__ has quit IRC15:08
*** xiangxinyong_ has quit IRC15:08
*** yamamoto has joined #murano15:14
*** yamamoto has quit IRC15:19
*** mgershen has joined #murano16:13
*** mgershen has quit IRC16:13
*** Nikolay_St has quit IRC17:35
*** lawrancejing has quit IRC19:15
*** sergmelikyan has joined #murano19:22
*** sergmelikyan has quit IRC20:26
*** asalkeld has joined #murano21:25

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