Wednesday, 2015-09-30

*** openstackgerrit has quit IRC00:01
*** openstackgerrit has joined #heat00:02
*** openstackstatus has quit IRC00:02
*** openstack has joined #heat00:04
-cameron.freenode.net- [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp00:04
*** Qiming_ has quit IRC00:04
*** devlaps has quit IRC00:09
*** signed8bit has quit IRC00:11
*** Drago has quit IRC00:13
*** pm90_ has joined #heat00:21
*** shadower has quit IRC00:23
*** shadower has joined #heat00:23
*** sdake_ has joined #heat00:38
*** sdake has quit IRC00:43
*** hdd has quit IRC00:46
*** manishg has joined #heat00:50
zanebmanishg: still about?00:51
harlowjahmmm, i don't see him00:51
manishgzaneb: hi.  just got home.  harlowja: @home :)00:52
harlowjaah, cool00:52
harlowjazaneb is about to tell a story, yippe00:52
harlowjabedtime story00:52
zaneblol00:52
*** sdake_ has quit IRC00:53
manishg:)00:53
zanebmanishg: to cut a long story short, we could have gone that way, but we chose this way00:53
harlowjaoh man, i was expecting the long version00:54
harlowjai'm not asleep yet pappa00:54
harlowja*pappie00:54
zaneblong version00:55
manishgzaneb: I was just curious about it.  was it possible to just use a threadpool instead of the TaskRunner/ generator wrapper etc. ?00:55
zanebthreads are evil and we're frightened of them00:55
zanebyes, it would totally have been possible00:55
zanebthe main concern was testing actually iirc00:56
zanebwe had a large body of unit tests00:56
zaneb"unit" tests00:56
zanebthat were really integration tests00:56
zaneband we wanted to be able to keep running them in a deterministic way00:56
manishgzaneb: understable, re threads.  it is interesting to debug issues in threads :)00:57
zanebso that we could make the change and have confidence that we were not breaking the world00:57
zanebwithout having to rewrite all of the tests00:57
manishgzaneb: question about scaleability, etc.  Any issues with current model or are all large deployment operators happy with it (i.e. working out for them)?00:57
zanebyou may want to ask rackspace folks, but I don't hear a lot of complaints00:58
zanebindividual stacks don't get that big00:58
zanebtrees of nested stacks get very big00:59
manishgalso, is this the future direction as well?  or is there any plan to make changes, etc. Sorry, I don't have much context and trying to pick up.00:59
zanebwe split those up in Kilo so that each one goes to a separate engine00:59
harlowjamanishg ya, the convergence stuff i'm not sure who is the expert on angus?00:59
manishgI'm looking at nested stacks :)  hopefully, not very complicated ones... still looking into our usecases.00:59
zanebso that has made a big difference to the scalability00:59
zanebwe're currently working on moving to a distributed architecture00:59
zanebthat the "convergence" that josh just mentioned01:00
manishgangus... angus lee ?01:00
zanebangus salkeld01:00
harlowjabut if u want an overview of the high-level manishg maybe zaneb can provide, i'm not sure who is the local expert01:00
manishgI'll look into that also (convergence stuff).  thanks zaneb.  I think there is a blueprint out for that.01:01
harlowjathats bedtime story #2 (convergence)01:01
zanebhe's been working on it lately so he can give you an up-to-date view, but I did the initial prototyping so I can probably answer your questions01:01
harlowjaonly one bedtime story per night01:01
* harlowja is kiddding...01:01
zanebbasically, scheduler.py goes away and each resource to be handled we just put a message on a queue and some worker picks it up and handles it, then triggers the next one(s)01:02
manishgone concern, folks here had was changes to the HOT template that would break existing scripts.  But I think we are already very sensitive to that and with the template version in script I don't see any major issues with it (and hence a non-issue I'd think).01:02
zanebyeah, we don't break templates ever01:02
zanebthey're fully versioned01:03
zanebby "don't break" I mean it's a bug when we break them and we will totally fix it no questions asked ;)01:03
manishgcool. yeah, was happy to note that.  I'll look into the future work you mentioned.  It sounds good.  thanks again for the update.01:04
zanebsure, np01:04
*** Qiming_ has joined #heat01:09
*** bana_k has quit IRC01:14
*** ricolin has joined #heat01:19
*** rwsu has joined #heat01:26
*** bana_k has joined #heat01:27
*** morgan is now known as notreallymorgan01:30
*** notreallymorgan is now known as morgan01:30
*** manishg has quit IRC01:34
*** Kennnan2 is now known as Kennan01:37
*** klindgren__ has joined #heat01:51
*** klindgren_ has quit IRC01:55
*** ricolin has quit IRC01:57
*** sdake has joined #heat01:58
*** Qiming_ is now known as Qiming02:04
*** zhenguo has joined #heat02:06
*** jfluhmann has joined #heat02:07
*** pm90_ has quit IRC02:22
*** manishg has joined #heat02:30
*** achanda has joined #heat02:43
*** ricolin has joined #heat02:44
*** spzala has quit IRC02:47
*** jaime49 has quit IRC02:48
*** sabeen has joined #heat02:51
*** dims_ has quit IRC02:57
*** Yanyanhu has joined #heat02:58
*** Yanyan has joined #heat03:03
*** manishg has quit IRC03:04
*** Yanyanhu has quit IRC03:06
*** zengyingzhe has joined #heat03:13
*** kebray has joined #heat03:14
*** kebray has quit IRC03:15
*** kebray has joined #heat03:16
*** kebray has quit IRC03:17
*** bana_k has quit IRC03:17
*** kebray has joined #heat03:17
*** bana_k has joined #heat03:26
ramishrastevebaker: hi around?03:27
stevebakerramishra: hey03:27
ramishrastevebaker:  https://bugs.launchpad.net/heat/+bug/1496555 looks like same as https://bugs.launchpad.net/heat/+bug/1498495.03:27
openstackLaunchpad bug 1496555 in heat "Software Deployment metadata timeout" [High,Triaged] - Assigned to Steve Baker (steve-stevebaker)03:27
openstackLaunchpad bug 1498495 in heat "ActionInProgress_Remote: Stack TemplateResourceUpdateFailedTest already has an action (CREATE) in progress." [High,In progress] - Assigned to Rabi Mishra (rabi)03:27
ramishrahttp://logs.openstack.org/96/228796/3/check/gate-heat-dsvm-functional-orig-mysql/e013ae4/logs/screen-h-eng.txt.gz?level=ERROR#_2015-09-30_02_11_42_31803:28
ramishraI've put a comment on that regard for  149849503:29
stevebakerramishra: I recall your earlier patch, https://review.openstack.org/#/c/227156/3 looks cleaner03:30
ramishrayou mean  https://review.openstack.org/#/c/227156/1?03:31
stevebakeryeah03:31
ramishraI'm ok with that03:31
ramishrashardy suggested  we should  do it differently, that's why I changed it.03:32
ramishrareleasing the lock and updating the db together rather than  adding eventlet.sleep03:36
*** hdd has joined #heat03:38
*** sdake has quit IRC03:38
ramishrastevebaker: what do you suggest? would you be able to put a comment there and then I can discuss with shardy?03:40
*** sdake has joined #heat03:41
stevebakerramishra: do you think this fixes the race or just makes the window smaller? It looks fine to me but my brain is fried from a day of triggering a rabbitmq cluster bug03:41
ramishrastevebaker: both cases it make the window smaller:).  Probably the latest patch is more deterministic. However, IMO, both should suffice for this particular issue, as we are creating an empty template and then updating it.03:46
stevebakerramishra: ok, lgtm03:46
*** sdake has quit IRC03:46
stevebakerramishra: I've marked https://bugs.launchpad.net/heat/+bug/1496555 as a duplicate, until it turns out it isn't03:48
openstackLaunchpad bug 1498495 in heat "duplicate for #1496555 ActionInProgress_Remote: Stack TemplateResourceUpdateFailedTest already has an action (CREATE) in progress." [High,In progress] - Assigned to Rabi Mishra (rabi)03:48
ramishrathanks, sure03:49
*** sdake has joined #heat03:49
*** links has joined #heat03:53
*** kebray_ has joined #heat03:54
*** zengyingzhe_ has joined #heat03:54
*** zengyingzhe has quit IRC03:56
*** kebray has quit IRC03:57
*** KanagarajM has joined #heat03:57
*** dims has joined #heat03:57
*** neelashah has joined #heat03:57
*** dims has quit IRC04:03
*** neelashah has quit IRC04:07
*** jfluhmann has quit IRC04:16
*** bana_k has quit IRC04:22
*** bana_k has joined #heat04:26
*** sdake has quit IRC04:28
*** links has quit IRC04:36
*** vijayagurug has joined #heat04:41
*** bana_k has quit IRC05:05
*** kfox1111 has quit IRC05:09
*** hdd has quit IRC05:10
*** links has joined #heat05:13
*** LimorStotland has joined #heat05:20
ramishrastevebaker: Would you be able to approve https://review.openstack.org/#/c/228796/? This would unblock the gate.05:21
*** KanagarajM has quit IRC05:26
*** alexpilotti has quit IRC05:33
*** inc0 has joined #heat05:34
*** lsmola has joined #heat05:43
*** LimorStotland has quit IRC05:51
*** vgridnev has joined #heat06:00
*** LimorStotland has joined #heat06:09
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Imported Translations from Zanata  https://review.openstack.org/22811806:11
*** sabeen has quit IRC06:14
*** sileht has quit IRC06:17
*** kebray_ has quit IRC06:24
*** sdake has joined #heat06:25
*** sileht has joined #heat06:28
*** tspatzier has joined #heat06:30
*** sdake has quit IRC06:32
*** sergmelikyan has joined #heat06:32
*** jprovazn has joined #heat06:33
skraynevmorning all06:45
*** x3k` has quit IRC06:46
skraynevstevebaker: around?06:47
*** pas-ha has joined #heat06:49
stevebakerskraynev: \o06:50
skraynevstevebaker: hi. wanted to ask you about any topics related with release candidates status for meeting :) if you have some updates, will be really nice to hear it during meeting todays ;)06:53
stevebakerskraynev: I can do an update, it will be short06:53
*** Marga_ has quit IRC06:56
skraynevstevebaker: ok. that what I wanted :) thx06:56
*** Marga_ has joined #heat06:56
*** rakesh_hs has joined #heat06:57
*** KanagarajM has joined #heat06:58
skraynevmeeting time :)06:59
*** Marga__ has joined #heat06:59
*** kevinbenton has quit IRC07:03
*** Marga_ has quit IRC07:03
*** Marga__ has quit IRC07:18
*** sergmelikyan has quit IRC07:19
openstackgerritMerged openstack/heat: Change cinder client version to 2 for integration tests  https://review.openstack.org/22879607:20
*** kevinbenton has joined #heat07:21
*** Kennan has quit IRC07:23
*** alexpilotti has joined #heat07:24
*** sdake has joined #heat07:25
*** Kennan has joined #heat07:25
*** shardy has joined #heat07:29
*** sergmelikyan has joined #heat07:33
*** vgridnev has quit IRC07:42
*** vgridnev has joined #heat07:43
*** achanda has quit IRC07:48
*** sergmelikyan has quit IRC07:51
*** vijayagurug has left #heat07:54
*** sergmelikyan has joined #heat07:57
*** alexpilotti has quit IRC07:58
stevebakerI need to go \o08:01
skraynevstevebaker: bb08:01
*** jistr has joined #heat08:02
*** e0ne has joined #heat08:03
*** gberginc has joined #heat08:08
*** alexpilotti has joined #heat08:13
*** yassine__ has joined #heat08:15
*** derekh has joined #heat08:16
*** vgridnev has quit IRC08:22
*** blues-man has joined #heat08:25
openstackgerritYingzhe Zeng proposed openstack/python-heatclient: Fix the bug when showing event in log format  https://review.openstack.org/22838908:48
*** shardy_ has joined #heat08:49
*** shardy has quit IRC08:51
openstackgerritYingzhe Zeng proposed openstack/python-heatclient: Fix the bug when showing event in log format  https://review.openstack.org/22838908:52
*** shardy_ has quit IRC08:55
*** shardy has joined #heat08:55
*** Qiming has quit IRC08:57
*** Yanyan has quit IRC08:57
*** e0ne has quit IRC09:00
*** e0ne has joined #heat09:00
*** nijaba has quit IRC09:01
*** alexpilotti has quit IRC09:04
*** nijaba has joined #heat09:08
*** vgridnev has joined #heat09:18
*** dims has joined #heat09:32
*** ananta has joined #heat09:33
*** KanagarajM_ has joined #heat09:35
*** KanagarajM has quit IRC09:38
*** dims has quit IRC09:39
*** dims has joined #heat09:42
*** liusheng has quit IRC09:47
*** ricolin has quit IRC09:51
*** sergmelikyan has quit IRC09:51
*** zengyingzhe_ has quit IRC09:52
*** Qiming has joined #heat09:56
openstackgerritSirushti Murugesan proposed openstack/heat: Remove ceilometer specific config for grenade plugin  https://review.openstack.org/22687910:02
*** KanagarajM_ has quit IRC10:07
*** LimorStotland has quit IRC10:18
*** jasondotstar_afk is now known as jasondotstar10:19
*** sergmelikyan has joined #heat10:23
*** LimorStotland has joined #heat10:36
*** e0ne has quit IRC10:36
*** shardy_ has joined #heat10:39
*** shardy has quit IRC10:41
*** Qiming has quit IRC10:42
*** Qiming has joined #heat10:43
openstackgerritMerged openstack/heat: Reduce frequency of logging environment resources  https://review.openstack.org/22744110:44
*** blomquisg has quit IRC10:44
openstackgerritMerged openstack/heat: Remove tests for _show_resource in trove  https://review.openstack.org/22474610:44
*** shardy_ has quit IRC10:45
*** shardy has joined #heat10:45
*** blues-man has quit IRC10:59
*** gberginc has quit IRC11:09
*** gberginc has joined #heat11:09
*** e0ne has joined #heat11:18
*** sergmelikyan has quit IRC11:19
openstackgerritMerged openstack/heat: Remove dead code from StackResource update_with_template  https://review.openstack.org/22716311:27
openstackgerritMartin Mágr proposed openstack/heat-templates: Improve handling of Puppet output  https://review.openstack.org/18873711:30
*** sergmelikyan has joined #heat11:31
openstackgerritOleksii Chuprykov proposed openstack/heat: Encode Location header in utf-8  https://review.openstack.org/22882111:34
*** blomquisg has joined #heat11:46
*** LimorStotland has quit IRC11:48
*** jruano has joined #heat11:52
*** steveg_afk has joined #heat11:55
*** steveg_afk has quit IRC11:55
*** jtomasek has joined #heat12:04
*** htruta` is now known as htruta12:05
*** mrutkows has joined #heat12:09
*** MVenesio has joined #heat12:10
*** hdd has joined #heat12:12
*** LimorStotland has joined #heat12:16
openstackgerritMerged openstack/heat: Don't inject extra config into neutron-vpnaas.conf  https://review.openstack.org/22665112:20
*** sdake has quit IRC12:22
*** sdake has joined #heat12:23
*** jprovazn has quit IRC12:30
*** jruano has quit IRC12:31
*** blues-man has joined #heat12:32
openstackgerritOleksii Chuprykov proposed openstack/heat: Encode Location header in utf-8  https://review.openstack.org/22882112:34
*** Qiming_ has joined #heat12:36
*** Kennan has quit IRC12:38
*** Kennan has joined #heat12:39
*** Qiming has quit IRC12:39
*** dyasny has quit IRC12:40
*** jtomasek has quit IRC12:41
*** blues-man has quit IRC12:41
*** jtomasek has joined #heat12:41
*** mrutkows has quit IRC12:44
*** achanda has joined #heat12:44
*** hdd has quit IRC12:45
*** pm90_ has joined #heat12:50
*** pm90__ has joined #heat12:53
*** mrutkows has joined #heat12:54
*** pm90__ has quit IRC12:55
*** pm90_ has quit IRC12:56
*** jonesbr has joined #heat12:57
*** mrutkows has quit IRC12:58
*** blues-man has joined #heat12:59
*** achanda has quit IRC13:00
*** spzala has joined #heat13:03
openstackgerritRob Pothier proposed openstack/heat: Update Baymodel in Magnum resources  https://review.openstack.org/22914313:04
*** spzala has quit IRC13:05
*** jprovazn has joined #heat13:10
*** zeih has joined #heat13:14
*** blues-man has quit IRC13:14
*** jecarey has joined #heat13:14
*** blues-man has joined #heat13:22
*** hdd has joined #heat13:32
*** zeih_ has joined #heat13:39
*** jasond has joined #heat13:40
shardypas-ha: Hey, I was wondering what the status of bug #1492942 is?13:43
openstackbug 1492942 in Heat Templates "gate-heat-templates-dsvm failed at validate-templates" [Undecided,New] https://launchpad.net/bugs/1492942 - Assigned to Pavlo Shchelokovskyy (pshchelo)13:43
*** zeih has quit IRC13:43
shardyIf there's no fix likely soon, should we make the job temporarily non-voting?13:43
pas-haneed, to merge this one https://review.openstack.org/#/c/227875/ in heat and then https://review.openstack.org/#/c/227703/ to heat-templates13:44
shardyjistr: ^^13:44
jistrthanks13:45
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Allow many-to-one glob mapping in registry  https://review.openstack.org/22787513:45
* pas-ha just rebasing to see if integration job is healed13:46
shardypas-ha: Looks good, I wonder if there's another way to handle the recursion check, e.g explicitly excluding an exact match of the value in the mapping?13:48
*** neelashah has joined #heat13:48
pas-hado you mean just skip it w/o errors?13:48
shardyThis approach looks fine, it's just slightly less convenient if we can't transparently allow the OS::* or OS::Heat::* approach for testing13:48
*** dims has quit IRC13:49
shardypas-ha: Yeah, because OS::Heat::None will match itself, so there's no need for the glob to resolve13:49
*** dims has joined #heat13:49
shardypas-ha: I thought we did something similar when creating the child environment for nested stacks, sec13:49
pas-haoh, got your point, will try13:50
*** sergmelikyan has quit IRC13:54
shardypas-ha: Yeah, I think that's basically why we have item_to_remove in environment.get_child_environment13:54
*** rpothier has joined #heat13:56
*** zeih_ has quit IRC14:02
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (3)  https://review.openstack.org/22666814:02
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (2)  https://review.openstack.org/22879814:02
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (1)  https://review.openstack.org/22666314:02
*** neelashah has quit IRC14:02
*** neelashah has joined #heat14:03
*** sergmelikyan has joined #heat14:04
*** blues-man has quit IRC14:05
*** jaime49 has joined #heat14:07
*** jaime49 has quit IRC14:10
*** shardy_ has joined #heat14:13
*** blues-man has joined #heat14:13
*** vijendar has joined #heat14:14
*** shardy has quit IRC14:14
*** ananta has quit IRC14:15
*** rakesh_hs has quit IRC14:18
*** hdd has quit IRC14:18
*** shardy_ has quit IRC14:18
*** shardy has joined #heat14:19
*** lkarm has joined #heat14:19
*** lkarm has quit IRC14:19
*** zeih has joined #heat14:22
*** keyz182 has joined #heat14:22
*** hdd has joined #heat14:23
*** pm90_ has joined #heat14:25
*** pm90__ has joined #heat14:26
*** jruano has joined #heat14:27
*** kebray has joined #heat14:29
*** pm90_ has quit IRC14:30
*** zeih has quit IRC14:31
*** zeih has joined #heat14:32
*** neelashah has quit IRC14:33
*** kebray has quit IRC14:34
*** neelashah has joined #heat14:34
*** jaime49 has joined #heat14:38
*** jaime49 has quit IRC14:39
*** jaime49 has joined #heat14:39
*** LimorStotland has quit IRC14:40
*** shardy_ has joined #heat14:42
*** inc0 has quit IRC14:44
*** shardy has quit IRC14:44
*** blues-man has quit IRC14:46
*** shardy_ has quit IRC14:48
*** shardy has joined #heat14:49
*** blomquisg has quit IRC14:55
*** jprovazn has quit IRC14:55
*** sabeen has joined #heat14:56
*** klindgren__ has quit IRC14:56
*** klindgren__ has joined #heat14:58
*** manishg has joined #heat14:59
*** sabeen3 has joined #heat14:59
*** sabeen has quit IRC15:00
*** gberginc has quit IRC15:01
*** signed8bit has joined #heat15:04
*** manishg has quit IRC15:05
*** manishg has joined #heat15:05
*** jistr has quit IRC15:07
*** sdake has quit IRC15:08
*** Drago has joined #heat15:09
*** Drago has quit IRC15:09
*** Drago has joined #heat15:09
*** sdake has joined #heat15:10
*** blomquisg has joined #heat15:10
*** vgridnev has quit IRC15:12
*** dims_ has joined #heat15:16
*** gberginc has joined #heat15:18
*** randallburt has joined #heat15:19
*** manishg has quit IRC15:19
*** randallburt has quit IRC15:20
*** dims has quit IRC15:20
*** randallburt has joined #heat15:20
*** links has quit IRC15:21
daneyon_i have 2 resource groups for 2 different types of nova instances. Is it possible to have resource group 2 pull an attribute from resource group 1? I am basically trying to get the ip of the server from resource group 1 and pass it to the server(s) in resource group 2.15:23
pas-hadaneyon_, http://docs.openstack.org/developer/heat/template_guide/composition.html#get-access-to-nested-attributes15:24
daneyon_pas-ha thx for sharing, i'm reviewing.15:25
pas-haor for resource group, an extra index needed15:25
pas-hahttps://github.com/pshchelo/stackdev/blob/master/templates/autoscaling/asg.yaml#L11315:25
pas-habut do you really need only one (any) IP from RG?15:26
*** blues-man has joined #heat15:26
pas-haAFAIU indexes might change, so that after some scale up/down you might no longer have resource 0..15:27
*** jaime49 has quit IRC15:27
*** jtomasek has quit IRC15:27
*** jaime49 has joined #heat15:28
*** signed8bit is now known as signed8bit_ZZZzz15:28
*** manishg has joined #heat15:30
*** jasond has quit IRC15:31
*** jasond has joined #heat15:31
openstackgerritRob Pothier proposed openstack/heat: Add Bay to Magnum resources  https://review.openstack.org/19317415:34
*** zeih has quit IRC15:37
*** signed8bit_ZZZzz is now known as signed8bit15:38
daneyon_pas-ha i use the 2 rg's for two different types of server groups (swarm manager and swarm agents). The servers in rg-2 (swarm-agents) need to get the ip address of the swarm-manager in rg-1.15:38
daneyon_I am using a rg for the swarm-manager b/c in the future, I would like to support multiple managers. At that point, I will create the appropriate neutron lbaas resources in the primary template and point rg-2 to the vip created in the primary instead of using the actual ip of the swarm manager in rg-115:39
jasondskraynev: for some reason i can't add you as a reviewer in gerrit, you're not in the list15:40
jasondskraynev: nevermind.  if i type in your email rather than your name, it shows up15:41
*** markvan_ has joined #heat15:43
*** jecarey_ has joined #heat15:43
*** neelashah1 has joined #heat15:43
*** neelashah has quit IRC15:44
*** ricolin has joined #heat15:44
*** markvan__ has joined #heat15:44
*** jecarey has quit IRC15:44
*** jecarey__ has joined #heat15:44
*** markvan has quit IRC15:44
*** neelashah has joined #heat15:45
*** jecarey_ has quit IRC15:48
*** neelashah1 has quit IRC15:48
*** markvan_ has quit IRC15:48
*** tspatzier has quit IRC15:57
*** tspatzier has joined #heat15:58
*** tspatzier has quit IRC15:58
*** Qiming_ has quit IRC16:06
*** pas-ha has quit IRC16:06
daneyon_pas-ha where does resource.0 come from in the asg example you provided?16:06
*** dims_ has quit IRC16:06
*** kebray has joined #heat16:09
*** zhenguo has quit IRC16:14
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (3)  https://review.openstack.org/22666816:15
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (2)  https://review.openstack.org/22879816:15
openstackgerritRakesh H S proposed openstack/heat: Convergence: Fix to use cache_data for FnGetRefId (1)  https://review.openstack.org/22666316:15
*** kebray has quit IRC16:15
*** blues-man has quit IRC16:27
*** blomquisg1 has joined #heat16:33
*** hdd has quit IRC16:33
*** vgridnev has joined #heat16:33
*** kebray has joined #heat16:33
*** dims_ has joined #heat16:33
*** blues-man has joined #heat16:34
*** blomquisg has quit IRC16:36
*** hdd has joined #heat16:37
*** zeih has joined #heat16:38
*** lsmola has quit IRC16:44
*** devlaps has joined #heat16:50
*** harlowja has quit IRC16:52
*** flaper87 has quit IRC16:55
*** flaper87 has joined #heat16:55
*** blues-man has quit IRC16:56
*** keyz182 has quit IRC16:57
*** derekh has quit IRC16:57
*** ricolin has quit IRC16:57
*** achanda has joined #heat16:58
*** getvasanth has joined #heat17:01
*** achanda has quit IRC17:01
*** spzala has joined #heat17:03
*** manishg has quit IRC17:03
*** blues-man has joined #heat17:03
*** yassine__ has quit IRC17:05
*** getvasanth has quit IRC17:05
*** manishg has joined #heat17:06
*** manishg has quit IRC17:07
*** manishg has joined #heat17:08
*** marcin_kosa has joined #heat17:08
marcin_kosacan anyone has an idea on how to implement auto-healing in heat template? I would like to create a ceilometer alarm based on VMs status or health, so when they go to error state, or become unreachable VM instance should be either rebuilt, or at least autoscaling group should scaleup17:09
*** pm90__ has quit IRC17:10
*** manishg_ has joined #heat17:10
*** rpothier has quit IRC17:11
*** manishg_ has quit IRC17:11
*** blues-man has quit IRC17:11
*** manishg_ has joined #heat17:11
*** manishg has quit IRC17:12
marcin_kosaanyone?17:12
*** signed8bit is now known as signed8bit_ZZZzz17:12
*** jasond has quit IRC17:13
*** LimorStotland has joined #heat17:13
*** e0ne has quit IRC17:14
*** signed8bit_ZZZzz is now known as signed8bit17:15
*** KanagarajM has joined #heat17:15
*** LimorStotland has quit IRC17:19
*** sergmelikyan has quit IRC17:24
*** bana_k has joined #heat17:30
*** shakamunyi has quit IRC17:35
*** achanda has joined #heat17:37
openstackgerritMerged openstack/heat: Make OS::Monasca::AlarmDefinition expression property non-updateable  https://review.openstack.org/22490417:38
*** tspatzier has joined #heat17:40
*** klindgren__ is now known as klindgren17:54
*** neelashah has quit IRC17:57
*** Drago has quit IRC17:58
*** tspatzier has quit IRC17:59
*** Marga_ has joined #heat17:59
*** Marga_ has quit IRC17:59
*** Marga_ has joined #heat18:00
*** shakamunyi has joined #heat18:01
*** kebray has quit IRC18:01
*** jonesbr has quit IRC18:01
*** jonesbr has joined #heat18:02
*** jonesbr has left #heat18:02
*** jonesbr has joined #heat18:02
*** neelashah has joined #heat18:03
*** KanagarajM has quit IRC18:07
*** KanagarajM has joined #heat18:08
*** pm90_ has joined #heat18:09
*** harlowja has joined #heat18:13
*** e0ne has joined #heat18:13
*** openstackgerrit has quit IRC18:16
*** openstackgerrit has joined #heat18:17
*** kebray has joined #heat18:17
*** slowe has joined #heat18:18
*** pm90__ has joined #heat18:18
*** slowe has quit IRC18:18
*** pm90_ has quit IRC18:21
*** tspatzier has joined #heat18:21
marcin_kosaguys how can I do something like this: http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html18:22
marcin_kosain Openstack18:22
*** e0ne has quit IRC18:23
*** signed8bit is now known as signed8bit_ZZZzz18:26
*** Drago has joined #heat18:29
*** Drago has quit IRC18:29
*** Drago has joined #heat18:29
*** e0ne has joined #heat18:29
*** spzala has quit IRC18:34
*** Drago has quit IRC18:36
*** Drago1 has joined #heat18:36
*** dims_ has quit IRC18:46
*** openstackgerrit has quit IRC18:46
*** dims_ has joined #heat18:46
*** openstackgerrit has joined #heat18:47
*** achanda has quit IRC18:50
*** achanda has joined #heat18:53
*** david-lyle has quit IRC18:55
*** david-lyle has joined #heat18:55
*** kebray has quit IRC18:57
*** pm90__ has quit IRC18:58
*** manishg_ has quit IRC18:59
*** achanda has quit IRC19:02
*** manishg has joined #heat19:04
*** signed8bit_ZZZzz is now known as signed8bit19:08
*** inc0 has joined #heat19:08
*** signed8bit is now known as signed8bit_ZZZzz19:08
*** signed8bit_ZZZzz is now known as signed8bit19:08
*** spzala has joined #heat19:11
*** manishg has quit IRC19:11
*** manishg has joined #heat19:11
shardymarcin_kosa: The short answer unfortunately is you can't easily do it without hacks like those described in https://review.openstack.org/#/c/124656/19:13
shardymarcin_kosa: it's definitely something we'd like to see improved, but the implementation described in that spec wasn't approved and those working on it appear to have moved on to other things19:15
*** david-lyle has quit IRC19:22
*** david-lyle has joined #heat19:22
*** manishg has quit IRC19:30
*** manishg has joined #heat19:31
*** david-lyle has quit IRC19:35
*** manishg has quit IRC19:36
*** inc0 has quit IRC19:37
*** manishg has joined #heat19:38
*** signed8bit is now known as signed8bit_ZZZzz19:43
stevebakermorning19:44
*** signed8bit_ZZZzz is now known as signed8bit19:46
shardyhey stevebaker19:47
stevebakershardy: evening19:47
*** Marga_ has quit IRC19:50
*** david-lyle has joined #heat19:52
*** gberginc has quit IRC20:01
marcin_kosashardy: I wish that was not dropped20:02
*** pm90_ has joined #heat20:03
*** david-ly_ has joined #heat20:07
*** david-lyle has quit IRC20:07
*** david-ly_ is now known as david-lyle20:08
*** dyasny has joined #heat20:11
*** shardy has quit IRC20:14
*** Marga_ has joined #heat20:15
*** thumpba has joined #heat20:25
*** signed8bit is now known as signed8bit_ZZZzz20:30
*** tspatzier has quit IRC20:33
*** tspatzier has joined #heat20:33
*** blomquisg1 has quit IRC20:33
*** tspatzier has quit IRC20:33
*** signed8bit_ZZZzz is now known as signed8bit20:36
*** sergmelikyan has joined #heat20:39
*** MVenesio has quit IRC20:48
*** steveg_afk has joined #heat20:48
*** thumpba has quit IRC21:01
*** bana_k has quit IRC21:02
*** david-lyle has quit IRC21:03
*** thumpba has joined #heat21:03
*** david-ly_ has joined #heat21:03
*** david-ly_ is now known as david-lyle21:05
*** signed8bit is now known as signed8bit_ZZZzz21:06
openstackgerritMerged openstack/heat: Do not pass rich objects in Cloud LoadBalancer delete  https://review.openstack.org/21643721:07
*** signed8bit_ZZZzz is now known as signed8bit21:08
*** thumpba has quit IRC21:08
*** kebray has joined #heat21:08
*** thumpba has joined #heat21:09
*** KanagarajM has quit IRC21:11
*** jasond has joined #heat21:11
*** kebray has quit IRC21:13
*** jaime49 has quit IRC21:17
*** steveg_afk has quit IRC21:18
daneyon_shardy I am trying to have 1 resource group pull either a resource or an output from another resource group. Is that possible? I'm not having any luck with it.21:18
*** pm90__ has joined #heat21:23
sdakestevebaker or asalkeld can you help daneyon_ with some heat wizardy ?21:26
sdakeit involves some magic i'm not sure about21:26
daneyon_thx sdake21:26
sdakefor th emagnum project21:26
*** pm90_ has quit IRC21:26
*** david-lyle has quit IRC21:26
daneyon_I am trying to have 1 resource group pull either a resource or an output from another resource group. Is that possible?21:26
*** Marga_ has quit IRC21:26
*** sergmelikyan has quit IRC21:27
sdakedaneyon_ fwiw i think that is possible I just dont know the syntax21:27
stevebakerdaneyon_, sdake: sure21:27
stevebakerdaneyon_: it is possible, but it could also be a sign you're doing it wrong ;)21:28
daneyon_stevebaker that is a strong possibility :-)21:29
*** david-lyle has joined #heat21:29
daneyon_1 sec. I am creating a gist of the templates21:29
stevebakerok21:29
*** metral is now known as metral_zzz21:30
*** sergmelikyan has joined #heat21:30
daneyon_stevebaker here is the gist: https://gist.github.com/danehans/c8b253f584ec0dd20faa swarm.yaml is the parent of master/node.yaml. master/node orchestrate 2 different nova server types and the server's associated config. The param that I'm having an issue with is swarm_master_ip21:31
daneyon_swarm_master_eth0 is created in master.yaml. This resource is needed by node.yaml to configure some of the services running on the node servers.21:33
daneyon_I am using an rg to define the master b/c in the future I would like to have multiple master instances21:34
*** jonesbr has left #heat21:35
*** jaime49 has joined #heat21:35
stevebakerdaneyon_: is swarm.yaml the top level template?21:35
*** jaime49 has quit IRC21:35
daneyon_stevebaker: yes21:36
*** jaime49 has joined #heat21:36
*** neelashah has quit IRC21:36
*** bana_k has joined #heat21:36
*** bana_k has quit IRC21:36
*** bana_k has joined #heat21:36
daneyon_stevebaker: swarm.yaml outputs gets the swarm_master_ip: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L262-L26321:36
daneyon_when I try to do the same in the swarm_nodes rg, it fails: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L24721:37
stevebakerdaneyon_: and what is the value of the output swarm_master_ip? (exactly)21:38
daneyon_when I do a show-stack I see the IP of the master node created from the master rg: "10.0.0.4"21:38
stevebakerdaneyon_: or is it a list? ["10.0.0.4"]21:39
*** thumpba_ has joined #heat21:40
daneyon_stevebaker refresh your gist. i added a new file for the stack show21:41
*** jobewan has joined #heat21:42
daneyon_stevebaker i think you are correct, I believe it's a list instead of a string.21:42
stevebakerdaneyon_: yeah, its a single item list, so try swarm_master_ip: {get_attr: [swarm_master, swarm_master_ip, 0]}21:42
daneyon_stevebaker let me try21:43
*** thumpba has quit IRC21:43
daneyon_stevebaker: When I specify swarm_master_ip: {get_attr: [swarm_master, swarm_master_ip, 0]} in my resource group. I should create a param in node.yaml for swarm_master_ip, correct?21:45
stevebakerdaneyon_: yes, resource properties map to template parameters21:46
*** thumpba_ has quit IRC21:46
daneyon_ok, that's what I understood. I just wanted to dbl check with you.21:46
*** thumpba has joined #heat21:46
*** jaime49 has quit IRC21:47
*** david-lyle has quit IRC21:48
*** Marga_ has joined #heat21:48
*** tlashchova has quit IRC21:49
*** sergmelikyan has quit IRC21:49
*** Divining has joined #heat21:50
*** metral_zzz is now known as metral21:53
*** jaime49 has joined #heat21:54
daneyon_stevebaker: no luck. Refresh your gist for the latest. I added the engine logs. Same error: Property error: resources[0].properties.swarm_master_ip: Value must be a string21:54
*** david-lyle has joined #heat21:54
*** sdake has quit IRC21:55
stevebakerdaneyon_: another option is to use the attributes attribute. http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::ResourceGroup-attr-attributes The "name" of a resource group member is its list index, so...21:57
*** sdake has joined #heat21:57
stevebaker... try something like swarm_master_ip: {get_attr: [swarm_master, attributes, swarm_master_ip, '0']}21:59
daneyon_stevebaker: let me give it a try21:59
stevebakerdaneyon_: this is what tripleo does, but generally to get the whole map, not a single value https://github.com/openstack/tripleo-heat-templates/blob/master/overcloud-without-mergepy.yaml#L114122:00
daneyon_stevebaker so swarm_master_ip in master.yaml is an output. Is it possible to reference the resource in the master.yaml directly (swarm_master_eth0, fixed_ips, 0, ip_address) or do I need to reference an output?22:02
stevebakerdaneyon_: you need to reference an output. template outputs are mapped to resource attributes22:03
daneyon_stevebaker ok22:03
*** thumpba has quit IRC22:05
*** pm90__ has quit IRC22:05
daneyon_stevebaker: same problem22:06
stevebakerdaneyon_: can you update the gist with everything?22:07
daneyon_stevebaker: I simply changed swarm_master_ip: {get_attr: [swarm_master, swarm_master_eth0, fixed_ips, 0, ip_address]} to swarm_master_ip: {get_attr: [swarm_master, attributes, swarm_master_ip, '0']} in swarm.yaml22:07
daneyon_stevebaker I will update the gist. Give me a couple min to do so. In the meantime, I made the simple change ^ and get the same error.22:08
*** jruano has quit IRC22:10
daneyon_stevebaker: gist updated22:11
daneyon_stevebaker: I noticed in the stack-show, the output value of swarm_master now shows "1" instead of "IP Address": https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-stack-show-L24 This is b/c I added 0 here: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L26422:14
*** david-lyle has quit IRC22:15
stevebakerdaneyon_: could you change that output to {get_attr: [swarm_master, attributes, swarm_master_ip]} and update the stack-show?22:15
daneyon_stevebaker: let me give it a try22:15
*** jecarey__ has quit IRC22:17
*** jasond has quit IRC22:20
daneyon_stevebaker: same error. gist updated.22:23
stevebakerdaneyon_: I meant the swarm_master output in swarm.yaml so I could see its value. Change https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L264 to {get_attr: [swarm_master, attributes, swarm_master_ip]}22:25
daneyon_stevebaker: I changed the swarm_master output in swarm.yaml back to how it was (removed the 0) and I now see the correct ip in the stack show: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-stack-show-L2422:25
stevebakerdaneyon_: yeah, but I'm intrested in the attributes value22:26
stevebaker{get_attr: [swarm_master, attributes, swarm_master_ip]}22:26
stevebaker                                          ^22:26
daneyon_stevebaker: ok, I miss understood you.22:26
stevebakernp22:27
*** vijendar has quit IRC22:27
daneyon_stevebaker: should I leave this as-is: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L24922:28
stevebakerdaneyon_: for now, I'm just interested in the value22:28
daneyon_ok22:28
*** sabeen3 has quit IRC22:29
*** devlaps has quit IRC22:30
*** dims__ has joined #heat22:30
daneyon_stevebaker: gist has been updated22:32
*** e0ne has quit IRC22:33
*** dims_ has quit IRC22:33
*** david-lyle has joined #heat22:36
stevebakerdaneyon_: ok, I think this is a case of over-zealous validation before the value is populated. I would recommend adopting the same pattern as tripleo, which is pass in the whole map instead of a single string. I'll go through the changes required22:39
daneyon_stevebaker: ok22:39
stevebakerdaneyon_: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L30 make this swarm_master_ips: {type: json}22:39
stevebakerdaneyon_: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L110 "$SWARM_MASTER_IP": {get_param: swarm_master_ip, '0'}22:40
stevebakerdaneyon_: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L110 "$SWARM_MASTER_IP": {get_param: swarm_master_ips, '0'}22:40
stevebakerhttps://gist.github.com/danehans/c8b253f584ec0dd20faa#file-swarm-yaml-L249 swarm_master_ips: {get_attr: [swarm_master, attributes, swarm_master_ip]}22:41
stevebakerthats it I think22:41
stevebakerdaneyon_: you can see the same pattern here https://github.com/openstack/tripleo-heat-templates/blob/master/overcloud-without-mergepy.yaml#L1332 https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml#L7 https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml#L32222:43
stevebakerdaneyon_: whoops https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L110 "$SWARM_MASTER_IP": {get_param: [swarm_master_ips, '0']}22:44
daneyon_stevebaker let me take a look22:45
daneyon_stevebaker: using json instead of a string causes a problem here: https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-master-yaml-L15522:55
daneyon_stevebaker: str_replace is being used in several places throughout.22:55
*** spzala has quit IRC22:56
*** spzala has joined #heat22:57
stevebakerdaneyon_: don't you mean https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L110 ? master.yaml won't need any changes22:57
daneyon_stevebaker you are correct23:01
stevebakerdaneyon_: it should be https://gist.github.com/danehans/c8b253f584ec0dd20faa#file-node-yaml-L110 "$SWARM_MASTER_IP": {get_param: [swarm_master_ips, '0']}23:03
*** signed8bit is now known as signed8bit_ZZZzz23:07
*** jruano has joined #heat23:08
*** signed8bit_ZZZzz is now known as signed8bit23:10
daneyon_stevebaker: That did the trick. Thank you!!!!23:14
stevebakerdaneyon_: sweet, we should document that folk wisdom23:14
*** hdd has quit IRC23:16
daneyon_stevebaker agreed. where should it be added?23:18
stevebakerdaneyon_: in the missing chapter on clusters and scaling http://docs.openstack.org/developer/heat/template_guide/23:19
*** randallburt has quit IRC23:24
*** Qiming_ has joined #heat23:31
*** jobewan has quit IRC23:32
*** pm90_ has joined #heat23:44
*** manishg has quit IRC23:48

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