Wednesday, 2015-04-15

*** Marga_ has quit IRC00:02
*** Qiming has joined #heat00:06
*** ryansb has quit IRC00:11
openstackgerritMerged openstack/heat: Make SoftwareDeployments work for non-CREATE actions  https://review.openstack.org/17344600:13
*** Qiming has quit IRC00:14
*** smc7 has quit IRC00:20
*** elynn_ has quit IRC00:29
*** dims_ has joined #heat00:35
*** dims has quit IRC00:36
*** ryansb has joined #heat00:44
*** ryansb has quit IRC00:44
*** ryansb has joined #heat00:44
*** Marga_ has joined #heat00:47
*** Marga_ has quit IRC00:52
*** Guest74772 has quit IRC00:52
*** Marga_ has joined #heat00:53
*** Marga_ has quit IRC01:03
*** achanda has quit IRC01:10
*** huangtianhua has joined #heat01:13
*** tiantian has joined #heat01:14
*** Qiming has joined #heat01:14
*** sdake_ has joined #heat01:17
*** Qiming_ has joined #heat01:20
*** sdake has quit IRC01:21
*** Qiming has quit IRC01:23
*** randallburt has quit IRC01:29
*** MVenesio has quit IRC01:31
huangtianhuamorning01:33
Qiming_o/01:33
*** Qiming__ has joined #heat01:34
*** Qiming__ is now known as Qiming01:34
*** Qiming_ has quit IRC01:37
elynnmorning01:40
*** erkules_ has joined #heat01:45
*** Yanyanhu has joined #heat01:45
*** shardy_z has quit IRC01:46
*** erkules has quit IRC01:48
*** sdake has joined #heat01:52
*** LiJiansheng has joined #heat01:53
*** sdake_ has quit IRC01:56
*** smc7 has joined #heat02:08
*** achanda has joined #heat02:10
*** kebray has joined #heat02:13
*** smc7 has quit IRC02:13
*** kebray has quit IRC02:14
*** kebray has joined #heat02:17
*** achanda has quit IRC02:17
*** harlowja is now known as harlowja_away02:17
openstackgerrithuangtianhua proposed openstack/heat: Support to generate hot template based on resource type  https://review.openstack.org/17324702:17
openstackgerritLiangChen proposed openstack/heat: Docker plugin add cpu set property  https://review.openstack.org/17365202:20
*** dims_ has quit IRC02:21
*** spzala has quit IRC02:26
*** sabeen1 has joined #heat02:27
*** sabeen1 has quit IRC02:43
*** sabeen1 has joined #heat02:47
*** kebray has quit IRC02:48
*** kebray has joined #heat02:48
*** dsneddon has quit IRC02:56
*** nijaba has quit IRC03:01
*** nijaba has joined #heat03:06
*** nijaba has quit IRC03:06
*** nijaba has joined #heat03:06
*** achanda has joined #heat03:13
*** achanda has quit IRC03:17
*** sputnik13 has quit IRC03:25
*** sputnik13 has joined #heat03:25
*** kitch_ has joined #heat03:32
*** achanda has joined #heat03:49
*** smc7 has joined #heat03:58
*** smc7 has quit IRC04:02
*** sgordon has quit IRC04:04
*** MasterPiece has quit IRC04:07
*** sgordon has joined #heat04:10
*** sdake has quit IRC04:11
*** alexheneveld has joined #heat04:22
*** sputnik13 has quit IRC04:29
ramishraQlawy: Hi!04:37
*** Tango has joined #heat04:44
*** alexheneveld has quit IRC04:47
*** achanda has quit IRC04:50
*** achanda has joined #heat04:50
*** ananta has joined #heat04:54
*** ananta has quit IRC04:55
*** ananta has joined #heat04:55
*** sabeen1 has quit IRC04:56
*** kitch_ has quit IRC04:58
*** alexheneveld has joined #heat05:00
*** nkhare has joined #heat05:00
*** KarolynChambers has quit IRC05:06
*** KarolynChambers has joined #heat05:07
*** pitr-ch_ has quit IRC05:13
*** pitr-ch has joined #heat05:15
*** huangtianhua has quit IRC05:17
*** tiantian has quit IRC05:17
openstackgerritMerged openstack/heat: Persist parent_resource_name and make sure it's available  https://review.openstack.org/16998405:25
*** kebray has quit IRC05:34
openstackgerritxu-haiwei proposed openstack/heat: Revert "Add dependency for FIP if used network in port"  https://review.openstack.org/17323705:35
*** sputnik13 has joined #heat05:40
*** inc0 has joined #heat05:46
*** dulek has joined #heat05:49
inc0good morning05:52
Qlawyramishra: mornin' ;) I finally found a way how to list servers in autoscaling group, there is invalid bug on launchpad that tells to use heat resource-list -n X stack_name :)06:07
ramishraQlawy: you can use the following in your template,  value: {get_attr: [asg, outputs_list, name]}06:08
ramishraQlawy: value: {get_attr: [asg, outputs_list,networks, {get_param: network}, 0]}06:09
ramishraQlawy: the first one will give you the server names in the asg06:09
ramishraQlawy: the second one would give you the ip addresses.06:09
*** hdd has joined #heat06:09
openstackgerritEthan Lynn proposed openstack/heat: Add IPv4 address format check for property  https://review.openstack.org/17368806:10
ramishraQlawy: but make sure you template version is 2014-10-16 or higher, it does not work for 2013-05-2306:10
*** huangtianhua has joined #heat06:12
*** tiantian has joined #heat06:12
*** alex_xu has quit IRC06:18
Qlawyramishra: I dont need network, rather Server ID ;) but thnks06:20
Qlawyramishra: where I can find changes made in template version 2014-10-16?06:20
Qlawyramishra: https://bugs.launchpad.net/heat/+bug/1433862 :)06:23
openstackLaunchpad bug 1433862 in heat "Use "heat resource-list",unable to get resources created by OS::Heat::AutoScalingGroup" [Undecided,Invalid]06:23
ramishraQlawy: not sure if it's documented somewhere, may be in the release notes:)06:25
Qlawyuh, I love openstack docs :P06:25
ramishraQlawy: However, IMO, 'outputs' and 'outputs_list' should work for older templates.. I'll check and if required raise a bug06:26
Qlawyok06:26
*** jtomasek has joined #heat06:27
*** jcoufal has joined #heat06:29
*** alex_xu has joined #heat06:30
*** alexheneveld has quit IRC06:35
*** LimorStotland has joined #heat06:44
*** shardy has joined #heat06:45
*** achanda has quit IRC06:48
*** ananta has quit IRC06:53
shardyanyone know the current status of heat is wrt proposed/kilo?06:55
shardyI've just pushed https://review.openstack.org/#/c/173706/, assuming there's still time for an rc, but I'm not sure if it's too late or not06:56
*** sputnik1_ has joined #heat06:57
*** sputnik13 has quit IRC07:00
ramishrashardy: morning07:00
*** sputnik13 has joined #heat07:01
elynnI have the same question...07:01
*** sputnik__ has joined #heat07:02
*** sputnik1_ has quit IRC07:03
shardyramishra: hi!07:06
*** sputnik13 has quit IRC07:06
*** inc0 has quit IRC07:06
ramishrashardy: you have a minute to spare for a question?07:07
shardymiguelgrinberg: Hey, I added a reply to https://review.openstack.org/#/c/143496/07:08
shardyI'm happy to rework it again, but I'd really like folks to provide specific feedback, it kinda feels like we've been stuck bikeshedding on some stylistic aspects for many weeks now07:08
shardyramishra: sure07:09
*** rwsu has quit IRC07:09
ramishrashardy: it seems FnGetAtt for 'outputs' and 'outputs_list' does not work for template version 2013-05-23, Is it intentional?07:09
shardyramishra: path based get_attr doesn't work for that HOT version, if that's what you mean?07:10
ramishrashardy: yes!07:10
shardyramishra: yeah, that is expected07:10
shardyyou have to use the newer, shinier, HOT version ;)07:10
shardyramishra: looks like we could probably do a better job documenting that07:12
ramishrashoud we not mention that somewhere, the documentation is misleading,  it lists them and the example shows the older version07:13
shardyramishra: Yeah, we should, probably anywhere path based attributes are used it should be mentioned07:13
shardyand we *defintely* shouldn't have an example showing the old version, where is that?07:14
ramishraI mean the template guide for asg, mentions these attributes and uses 2013-05-23 as example  http://docs.openstack.org/developer/heat/template_guide/openstack.html07:14
shardyramishra: Ok, yeah we should fix that - care to raise a bug please?07:14
shardyhttp://docs.openstack.org/developer/heat/template_guide/hot_spec.html#get-attr07:15
shardywe should mention it there too07:15
ramishrashardy: already created a bug, however, I thought we should support it for older versions;) rather than fixing the doc.07:16
*** BManojlovic has joined #heat07:16
ramishrashardy: https://bugs.launchpad.net/heat/+bug/144428607:16
openstackLaunchpad bug 1444286 in heat "OS::Heat:Autoscaling group Fn::GetAttr does not work for attributes 'outputs' and 'outputs_list'" [Undecided,New] - Assigned to Rabi Mishra (rabi)07:16
shardyramishra: No, new features are only added to new HOT versions07:16
shardyso each version has a stable set of features, and we run less risk of breaking it07:16
*** serg_melikyan has joined #heat07:17
*** serg_melikyan has joined #heat07:18
*** tiantian has quit IRC07:18
shardyramishra: I clarified this for ResourceGroup a while back in https://review.openstack.org/#/c/143156/07:18
*** huangtianhua has quit IRC07:18
shardybut obviously we need to mention it in more places to avoid confusion07:18
ramishrasure, I will add that for ASG attributes.07:19
shardyramishra: thanks!07:21
*** Tango has quit IRC07:23
*** jistr has joined #heat07:24
openstackgerritKanagaraj Manickam proposed openstack/heat: Removes redundant validation of template  https://review.openstack.org/17371007:28
*** KanagarajM has joined #heat07:28
*** jprovazn has joined #heat07:31
*** serg_melikyan has quit IRC07:31
*** sputnik13 has joined #heat07:31
*** serg_melikyan has joined #heat07:31
*** ifarkas has joined #heat07:32
*** huangtianhua has joined #heat07:34
*** tspatzier has joined #heat07:34
openstackgerritLiangChen proposed openstack/heat: Docker plugin add cpu set property  https://review.openstack.org/17365207:34
*** sputnik__ has quit IRC07:34
*** tiantian has joined #heat07:34
*** smc7 has joined #heat07:35
*** chlong has quit IRC07:35
*** serg_melikyan has quit IRC07:36
*** smc7 has quit IRC07:39
openstackgerritRabi Mishra proposed openstack/heat: Clarify `attributes` support status for AutoScalingGroup  https://review.openstack.org/17371207:42
*** inc0 has joined #heat07:43
*** pas-ha has joined #heat08:06
*** serg_melikyan has joined #heat08:15
*** serg_melikyan has quit IRC08:27
*** serg_melikyan has joined #heat08:27
*** serg_melikyan has quit IRC08:28
*** cdent has joined #heat08:36
*** rakesh_hs has joined #heat08:42
*** sorantis has joined #heat08:45
*** serg_melikyan has joined #heat08:55
*** serg_mel_ has joined #heat08:56
*** serg_melikyan has quit IRC08:56
pas-hamorning all08:59
skraynevmorning08:59
openstackgerritRabi Mishra proposed openstack/heat: Update documentation for path based nested attribute access  https://review.openstack.org/17372709:01
*** Marga_ has joined #heat09:06
*** sdake has joined #heat09:10
*** blues-man has joined #heat09:10
openstackgerritSergey Kraynev proposed openstack/heat: Enable SecurityGroups property for AWS LB resource  https://review.openstack.org/17331109:11
openstackgerritSergey Kraynev proposed openstack/heat: Add scenario test for AWS loadbalancer  https://review.openstack.org/15319209:11
openstackgerritKanagaraj Manickam proposed openstack/heat: Removes redundant validation of template  https://review.openstack.org/17371009:15
*** pas-ha has quit IRC09:18
openstackgerritDeliang Fan proposed openstack/heat: Fix floatingip[association] misses use case  https://review.openstack.org/16798009:20
*** ananta has joined #heat09:20
*** pas-ha has joined #heat09:21
*** smc7 has joined #heat09:24
*** serg_mel_ has quit IRC09:24
*** derekh has joined #heat09:25
openstackgerritRabi Mishra proposed openstack/heat-templates: Add some useful outputs to the asg example template  https://review.openstack.org/17373709:27
*** smc7 has quit IRC09:28
*** Marga_ has quit IRC09:28
*** Marga_ has joined #heat09:29
Qiminghas anyone tried autoscaling recently?09:47
Qimingseems my template has broken09:48
QimingI have tried 'metering.stack', 'metadata.user_metadata.stack' for the matching_metadata property, neither one worked09:48
Qimingthe alarm is always in insufficient data status09:48
skraynevQiming: hi09:49
Qiminghi, skraynev09:49
skraynevdid you change timeout in pipeline file?09:50
skraynev/etc/ceilometer/pipeline.yaml09:50
*** liusheng has quit IRC09:51
skraynevafaik: by default time for collecting data from vm is 10 minutes09:51
skraynevbut Heat does it with period equal 1 minute09:51
skraynevnote: it's true for ceilometer alarms09:52
*** jamielennox is now known as jamielennox|away09:52
Qimingyes, it is now 60 secons09:52
skraynevan still insufficient?09:52
skraynev*and09:52
Qimingyes09:56
Qimingusing templates from heat-templates09:57
QimingI'm seeing ceilometer doing a evaluation like this:  metadata.metering.metadata.user_metadata.stack == <stack_id>09:57
Qimingso I'm wondering if anyone has tried autoscaling templates recently and see if they are broken09:58
*** Kennan2 has joined #heat10:03
*** Yanyanhu has quit IRC10:03
*** Kennan has quit IRC10:04
skraynevQiming: honestly I did not use it recently10:12
Qimingskraynev, thanks10:13
skraynevso may be something does not work.10:13
Qimingthis is driving me crazy10:13
skraynevyeah. I understand you.10:13
Qiminglooking at the various metadata, metering, resource_metadata, user_metadata combinations ...10:13
*** Yanyanhu has joined #heat10:13
skraynevcould you point me on template, which you used10:13
skraynevI try to launch it in my devstack10:14
QimingI am referring to the templates from heat-templates10:14
Qimingbut i'm not using them10:14
QimingI'm using a custom agent sending ceilometer metrics from inside a vm10:14
QimingI want to trigger auto-scaling using that metric10:15
openstackgerritRabi Mishra proposed openstack/heat-templates: External access to pod deployed using kubelet hook  https://review.openstack.org/17375210:17
*** sorantis has quit IRC10:20
*** vijayagurug has joined #heat10:21
*** achanda has joined #heat10:22
openstackgerritSergey Kraynev proposed openstack/heat: Add scenario test for AWS loadbalancer  https://review.openstack.org/15319210:25
*** kitch_ has joined #heat10:25
openstackgerritRabi Mishra proposed openstack/heat: Clarify `attributes` support status for AutoScalingGroup  https://review.openstack.org/17371210:26
*** jcoufal has quit IRC10:27
*** achanda has quit IRC10:27
*** jcoufal has joined #heat10:27
*** kitch_ has quit IRC10:27
*** Qiming has quit IRC10:29
*** Qiming has joined #heat10:29
*** ParsectiX has joined #heat10:33
*** sorantis has joined #heat10:34
*** rakesh_hs has quit IRC10:37
*** ananta has quit IRC10:40
*** sdake has quit IRC10:46
*** KanagarajM_ has joined #heat10:50
*** KanagarajM has quit IRC10:54
*** KanagarajM_ has quit IRC10:54
jgrasslerGood afternoon.10:55
jgrasslerI made some noises about hacking a documentation generator that uses a heat template's description attributes.10:56
jgrasslerThat generator is now finished if anyone's interested:10:56
jgrasslerhttps://github.com/syseleven/cloudstrap-utils  (heat2adoc)10:56
jgrasslerIt's pretty basic (only works on YAML based templates, only generates asciidoc), but it does the job.10:57
*** Yanyanhu has quit IRC10:57
shardyall, heat meeting is in ~1h, IIRC I agreed to run it this week10:58
shardyhttps://wiki.openstack.org/wiki/Meetings/HeatAgenda10:58
shardyfeel free to add anything to the agenda you may want to discuss10:58
shardyjgrassler: nice!10:58
shardyjgrassler: will take a look later, it'd be worth thinking about where we might be able to adopt that functionality10:59
shardyif you're willing to contribute it that is ;)10:59
jgrasslershardy: sure, it's fairly easy to adopt since it's a standalone script.11:00
shardyseems like something which could possibly live under python-heatclient in future11:00
shardyOr some other heat-tools repo I guess11:00
*** Qiming has quit IRC11:01
jgrasslershardy: I ended up not using the in-tree code since that looked too complex for a quick afternoon hack. I hope that's not a problem.11:01
shardyeek, ruby! :-O11:01
shardy(joking) ;)11:01
jgrasslerAs I said, it's a quick afternoon hack :-)11:01
shardyjgrassler: definitely interesting, thanks for sharing :)11:02
*** Marga_ has quit IRC11:02
openstackgerritMerged openstack/heat: Show deprecated warnings when import parser  https://review.openstack.org/17196711:04
*** dims has joined #heat11:08
*** smc7 has joined #heat11:12
*** smc7 has quit IRC11:17
*** tiantian has quit IRC11:18
*** huangtianhua has quit IRC11:18
openstackgerritTetiana Lashchova proposed openstack/heat: Add OS::Mistral::CronTrigger resource  https://review.openstack.org/14932711:20
*** blues-man has quit IRC11:22
*** blues-man has joined #heat11:23
*** sergmelikyan has quit IRC11:25
*** ananta has joined #heat11:36
*** nkhare has quit IRC11:44
openstackgerritKairat Kushaev proposed openstack/heat: Implement update for Manila::Share  https://review.openstack.org/17184511:48
openstackgerritKairat Kushaev proposed openstack/heat: Implement create-delete-check for Manila::Share  https://review.openstack.org/17180611:48
shardymeeting starting in #openstack-meeting12:00
*** Qiming has joined #heat12:01
*** tlashchova has joined #heat12:02
*** aweiteka has joined #heat12:04
*** vijayagurug has left #heat12:05
*** arif-ali has quit IRC12:05
*** Qiming_ has joined #heat12:07
*** kitch_ has joined #heat12:09
*** Qiming has quit IRC12:10
*** arif-ali has joined #heat12:12
*** MVenesio has joined #heat12:13
*** Qiming__ has joined #heat12:14
*** Qiming_ has quit IRC12:17
*** Qiming has joined #heat12:18
*** Qiming__ has quit IRC12:20
*** serg_melikyan has joined #heat12:25
*** cdent has quit IRC12:28
*** LiJiansheng has quit IRC12:28
*** serg_melikyan has quit IRC12:30
shardyzaneb: When you get a moment, I'd be interested to discuss https://review.openstack.org/#/c/143496/12:34
shardyI'm happy to rework it again, and I agree that it's ugly, but I wasn't sure if our "don't do that" documentation for ScalingPolicy cross-compatibility was sufficient grounds for breaking the historical compatibility that exists12:35
zanebshardy: kk, I have one other thing to deal with first12:35
shardyzaneb: np, not urgent12:35
openstackgerritEthan Lynn proposed openstack/heat-specs: Enhance property constraints  https://review.openstack.org/17379912:37
*** rpothier has joined #heat12:39
*** jaypipes has quit IRC12:42
*** smccully has joined #heat12:46
*** inc0 has quit IRC12:47
*** tochi has quit IRC12:52
zanebshardy: ok, finished reading the backstory12:52
*** maishsk has joined #heat12:54
* maishsk Waves... 12:54
maishskHello all12:54
shardyzaneb: Ok, what's your take on it - is it time to just break the historical compatibility and turn "don't do that" into "can't do that" ?12:54
zanebshardy: not 100% clear on what the historical situation is12:55
shardyzaneb: avoiding that is the main reason it looks a mess12:55
maishskDoes anyone have an idea how I can add some logic into a Heat template?12:55
zanebshardy: is it that the AWS resource also accepted snake_case keys?12:55
shardyzaneb: http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::ScalingPolicy12:55
shardyzaneb: historically you could mix the native and AWS ASG/ScalingPolicy resources, in either combination AFAICS12:55
zanebmaishsk: you can't, Heat templates are completely illogical ;)12:56
shardyI'm not sure why anyone would want to do that, and we've said "please don't do that" for a long time12:56
shardye.g in the docs12:56
shardybut, strictly speaking, that's not a deprecation warning12:56
maishskAnd if we had a solution that could make that work. Is that something that Heat would find useful?12:56
shardymaybe it's enough though12:56
zanebah, this is actually crossing a resource boundary12:57
shardymaishsk: make what work?12:57
*** jaypipes has joined #heat12:57
maishskshardy: :)12:57
shardymaishsk: it's probably best if you start by explaining what you're trying to do :)12:58
zanebmaishsk: the answer is probably not, but you'll have to be more specific12:59
zanebmaishsk: something along the lines of what's discussed here: https://review.openstack.org/#/c/84468/ would, I believe, be considered useful13:01
*** smc7 has joined #heat13:01
maishskshardy: zaneb: So here is the use case. I have two different OpenStack environments. For one reason of the other I would like the same heat template to do X in EnvA and X+Y in EnvB.13:02
maishskIf I try to do X+Y in EnvA - it will not work. So I would like to pass some logic into the Heat template.13:03
shardymaishsk: are you familiar with the heat concept of environments?13:03
shardyThat's exactly what it enables, you can map a type in the resource_registry from My::Special to a different template depending on the environment13:03
shardyso you could have x.yaml and xy.yaml mapped in via -e myenv.yaml when creating the stack13:04
shardyhttp://docs.openstack.org/developer/heat/template_guide/environment.html13:04
maishskshardy: Do you have an exaple?13:04
zanebmaishsk: so as discussed in that link I just posted, CloudFormation now supports a way to turn resources on and off. And I would be happy to see an equivalent feature adopted in Heat13:04
shardyhttps://github.com/hardys/demo_templates/tree/master/kilo_summit_heat_beyond_the_basics/example1_provider_environment13:05
zanebshardy: the problem with that is you have to copy+paste X13:05
shardyzaneb: isn't that solved by having a nested stack abstraction for X?13:06
shardyeverything is solved by another layer of abstraction ;)13:06
*** smc7 has quit IRC13:06
zanebyeah, it could be but things are getting pretty heavyweight now13:06
maishskzaneb: I would agree13:06
zanebconsidering all you wanted to do was turn off Y13:07
maishskAnd yes this could be done by another layer of abstraction.13:07
zanebnow you have 3 levels of templates to juggle13:07
*** blomquisg has joined #heat13:07
maishskbut what is you only had one13:07
maishskif*13:07
maishskThis is what the idea was13:08
zanebmaishsk: we need someone to turn https://review.openstack.org/#/c/84468/ into a spec13:08
shardyYeah, fair enough, it's what we have right now though13:08
maishskwhat if you could modify the template before it was submitted to heat13:09
openstackgerritEthan Lynn proposed openstack/heat: Add IPv4 address format check for property  https://review.openstack.org/17368813:09
openstackgerritMerged openstack/heat-templates: Add some useful outputs to the asg example template  https://review.openstack.org/17373713:09
*** dyasny has joined #heat13:11
maishskif there was a heat client command that allowed you to change the heat file - according to some logic that should be provided.13:11
*** jprovazn has quit IRC13:11
*** jprovazn has joined #heat13:12
maishskwould that work?13:12
zanebmaishsk: very -1 on that13:12
zanebrun your own preprocessor if you want to do that13:12
*** dims has quit IRC13:13
openstackgerritSergey Kraynev proposed openstack/heat: Add scenario test for AWS loadbalancer  https://review.openstack.org/15319213:13
zanebmaishsk: I would be +2 on a client change like "allow the template to be read from stdin to make it easier to pre-process templates with another tool", but not "build a pre-processor into heatclient"13:14
*** dims has joined #heat13:15
maishskzaneb: You have completely lost me...13:15
zanebmaishsk: use something else to modify your template13:17
zanebjinja2... sed, whatever13:17
*** Qiming_ has joined #heat13:17
zanebit doesn't make sense to build any one tool into the client13:17
maishskThat is currently what we are doing.13:18
Qiming_zaneb, shardy, some time ago I proposed this: https://review.openstack.org/#/c/153771/, would like to hear your comments13:18
*** ananta has quit IRC13:19
Qiming_template reusability is really a problem for some users13:19
*** crose has joined #heat13:19
*** ananta has joined #heat13:19
maishskI think the basic need is that Heat needs to allow for some kind of logic to allow flexibility.13:20
*** Qiming has quit IRC13:20
maishskHow this is done is way out of my comfort zone... But I think the need is there.13:21
zanebQiming_: +1, there was extensive discussion of this previously in https://review.openstack.org/#/c/84468/13:21
zanebI'll leave a comment to that effect13:21
Qiming_thanks, zaneb13:21
therveQiming_, To me it would be solve in a more generic fashion with conditionals13:22
*** MVenesio has quit IRC13:23
thervesolved13:23
Qiming_therve, agreed. conditionals are more generic13:23
*** ananta has quit IRC13:23
ryansbtherve: like an ansible-style "when" parameter?13:23
*** jprovazn has quit IRC13:23
therveryansb, I don't know ansible13:23
*** ananta has joined #heat13:23
*** david-lyle has quit IRC13:24
ryansbyou can add a parameter to things formatted as "when: foo == "bar""13:24
ryansbhttp://docs.ansible.com/playbooks_conditionals.html13:24
therveryansb, Like that: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html13:24
ryansbtherve: a tad different, but that's a neat intrinsic13:26
*** ananta has quit IRC13:27
ryansbI was still thinking enabled/disabled use case, the intrinsic is way more general13:27
*** ananta has joined #heat13:27
*** LimorStotland has quit IRC13:28
therveI'm not a super fan, but it seems everybody wants something like that13:28
* maishsk is amazed that I by chance came into the channel exactly when this discussion was going on.... ;) 13:28
therveNot really you started it13:28
ryansbmaishsk: you sorta started it, I think13:28
zanebQiming_: commented13:30
Qiming_zaneb, thx13:30
*** ananta has quit IRC13:31
*** ananta has joined #heat13:31
*** ananta has quit IRC13:35
*** ananta has joined #heat13:36
*** LimorStotland has joined #heat13:36
*** ananta has quit IRC13:37
*** ananta has joined #heat13:38
*** ananta has quit IRC13:39
maishskzaneb  shardy and others - thank you for the discussion.13:39
*** hdd has quit IRC13:46
*** maishsk has quit IRC13:49
*** blues-man has quit IRC13:50
*** blues-man has joined #heat13:50
*** hdd has joined #heat13:50
*** pm90_ has joined #heat13:51
*** pm90_ has quit IRC13:51
zanebshardy: so, getting back to the autoscaling thing...13:51
*** pm90_ has joined #heat13:52
shardyzaneb: Oh, yeah, we were discussing that weren't we..13:52
zanebI think it would be best to have an API that accepts only the snake_case13:52
zaneband then a function that converts CamelCase to snake_case via a dictionary mapping13:53
zanebi.e. {'ExactCapacity': 'exact_capacity', ...}13:53
zanebreturn dict((k, translation.get(v, v) for k, v in input)13:54
*** smc7 has joined #heat13:54
zaneb&c.13:54
zaneband if we have to do that in both that AWS and native resources for backwards compat, fine13:55
zanebbut don't make an API that accepts both13:55
shardyzaneb: Ok, so you'd rather that conversion live in the ScalingPolicy, and have handle_signal handle only snake_case?13:55
zanebwdyt?13:55
shardyzaneb: sounds reasonable, I'll take a look later at reworking to do that13:56
zanebhmm, that's not what I was saying, but that might work too :D13:56
zanebactually no, I think that could break users13:57
shardyzaneb: Ok, can you clarify "don't make an API that accepts both" then?13:57
*** serg_melikyan has joined #heat13:57
shardyas it's the API which breaks backwards compat13:57
shardye.g the handle_signal API13:57
zanebI'm saying, handle both in handle_signal, but have _adjustment_details() only accept snake_case13:57
*** serg_melikyan has quit IRC13:58
zanebI think we're using different meanings of 'API', hence confusion13:58
shardyzaneb: Ok, and ditch the ugly tuple thing in favor of a staticmethod which does a dict lookup13:58
zaneb++13:58
shardyOk, that sounds better13:58
zanebtbh, I'd like to get rid of methods on resources altogether13:58
shardyI got a bit fixated on the dicts-are-mutable thing I guess13:58
shardygiven that the mapping is global13:59
shardythe function solves that in a neater way13:59
zanebthis stuff should be going into a library (hence API) that we can call from the resources13:59
shardythanks for the suggestions!13:59
zanebi.e. somewhere in heat.scaling13:59
zanebsure, np14:00
shardyzaneb: Aha, Ok I was thinking differently about API14:00
shardythanks14:00
zanebshardy: yep, it all makes sense now ;)14:00
*** vijayagurug has joined #heat14:02
*** jasond has joined #heat14:06
*** sabeen1 has joined #heat14:06
*** Kennan has joined #heat14:07
*** mattt has quit IRC14:08
*** Kennan2 has quit IRC14:08
*** jasond has quit IRC14:10
*** kitch_ has quit IRC14:11
*** vijayagurug has left #heat14:14
*** serg_melikyan has joined #heat14:14
*** Qiming_ has quit IRC14:16
*** jasond has joined #heat14:18
*** serg_melikyan has quit IRC14:19
*** achanda has joined #heat14:20
*** jasond has quit IRC14:22
*** jprovazn has joined #heat14:23
*** achanda has quit IRC14:24
*** Marga_ has joined #heat14:28
*** achanda has joined #heat14:34
*** jasond has joined #heat14:36
*** hdd has quit IRC14:39
*** kitch_ has joined #heat14:40
*** randallburt has joined #heat14:41
*** kitch_ has quit IRC14:42
*** jasond has quit IRC14:42
*** achanda has quit IRC14:45
*** kbs1 has left #heat14:51
*** hdd has joined #heat14:52
*** Drago has quit IRC14:54
*** jasond has joined #heat14:54
*** rwsu has joined #heat15:00
*** dsneddon has joined #heat15:02
openstackgerritHenrique Truta proposed openstack/heat-specs: Create a MigrationPolicy  https://review.openstack.org/17097915:04
*** thedodd has joined #heat15:07
*** randallburt has quit IRC15:07
*** jasond has quit IRC15:09
*** kebray has joined #heat15:10
*** kebray has quit IRC15:10
*** kebray has joined #heat15:11
openstackgerritMerged openstack/heat: Update documentation for path based nested attribute access  https://review.openstack.org/17372715:12
*** jasond has joined #heat15:14
*** Drago has joined #heat15:14
*** Drago has quit IRC15:15
*** Drago has joined #heat15:15
*** Drago has quit IRC15:15
*** ParsectiX has quit IRC15:17
*** alexheneveld has joined #heat15:18
*** crose has quit IRC15:19
*** crose has joined #heat15:20
*** hdd has quit IRC15:20
*** KarolynChambers has quit IRC15:22
*** KarolynChambers has joined #heat15:23
*** jcoufal_ has joined #heat15:26
*** jrist has quit IRC15:27
*** jcoufal has quit IRC15:29
*** Marga_ has quit IRC15:30
*** Marga_ has joined #heat15:30
*** sdake has joined #heat15:35
*** jrist has joined #heat15:38
*** sdake_ has joined #heat15:39
*** sdake has quit IRC15:42
*** BManojlovic has quit IRC15:48
*** LimorStotland has quit IRC15:52
*** cdent has joined #heat15:53
openstackgerritJason Dunsmore proposed openstack/heat: Add ability to filter stacks by tag  https://review.openstack.org/16053715:55
*** blues-man has quit IRC15:58
*** sdake has joined #heat15:59
*** Marga_ has quit IRC16:01
*** jasond has quit IRC16:01
*** kebray has quit IRC16:02
*** Tango has joined #heat16:02
d0ugalWhat is the best way to debug a CREATE_FAILED? on a stack create.16:03
*** sdake_ has quit IRC16:03
*** alexheneveld has quit IRC16:03
*** derekh has quit IRC16:03
*** jistr has quit IRC16:03
*** alexheneveld_ has joined #heat16:03
openstackgerritPeter Razumovsky proposed openstack/heat: Add env storing for loaded environments  https://review.openstack.org/16886516:03
*** jistr has joined #heat16:04
*** FL1SK has quit IRC16:04
*** jasond has joined #heat16:08
*** sorantis has quit IRC16:08
*** jistr has quit IRC16:09
*** jistr has joined #heat16:15
openstackgerritSteven Hardy proposed openstack/python-heatclient: Add --nested-depth option to event-list  https://review.openstack.org/17396816:15
openstackgerritSteven Hardy proposed openstack/python-heatclient: Add hook-poll function to check if a stack has pending hooks  https://review.openstack.org/17396916:15
shardyd0ugal: normally it boils down to using heat resource-list/resource-show to determine which resource failed, and the reason string16:16
shardyd0ugal: then if you need more info, often you may need to look at the logs on the instance, e.g if a SoftwareDeployment has failed16:16
shardyshadower: ^^ Hey, I pushed a patch adding hook-poll, because waiting for hooks in a big tree of stacks is quite tricky atm16:17
*** jistr has quit IRC16:17
shardyshadower: the implementation is very suboptimal because I'm trying to do it without changing the heat API, but I'm interested in your feedback on the CLI interface and general approach16:18
shardythe efficiency can be improved for Liberty when we add a nested_depth option to the events API16:19
*** kebray has joined #heat16:22
*** alexheneveld_ has quit IRC16:23
*** jrist has quit IRC16:24
*** dsneddon has quit IRC16:31
d0ugalshadower: Thanks, that gives me a good start.16:37
*** EmilienM is now known as EmilienM|afk16:38
d0ugalumm, I meant shardy ^ :)16:39
*** sorantis has joined #heat16:39
d0ugalbut yeah, the reason "CREATE aborted" on the Compute resource doesn't tell me much. I was looking at the logs before but failed to find the right bit.16:40
*** jrist has joined #heat16:40
*** Marga_ has joined #heat16:42
therved0ugal, What's the status_reason of your stack? That'd be a good start16:44
d0ugaltherve: It's blank :/16:45
d0ugalI should maybe ask in #tripleo as this is with the tripleo-heat-templates.16:45
*** jrist has quit IRC16:45
therveThere is probably a bug then16:46
therveBut tripleo templates are full of nested stacks everywhere16:46
therveYou need to check them all16:46
d0ugalFun16:46
therveI'm not sure you should use tripleO if you want fun16:50
*** pm90_ has quit IRC16:51
*** ifarkas has quit IRC16:51
*** tlashchova has quit IRC16:52
*** jrist has joined #heat16:58
*** jasond` has joined #heat16:58
*** jasond has quit IRC17:01
*** tlashchova has joined #heat17:05
*** Drago has joined #heat17:06
*** Drago has quit IRC17:06
*** Drago has joined #heat17:07
*** jdob has quit IRC17:07
*** pas-ha has quit IRC17:09
*** serg_melikyan has joined #heat17:15
*** aweiteka has quit IRC17:17
*** serg_melikyan has quit IRC17:20
shardyd0ugal: FWIW I find heat resource-list --nested-depth 5 helpful when debugging tripleO17:27
*** sputnik13 has quit IRC17:27
shardyit normally helps you quickly identify which resource failed, so then you at least know where to start looking17:27
shardyd0ugal: nearly all of the TripleO failures I see are related to SoftwareDeployments signalling failure17:28
shardywhich is generally best debugged by looking in the logs (/var/log/messages) on the node where the error happened17:28
shardye.g if *ControllerFoo failed, do nova list and ssh to the Controller instance17:29
shardylife gets more fun when there's multiple nodes, e.g more than one Controller ;)17:29
*** kebray has quit IRC17:29
*** dsneddon has joined #heat17:30
*** hdd has joined #heat17:32
*** sputnik13 has joined #heat17:33
*** achanda has joined #heat17:35
*** harlowja_away is now known as harlowja17:36
*** sputnik13 has quit IRC17:37
*** Drago has quit IRC17:40
*** Drago has joined #heat17:41
*** Drago has quit IRC17:43
*** kebray has joined #heat17:46
*** pm90_ has joined #heat17:46
*** signed8bit has joined #heat17:47
*** pm90_ has quit IRC17:47
*** pm90_ has joined #heat17:48
*** Marga_ has quit IRC17:49
*** Marga_ has joined #heat17:49
*** kebray has quit IRC17:49
*** smc7 has quit IRC17:50
*** openstackstatus has quit IRC17:58
*** openstackstatus has joined #heat17:59
*** ChanServ sets mode: +v openstackstatus17:59
*** tspatzier has quit IRC17:59
*** lindenle has joined #heat18:00
lindenleHi All, Is there a way to show all nodes associated with a stack from the cli?18:00
-openstackstatus- NOTICE: Gerrit has stopped emitting events so Zuul is not alerted to changes. We will restart Gerrit shortly to correct the problem.18:01
*** ChanServ changes topic to "Gerrit has stopped emitting events so Zuul is not alerted to changes. We will restart Gerrit shortly to correct the problem."18:01
*** kebray has joined #heat18:01
*** FL1SK has joined #heat18:02
*** signed8bit is now known as signed8bit_ZZZzz18:04
*** signed8bit_ZZZzz is now known as signed8bit18:05
*** jdob has joined #heat18:09
*** MVenesio has joined #heat18:13
thervelindenle, "nodes" is a bit vague. heat resource-list may be what you're looking for.18:15
*** Marga_ has quit IRC18:15
*** jasond has joined #heat18:19
*** jasond` has quit IRC18:19
*** EmilienM|afk is now known as EmilienM18:22
*** ChanServ changes topic to "support @ https://ask.openstack.org | developer wiki @ https://wiki.openstack.org/wiki/Heat | development @ https://launchpad.net/heat | logged @ http://eavesdrop.openstack.org/irclogs/%23heat/"18:24
-openstackstatus- NOTICE: Gerrit has been restarted. New patches, approvals, and rechecks between 17:30 and 18:20 UTC may have been missed by Zuul and will need rechecks or new approvals added.18:24
lindenletherve: so for instance we have a cloudserver and two scaling groups. When I do resource-list I only get the cloudserver and the lbs. But what I really want is a list of all the cloud server ips in this stack.18:25
thervelindenle,  heat resource-list --nested-depth 2 should give you more then18:26
lindenletherve: unrecognized argument?18:26
lindenletherve: 0.2.1018:27
thervelindenle, Update your client :)18:27
*** signed8bit is now known as signed8bit_ZZZzz18:28
*** Drago has joined #heat18:29
*** sorantis has quit IRC18:30
*** Drago has quit IRC18:32
*** Drago has joined #heat18:32
*** sorantis has joined #heat18:41
*** sorantis has quit IRC18:45
*** jcoufal_ has quit IRC18:45
*** jasond has quit IRC18:46
*** Marga_ has joined #heat18:46
*** jasond has joined #heat18:47
*** randallburt has joined #heat18:50
*** Marga_ has quit IRC18:51
*** hdd has quit IRC18:53
*** smc7 has joined #heat18:59
openstackgerritRob Pothier proposed openstack/heat: Add Magnum client plugin  https://review.openstack.org/17402919:02
*** sabeen1 has quit IRC19:03
*** crose has quit IRC19:03
*** pitr-ch has quit IRC19:11
*** jasond has quit IRC19:14
*** pitr-ch has joined #heat19:16
*** jaypipes has quit IRC19:18
*** spzala has joined #heat19:21
*** jaypipes has joined #heat19:21
*** pitr-ch has quit IRC19:22
*** pitr-ch has joined #heat19:30
*** david-lyle has joined #heat19:30
*** serg_melikyan has joined #heat19:30
*** signed8bit_ZZZzz is now known as signed8bit19:38
*** signed8bit is now known as signed8bit_ZZZzz19:39
*** jasond has joined #heat19:40
*** alex_xu has quit IRC19:48
*** serg_melikyan has quit IRC19:49
*** alex_xu has joined #heat19:49
*** spzala has quit IRC19:50
*** dsneddon is now known as dsneddon_lunch19:50
*** smccully has quit IRC20:01
*** Marga_ has joined #heat20:02
*** pitr-ch has quit IRC20:02
*** Tango has quit IRC20:02
*** pm90_ has quit IRC20:16
*** hdd has joined #heat20:28
*** spzala has joined #heat20:36
*** pm90_ has joined #heat20:40
*** pm90_ has quit IRC20:44
*** dyasny has quit IRC20:44
*** pm90_ has joined #heat20:44
*** cyli has left #heat20:46
*** jprovazn has quit IRC20:48
*** vijendar has joined #heat20:49
*** thedodd has quit IRC20:49
*** spzala has quit IRC20:49
*** spzala has joined #heat20:50
*** lipinski has joined #heat20:50
*** lipinski has left #heat20:51
*** aweiteka has joined #heat20:54
*** jdob has quit IRC20:57
*** spzala has quit IRC20:57
*** spzala has joined #heat20:59
shadowerthanks, shardy, I'll have a look tomorrow21:01
serverascodehi, what's the best way to wait for a stack to be done? just keep checking the status?21:03
*** sputnik13 has joined #heat21:04
*** Marga_ has quit IRC21:05
*** Marga_ has joined #heat21:10
*** lipinski has joined #heat21:18
*** Marga_ has quit IRC21:19
*** Marga_ has joined #heat21:19
lipinskiAnyone know when block_device_mappings_v2 was added?  I'm getting a validation failure on that property.  I'm on Haet client 0.2.12 and 2014.2.2-1 engine21:19
lipinskis/Haet/Heat21:19
*** kebray has quit IRC21:32
*** rpothier has quit IRC21:32
*** jtomasek has quit IRC21:33
*** achanda has quit IRC21:34
*** kebray has joined #heat21:37
*** achanda has joined #heat21:37
*** achanda has quit IRC21:37
*** achanda has joined #heat21:38
*** dims_ has joined #heat21:46
*** jamielennox|away is now known as jamielennox21:46
*** dims has quit IRC21:48
*** lipinski has left #heat21:50
*** vijendar has quit IRC21:51
*** spzala has quit IRC21:53
*** spzala has joined #heat21:54
*** dsneddon_lunch is now known as dsneddon22:07
*** MVenesio has quit IRC22:09
*** pm90_ has quit IRC22:10
*** LiJiansheng has joined #heat22:10
*** hdd has quit IRC22:10
*** randallburt has quit IRC22:17
*** blomquisg has quit IRC22:22
*** achanda has quit IRC22:48
*** Marga_ has quit IRC22:51
*** Tango has joined #heat22:51
*** achanda has joined #heat22:58
*** Marga_ has joined #heat23:03
*** erkules_ is now known as erkules23:03
*** jaypipes has quit IRC23:08
*** chlong has joined #heat23:11
*** Marga_ has quit IRC23:13
*** jaypipes has joined #heat23:22
*** Marga_ has joined #heat23:23
*** sgran_ has joined #heat23:35
*** zaneb has quit IRC23:38
*** Tross has joined #heat23:38
*** lee__ has joined #heat23:38
*** tochi has joined #heat23:38
*** cdent has quit IRC23:39
*** Tross1 has quit IRC23:39
*** LiJiansheng has quit IRC23:39
*** sgran has quit IRC23:39
*** zbitter has joined #heat23:39
*** cyli has joined #heat23:46
*** Marga_ has quit IRC23:54

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