Monday, 2017-05-15

*** openstack has joined #heat07:01
*** ricolin has joined #heat07:24
*** ioggstream has joined #heat07:28
therveramishra, My testtools fix got finally released :)07:32
*** masber has quit IRC07:45
*** rcernin has joined #heat07:47
ramishratherve: yeah, suddenly the subunit file size reduced to < 1/10th, so I guessed it:)07:49
therveWe never pay enough attention to the amount of crap we generate :/07:51
openstackgerritRabi Mishra proposed openstack/heat master: Use non-blacklisted resources for RG validation  https://review.openstack.org/46453307:51
ramishrayeah, till it does not break anything;)07:51
therveWell, no, it does break our infra storage07:52
*** yuanying_ has quit IRC07:53
*** yuanying has joined #heat07:53
ramishratherve: true, not many are concerned about infra resource usage, which is not good07:54
therveAll those non voting jobs that are red all the time... It drives me crazy :)07:55
*** zzzeek has quit IRC08:00
*** zzzeek has joined #heat08:00
ramishratherve: This did not work https://review.openstack.org/#/c/462216/8/heat_integrationtests/pre_test_hook.sh, it seems devstack-gate overwriting it08:04
ramishraI've put a patch for a project-config change, but not sure whether we should do that08:07
*** jaosorior has joined #heat08:09
openstackgerritMerged openstack/heat master: Explicitly compare IDs to None  https://review.openstack.org/46189808:09
therveramishra, Try DEVSTACK_PROJECT_FROM_GIT maybe?08:10
*** faizy_ has quit IRC08:16
*** faizy_ has joined #heat08:16
*** kazsh has joined #heat08:17
*** root has joined #heat08:19
*** root is now known as Guest5206608:20
*** root4 has quit IRC08:22
*** ccamacho has quit IRC08:33
*** kazsh has quit IRC08:34
*** Qiming_ is now known as Qiming08:45
*** gomarivera has joined #heat08:46
*** shardy has joined #heat08:49
*** gomarivera has quit IRC08:50
*** liusheng has joined #heat09:01
*** armaan_ has joined #heat09:03
*** armaan has quit IRC09:03
*** jistr_ is now known as jistr09:30
*** zsli_ has quit IRC09:38
*** kazsh has joined #heat09:56
*** szaher_ has quit IRC10:14
*** jprovazn has quit IRC10:20
*** shardy is now known as shardy_afk10:24
*** kazsh has quit IRC10:27
*** nicolasbock has joined #heat10:33
*** namnh has quit IRC10:34
*** armaan has joined #heat10:41
*** armaan_ has quit IRC10:42
*** basilAB has joined #heat10:45
*** gomarivera has joined #heat10:47
*** gongysh has quit IRC10:49
*** gomarivera has quit IRC10:52
*** jprovazn has joined #heat10:55
*** gongysh has joined #heat10:56
*** gongysh has quit IRC11:21
*** iogg has joined #heat11:38
*** ioggstream has quit IRC11:39
*** shardy_afk is now known as shardy11:47
*** dprince has joined #heat11:52
*** dprince has quit IRC11:56
*** shardy_ has joined #heat11:59
apuimedodoes anybody know how to solve the problem of post-delete hooks not being clearable (cli does not support it)12:04
apuimedoand if I try not specifying it says "ERROR: Signal resource during DELETE is not supported."12:05
therveapuimedo, Hum... It's possible it's buggy12:17
apuimedo:-)12:18
iogghi@all12:18
apuimedook, I'll change it to use pre-delete12:18
apuimedoon the previous resource in the dependency graph12:18
apuimedo:-)12:18
therveSorry12:19
*** zz_dimtruck is now known as dimtruck12:19
*** iogg is now known as ioggstream12:22
ioggstreamI'm replacing Fn::Select with get_attr but something's going wrong https://paste.fedoraproject.org/paste/RREPo8MKe3kDodh~-DaFMl5M1UNdIGYhyRLivL9gydE=12:23
ioggstreaminstead of taking the first element in list, it gets the first character of the first element12:23
ioggstreamthe list is generated by Os::Heat::AutoScalingGroup12:24
ioggstream(that's an "output_list" actually)12:25
apuimedono worries12:26
*** dprince has joined #heat12:30
therveioggstream, Yeah I think that's expected12:40
ioggstreamtherve: ?12:41
ioggstreamtherve: can you pls point to any refdoc? I wasn't able to find it12:41
ioggstreamtherve: I mean that behavior. In case I can integrate the details12:42
therveI mean, that's how it works.12:42
*** askb has quit IRC12:42
therveThere may be a bug about it somewhere, but I can't find it12:42
ioggstreamtherve: eg. {get_attr: [ [ "aaaa", "b", "c" ], 0 }  --> "a" ?12:43
ioggstreamtherve: on other objects it work as expected12:43
therveioggstream, Well in this case ["a", "b", "c"], right?12:44
therveI think it returns a list of the first elements12:44
ioggstreamtherve: return "the first char of the first element"12:44
ioggstreamnot the first element12:44
therveRight, you have [''-'", null]12:44
ioggstreamyep12:44
therveioggstream, That's not what I see in your paste12:44
therve['-', null] is a list of the first elements12:45
ioggstreamok, it returns the first elements of the arrays12:45
*** dimtruck is now known as zz_dimtruck12:45
ioggstreamnow I see12:45
ioggstreamtherve: so how can I get the first element "of the array"12:45
therveLet me think12:46
ioggstreamI tried {get_attr: [ {get_attr} , 0]}12:46
ioggstreambut won't work12:46
*** zz_dimtruck is now known as dimtruck12:48
*** jcoufal has joined #heat12:54
therveioggstream, So using resource.0.$resource.$attr can work if ca_cert is an attribute inside12:56
ioggstreamtherve: I think the issue is the nature of outputs_list. As this should be evaluated a runtime in some way12:56
*** jmlowe has joined #heat12:56
therveOtherwise, you need a bit of yaql to get the first element I'm afraid12:57
ioggstreamtherve: I'll try. I'm doing "learning heat the hard way" :D12:57
therve:/12:58
ioggstreamI'm learning a lot from those templates.12:58
ioggstreamI'd add something about replacing fn::select with get_attr, as the doc reports only a very simple case12:59
ioggstreamtherve: thx++ for now :D12:59
ioggstreamyou're always great!13:00
therveNo problem!13:00
*** liusheng has quit IRC13:13
*** jaosorior has quit IRC13:15
*** liusheng has joined #heat13:15
*** faizy has joined #heat13:22
*** jcoufal_ has joined #heat13:23
*** faizy_ has quit IRC13:25
*** jcoufal has quit IRC13:26
*** jdandrea_ has quit IRC13:31
*** jdandrea has joined #heat13:31
*** jcoufal_ has quit IRC13:37
*** jcoufal has joined #heat13:38
ioggstreamtherve: yaql, easy   expression: $.data.ca_key[0]13:38
ioggstreamtherve++13:39
therveioggstream, That should work yeah13:39
therveUntil you replace the first node, but that's another story :D13:39
ioggstreamtherve: iiiuc the original code (fn::select) had the same issue, right?13:41
therveioggstream, Yeah most likely13:41
ioggstreamtherve: I'd add an hint to yaql here https://docs.openstack.org/developer/heat/template_guide/hot_spec.html#id413:41
ioggstreamit just says : fn::select [0, *]  == get_attr [*, 0]13:42
ioggstreamat least I understood that13:42
ioggstreamin any case, other non ASG generated variables behave as expected13:42
therveYeah it's a bit tricky13:43
therveWe should expand on the group doc maybe13:43
ioggstreamtherve: if I can support in some way, let me know. I'm gonna post-it on my blog but I'm willing to add the stuff13:43
ioggstreamtherve: at your service :D13:43
therveioggstream, Thanks!13:44
*** gongysh has joined #heat13:44
*** gongysh has quit IRC13:44
*** dimtruck is now known as zz_dimtruck13:46
*** mnaser has joined #heat13:52
mnaseris there a python library that parses HOT files by any chance?13:52
*** derekh has quit IRC13:54
*** LanceHaig has quit IRC13:55
*** gongysh has joined #heat13:58
*** LanceHaig has joined #heat14:00
*** LanceHaig has joined #heat14:00
ricolinmnaser are you looking for something like this https://wiki.openstack.org/wiki/Heat-Translator  ?14:02
*** blomquisg_gone is now known as blomquisg14:03
mnaserricolin hmm, more like HOT => python dict (but taking into consideration resource registries, default values, resource types that exist in other files, etc)14:04
ioggstreammnaser: import yaml ?14:05
mnaserioggstream -- say if i was trying to parse this - https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/puppet/services/pacemaker/rabbitmq.yaml -- the rabbitmq resource has type: ../rabbitmq.yaml .. i am working out logic to translate that stuff locally to parse HOT files14:06
mnaserit would be nice to have the parser check it14:07
*** gongysh has quit IRC14:09
*** zz_dimtruck is now known as dimtruck14:13
*** kazsh has joined #heat14:15
*** prateek has quit IRC14:16
*** kazsh has quit IRC14:28
*** ricolin_ has joined #heat14:29
*** ricolin has quit IRC14:30
*** derekh has joined #heat14:36
*** jcoufal_ has joined #heat14:37
*** derekh has quit IRC14:38
*** derekh has joined #heat14:39
*** jcoufal has quit IRC14:40
*** gomarivera has joined #heat14:40
ioggstreammnaser: you want to "resolve" rabbitmq.yaml14:42
mnaserioggstream correct, so i can view some of the outputs that resource as for example14:42
*** dyasny has quit IRC14:43
ioggstreammnaser: maybe a recursive solution could give some result14:44
ioggstreambut14:44
mnaserioggstream exactly what im working on right now14:45
*** gomarivera has quit IRC14:48
*** dyasny has joined #heat14:53
*** gomarivera has joined #heat14:53
*** dyasny has quit IRC14:58
*** gomarivera has quit IRC15:01
*** rcernin has quit IRC15:07
*** dyasny has joined #heat15:07
*** LanceHaig has quit IRC15:10
*** dprince has quit IRC15:14
*** ricolin_ has quit IRC15:17
*** annegentle has joined #heat15:25
*** jmlowe has quit IRC15:25
*** armaan has quit IRC15:26
*** iogg has joined #heat15:26
*** armaan has joined #heat15:26
*** ioggstream has quit IRC15:27
*** annegentle has quit IRC15:29
*** armaan has quit IRC15:31
*** ricolin has joined #heat15:36
*** jcoufal has joined #heat15:38
*** jcoufal__ has joined #heat15:40
*** jcoufal_ has quit IRC15:41
*** jcoufal has quit IRC15:42
*** jaosorior has joined #heat15:51
*** jcoufal__ has quit IRC15:53
*** jcoufal has joined #heat15:54
*** ricolin has quit IRC15:55
*** jose-phi_ has quit IRC15:55
*** jose-phillips has joined #heat15:56
*** dprince has joined #heat16:14
*** crose has joined #heat16:21
*** nicolasbock has quit IRC16:22
*** gfidente is now known as gfidente|afk16:26
*** jcoufal has quit IRC16:26
*** jcoufal has joined #heat16:27
*** jose-phillips has quit IRC16:31
*** jose-phillips has joined #heat16:34
*** gomarivera has joined #heat16:37
*** annegentle has joined #heat16:42
*** harlowja has joined #heat16:44
*** david-lyle has quit IRC16:46
*** dklyle has joined #heat16:46
*** om2_ has joined #heat16:46
*** om3 has quit IRC16:48
*** jcoufal_ has joined #heat16:50
*** jcoufal__ has joined #heat16:52
*** jcoufal has quit IRC16:53
*** gomarivera has quit IRC16:53
*** jcoufal_ has quit IRC16:55
*** derekh has quit IRC16:59
*** nicolasbock has joined #heat17:03
*** ricolin has joined #heat17:03
*** crose has quit IRC17:03
*** blomquisg is now known as blomquisg_gone17:05
*** jmlowe has joined #heat17:06
*** ramishra has quit IRC17:17
*** anton has quit IRC17:18
*** pbourke has quit IRC17:20
*** anton has joined #heat17:21
*** jose-phillips has quit IRC17:21
*** pbourke has joined #heat17:22
*** fragatina has joined #heat17:23
*** aselius has joined #heat17:23
*** jmlowe_ has joined #heat17:26
*** jose-phillips has joined #heat17:27
*** jmlowe has quit IRC17:28
*** annegentle has quit IRC17:34
*** dklyle is now known as david-lyle17:37
*** jose-phillips has quit IRC17:39
*** annegentle has joined #heat17:39
*** ricolin has quit IRC17:40
*** annegentle has quit IRC17:48
*** jose-phillips has joined #heat17:48
*** fragatina has quit IRC17:49
*** armaan has joined #heat17:50
*** annegentle has joined #heat17:54
*** fragatina has joined #heat17:54
*** nicolasbock has quit IRC17:57
*** fragatina has quit IRC17:58
*** shardy is now known as shardy_afk17:59
*** gfidente|afk is now known as gfidente18:00
*** shardy_afk is now known as shardy18:00
*** shardy is now known as shardy_afk18:02
*** gomarivera has joined #heat18:03
*** annegentle has quit IRC18:05
*** annegentle has joined #heat18:05
*** nicolasbock has joined #heat18:05
*** crose has joined #heat18:15
*** annegentle has quit IRC18:18
*** nicolasbock has quit IRC18:22
*** nicolasbock has joined #heat18:27
*** annegentle has joined #heat18:30
*** iogg has quit IRC18:30
*** gomarivera has quit IRC18:31
*** crose has quit IRC18:31
*** armaan has quit IRC18:31
*** armaan has joined #heat18:31
*** fragatina has joined #heat18:32
*** fragatina has quit IRC18:32
*** gomarivera has joined #heat18:32
*** fragatina has joined #heat18:33
*** annegentle has quit IRC18:37
*** jcoufal__ has quit IRC18:38
*** jcoufal has joined #heat18:39
*** gomarivera has quit IRC18:41
*** jose-phillips has quit IRC18:41
*** gomarivera has joined #heat18:43
*** jose-phillips has joined #heat19:00
*** jcoufal_ has joined #heat19:06
*** jcoufal has quit IRC19:09
*** jcoufal has joined #heat19:10
*** crose has joined #heat19:11
*** jcoufal_ has quit IRC19:12
*** iogg has joined #heat19:20
*** felipemonteiro has joined #heat19:25
*** gomarivera has quit IRC19:28
*** gomarivera has joined #heat19:28
*** gomarivera has quit IRC19:33
*** crose has quit IRC19:33
*** jprovazn has quit IRC19:41
*** jcoufal_ has joined #heat19:45
*** iogg is now known as ioggstream19:47
*** jcoufal has quit IRC19:49
*** gomarivera has joined #heat19:49
*** shardy_afk has quit IRC19:55
*** jcoufal_ has quit IRC19:55
*** jcoufal has joined #heat19:55
*** jcoufal_ has joined #heat20:10
*** jcoufal has quit IRC20:12
*** rwsu has quit IRC20:15
*** jose-phillips has quit IRC20:19
*** jcoufal_ has quit IRC20:23
*** jcoufal has joined #heat20:24
*** gomarivera has quit IRC20:31
*** annegentle has joined #heat20:31
*** dontstalkmepls[m has joined #heat20:32
*** jose-phillips has joined #heat20:33
*** gomarivera has joined #heat20:42
*** jcoufal_ has joined #heat20:52
*** askb has joined #heat20:53
*** jcoufal has quit IRC20:54
*** annegentle has quit IRC20:56
*** gomarivera has quit IRC20:59
*** gomarivera has joined #heat21:04
*** annegentle has joined #heat21:04
*** jose-phillips has quit IRC21:05
*** dimtruck is now known as zz_dimtruck21:05
*** jose-phillips has joined #heat21:18
*** jcoufal_ has quit IRC21:19
*** jcoufal has joined #heat21:19
*** ioggstream has quit IRC21:24
*** jcoufal_ has joined #heat21:24
*** jcoufal has quit IRC21:26
*** gongysh has joined #heat21:26
*** gongysh has quit IRC21:27
*** annegentle has quit IRC21:40
*** annegentle has joined #heat21:42
*** jmlowe_ has quit IRC21:43
zanebthe gate is thoroughly borked https://bugs.launchpad.net/heat/+bug/169093621:55
openstackLaunchpad bug 1690936 in heat "Need to stop using image/floating_ip passthroughs in novaclient" [Critical,Triaged]21:55
*** zz_dimtruck is now known as dimtruck21:59
*** dprince has quit IRC22:04
*** gomarivera has quit IRC22:08
*** annegentle has quit IRC22:09
*** annegentle has joined #heat22:09
*** felipemonteiro has quit IRC22:11
*** annegentle has quit IRC22:12
*** annegentle has joined #heat22:13
*** dixiaoli has joined #heat22:17
*** annegentle has quit IRC22:18
*** jcoufal has joined #heat22:18
*** annegentle has joined #heat22:18
*** jcoufal_ has quit IRC22:20
*** annegentle has quit IRC22:24
*** jcoufal has quit IRC22:29
*** jcoufal has joined #heat22:30
*** annegentle has joined #heat22:34
*** gongysh has joined #heat22:39
*** gongysh has quit IRC22:40
*** jcoufal_ has joined #heat22:42
*** jcoufal has quit IRC22:42
*** jcoufal_ has quit IRC22:54
*** jcoufal has joined #heat22:55
*** gomarivera has joined #heat23:08
*** annegentle has quit IRC23:11
*** annegentle has joined #heat23:12
*** annegentle has quit IRC23:19
*** dixiaoli has quit IRC23:22
*** jcoufal has quit IRC23:24
*** jcoufal has joined #heat23:29
*** kazsh has joined #heat23:33
*** kazsh has quit IRC23:37
*** kazsh has joined #heat23:40
*** harlowja has quit IRC23:46
*** gmoro has joined #heat23:51
*** gmoro_ has quit IRC23:51
*** annegentle has joined #heat23:52
*** hoonetorg has quit IRC23:54

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