Tuesday, 2016-05-17

*** rdo has joined #heat00:07
*** Qiming has joined #heat00:07
*** Drago has joined #heat00:26
*** Drago has quit IRC00:26
*** Drago has joined #heat00:26
*** sdake_ has joined #heat00:27
*** yuanying has joined #heat00:27
*** tmatsu_ has joined #heat00:29
*** yuanying has quit IRC00:30
*** sdake has quit IRC00:30
*** Qiming has quit IRC00:31
*** tmatsu has quit IRC00:32
*** jamielennox|away is now known as jamielennox00:37
*** yuanying has joined #heat00:40
*** dimtruck is now known as zz_dimtruck00:52
*** Qiming has joined #heat01:21
*** bana_k has quit IRC01:22
*** thumpba has quit IRC01:27
*** yuanying has quit IRC01:30
*** marcdufresne has joined #heat01:35
marcdufresnehey guys! I am currently developing something for heat and I was wondering if anyone knew how I could run a single test (instead of the whole suite)?01:38
*** ccamacho has quit IRC01:39
*** bana_k has joined #heat01:41
*** ccamacho has joined #heat01:42
stevebakermarcdufresne: python -m testtools.run heat.tests.name.of.test...01:43
stevebakermarcdufresne: assuming you have pip dependencies installed, or you have a venv activated which does01:43
marcdufresneI've built it with tox so I'll activate it, thanks!01:43
stevebakermarcdufresne: tox creates a venv in .tox/py2701:44
*** yanyanhu has joined #heat01:53
*** zz_dimtruck is now known as dimtruck01:53
*** jamielennox is now known as jamielennox|away01:59
*** elynn has joined #heat02:01
*** elynn has quit IRC02:06
*** sridhar_ram has quit IRC02:07
*** elynn has joined #heat02:07
*** bana_k has quit IRC02:12
*** marcdufresne has quit IRC02:19
*** yuanying has joined #heat02:24
*** tiantian has quit IRC02:26
*** tmatsu_ has quit IRC02:32
*** tmatsu has joined #heat02:33
*** asalkeld has joined #heat02:36
*** wangbo has joined #heat02:36
*** elynn has quit IRC02:39
*** tiantian has joined #heat02:41
*** tmatsu has quit IRC02:42
*** elynn has joined #heat02:43
*** tmatsu has joined #heat02:43
*** elynn has quit IRC02:44
*** elynn has joined #heat02:45
*** Drago has quit IRC02:47
*** tmatsu has quit IRC02:52
*** yuanying has quit IRC02:54
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/31693402:56
openstackgerritOpenStack Proposal Bot proposed openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/31719003:02
*** elynn_ has joined #heat03:04
*** elynn has quit IRC03:07
*** elynn__ has joined #heat03:08
*** elynn_ has quit IRC03:09
*** elynn__ has quit IRC03:13
*** elynn has joined #heat03:15
*** mspreitz has joined #heat03:20
*** tochi has quit IRC03:25
*** links has joined #heat03:31
*** wangbo has quit IRC03:32
*** sdake has joined #heat03:36
*** tmatsu has joined #heat03:37
*** dimtruck is now known as zz_dimtruck03:38
*** sdake_ has quit IRC03:38
*** tmatsu has quit IRC03:43
*** yuanying has joined #heat03:48
*** tmatsu has joined #heat03:48
*** tochi has joined #heat03:51
*** wangbo has joined #heat03:54
*** jamielennox|away is now known as jamielennox03:55
openstackgerritSteve Baker proposed openstack/heat: Don't load nested stack to build the identifier  https://review.openstack.org/31480604:03
openstackgerritSteve Baker proposed openstack/heat: Use a weakref for the data object context  https://review.openstack.org/31721704:03
openstackgerritSteve Baker proposed openstack/heat: Allow creation of cache classes associated with a context  https://review.openstack.org/31721804:03
openstackgerritSteve Baker proposed openstack/heat: DB query to get all resources by the root stack  https://review.openstack.org/31721904:03
openstackgerritSteve Baker proposed openstack/heat: A context cache for Resource objects  https://review.openstack.org/31722004:03
openstackgerritSteve Baker proposed openstack/heat: A context cache for Stack objects  https://review.openstack.org/31722104:03
*** tmatsu_ has joined #heat04:12
*** elynn has quit IRC04:14
*** tmatsu has quit IRC04:16
*** sdake_ has joined #heat04:19
*** sdake has quit IRC04:20
*** yuanying has quit IRC04:22
*** yuanying has joined #heat04:23
*** wangbo has quit IRC04:26
*** yuanying has quit IRC04:27
*** thumpba has joined #heat04:27
*** thumpba has quit IRC04:32
*** wangbo has joined #heat04:39
*** yuanying has joined #heat04:46
*** elynn has joined #heat04:47
*** elynn_ has joined #heat04:52
*** elynn has quit IRC04:53
*** mspreitz has quit IRC04:55
*** fragatina has quit IRC04:56
*** sdake_ has quit IRC04:56
*** bana_k has joined #heat05:01
*** wangbo has quit IRC05:02
*** jcoufal has joined #heat05:04
*** yuanying has quit IRC05:08
*** ananta has joined #heat05:12
*** bana_k has quit IRC05:19
*** wangbo has joined #heat05:21
*** wangbo has quit IRC05:31
*** jaosorior has joined #heat05:43
*** wangbo has joined #heat05:43
*** wangbo has quit IRC05:43
*** ramishra has quit IRC05:49
*** ramishra has joined #heat05:50
*** elynn_ has quit IRC05:51
*** fragatina has joined #heat05:53
*** fragatina has quit IRC05:53
*** fragatina has joined #heat05:54
*** elynn has joined #heat05:56
*** magicboiz has quit IRC05:58
*** rcernin has joined #heat06:02
*** mohankumar_ has joined #heat06:06
*** nijaba has quit IRC06:07
*** daneyon has quit IRC06:08
*** elynn_ has joined #heat06:08
*** elynn has quit IRC06:10
pas-hamorning Heat06:14
*** magicboiz has joined #heat06:14
openstackgerritMerged openstack/heat: Updated from global requirements  https://review.openstack.org/31693406:16
* pas-ha scrolling back the log06:16
*** rcernin has quit IRC06:18
*** magicboiz has quit IRC06:18
*** rcernin has joined #heat06:21
pas-hamarcdufresne, you can also run a single or group of tests with tox - "tox -epy27 -- <regexp>" just be sure to start your regexp with .* if you do not start it with "heat."06:28
*** thumpba has joined #heat06:28
pas-hatesttools runner is mostly suitable when using pdb and such.06:28
* pas-ha wonders if we should move to "ostestr" that has the --debug capabilities built in for just that06:29
*** mohankumar_ has quit IRC06:31
*** thumpba has quit IRC06:33
*** magicboiz has joined #heat06:33
*** asalkeld has quit IRC06:33
*** wangbo has joined #heat06:35
*** tmatsu has joined #heat06:36
*** jprovazn has joined #heat06:38
*** bana_k has joined #heat06:38
*** tmatsu_ has quit IRC06:39
*** jamielennox is now known as jamielennox|away06:41
*** KanagarajM has joined #heat06:51
*** bana_k has quit IRC06:52
*** jaosorior has quit IRC06:56
*** jaosorior has joined #heat06:57
*** cmyster has quit IRC06:58
*** thumpba has joined #heat07:00
*** thumpba has quit IRC07:06
*** zeih has joined #heat07:12
*** zeih has quit IRC07:17
*** vincentll has joined #heat07:22
openstackgerritMerged openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/31719007:24
*** elynn_ has quit IRC07:28
openstackgerritJuan Antonio Osorio Robles proposed openstack/heat: Account for null timeout in SoftwareDeployment  https://review.openstack.org/31728607:31
*** elynn_ has joined #heat07:33
thervejaosorior, You around? Question about that patch07:38
*** elynn_ has quit IRC07:38
*** elynn_ has joined #heat07:39
jaosoriortherve: What's up?07:39
*** zeih has joined #heat07:39
thervejaosorior, I believe the issue is specific to StructuredDeployment07:39
jaosoriorIs it?07:39
therveAs it inherits SoftwareDeployment but doesn't provide the new property07:40
therveSo I *think* it'd be better to add the property07:40
jaosoriorwell now that makes sense07:40
therveThat said, the right fix is probably to revert the patch07:40
jaosorioralright, lets do that then07:41
jaosoriorsubmitting07:41
openstackgerritJuan Antonio Osorio Robles proposed openstack/heat: Revert "Add timeout for software deployments"  https://review.openstack.org/31729207:43
*** ccard has joined #heat07:43
therveThank you07:44
*** zeih has quit IRC07:44
jaosoriortherve: Thanks you Mr.07:44
*** cmyster has joined #heat07:46
*** nijaba has joined #heat07:46
*** nijaba has quit IRC07:46
*** nijaba has joined #heat07:46
*** shardy has joined #heat08:03
*** jtomasek has joined #heat08:04
openstackgerritKanagaraj Manickam proposed openstack/heat: Migrate nova_instance to physical_resource_id  https://review.openstack.org/11055708:06
openstackgerritKanagaraj Manickam proposed openstack/heat: Migrate nova_instance to physical_resource_id in db schema  https://review.openstack.org/31730208:06
*** dmk0202 has joined #heat08:12
*** jistr has joined #heat08:19
openstackgerritDenes Nemeth proposed openstack/heat-specs: add spec for predictable resource group indexes  https://review.openstack.org/31730808:25
therveI wish I could back in time and -2 %index%08:33
openstackgerritGerard Braad proposed openstack/heat: RDO-Manager name change  https://review.openstack.org/31731408:35
*** derekh has joined #heat08:39
ccardI have seen heat examples using str_replace, where the params are given values using something like "__value__: { get_param: some_parameter }", but I'd like to do something like "__value__: { str_split: ['.', { get_param: some_parameter }, 0] }".08:40
ccardHowever, when I try this I get the error "ERROR: Property error : cloud_init: cloud_config "str_replace" params must be strings or numbers"08:40
*** mohankumar_ has joined #heat08:44
*** jcoufal has quit IRC08:44
ccard(sorry, should have asked this in #cloud-init)08:45
ccard(or not :( - getting confused at the interface between heat and cloud-init here)08:47
therveSounds like a Heat issue08:53
therveccard, What's your template version?08:54
therveYou need to use at least 2015-04-3008:54
ccardThe template version is 2014-10-16. I am running OpenStack Juno08:56
ccardBut "__value__: { get_param: some_parameter }" works ok08:59
*** thumpba has joined #heat09:02
ccardtherve: is there a way of doing something like this with heat in Juno? What I'm trying to do is to take an IP address, w.x.y.z say, and get w.x and w.x.y from it.09:03
openstackgerrithuangtianhua proposed openstack/heat: Adds default policy rule for resources limited to administrator  https://review.openstack.org/31732909:04
*** thumpba has quit IRC09:08
openstackgerritOleksii Chuprykov proposed openstack/heat: Correct filters for resource search  https://review.openstack.org/30422609:18
*** sshnaidm has quit IRC09:22
*** tochi has quit IRC09:23
openstackgerritRabi Mishra proposed openstack/python-heatclient: Allow redirects to use location from response  https://review.openstack.org/31733909:26
*** jcoufal has joined #heat09:30
*** dmk0202 has quit IRC09:31
*** tlashchova has joined #heat09:32
*** blues-man has joined #heat09:36
*** elynn_ has quit IRC09:50
*** higgins has quit IRC09:56
therveccard, I don't think so10:04
*** fragatina has quit IRC10:11
*** fragatina has joined #heat10:11
*** yanyanhu has quit IRC10:12
*** sshnaidm has joined #heat10:15
*** fragatina has quit IRC10:16
*** higgins has joined #heat10:20
*** zeih has joined #heat10:23
openstackgerrithuangtianhua proposed openstack/heat: Set security_groups when create internal ports for nova server  https://review.openstack.org/31404810:24
*** Qiming has quit IRC10:25
*** magicboiz has quit IRC10:27
*** ochuprykov has joined #heat10:27
*** zeih has quit IRC10:27
*** dbecker has quit IRC10:42
*** higgins has quit IRC10:43
*** higgins has joined #heat10:48
*** jcoufal has quit IRC10:48
*** zeih has joined #heat10:50
openstackgerritDmitriy Uvarenkov proposed openstack/heat: Deprecate lbaas v1 resources  https://review.openstack.org/31738010:50
*** jamielennox|away is now known as jamielennox10:53
*** zeih has quit IRC10:54
*** zeih has joined #heat10:57
*** zeih has quit IRC11:02
*** thumpba has joined #heat11:04
*** tmatsu_ has joined #heat11:04
*** tmatsu has quit IRC11:08
*** thumpba has quit IRC11:08
*** jcoufal has joined #heat11:09
*** dbecker has joined #heat11:10
*** ananta has quit IRC11:12
*** Qiming has joined #heat11:20
*** jistr has quit IRC11:24
*** jcoufal has quit IRC11:24
openstackgerritMerged openstack/heat: Allow the server name limit to be configurable  https://review.openstack.org/30665811:28
*** LimorStotland has joined #heat11:28
openstackgerritMerged openstack/heat: Revert "Add timeout for software deployments"  https://review.openstack.org/31729211:29
*** Qiming has quit IRC11:37
*** Qiming has joined #heat11:40
*** tmatsu_ has quit IRC11:41
*** Qiming_ has joined #heat11:43
openstackgerritDmitriy Uvarenkov proposed openstack/heat-specs: Integrate Glare functionality  https://review.openstack.org/31543911:44
*** Qiming has quit IRC11:46
*** dmk0202 has joined #heat11:52
*** Qiming_ has quit IRC11:54
*** Qiming has joined #heat11:57
*** wangbo has quit IRC11:57
*** Qiming has quit IRC11:58
*** wangbo has joined #heat12:00
*** jistr has joined #heat12:00
*** jcoufal has joined #heat12:02
*** wangbo has quit IRC12:04
*** Qiming has joined #heat12:04
*** maishsk has joined #heat12:05
*** maishsk has left #heat12:05
*** maishsk has joined #heat12:05
maishskHello all12:06
*** Qiming has quit IRC12:06
maishskHas heat-cfn and ec2 been deprecated from Openstack?12:06
maishskand if so from which version?12:06
*** Qiming has joined #heat12:07
*** dprince has joined #heat12:08
*** Qiming has quit IRC12:16
*** Qiming has joined #heat12:16
*** wangbo has joined #heat12:16
*** sshnaidm has quit IRC12:17
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409412:17
*** randallburt has joined #heat12:19
openstackgerritDenes Nemeth proposed openstack/heat-specs: add spec for predictable resource group indexes  https://review.openstack.org/31730812:26
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409412:32
*** sshnaidm has joined #heat12:33
zanebmaishsk: ec2 has, I think from mitaka but don't quote me. heat-cfn is still around.12:40
maishskzaneb: Thanks12:40
zanebthe nova ec2 api was moved out of tree, you can still get it from a separate repo, not sure how well maintained it is12:42
*** _prad_ has joined #heat12:42
maishskThanks12:42
*** vincentll has quit IRC12:49
*** elynn has joined #heat12:51
*** jprovazn has quit IRC12:56
*** maishsk has quit IRC12:59
*** fultonj has joined #heat13:01
*** vincentll has joined #heat13:03
*** tlashchova has quit IRC13:03
*** jreeves_afk is now known as jreeves13:11
*** vincentll has quit IRC13:22
*** sabeen has joined #heat13:27
*** openstackgerrit has quit IRC13:32
*** openstackgerrit has joined #heat13:33
*** rpothier has joined #heat13:35
*** jprovazn has joined #heat13:36
*** links has quit IRC13:36
*** vincentll has joined #heat13:36
*** zz_dimtruck is now known as dimtruck13:44
*** sdake has joined #heat13:44
*** crose has joined #heat13:45
*** sdake_ has joined #heat13:48
*** sdake has quit IRC13:49
*** sergio_nubeliu has quit IRC13:50
*** elynn has quit IRC13:51
*** jaosorior has quit IRC13:52
*** tmatsu has joined #heat13:53
*** dimtruck is now known as zz_dimtruck13:53
*** crose has quit IRC13:54
*** jasond has joined #heat13:54
*** wangbo has quit IRC13:55
*** zz_dimtruck is now known as dimtruck13:57
*** tmatsu has quit IRC13:58
*** vincentll has quit IRC13:59
*** sergio_nubeliu has joined #heat14:00
*** wangbo has joined #heat14:02
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/31747914:03
openstackgerritOpenStack Proposal Bot proposed openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/31749814:09
*** wangbo has quit IRC14:12
openstackgerritJay Dobies proposed openstack/heat: Add timeout for software/structured deployments  https://review.openstack.org/31751814:13
*** maishsk has joined #heat14:13
thervejdob, Do you think we could add timeout to SoftwareDeploymentGroup?14:20
jdobnot gonna lie, i didn't realize that existed14:20
* jdob looking14:20
*** spotz_zzz is now known as spotz14:21
therveI'm not sure why it does to be honest14:21
jdoblemme test it out, thanks for the heads up14:21
thervejdob, Maybe a bit annoying, but could you add a test for the failure that tripleo got before the StructuredDeployment change?14:22
therveIt's sad that we didn't notice in our gate14:22
jdobya, surprised we dont have a functional test that creates a StructuredDeployment14:23
jdobas soon as I ran a simple example locally, it barfed14:23
*** wangbo has joined #heat14:24
jdobyou cool if I do it in a follow up patch? i still don't have a 100% stable structured deployment template example, and I'm assuming we don't have one at all in the functional tests if we didn't catch this14:24
thervesure14:25
thervewe have a test but it's skipped :/14:25
jdobi'll add debugging that to my todo list :)14:25
*** zeih has joined #heat14:26
openstackgerritMerged openstack/heat: Set security_groups when create internal ports for nova server  https://review.openstack.org/31404814:26
*** Drago has joined #heat14:30
*** zeih has quit IRC14:30
*** Drago has quit IRC14:40
*** Drago has joined #heat14:43
*** Drago has quit IRC14:43
*** Drago has joined #heat14:43
jaimguergood morning all14:44
*** zeih has joined #heat14:45
*** sirushti has quit IRC14:46
jdobmorning :)14:46
*** sirushti has joined #heat14:49
*** zeih has quit IRC14:50
*** KanagarajM has quit IRC15:00
*** Qiming has quit IRC15:02
*** fultonj has quit IRC15:04
openstackgerritJason Dunsmore proposed openstack/heat: Fix the documentation for HIDDEN support status  https://review.openstack.org/31369115:04
*** fultonj has joined #heat15:05
jdobquestion about http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::SoftwareDeploymentGroup15:05
jdobi can't quite figure out how to generate a map of nova server name to id15:05
*** sdake_ is now known as sdake15:06
jdobi have a resource group creating the servers15:06
jdobbut i'm not sure how to rip out just the names and ids from there15:06
jdobany suggestions?15:06
*** Drago1 has joined #heat15:07
*** vijendar has joined #heat15:09
*** Drago has quit IRC15:10
*** fragatina has joined #heat15:12
thervejdob, {get_attr:  [ServerGroup, attributes, server_id]}15:14
therveserver_id depends on what you defined in your group15:14
jdobthe group is of NovaServers15:14
*** fultonj has quit IRC15:16
*** fragatina has quit IRC15:16
*** rpothier has quit IRC15:17
rookhey shardy i saw the zaneb commit to help with memory usage got merged -- do we have any composes i could check this out with?15:17
jdobthough this doesn't seem to be exactly what I want for groups: AFAICT, it's returning a map of heat resource_name to server_id, but the group wants nova server names15:17
zanebrook: that commit won't really have much of an effect on its own15:17
jdobi'll keep digging15:17
therveI'm pretty sure that's what you want :)15:18
therveThat's what tripleO is using at least15:19
rookzaneb: ok, which other commit should I keep a eye on?15:19
zanebjdob: yeah, what therve said15:20
jdobhrm15:20
zanebrook: this one: https://review.openstack.org/30369215:20
rookok cool, i am tracking Craig's work15:20
jdob"A map of Nova names and IDs to apply configuration to." so are the docs wrong or am I misunderstanding them?15:20
zanebjdob: it's a map of resource names -> server IDs IIUC15:21
*** Drago1 has quit IRC15:22
zanebjdob: that's a terrible way of expressing it in the docs though15:22
*** fultonj has joined #heat15:22
jdobi'll fix that when I'm done15:22
zaneb++15:22
therveIt's not like "Nova names" means much indeed15:22
jdobwhat confused me is if I run nova list15:22
jdobthere's a column called ID and a column called Name15:22
jdobso I figured I needed the pairing of those :)15:22
*** jprovazn has quit IRC15:23
zanebtbh I don't think it matters what the names are. the names are just used as the resource names in the S-D-G nested template15:23
jdobthough servers: { get_attr: [servers, attributes, server_id] } is still giving me issues, i'm not sure server_id is the attr i want15:23
zanebit's designed to conveniently take the output of { get_attr: [servers, attributes, server_id] }15:24
jdobhrm15:24
zanebjdob: remember you have to explicitly export "server_id" (or whatever you want to call it) as an output of the template you're scaling out in the ResourceGroup15:24
jdobah, I'm just scaling Nova::Server directly15:25
jdoband I dont see server_id listed as an attribute15:25
jdobthought there was some undocumented magic I was missing15:25
zanebah15:25
zanebso normally you do get_resource rather than get_attr to get the id15:25
zanebso there isn't an attribute for it15:26
jdobbut I can't do a get_resource on the resource group in this case, since it's not a map15:26
zanebthere is { get_attr: [servers, refs] } but that appears to return a list15:26
jdobi can throw in an intermediate template for my tests (not committed tests, just my set of templates I use to learn shit from)15:26
*** wangbo has quit IRC15:27
jdobya, I tried that one too :)15:27
jdoboh, while we're talking, last week in the meeting I remember you making a comment about whether or not our template guide could be considered part of the API docs15:27
jdobnow that api-ref is in tree, would there be a problem moving it there?15:27
jdobnot sure if there's some history there that I dont know about that'd stop us15:28
jdobzaneb: ^ when you get a second15:29
zanebjdob: the problem is that the api-ref looks like this: http://developer.openstack.org/api-ref-orchestration-v1.html15:29
zanebthere's no sane place to slot the template docs in there15:29
jdobhrm, ok15:29
jdobthe current template guide, that's generated from gate-docs?15:30
jdober, gate-heat-docs15:30
zanebassume so15:30
jdobk15:30
zanebhttps://openstackreactions.files.wordpress.com/2014/04/magick.gif?w=67015:32
jdobat first glance, I saw "openstack" and "magick" and thought "Holy shit, there is so much unexplained shit that OpenStack hosts that image itself?"15:32
*** dmk0202 has quit IRC15:33
jreevesit should be in the repo…..right under docs or specs15:33
jdobhaha15:34
jreevesor in place of the architecture diagram15:34
*** ochuprykov has quit IRC15:34
jdobcan also throw in https://www.youtube.com/watch?v=nGR8EHL6nkI for all of the times i've asked the same question multiple times15:36
*** jistr has quit IRC15:38
*** maishsk has quit IRC15:39
*** wangbo has joined #heat15:39
jreevesHa!15:40
jdob:)15:40
openstackgerritMerged openstack/heat-specs: Add networking-sfc resource support  https://review.openstack.org/29826115:40
jdobsweet, got my example working, thanks therve and zaneb15:44
*** sridhar_ram has joined #heat15:46
*** dimtruck is now known as zz_dimtruck15:48
*** daneyon has joined #heat15:48
*** ArunRajan has joined #heat15:51
*** ArunRajan has left #heat15:51
*** Drago has joined #heat15:52
*** KanagarajM has joined #heat15:53
*** daneyon_ has joined #heat15:54
*** daneyon has quit IRC15:55
*** daneyon has joined #heat15:55
*** daneyon_ has quit IRC15:55
openstackgerritDi XiaoLi proposed openstack/heat: Copy devstack code to heat tree  https://review.openstack.org/31759715:57
*** fragatina has joined #heat15:57
*** gokrokve has joined #heat15:59
*** zz_dimtruck is now known as dimtruck16:02
*** rpothier has joined #heat16:03
openstackgerritDi XiaoLi proposed openstack/heat: Add devstack plugin  https://review.openstack.org/31759916:04
*** Drago has quit IRC16:06
*** fragatina has quit IRC16:07
*** fragatina has joined #heat16:07
*** Drago has joined #heat16:08
openstackgerritZane Bitter proposed openstack/heat: Lazy-load context information requiring Keystone calls  https://review.openstack.org/31577216:08
openstackgerritZane Bitter proposed openstack/heat: Don't use stored context to reset stacks  https://review.openstack.org/31760416:08
openstackgerritRico Lin proposed openstack/heat: Add support for a resource level external_id  https://review.openstack.org/13549216:10
openstackgerritRico Lin proposed openstack/heat: Refactor resource update function to reduce complexity  https://review.openstack.org/30088116:10
openstackgerritRico Lin proposed openstack/heat: [WIP]Add validate for external resources.  https://review.openstack.org/31760516:10
*** mohankumar__ has joined #heat16:15
*** mohankumar_ has quit IRC16:15
openstackgerritRabi Mishra proposed openstack/heat: Remove unnecessary usage of stack_name  https://review.openstack.org/31760616:17
*** maishsk has joined #heat16:17
*** jreeves is now known as jreeves_afk16:21
*** jasond has quit IRC16:21
*** jasond has joined #heat16:22
*** jtomasek has quit IRC16:22
*** daneyon has quit IRC16:28
*** daneyon has joined #heat16:29
*** vijendar has quit IRC16:29
openstackgerritMerged openstack/heat: Correct filters for resource search  https://review.openstack.org/30422616:36
*** vijendar has joined #heat16:40
*** mohankumar__ has quit IRC16:41
openstackgerritDi XiaoLi proposed openstack/heat-specs: Support devstack plugin in heat  https://review.openstack.org/31655416:42
*** jreeves_afk is now known as jreeves16:43
*** derekh has quit IRC16:46
zanebjdob: what was the trick? just wrap a template around the server?16:52
*** bana_k has joined #heat16:52
*** wangbo has quit IRC16:53
*** daneyon has quit IRC16:57
*** daneyon has joined #heat16:59
*** sabeen has quit IRC17:03
*** sshnaidm has quit IRC17:08
ccardIs it possible to use a "network-interfaces" section in a cloud-init script in a heat template to setup the network devices?17:09
*** tmatsu has joined #heat17:09
*** tmatsu has quit IRC17:13
*** wangbo has joined #heat17:18
zanebccard: I'm gonna say yes17:19
jreevesyes, with something like str_replace17:21
*** maishsk has quit IRC17:22
*** daneyon has quit IRC17:23
jdobzaneb: ya, i just threw together a simple template and output server_id17:26
ccardzaneb: I think I need cloud-init to use a DataSourceNoCloudNet data source in order to use network-interfaces, but I've no idea how to make cloud-init do that. At the moment my instance is only using a DataSourceConfigDriveNet data source.17:27
zanebjdob: ok, this seems like a major oversight though. we ought to add an attribute to ResourceGroup that makes this easy when you scale OS::Nova::Server directly17:27
ccardMaybe this is more a question for #cloud-init17:27
*** KanagarajM has quit IRC17:27
zanebccard: yep17:27
zanebccard: heat just passes the data straight through to cloud-init17:28
jdobzaneb: i was thinking that. it was just the result of get_resource, so it shouldn't break the abstraction17:28
jdobto have "resource" or something similar as an attribute of the group17:28
zanebyeah17:29
* jdob adds to his todo list17:29
jdobthat something that'd make sense as a spec-lite?17:29
*** deberon has joined #heat17:32
jreevesI would concur with that, jdob17:33
jdobwith adding it as a spec-lite? or do you mean the feature itself?17:34
deberonIs there a reason I am unable to add a security group to a nova instance via heat? http://paste.openstack.org/show/497397/17:35
deberonI tried googling but came up empty handed.17:35
deberonEverything gets created, but when I check the instance through Horizon the security group isn't applied to my "server" instance.17:35
jreevesjdob: as a spec-lite17:35
jdobgotcha, I like that idea17:35
deberon% nova show test-server-u4wwy3mxlwkf | grep security17:41
deberon| security_groups                      | default17:41
jreevesdeberon: what does stack-show give?17:42
deberonhttp://paste.openstack.org/show/497401/17:43
zanebjdob: +117:43
deberonThe only way I've been able to reliably apply a security group is by attaching it to a port and attaching the instance to that port.17:44
jreevesI attach SG's to Nova::Server resources all the time, without creating a port17:47
deberonAnd that's what I want to do. Because eventually the server resources will be in a resourge group or autoscaling group and I want to keep the template inline without needing to call get_file.17:50
zanebdeberon: here is the code http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/nova/server_network_mixin.py#n20017:52
zanebit appears that in this case heat will create a neutron port itself with the security groups specified17:52
openstackgerritJason Dunsmore proposed openstack/heat: Cancel threads during stack delete  https://review.openstack.org/29193117:53
zanebit's possible that this means Nova will ignore the security group list passed to it, since it has an explicit port?17:53
zanebthat's hinted at at least by http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-prop-security_groups17:53
zanebdeberon: IOW try looking at the Neutron port list and see if the SGs are assigned there17:54
deberonAccording to neutron port-show it's only using my default security group17:57
deberonSorry for my ignorance on how heat internals, but does heat create the security group before the port?17:59
deberonIf not, maybe this bit is failing: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/nova/server_network_mixin.py#n9317:59
jreevesthis is a portion of one of my templates. I don't create an explicit port, and this works just fine: http://paste.openstack.org/show/497404/17:59
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/31747917:59
deberonHmm, that's pretty similar to what I'm doing.18:00
deberonWhat heat template version are you using?18:00
deberondoes it matter?18:00
jreeves2013-05-23 :(18:01
deberonYeah, same problem using that version.18:02
*** sshnaidm has joined #heat18:02
deberonWhich version of openstack are you running on? I'm on mitaka.18:03
*** vijendar has quit IRC18:03
deberonzaneb that line was updating on May 5 2016. Maybe that fixes my issue.18:12
deberon66b64907 (huangtianhua     2016-05-09 19:01:23 +0800 200)     def _build_nics(self, networks, security_groups=None):18:12
deberonhttps://bugs.launchpad.net/heat/+bug/1571975 Yep. It was a bug and it's been patched.18:13
openstackLaunchpad bug 1571975 in heat "Nova server was created in incorrect security_group" [Medium,Fix released] - Assigned to huangtianhua (huangtianhua)18:13
*** jprovazn has joined #heat18:15
deberonHa, it was only patched 3 hours ago apparently.18:15
*** vijendar has joined #heat18:18
*** sridhar_ram has quit IRC18:25
*** blues-man has quit IRC18:25
*** rcernin has quit IRC18:31
*** sabeen has joined #heat18:35
openstackgerritJay Dobies proposed openstack/heat: Clarified servers property description for SoftwareDeploymentGroup  https://review.openstack.org/31766718:35
jreevesdeberon: sorry, was away. running on Icehouse openstack for production18:35
*** jasond has quit IRC18:36
deberonNo worries. I think it's just a bug in Mitaka. The fix has been merged into master so I just need to wait for an updated RPM.18:36
deberonThanks for all your help.18:37
*** wangbo has quit IRC18:40
zanebdeberon: haha, that explains why the code looked fine :D I just tagged that bug for mitaka-backport-potential18:45
*** kevinbenton has quit IRC18:49
*** kevinbenton has joined #heat18:50
*** jasond has joined #heat18:51
jreeves+118:52
deberonAh I'm new to the openstack development work. I didn't know that tag was needed. Will that bug report page be updated with the backporting progress?18:57
deberonAh I see, it's the review page.18:58
deberonThanks for everyone's help.18:59
*** sridhar_ram has joined #heat18:59
deberonbtw, one of the reviewers is listed as "Derek Anderson". Which happens to be my name. I'm having a weird day.19:02
*** jasond has quit IRC19:04
*** jasond has joined #heat19:05
jreevesUm…I think that was intentional.19:07
deberonI don't have an accont.19:07
jreevesare you at virtustream.com?19:07
deberonNo19:07
jreevesoh…nvm then. thought maybe zaneb added you19:08
zanebyeah, I did. didn't realise that was a different Derek Anderson19:08
deberonHa ok. I can set up an account if I should be linked to it.19:09
* zaneb removes the other Derek Anderson, who is probably very confused about now19:09
deberonAdded myself. Thanks!19:11
*** fragatin_ has joined #heat19:13
*** sdake has quit IRC19:15
*** fragatina has quit IRC19:15
*** fragatin_ has quit IRC19:18
*** sdake has joined #heat19:20
*** randallburt has quit IRC19:22
*** sdake has quit IRC19:22
*** sdake has joined #heat19:22
*** sdake has quit IRC19:23
*** fragatina has joined #heat19:25
*** sdake has joined #heat19:26
*** priteau has joined #heat19:29
*** daneyon has joined #heat19:30
priteauHello.19:31
priteauI am trying to use Heat to deploy a cluster with host-based auth for SSH: I want all servers to exchange their SSH host keys using Heat19:31
*** sdake_ has joined #heat19:32
priteauI managed to get all keys as outputs of a SoftwareDeploymentGroup through a SoftwareConfig19:32
*** sdake has quit IRC19:32
priteauNow I want to reuse this data as inputs of another SoftwareConfig / SoftwareDeploymentGroup to get it stored in /etc/ssh/ssh_known_hosts on all nodes19:32
priteauI am struggling with the format of the data, in the second SoftwareDeploymentGroup, I am getting a map as a Python dict:19:32
priteau{u'1': u'ssh-rsa blah1 \n', u'0': u'ssh-rsa blah2 \n', u'2': u'ssh-rsa blah3 \n'}19:32
priteauI don't see any HOT function to transform it in a list of values19:32
priteauOf course I could write a SoftwareConfig that parses it, but at least if it was proper json it would be nicer19:33
*** jcoufal has quit IRC19:34
priteauI managed to get to this point mostly thanks to replies from stevebaker in various launchpad bugs19:35
*** gokrokve has quit IRC19:36
*** dprince has quit IRC19:41
thervepriteau, Do you need a list of values, or a string?19:45
therveYou should be able to do what you want with some variations of list_join and str_split I believe19:49
priteautherve: Either really, as long as I can get rid of the keys in this dict19:52
*** sdake_ has quit IRC19:53
therveAh, hum19:54
*** blomquis` is now known as blomquisg19:55
priteauI wonder if there is a proper way of getting directly just the values, or extracting the values from the map19:57
thervePresumably using 'repeat' ?19:57
*** sdake has joined #heat19:58
*** rcernin has joined #heat19:58
openstackgerritJay Dobies proposed openstack/heat: Add timeout for software/structured deployments  https://review.openstack.org/31751819:59
zanebick, we shouldn't be putting out serialised python reprs anywhere20:00
priteauThe doc says repeat works on lists, not on maps20:01
priteauI can share my templates on paste.bin if that can help20:02
*** fragatin_ has joined #heat20:04
*** fragatina has quit IRC20:08
priteauMy attempt: http://paste.openstack.org/show/497414/20:08
priteauinspired by this: http://paste.openstack.org/show/101278/ from stevebaker on the mailing list: http://lists.openstack.org/pipermail/openstack-dev/2014-August/044273.html20:09
openstackgerritZane Bitter proposed openstack/heat: Allow scheduler tasks to request longer wait periods  https://review.openstack.org/31314820:15
openstackgerritZane Bitter proposed openstack/heat: Allow resources to delay polling  https://review.openstack.org/31770220:15
*** ccamacho has quit IRC20:18
*** jprovazn has quit IRC20:22
*** daneyon_ has joined #heat20:23
*** daneyon_ has quit IRC20:25
*** fragatin_ has quit IRC20:26
*** daneyon has quit IRC20:27
*** fragatina has joined #heat20:27
*** fragatina has quit IRC20:28
*** daneyon has joined #heat20:29
*** fragatina has joined #heat20:29
*** dmk0202 has joined #heat20:29
*** daneyon has quit IRC20:31
priteauoh, and this is on Liberty by the way20:31
*** sridhar_ram has quit IRC20:32
*** sridhar_ram1 has joined #heat20:32
*** daneyon has joined #heat20:40
*** rcernin has quit IRC20:41
*** blomquisg is now known as blomquisg_gone20:41
*** daneyon has quit IRC20:47
*** daneyon_ has joined #heat20:49
*** daneyon has joined #heat20:52
*** shardy has quit IRC20:53
*** cwolferh has quit IRC20:54
*** daneyon_ has quit IRC20:55
*** wangbo has joined #heat20:55
*** ccard_ has joined #heat20:55
*** jreeves is now known as jreeves_afk20:56
*** ccard has quit IRC20:57
*** jasond has quit IRC20:58
*** sdake_ has joined #heat20:58
*** sridhar_ram1 has quit IRC21:00
*** sdake has quit IRC21:00
*** vijendar1 has joined #heat21:04
*** vijendar has quit IRC21:07
*** dmk0202 has quit IRC21:10
*** jasond has joined #heat21:14
*** fragatina has quit IRC21:24
*** fragatina has joined #heat21:24
*** fragatina has quit IRC21:29
*** jamielennox is now known as jamielennox|away21:30
*** ccamacho has joined #heat21:36
*** jamielennox|away is now known as jamielennox21:39
*** rpothier has quit IRC21:41
*** ccamacho has quit IRC21:41
*** yassine has joined #heat21:42
*** yassine is now known as Guest7438921:43
*** ccamacho has joined #heat21:45
*** ccamacho has quit IRC21:50
*** fultonj has quit IRC21:51
*** sdake_ is now known as sdake21:54
*** maishsk has joined #heat21:54
*** fragatina has joined #heat21:56
*** ccard_ has quit IRC21:56
*** deberon has quit IRC21:57
*** fragatin_ has joined #heat21:59
*** vijendar1 has quit IRC21:59
*** fragatina has quit IRC22:01
*** vijendar has joined #heat22:01
*** fragatin_ has quit IRC22:01
*** fragatina has joined #heat22:02
*** jasond has quit IRC22:04
*** dbecker has quit IRC22:04
*** vijendar has quit IRC22:05
*** ccard has joined #heat22:10
openstackgerritMerged openstack/heat: Make parameter decryption more robust  https://review.openstack.org/30840022:11
openstackgerritMerged openstack/heat: Add --verbose-update-params option to heat-manage  https://review.openstack.org/31186922:12
*** maishsk_ has joined #heat22:15
openstackgerritMerged openstack/heat: Check for missing param schema in encryption utility  https://review.openstack.org/30922622:15
*** spotz is now known as spotz_zzz22:15
*** maishsk has quit IRC22:16
*** maishsk_ is now known as maishsk22:16
openstackgerritJason NEatherway proposed openstack/heat: Improves SecurityGroup update handling for changes to rules.  https://review.openstack.org/31746622:22
*** sridhar_ram has joined #heat22:24
*** sthillma has joined #heat22:25
*** dimtruck is now known as zz_dimtruck22:27
*** cwolferh has joined #heat22:28
*** fragatin_ has joined #heat22:29
*** Drago has quit IRC22:30
*** fragatina has quit IRC22:32
*** ccamacho has joined #heat22:37
*** priteau has quit IRC22:44
*** sdake_ has joined #heat22:45
*** zz_dimtruck is now known as dimtruck22:45
*** _prad_ has quit IRC22:47
*** fragatin_ has quit IRC22:47
*** fragatina has joined #heat22:48
*** sdake has quit IRC22:48
jdandrea_Is it possible for Heat to call Nova (roughly) concurrently for two servers in a template? I ask because we're experimenting with server antiaffinity.22:51
* jdandrea_ thinks: "But nova-scheduler is going to handle those in sequence anyway."22:52
*** sabeen has quit IRC22:52
*** sdake_ has quit IRC22:54
stevebakerjdandrea_: heat will create the resources as concurrently as the dependencies allow22:57
*** ssl_ has joined #heat23:08
ssl_how do i check which version of heat-engine am i running with?23:08
ssl_ls23:11
stevebakerssl_: pratically speaking, by logging into the server running heat engine and asking the package manager23:11
stevebakerssl_: there is a command "heat build-info" but I know of no downstream packager which actually makes that return something useful23:14
*** sabeen has joined #heat23:18
*** sdake has joined #heat23:24
*** fragatina has quit IRC23:30
*** fragatina has joined #heat23:31
*** daneyon has quit IRC23:35
*** Qiming has joined #heat23:39
*** tochi has joined #heat23:42
*** ssl_ has left #heat23:56
*** pradk has quit IRC23:59

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