Wednesday, 2014-04-09

*** duncanjw has quit IRC00:00
openstackgerritA change was merged to openstack/heat: Cherry pick oslo-incubator db fixes  https://review.openstack.org/8594100:08
stevebakersdake_: have you looked at the rpc.common exception serialization? I've found an issue00:15
*** duncanjw has joined #heat00:24
*** duncanjw has quit IRC00:28
*** RockKuo has joined #heat00:28
*** RockKuo_ has joined #heat00:28
*** RockKuo_ has quit IRC00:28
openstackgerritSteve Baker proposed a change to openstack/heat: Allow NotFound to be created without args  https://review.openstack.org/8619500:29
stevebakerthat was a doozy ^ https://bugs.launchpad.net/heat/+bug/130165700:29
uvirtbotLaunchpad bug 1301657 in heat "NotFound on deployment operation returns 500 REST response" [High,In progress]00:29
*** matsuhashi has joined #heat00:31
*** dims has joined #heat00:32
asalkeldhi stevebaker00:32
stevebakerasalkeld: hai!00:33
*** samstav has quit IRC00:34
asalkeldstevebaker, what about Error()00:34
asalkeldcouple of lines up00:34
stevebakerasalkeld: I did change that, but then unchanged it. Error results in 500 anyway, and I do believe all the required the information still reaches the user even if the exception cannot be deserialized00:35
stevebakerasalkeld: I will raise a bug for Error and ResourceFailure though00:36
asalkeldk00:36
stevebakerasalkeld: that would be low priority though, rather than RC2 release critical ;)00:36
*** rpothier has joined #heat00:37
stevebakerhttps://bugs.launchpad.net/heat/+bug/130474300:38
uvirtbotLaunchpad bug 1304743 in heat "Exceptions Error and ResourceFailure cannot be serialized over RPC" [Medium,Triaged]00:38
asalkeldstevebaker, no test?00:39
stevebakerasalkeld: I'm not sure we can even test exception serialization with our unit tests00:39
*** lindsayk has quit IRC00:40
asalkeldthat's a fail00:40
asalkeldshould make a bug for that00:40
*** lindsayk has joined #heat00:40
asalkeldwe have been bitten by this stuff a lot00:40
stevebakeractually, FaultMiddlewareTest.test_remote_exception serializes. I'll look at testing00:41
asalkeldcool00:47
*** wchrisj has quit IRC00:50
*** killer_prince has quit IRC00:52
*** derekh has quit IRC00:53
*** duncanjw has joined #heat00:55
*** e0ne has joined #heat00:55
*** mkollaro has quit IRC00:56
*** matsuhashi has quit IRC00:56
*** pablosan is now known as zz_pablosan00:59
*** duncanjw has quit IRC00:59
*** zz_pablosan is now known as pablosan00:59
*** faramir1 has quit IRC00:59
*** killer_prince has joined #heat01:00
*** e0ne has quit IRC01:00
*** lindsayk has quit IRC01:00
*** jamie_h has quit IRC01:03
*** matsuhashi has joined #heat01:05
*** wchrisj has joined #heat01:09
*** asalkeld has quit IRC01:14
*** Michalik has quit IRC01:17
*** asalkeld has joined #heat01:19
*** wchrisj has quit IRC01:20
*** Michalik has joined #heat01:24
*** duncanjw has joined #heat01:25
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add documentation for creating a resource plug-in  https://review.openstack.org/4396201:27
*** nosnos has joined #heat01:29
*** asalkeld has quit IRC01:29
*** duncanjw has quit IRC01:30
*** gokrokve has joined #heat01:42
*** asalkeld has joined #heat01:43
*** duncanjw has joined #heat01:55
*** e0ne has joined #heat01:55
*** duncanjw has quit IRC01:59
*** e0ne has quit IRC02:00
*** grncdr has quit IRC02:04
*** zhiyan is now known as zhiyan_02:11
*** zhiyan_ is now known as zhiyan02:12
*** duncanjw has joined #heat02:31
*** duncanjw has quit IRC02:35
openstackgerritSteve Baker proposed a change to openstack/heat: Allow NotFound to be created without args  https://review.openstack.org/8619502:40
*** shardy has quit IRC02:42
asalkeldstevebaker, lol code change = 1 line, test changes == 10202:43
stevebakeryeah, I know. They were missing tests anyway02:43
*** IlyaE has quit IRC02:43
*** samstav has joined #heat02:44
*** achampio1 has joined #heat02:44
*** achampion has quit IRC02:46
*** pablosan has quit IRC02:53
*** pablosan has joined #heat02:55
*** e0ne has joined #heat02:55
*** e0ne has quit IRC02:58
*** duncanjw has joined #heat03:00
*** nkhare has joined #heat03:01
*** duncanjw has quit IRC03:05
stevebakerasalkeld: can you take a quick look at my last two comments on https://bugs.launchpad.net/heat/+bug/1297396 ?03:05
uvirtbotLaunchpad bug 1297396 in heat "Nested Provider resources not found" [High,Triaged]03:05
*** Michalik- has joined #heat03:07
*** matsuhashi has quit IRC03:12
*** harlowja is now known as harlowja_away03:12
*** david-lyle has joined #heat03:18
*** connie has quit IRC03:19
*** cody-somerville has joined #heat03:20
*** nosnos has quit IRC03:26
*** samstav has quit IRC03:32
*** ramishra has joined #heat03:32
*** duncanjw has joined #heat03:34
*** ramishra_ has joined #heat03:36
*** duncanjw has quit IRC03:38
*** ramishra has quit IRC03:39
*** achampion has joined #heat03:46
*** achampio1 has quit IRC03:48
asalkeldstevebaker, I need to look at the code03:53
asalkeldbut we didn't used to pass the environment into nested stacks03:53
asalkeldthus we lost the top level env03:53
*** e0ne has joined #heat03:55
*** e0ne has quit IRC04:00
*** Michalik- has quit IRC04:00
asalkeldstevebaker, https://github.com/openstack/heat/blob/master/heat/engine/stack_resource.py#L12904:01
asalkeldit takes only the params04:01
asalkeldwe probably need to create a new env (resource_reg from stack.env, and parameters from the user_parms)04:02
*** duncanjw has joined #heat04:02
*** chandan_kumar has joined #heat04:04
*** pablosan is now known as zz_pablosan04:05
*** zhiyan is now known as zhiyan_04:06
*** liudong has quit IRC04:06
*** duncanjw has quit IRC04:07
*** swygue has quit IRC04:09
*** asalkeld has quit IRC04:17
*** Michalik- has joined #heat04:17
*** matsuhashi has joined #heat04:24
*** nosnos has joined #heat04:25
*** saurabhs has left #heat04:28
*** asalkeld has joined #heat04:33
*** wchrisj has joined #heat04:37
*** duncanjw has joined #heat04:37
*** duncanjw has quit IRC04:41
asalkeldstevebaker, I have fixed that bug if you are interested in some help04:42
asalkeld(no tests yet)04:42
stevebakerasalkeld: \o/ please do04:42
*** matsuhashi has quit IRC04:42
asalkeldk04:43
*** cody-somerville has quit IRC04:44
openstackgerritAngus Salkeld proposed a change to openstack/heat: wip (adding tests) pass the parent's registry into child stacks  https://review.openstack.org/8622804:45
stevebakerasalkeld: did you see my attached templates on the bug? I couldn't even get them to work and they don't invoke any nested stacks04:48
asalkeldsee my comment?04:49
asalkeldF504:49
*** matsuhashi has joined #heat04:50
stevebakerd'oh04:50
asalkeld:-)04:51
stevebakerThat error should be better, it should say Unknown resource type: OS::Heat:RandomString04:52
*** wchrisj has quit IRC04:52
asalkeldyeah04:52
asalkeldgroan: time to test ...04:53
asalkeldstevebaker, would you be against a directory with templates+env+test case04:54
asalkeldthese files are huge with everything inline04:54
stevebakerasalkeld: inline templates would be small, I'm writing some now04:54
asalkeldokie dokie04:55
stevebakerasalkeld: or you could put the templates in heat/tests/templates04:55
*** e0ne has joined #heat04:55
asalkeldk, I'll see how it goes04:56
stevebakerasalkeld: your fix works for me. uploading test templates to the bug04:57
lipinskiquestion - is there a way to define a provider resource within a template in which it is being used?  Or does it always have to be "looked up" through a resource_registry?04:58
stevebakerlipinski: yes, type: path/to/template.yaml04:58
lipinskiok - but still must be in a separate template?04:59
asalkeldunless you put a "heat create " on your instances :-O04:59
lipinskiok, I see.  Just trying to tidy up some things in templates..05:00
lipinskithx.05:00
*** e0ne has quit IRC05:00
*** chandan_kumar has quit IRC05:00
stevebakerasalkeld: files are uploaded05:01
asalkeldk05:01
asalkeldI have a test case locally too05:02
*** swygue has joined #heat05:04
*** akuznetsov has joined #heat05:05
sdakeevening05:08
asalkeldyo05:08
*** chandan_kumar has joined #heat05:14
*** duncanjw has joined #heat05:15
*** duncanjw has quit IRC05:19
asalkeldrm -rf .tox ; tox -epy27 (fails)05:19
*** IlyaE has joined #heat05:25
asalkeldmy test passes now only 65 to fix05:28
asalkeld:/05:28
*** skraynev_afk is now known as skraynev05:29
skraynevMorning  all ;)05:29
asalkeldhowdy05:29
skraynevhi asalkeld05:30
*** zhiyan_ is now known as zhiyan05:31
*** gokrokve has quit IRC05:32
openstackgerritRyo Miki proposed a change to openstack/heat: Restore resource_id from backup_stack when delete  https://review.openstack.org/8623205:35
openstackgerritJun Jie Nan proposed a change to openstack/heat: Validate user_data_format for server with deployment  https://review.openstack.org/8299205:40
*** duncanjw has joined #heat05:44
*** gokrokve_ has joined #heat05:44
*** duncanjw has quit IRC05:48
*** pradipta_away is now known as pradipta05:51
*** jstrachan has joined #heat05:51
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Move below two templates to sub directory  https://review.openstack.org/8523205:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Add one example to show deploy sequence  https://review.openstack.org/8175705:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Move software-config templates to example-templates  https://review.openstack.org/8490905:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Software config hook to provision using shell scripts  https://review.openstack.org/7029705:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: READMEs for software-config templates and hooks  https://review.openstack.org/8491005:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Software config hook to provision using puppet  https://review.openstack.org/7063905:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Example template that performs copying of SSH keys  https://review.openstack.org/8339705:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Software config hook to provision using cfn-init  https://review.openstack.org/7975905:52
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: os-refresh-config script to invoke config hooks  https://review.openstack.org/7975805:52
asalkeldw00t go Jun Jie05:53
*** e0ne has joined #heat05:55
*** e0ne has quit IRC05:58
*** sirushti has quit IRC06:08
*** _sirushti has joined #heat06:09
*** _sirushti is now known as sirushti06:09
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/8395706:09
*** Tross has quit IRC06:11
*** killer_prince has quit IRC06:13
*** duncanjw has joined #heat06:13
*** killer_prince has joined #heat06:14
*** julienvey has joined #heat06:16
*** duncanjw has quit IRC06:18
*** yogesh has joined #heat06:28
*** julienvey has quit IRC06:30
*** e0ne has joined #heat06:35
*** gokrokve_ has quit IRC06:36
*** e0ne has quit IRC06:40
openstackgerritAngus Salkeld proposed a change to openstack/heat: Pass the parent's registry into child stacks  https://review.openstack.org/8622806:46
*** tspatzier has joined #heat06:47
*** IlyaE has quit IRC06:48
*** dims has quit IRC06:48
*** e0ne has joined #heat06:48
*** duncanjw has joined #heat06:49
*** e0ne has quit IRC06:51
*** e0ne has joined #heat06:52
*** e0ne has quit IRC06:53
*** duncanjw has quit IRC06:53
*** dims has joined #heat07:02
*** jprovazn has joined #heat07:05
*** Tross has joined #heat07:15
therveGood morning07:16
*** shardy has joined #heat07:19
shardymorning all07:22
*** nkhare has quit IRC07:22
*** lipinski has quit IRC07:25
*** nkhare has joined #heat07:25
mattoliverauMorning therve shardy, and skraynev. Evening sdake. Phew, I think that's every one I missed :)07:29
mattoliverauI'm off for the evening, time to go cook dinner :) Have a great day/night all :)07:29
*** matsuhashi has quit IRC07:29
*** nkhare has quit IRC07:29
*** matsuhashi has joined #heat07:31
*** edimmaz has joined #heat07:34
*** matsuhashi has quit IRC07:35
*** gokrokve has joined #heat07:36
*** sdake has quit IRC07:36
*** rpothier_ has joined #heat07:37
*** sdake has joined #heat07:37
*** tomek_adamczewsk has joined #heat07:37
*** rpothier has quit IRC07:40
*** gokrokve has quit IRC07:41
*** akuznetsov has quit IRC07:46
*** jstrachan has quit IRC07:49
*** che-arne has joined #heat07:49
*** matsuhashi has joined #heat07:49
*** akuznetsov has joined #heat07:52
*** ramishra_ has quit IRC07:58
*** cmyster has joined #heat08:00
*** cmyster has joined #heat08:00
cmystermorning08:00
cmysterof sorts08:00
*** jistr has joined #heat08:02
*** julienvey has joined #heat08:06
*** tomek_adamczewsk has quit IRC08:07
*** julienvey has quit IRC08:09
*** julienve_ has joined #heat08:10
*** julienve_ has quit IRC08:14
*** tomek_adamczewsk has joined #heat08:25
*** duncanjw has joined #heat08:26
*** jamie_h has joined #heat08:29
*** duncanjw has quit IRC08:30
*** duncanjw has joined #heat08:31
*** duncanjw has quit IRC08:32
*** duncanjw has joined #heat08:32
*** ramishra has joined #heat08:33
*** nkhare has joined #heat08:34
*** julienvey has joined #heat08:35
*** thouveng has joined #heat08:35
*** gokrokve has joined #heat08:37
*** Michalik- has quit IRC08:37
*** e0ne has joined #heat08:38
*** e0ne_ has joined #heat08:39
pas-hamorning all08:41
*** duncanjw has quit IRC08:41
*** gokrokve has quit IRC08:42
*** duncanjw has joined #heat08:42
*** e0ne has quit IRC08:42
edimmazmorning08:43
*** ramishra has quit IRC08:43
edimmazI’m reading now about Nova’s feature: VM Ensembles https://docs.google.com/document/d/1bAMtkaIFn4ZSMqqsXjs_riXofuRvApa--qo4UTwsmhw/edit#08:44
edimmazrelated blueprint can be found here08:44
edimmazhttps://blueprints.launchpad.net/nova/+spec/vm-ensembles08:44
edimmazI was wondering if there’s support of this in Heat?08:44
therveYou can use sheduler hints08:45
*** yogesh has quit IRC08:46
*** duncanjw has quit IRC08:46
edimmazNovaSchedulerHints you mean?08:48
therveOr scheduler_hints depending on your resource08:49
*** chandan_kumar has quit IRC08:49
*** blues-man has joined #heat08:50
edimmazSo far I found AWS::EC2::Instance and AWS::AutoScaling::LaunchConfiguration with this property. Are there more resources?08:51
therveOS::Nova::Server08:51
cmystershardy: here ?08:52
*** sdake has quit IRC08:52
edimmaztherve: awesome! thanks a million08:52
therveNo problem08:52
cmysteredimmaz: also, all resources are listed here http://docs.openstack.org/developer/heat/template_guide/openstack.html08:53
edimmazcmyster: yes, yes I just didn’t know what to look for. Now i know its scheduler hints08:54
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix inaccurate error_msg for InvalidTemplateVersion  https://review.openstack.org/8176108:54
cmysterright :)08:54
edimmazMy main question was wether anti-affinity rules are supported by OS08:55
edimmazthanks again!08:55
cmysterHmmmm08:59
*** ramishra has joined #heat08:59
cmystertherve: do you have a few minutes? I need som info about a few RFEs08:59
therveMaybe08:59
cmysterwell I'll try :)09:00
*** duncanjw has joined #heat09:01
shardycmyster: I'm here09:01
cmystergreat, one of those you have planned :)09:01
cmystersec I'm being bombarded on the other side...09:01
*** e0ne_ has quit IRC09:02
*** e0ne has joined #heat09:02
*** e0ne_ has joined #heat09:03
*** chandan_kumar has joined #heat09:04
cmysterback09:04
cmystershardy: in here https://blueprints.launchpad.net/heat/+spec/request-scoping-policy I'm trying to build a test plan around it but I need it better explained09:05
*** duncanjw has quit IRC09:05
shardycmyster: the main user-visible point of that BP was to add policy enforcement to the ReST API09:07
shardyhttps://github.com/openstack/heat/blob/master/etc/heat/policy.json#L3109:07
*** e0ne has quit IRC09:07
shardySo the test plan should probably prove the policy rules are respected/enforced and that the error reponse on denial makes sense09:07
shardye.g it's 403 not 500 or something else09:07
cmysterright09:07
cmysterok09:08
shardyThe rest of it was mostly internal rework to allow for more correctly scoped DB queries09:09
shardywhich mostly got superseded by another blueprint (management-api)09:09
cmysterbut is it only DB centric?  (this RFE)09:09
cmysterBP even09:09
shardyNo it's API centric09:10
cmysterok09:10
shardyI confused things by incuding DB and API things in the description09:10
shardythe main thing to test, IMO, is that API policy enforcement works09:10
cmysterunless done in tempest I might not be able to test it all09:11
cmysteronly the regular positive pathways.09:11
shardywhy not?09:11
cmystercause I'll need to be able to set an environment in such a way that I can control what I return to the client09:12
shardyNo you don't, you need to create a user with a specific role09:13
cmysterre-reading it again09:13
shardycreate a user, should be able to access all API actions, add something which makes the rule:deny_stack_user evaluate True, and only a subset of the API surface should be accessible09:14
shardye.g you add the "heat_stack_user" role to your test user09:14
cmysterI see, and deny ot later to see how it goes09:16
cmysterit09:16
cmysterI need way more caffeine...09:16
*** e0ne has joined #heat09:17
cmysterwhile it brews, any idea how I set my environment to work with more then one engine ?09:19
*** david-lyle has quit IRC09:20
shardyhttp://docs.openstack.org/developer/heat/scale_deployment.html#deploying-multiple-engines09:20
*** e0ne_ has quit IRC09:20
cmystersorry, must have missed it. thanks09:21
*** gokrokve has joined #heat09:38
*** gokrokve has quit IRC09:42
*** akuznetsov has quit IRC09:43
*** zhiyan is now known as zhiyan_09:43
*** dmakogon_ is now known as denis_makogon09:44
*** matsuhas_ has joined #heat09:45
*** matsuhashi has quit IRC09:45
*** matsuhas_ has quit IRC09:45
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix inaccurate error_msg for InvalidTemplateVersion  https://review.openstack.org/8176109:45
*** matsuhashi has joined #heat09:46
*** nkhare has quit IRC09:48
*** chandan_kumar_ has joined #heat10:04
*** julienvey has quit IRC10:05
*** nkhare has joined #heat10:05
*** chandan_kumar has quit IRC10:06
*** akuznetsov has joined #heat10:10
*** matsuhashi has quit IRC10:12
*** matsuhashi has joined #heat10:16
*** alexpilotti has joined #heat10:29
*** dims has quit IRC10:29
*** jamie_h has quit IRC10:31
*** jamie_h has joined #heat10:31
*** mkollaro has joined #heat10:31
*** chandan_kumar_ has quit IRC10:32
*** derekh has joined #heat10:32
openstackgerritSteven Hardy proposed a change to openstack/heat: Add missing test coverage for XMLResponseSerializer  https://review.openstack.org/8627810:35
openstackgerritSteven Hardy proposed a change to openstack/heat: Refactor to separate serializers from wsgi controller  https://review.openstack.org/8627910:35
openstackgerritSteven Hardy proposed a change to openstack/heat: Don't disguise CFN API exceptions  https://review.openstack.org/8628010:35
*** tomek_adamczewsk has quit IRC10:37
*** gokrokve has joined #heat10:39
*** tomek_adamczewsk has joined #heat10:40
*** jamie_h has quit IRC10:41
*** gokrokve has quit IRC10:43
*** jamie_h has joined #heat10:46
*** chandan_kumar_ has joined #heat10:59
*** matsuhashi has quit IRC11:05
*** matsuhashi has joined #heat11:05
*** julienvey has joined #heat11:06
*** julienvey has quit IRC11:07
*** julienvey has joined #heat11:08
*** RockKuo has quit IRC11:09
*** julienvey has quit IRC11:12
*** faramir1 has joined #heat11:14
*** matsuhashi has quit IRC11:19
*** asalkeld has quit IRC11:19
*** Michalik- has joined #heat11:20
*** julienvey has joined #heat11:22
*** julienvey has quit IRC11:27
*** julienvey has joined #heat11:28
*** e0ne has quit IRC11:32
*** e0ne has joined #heat11:32
*** matsuhashi has joined #heat11:36
*** e0ne has quit IRC11:36
*** rpothier_ has quit IRC11:37
*** dims has joined #heat11:39
*** matsuhashi has quit IRC11:39
*** aweiteka has joined #heat11:47
*** pradipta is now known as pradipta_away11:51
*** pradipta_away is now known as pradipta11:53
*** pradipta is now known as pradipta_away11:54
*** blues-man has quit IRC12:00
*** sballe_ has quit IRC12:01
*** dims has quit IRC12:03
*** e0ne has joined #heat12:03
*** zhiyan_ is now known as zhiyan12:10
therveshardy, I was going to start looking at https://blueprints.launchpad.net/heat/+spec/stack-snapshot12:11
therveshardy, It seems it would be a new action similar to suspend/resume, along with a resource dedicated method?12:11
shardytherve: yup thats what I was originally thinking, store the state of the stack, and snapshot any resources which support snapshotting and store the id's of the snapshots with the state of the stack12:17
shardythat data stored should be similar to that output for abandon I think12:18
shardyI think the hard part will be restoring, which will be like a stack update, but with reverting things to snapshots too12:18
therveshardy, Ah you want to store it in Heat? To be able to have a rollback operation?12:19
shardytherve: That was what I was thinking, but I suppose outputting an abandon file could also work12:19
shardynanjj had a patch which allowed an abandon preview which would partially do that I guess12:20
*** jprovazn has quit IRC12:20
therveshardy, abandon preview? Does that do snapshots?12:20
shardytherve: tbh the idea probably needs some more analysis wrt use-cases, I raised the bp after some discussion with a user, but the design is not really fully formed yet :)12:20
therveThat's okay :)12:21
therveBut obviously restore is super useful. It looks a bit like adopt though12:21
shardytherve: no, but it could contain the data required for restoring from a snapshot12:21
shardyyup, that's what I was thinking, maybe we can refactor to reuse some stuff12:22
shardyprobably two snapshot modes would be useful, one where you just snapshot the heat template, similar to abandon preview, and another where you recurse and actually snapshot the underlying resources12:23
shardymaybe we need a snapshot_policy keyword12:23
therveIs your first usecase different from just having the template?12:24
skraynevshardy: interesting  idea, but how will  look  this snapshot?12:24
therveie template-show12:24
shardyYes, because it maintains state of stuff like wait-condition notifications and resource data12:24
therveHum.....12:25
shardyso it's basically the same, or very similar, to an abandon preview which can then be fed into a restore/update12:25
therveAbandon returns a template?12:25
shardyIt does, yes12:26
shardyalthough we currently ignore it on adopt12:26
therveAmong other things, okay12:26
shardyhttps://bugs.launchpad.net/heat/+bug/130033612:26
uvirtbotLaunchpad bug 1300336 in python-heatclient "Stack adopt requires template" [High,Triaged]12:26
shardythe abandon data probably also needs other missing stuff like parameters, environment etc12:27
shardyskraynev: well, that's what we're discussing :)12:29
therveabandon preview feels a bit weird I suppose12:30
therveMaybe because it's building on top of an unfinished feature :)12:31
skraynevshardy: ok, I suppose, that also might be added special storage (or something else) for these snapshots..12:31
shardyyeah, I would prefer we replace that idea with a snapshot, if it's likely to happen soon12:31
shardytherve: +112:31
shardyskraynev: it could be configurable, perhaps we don't want to store them in heat, but we could optionally push the snapshot data to swift for example12:32
shardysimilar to what cinder does for backup volumes12:32
skraynevshardy: agree, good plan12:32
skraynevshardy: are you planning to discuss it at meeting?12:33
*** achampion has quit IRC12:33
therveshardy, But in the spirit of doing things incrementally, I could do snapshotting without restore first12:34
shardyskraynev: not really, I raised the blueprint a year ago ;)12:34
therveAlthough we should have an idea on how restore would look12:34
skraynevshardy: Ooo. So long time story :)12:35
shardytherve: it seems tied into the update improvements, so yeah perhaps we should focus on getting the snapshot definition out first, then figure out how to push that back into the new-and-improved update logic when it's done :)12:35
*** rpothier has joined #heat12:35
shardyskraynev: Yeah, it's really a BP to capture an idea discussed with a few Heat users12:36
shardyI'm happy therve is interested in looking at it though :)12:36
therveshardy, Why do you think it's tied to update improvements?12:36
therveIn the sense that it would help update?12:37
shardybecause if you can't retry failed updates, then a failed snapshot restore would be a disaster ;)12:37
skraynevshardy: hm.. I have to add task (look existing bp more closely) in my list of tasks ;)12:38
*** radez_g0n3 is now known as radez12:38
shardytherve: I'm basically thinking we'll leverage the update logic to do the restore, so it has to be robust12:39
shardyand atm we know it's not really12:39
therveI think I see what you mean12:39
*** gokrokve has joined #heat12:40
therveIn a sense restore is simpler though, because it's mostly an update with UpdateReplace everywhere12:40
shardytherve: well I'm thinking it's actually more complex, for example all of the volume resources have to be recreated from a stored snapshot, it's not just a new volume created via replacement12:41
therveHum I guess12:41
shardyIMHO if it's implemented with UpdateReplace everywhere rather than a proper reverse-update, it won't be all that useful12:42
shardymight as well delete the stack and start again12:42
*** lipinski has joined #heat12:42
*** sgordon has joined #heat12:42
*** sgordon has quit IRC12:42
*** sgordon has joined #heat12:42
shardythe point is to get back to a previous state (and optionally data) with as little replacement as possible12:43
*** wchrisj has joined #heat12:44
therveshardy, The case where you start a new stack using restore data is interesting too, IMHO12:44
*** Michalik- has quit IRC12:44
*** gokrokve has quit IRC12:45
shardytherve: Yeah, there are some interesting possibilities.12:45
*** jprovazn has joined #heat12:45
shardyas I said, some use-cases or operator scenarios will probably help clarify the next steps12:45
*** cody-somerville has joined #heat12:46
shardyhey therve, you remember we discussed the missing parameter constraints dropdown in Horizon for HOT with a user recently?12:46
shardyI've been trying to track down what change fixed that, you don't know by any chance do you?12:46
shardynothing obvious from grepping horizon git logs atm12:47
*** pafuent has joined #heat12:49
*** jdob has joined #heat12:50
*** spzala has joined #heat12:51
*** cody-somerville has quit IRC12:52
therveshardy, It's fairly old IIRC12:52
therveLet me look12:53
*** e0ne has quit IRC12:55
*** e0ne has joined #heat12:55
*** jmckind has joined #heat12:55
*** dims has joined #heat12:56
therveshardy, Oh I think it was fixed in Heat12:58
therveshardy, Because we return CFN info in template-validate now12:58
shardytherve: Ah! that's why I couldn't find it then :)12:58
shardythanks12:58
*** blues-man has joined #heat13:07
*** kgriffs|afk is now known as kgriffs13:07
*** nosnos has quit IRC13:14
*** skraynev is now known as skraynev_afk13:16
*** arbylee has joined #heat13:16
*** nkhare has quit IRC13:19
*** blomquisg has joined #heat13:23
*** ramishra has quit IRC13:26
*** kgriffs is now known as kgriffs|afk13:32
*** faramir1 has quit IRC13:34
*** zz_gondoi is now known as gondoi13:34
*** killer_prince has quit IRC13:34
*** samstav has joined #heat13:35
*** e0ne_ has joined #heat13:36
cmysterright,13:37
cmystermade a nice script for multi engine... I'll do some manual work to see if I get any wrrors13:37
cmystererror13:37
cmysters13:37
cmysterin theory, if at least 1 is up then heat should work regularly right ?13:38
therveYes13:38
*** thouveng has quit IRC13:39
cmysternice,13:39
*** mandira has joined #heat13:39
*** e0ne has quit IRC13:39
mandirahello all :)13:40
cmysterheya13:40
*** gokrokve has joined #heat13:41
*** denis_makogon has quit IRC13:44
*** gokrokve has quit IRC13:45
*** chandan_kumar_ has quit IRC13:46
*** arbylee has quit IRC13:46
*** arbylee has joined #heat13:47
mandirai have launched an instance using autoscaling template....i'm using only 1 NIC and i'm not able to ping google from that instance....is it necessary to have 2 NIC?13:48
therveNo. But it doesn't sound like a Heat question :)13:49
*** mandira has quit IRC13:50
*** vijendar has joined #heat13:51
*** zz_pablosan is now known as pablosan13:52
shardyvijendar: hi!13:52
*** zns has joined #heat13:53
*** pablosan has quit IRC13:54
*** pablosan has joined #heat13:54
*** chandan_kumar_ has joined #heat13:55
*** randallburt has joined #heat13:56
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add documentation for creating a resource plug-in  https://review.openstack.org/4396213:57
vijendarshardy:hi13:59
shardyvijendar: Hi, if you have a moment, I wanted to sync-up regarding a few issues I've been looking at with abandon/adopt?14:00
vijendarshardy: sure14:00
shardyvijendar: so not sure if you've seen the bugs, but there are a few issues:14:02
shardyhttps://bugs.launchpad.net/heat/+bug/130131114:02
shardyhttps://bugs.launchpad.net/heat/+bug/130131414:02
shardyhttps://bugs.launchpad.net/heat/+bug/130132314:02
shardyhttps://bugs.launchpad.net/heat/+bug/130073414:02
shardyhttps://bugs.launchpad.net/heat/+bug/130033614:02
uvirtbotLaunchpad bug 1301311 in heat "Abandon stack lacks locking" [Undecided,New]14:02
uvirtbotLaunchpad bug 1301314 in heat "Abandon/adopt don't consider project" [Medium,Triaged]14:03
uvirtbotLaunchpad bug 1301323 in ossa "Stack adopt doesn't validate resource_data" [Undecided,Invalid]14:03
uvirtbotLaunchpad bug 1300734 in heat "Stack abandon deletes stack domain project" [High,Triaged]14:03
uvirtbotLaunchpad bug 1300336 in python-heatclient "Stack adopt requires template" [High,Triaged]14:03
vijendarshardy:  sorry.. I did not get a chance to see those bugs14:03
shardyvijendar: There are a few more things like abandon includes the template but not parameters or environment14:03
*** achampion has joined #heat14:03
shardyvijendar: no worries, I just wanted to ask for feedback when you have time, and also to discover if you're in a position to help with maintaining the feature14:04
shardy(i.e help me fix the bugs ;)14:04
vijendarshardy:  sure. I can help14:04
shardyI think it's too late for Icehouse, so we need to come up with a plan which makes things work then hopefully we can backport the fixes14:05
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add documentation for creating a resource plug-in  https://review.openstack.org/4396214:05
sdake_morning14:05
*** gokrokve has joined #heat14:06
shardyvijendar: Ok, thanks, well if you can leave feedback on the bugs that would be great14:06
vijendarshardy: ok. I will take a look at those bugs14:06
shardyvijendar: I've been looking at ways to fix the incompatibilities with stack domain projects, but the rest of it I could use some assistance with :)14:06
shardyvijendar: thanks!14:07
cmystermorning sdake14:07
cmyster_14:07
vijendarshardy: thanks for letting me know about adopt/abandon issues :)14:07
cmysterI'm going over the conf file and I don'14:08
cmystert see how/where logs will be saved14:08
shardymorning sdake14:09
cmysterruning with 10 engines and randomly killing one per second and I have 2 stuck stacks and no idea why :)14:09
*** ramishra has joined #heat14:10
*** andersonvom has joined #heat14:12
sdake_they will get stuck14:13
thervecmyster, Well if you kill an engine doing a stack action, it will do that14:13
sdake_if a stack gets stuck, it needs to be deleted/restarted14:13
therveWe should try to recover, but I don't think we're there yet14:13
sdake_there isn't graceful recover14:13
cmysterI thought that the whole idea of multiple engines is to protect against exactly that14:14
sdake_idea of multiple engines is to provide horizontal scaling, not ha14:14
therveNot really14:14
cmysterI see14:14
therveUltimately maybe14:15
sdake_ha could be added to that, of course14:15
sdake_but that wasn't point of original work14:15
* cmyster saves his nastry scripts for Ultimately14:15
cmystersdake_: and horizontally also means across networks as well?14:16
sdake_you mean across WAN?14:17
sdake_"define network"14:17
cmystereasiest is inside the LAN14:18
sdake_so if you mean network segments, where you have two switches14:18
sdake_yes ideally that should work14:18
cmysternice14:18
sdake_although heat currently suffers from a split brain scenario imo14:18
cmysterno shared doc ?14:18
sdake_no shared doc?14:19
cmysterummm sharing stuff between brains so if one is dead the other one still has a correct image of the document14:19
cmystersay there are N engines. each can say Hi, I have a doc-001 and as more and more engines join, this 001 is being shared. as changes happen, like transactions going on 001 is becoming 002 and so on and 002 is shared between the lot.14:21
sdake_all data is stored in one database14:22
sdake_so the data is shared indeed14:22
cmysterso no matter how many 'brains' you got they all know the same doc/image/heap call it whatever14:22
cmysteryes but thats 'data' not information about what currently is at work14:23
sdake_the state of the orchestration state machine is not recorded in the database14:24
sdake_by split brain, I mean it is possible for multiple engines to not be able to communicate with each other14:24
cmysterI see14:24
sdake_so both think each other is down, while in fact both are operating14:24
*** sjmc7 has joined #heat14:24
sdake_in which case, heat fails mysteriously and grandly14:25
cmysterI was thinking more about spliting 'the state of the orchestration state machine' between engines14:25
sdake_yes we don't do distributed state management in heat14:25
cmyster'nother stepping stone for HA?14:26
sdake_we are lucky to have horizontal scaling :)14:26
*** saju_m has joined #heat14:26
*** gokrokve has quit IRC14:26
*** Tross has quit IRC14:27
sdake_more like major rearchitecture14:27
*** randallburt has quit IRC14:27
*** randallburt has joined #heat14:27
cmysterright, so at the moment at least running with multiple engines seem to work well. havn't tried it across networks though14:28
*** radez is now known as radez_g0n314:28
sdake_that should work well unless you pull the network links on the switches, while retaining access to hte db14:28
sdake_this can be simulated using iptables14:28
sdake_atleast that is how the qe folks used to punish me when I worked on HA for a living14:28
sdake_this is also not ideal, resulting in byzantine faults14:29
sdake_if a create starts on one node, it finishes on that node, unless another node wants to delete14:29
sdake_if the other node wants to delete, it tells the  first node to stop creation, and then that node starts deletion14:30
sdake_if the network connection is not available, (but the db is still shared because it is on a different NIC) the second node will tell nobody to stop the creation14:30
*** swygue has quit IRC14:30
sdake_this will result in two threads of execution where one is creating, one is deleting, expect the contract delete expects is that create quit doing new work14:30
*** radez_g0n3 is now known as radez14:31
sdake_it communicated that fact, but the network was partitioned14:31
sdake_this is the split brain problem in heat14:31
sdake_in bare metal clusters, this is solved by physically fencing (turning off the power) of the node14:31
*** gokrokve has joined #heat14:32
sdake_I think we can do something entirely in the db, eg use DB as an RPC antipattern for this particular scenario in the future14:32
*** swygue has joined #heat14:33
sdake_i had proposed putting a timestamp for the executing engine in the db, and have the create operation check it still owns the stack in the db14:34
sdake_but there was not enough time for rc1 to do the job14:34
sdake_so we will have to live with split brain14:34
*** kgriffs|afk is now known as kgriffs14:37
sdake_so essentially it would check the db lock on each write to the db, if it found the db lock had been taken, it would cease operations14:40
*** varora has left #heat14:40
sdake_in this model, split brain doesn't happen because heat will not operate without a database14:40
sdake_and we push the split brain problem down into the database (which creates a problem for the db guys to solve)14:41
sdake_jasond can provide more detail14:41
sdake_the downside of this is it is sort of rpc using a database, which is an evil antipattern in engineering14:41
sdake_but in this limited case, I think it makes sense14:42
sdake_making a database tolerate split brain is exceedingly difficult, so I doubt galera gets it right either14:43
sdake_in its active/active operation14:43
*** akuznetsov has quit IRC14:44
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update common docstrings to match guidelines  https://review.openstack.org/7351914:45
*** TravT has quit IRC14:46
*** cody-somerville has joined #heat14:53
*** cody-somerville has quit IRC14:53
*** cody-somerville has joined #heat14:53
*** jprovazn is now known as jprovazn_bbl14:53
*** david-lyle has joined #heat14:55
*** saju_m has quit IRC14:58
cmysterback, and thanks sdake_ for this explanation.15:01
*** IlyaE has joined #heat15:01
cmysterbtw, should anyone wants my scripts...15:04
*** andrew_plunk has joined #heat15:05
*** randallburt has quit IRC15:06
*** randallburt has joined #heat15:10
*** alexpilotti has quit IRC15:20
*** akuznetsov has joined #heat15:20
*** alexpilotti has joined #heat15:20
*** sballe has joined #heat15:21
*** rbuilta has joined #heat15:24
*** jstrachan has joined #heat15:25
*** julienvey has quit IRC15:30
*** wchrisj has left #heat15:32
*** radez is now known as radez_g0n315:33
*** edimmaz has quit IRC15:34
*** cmyster has quit IRC15:36
*** jstrachan has quit IRC15:36
*** cmyster has joined #heat15:37
*** tsa-la-gi has joined #heat15:38
*** tsa-la-gi has quit IRC15:40
*** zhiyan has quit IRC15:45
*** sergmelikyan has quit IRC15:46
*** sergmelikyan has joined #heat15:46
*** randallburt has quit IRC15:46
cmysterengine selection for a job, how is it made?15:54
*** radez_g0n3 is now known as radez15:56
cmysteras in, I have N engines and I want to do some stack work. which engine will be selected for the job ?15:56
*** stannie has quit IRC15:58
thervecmyster, Round robin by the broker, IIRC16:00
*** tspatzier has quit IRC16:01
*** zhiyan has joined #heat16:03
cmystertherve: not sure if its something I want to investigate, just an interesting behavior, I had 5 engines running and 10 stacks. I deleted those one by one every minute or so. the engine that was used for the first 5 was the same one (with lowest PID) till I killed that one. after that it was indeed roundrobined between the rest16:03
thervecmyster, Which broker are you using?16:04
cmysterno idea actually, sec16:04
cmysterok, how can I tell? I remember from the installation process its rabbit but I might be wrong16:05
cmystertherve: whatever devstack installes/configures by default if that helps16:08
therverabbit then16:08
shardyps ax | grep -e rabbit -e qpid16:08
*** chandan_kumar_ has quit IRC16:08
cmysteryup16:08
*** lsmola has quit IRC16:15
*** randallburt has joined #heat16:18
*** julienvey has joined #heat16:21
*** randallburt has quit IRC16:22
*** killer_prince has joined #heat16:26
cmysterI'm going over https://wiki.openstack.org/wiki/Heat/Blueprints/hot-software-config-spec#Wordpress_all-in-one_Example16:28
cmysterconfiguring the type of the configuration resource like in this example is planned?16:28
cmysterthe type that is16:29
cmysterlike OS::Heat::SoftwareDeployment::Chef16:29
cmysterand OS::Heat::SoftwareConfig::Chef ofcourse16:29
therveI think it changed a bit since then16:32
therveSee https://review.openstack.org/#/c/80229/16:33
cmysterI see there heat-config-chef, is there a plan to do puppet and scripts as in the wiki?16:35
cmysterlet me ask this differently, what's implemented and ready for testing in RC1 ?16:36
*** killer_prince has quit IRC16:37
*** IlyaE has quit IRC16:42
*** stanlagun has joined #heat16:44
*** e0ne_ has quit IRC16:45
*** e0ne has joined #heat16:45
*** cmyster has quit IRC16:46
*** blues-man has quit IRC16:46
*** harlowja_away is now known as harlowja16:49
*** e0ne has quit IRC16:50
openstackgerritA change was merged to openstack/heat: Update contrib docstrings to match guidelines  https://review.openstack.org/7307016:53
*** radez is now known as radez_g0n316:55
*** randallburt has joined #heat16:57
*** gokrokve has quit IRC17:01
*** killer_prince has joined #heat17:04
*** nati_ueno has joined #heat17:09
*** derekh has quit IRC17:10
*** pvaneck has joined #heat17:11
*** yogesh has joined #heat17:12
*** jistr has quit IRC17:13
*** kgriffs is now known as kgriffs|afk17:15
*** nati_uen_ has joined #heat17:17
*** yogesh_ has joined #heat17:19
*** nati_ueno has quit IRC17:20
*** pradipta_away is now known as pradipta17:21
*** yogesh has quit IRC17:22
*** jmckind has quit IRC17:24
*** zns has quit IRC17:25
*** jmckind has joined #heat17:25
*** chandan_kumar_ has joined #heat17:25
openstackgerritRabi Mishra proposed a change to openstack/heat: Provides ability to reference existing neutron resources  https://review.openstack.org/8285317:26
*** daudet has joined #heat17:26
*** jmckind has quit IRC17:29
*** IlyaE has joined #heat17:31
*** IlyaE has quit IRC17:33
*** chandan_kumar_ has quit IRC17:34
*** wchrisj has joined #heat17:34
*** ramishra has quit IRC17:35
*** gokrokve has joined #heat17:37
*** zhiyan is now known as zhiyan_17:37
*** cdent has joined #heat17:38
*** aweiteka has quit IRC17:38
*** lindsayk has joined #heat17:39
*** andersonvom has quit IRC17:41
*** lindsayk has quit IRC17:43
*** skraynev_afk is now known as skraynev17:44
*** wchrisj has quit IRC17:45
*** kgriffs|afk is now known as kgriffs17:46
cdentsdake_: If you can paste me that stuff I'll give it a shot here in a few minutes. Gonna go catch up with the wife first.17:47
*** chandan_kumar_ has joined #heat17:48
*** yogesh_ has quit IRC17:51
*** lindsayk has joined #heat17:51
*** yogesh has joined #heat17:51
*** randallburt has quit IRC17:51
*** randallburt has joined #heat17:51
*** IlyaE has joined #heat17:52
*** pafuent has left #heat17:52
*** kgriffs is now known as kgriffs|afk17:55
*** yogesh has quit IRC17:55
*** julienvey has quit IRC17:59
*** julienvey has joined #heat17:59
*** edimmaz has joined #heat17:59
sdake_cdent sorry was otp18:03
cdentno problem18:03
*** julienvey has quit IRC18:03
cdentI've just been hunting around for virtualbox related devstack stuff and have found a few Vagrant setups that ought to get me going18:04
cdent"ought"18:04
sdake_http://paste.fedoraproject.org/92967/1397066618:04
sdake_git am that patch on top of devstack18:04
sdake_my local rc with heat setup http://paste.fedoraproject.org/92968/0666731318:04
sdake_ceilometer has options too18:04
sdake_but I dont set up ceilometer by default18:05
sdake_as for vagrant + virtualbox + devstack, there may be cats that run it on #openstack-dev18:05
sdake_but I use bare metal on fedora2018:05
*** Michalik- has joined #heat18:05
sdake_so I can't help you there18:05
*** saurabhs has joined #heat18:06
cdentI'll give these various things a try and seek out folk on IRC if I get stuck.18:06
cdentthanks18:07
*** pafuent has joined #heat18:14
lipinskishould this work in a HOT template: { get_file: { get_param: myfilename } } ?18:15
lipinskiOr this: { get_file: [ { get_param: myfilename } ] } ?18:15
*** andersonvom has joined #heat18:15
*** erecio has joined #heat18:16
*** aweiteka has joined #heat18:16
*** zns has joined #heat18:20
*** jamie_h has quit IRC18:22
zaneblipinski: the first one should actually work, though I don't recommend it18:24
lipinskiyeah - first doesn't work.. :18:24
lipinskineither works actually.18:25
zaneblipinski: but I wouldn't expect the client to be able to automatically include files in the request (if the client supports that at all?)18:25
lipinskiI'm trying to pass the file path as a parameter, then using it to get the contents into a SoftwareConfig18:25
*** yogesh has joined #heat18:27
zaneblipinski: better to create two software configs and select between them using a param than to select between files18:27
lipinskiHow to select between the two configs though?  That can't be parameterized...18:28
zaneblipinski: what version of Heat are you using BTW?18:28
lipinskiIcehouse.18:28
lipinskiThe latest from github.18:28
zanebok18:28
zanebwhat is the error you're getting?18:28
lipinskione sec - let me reproduce18:29
zaneb{get_resource: {get_param: config_name}} should actually work in Icehouse18:29
zanebbut then again the get_file thing should have worked in exactly the same way :D18:29
*** wchrisj_ has joined #heat18:30
lipinskiI tried with a str_replace template, and got the same error as { get_file: { get_param:..18:30
lipinski{ get_file: [ { get_param: } ] } faild complaining that get_file's first argument must be a string or something to that effect.18:30
*** wchrisj_ has left #heat18:31
lipinskiThe error for { get_file: { get_param..  is:18:31
lipinskiTRACE heat.engine.resource StackValidationFailed: Property error : my_script_file: cloud_config No content found in the "files" section for get_file path: file:///etc/nsswitch.conf18:31
lipinskiI used /etc/nsswitch.conf just for testing purposes since it was a file I know exists.18:32
zaneb{ get_file: [ { get_param: } ] } is just wrong, so that message is correct18:33
lipinskiyeah, was just trying things with that one.. :)18:33
zanebfor the other one, I think you misunderstand the purpose of get_file18:33
zanebyou have to upload the file to the server along with the request18:33
zanebthe parameter to get_file is the key in the "files" dictionary that you pass when creating a stack18:34
zanebit is *not* away to allow cloud users to read any file on the operator's server ;)18:34
lipinskiwhere is the files dict defined?18:36
lipinskiWhat I'm trying to do is pass a file through from where the heat client createing the stack to the VM.18:36
lipinskiget_file combined with a CloudConfig seemed like the right way...18:37
*** tomek_adamczewsk has quit IRC18:39
zanebI can never remember where the files dict fits...18:41
zanebhttp://api.openstack.org/api-ref-orchestration.html18:42
zanebOK, it goes at the top level of the create request18:42
zanebugh, maybe not18:43
zanebwho added extra parameters to the docs without putting them in the example?18:43
lipinski(not me ;) )18:44
zanebok, yes, it's at the top level18:44
zanebhttps://github.com/openstack/heat/blob/master/heat/api/openstack/v1/stacks.py#L12718:44
lipinskiSo, does that mean get_file only works with top-level template and not with provider templates?18:45
lipinski(or am I misunderstanding)18:45
zanebso if you make sure you're passing the file like that, it should work18:45
zanebwe ought to pass the files from the top-level template down to the provider templates too18:46
zanebnot 100% sure if we do though18:46
zanebit was an open bug at one point18:46
*** mdelder has joined #heat18:46
*** kgriffs|afk is now known as kgriffs18:46
zanebI suspect it's not fixed yet18:47
lipinskiI know there was a bug about passing environment down to provider templates (to allow nested providers in resource_registry to propogate down).  Seems like that was fixed in the past day or so.18:48
*** jprovazn_bbl has quit IRC18:50
*** tomek_adamczewsk has joined #heat18:50
*** pvaneck has quit IRC18:51
*** pshchelo has joined #heat18:51
*** mdelder has quit IRC18:54
*** jamie_h has joined #heat18:54
*** yogesh has quit IRC18:58
*** yogesh has joined #heat18:58
openstackgerritJay Dobies proposed a change to openstack/heat: More specific exceptions when validating params  https://review.openstack.org/8642018:59
*** pvaneck has joined #heat19:01
*** tango has joined #heat19:02
*** yogesh has quit IRC19:03
*** duncanjw has joined #heat19:04
*** pradipta is now known as pradipta_away19:05
*** chandan_kumar_ has quit IRC19:07
*** tomek_adamczewsk has quit IRC19:08
*** e0ne has joined #heat19:09
*** tomek_adamczewsk has joined #heat19:10
*** e0ne has quit IRC19:13
lipinskiCan a provider template access a resource created in the top-level template if I pass an ID as a parameter?19:15
lipinskiI'm trying to do that and getting: TypeError: unhashable type: 'dict'19:15
*** tomek_adamczewsk has quit IRC19:16
*** tomek_adamczewsk has joined #heat19:17
*** e0ne has joined #heat19:19
*** chandan_kumar_ has joined #heat19:21
daudetWhere can I find out more about stack-abandon and stack-adopt for Heat. Is this implemented in the current codebase?19:22
sdake_implemented but iirc not perfect19:23
*** duncanjw has quit IRC19:26
*** derekh has joined #heat19:29
*** akuznetsov has quit IRC19:31
*** akuznetsov has joined #heat19:32
*** akuznetsov has quit IRC19:33
*** openstackgerrit has quit IRC19:34
*** radez_g0n3 is now known as radez19:38
*** cdent has quit IRC19:39
*** tspatzier has joined #heat19:40
*** openstackgerrit has joined #heat19:42
*** stanlagun has left #heat19:43
*** stanlagun has joined #heat19:45
zaneblipinski: define "access a resource"? you can pass a UUID obtained from get_resource as a parameter, but you can't treat a resource from another template as if it were in the same template19:45
*** chandan_kumar_ has quit IRC19:49
*** pablosan is now known as zz_pablosan19:50
*** cdent has joined #heat19:52
*** andersonvom has quit IRC19:52
*** andersonvom has joined #heat19:53
shardydaudet: It's a new feature which is implemented in the current codebase, but we're still working out bugs, so I don't recommend using it yet19:56
daudetshardy: Thanks for the info19:57
shardydaudet: If you'd like to help test it and provide feedback the of course that is very welcome :)19:57
*** mspreitz has joined #heat19:57
*** pshchelo has quit IRC19:58
randallburtmight want to ping vijendar as well daudet19:58
daudetis there a link to a blueprint for this functionality?19:59
shardydaudet: yes, but FYI here are some bugs which we're still looking at:20:00
shardyhttps://bugs.launchpad.net/heat/+bug/130131120:00
shardyhttps://bugs.launchpad.net/heat/+bug/130131420:00
shardyhttps://bugs.launchpad.net/heat/+bug/130132320:00
shardyhttps://bugs.launchpad.net/heat/+bug/130073420:00
uvirtbotLaunchpad bug 1301311 in heat "Abandon stack lacks locking" [High,In progress]20:00
uvirtbotLaunchpad bug 1301314 in heat "Abandon/adopt don't consider project" [Medium,Triaged]20:00
shardyhttps://bugs.launchpad.net/heat/+bug/130033620:00
uvirtbotLaunchpad bug 1301323 in ossa "Stack adopt doesn't validate resource_data" [Undecided,Invalid]20:00
uvirtbotLaunchpad bug 1300734 in heat "Stack abandon deletes stack domain project" [High,Triaged]20:00
uvirtbotLaunchpad bug 1300336 in python-heatclient "Stack adopt requires template" [High,Triaged]20:00
*** BillArnold has joined #heat20:00
daudetthanks shardy20:00
stevebakermeeting time20:00
zanebwhere are we today?20:01
*** pas-ha has quit IRC20:01
*** pvaneck has quit IRC20:01
*** pvaneck has joined #heat20:01
shardydaudet: the BP's are linked from https://blueprints.launchpad.net/heat/icehouse20:01
*** david_lyle_ has joined #heat20:01
*** pas-ha has joined #heat20:01
*** zns has quit IRC20:02
daudetthanks20:02
*** dklyle has joined #heat20:03
*** sdake has joined #heat20:04
*** sdake has quit IRC20:04
*** sdake has joined #heat20:04
*** david-lyle has quit IRC20:04
*** cdent has quit IRC20:05
*** david_lyle_ has quit IRC20:06
*** daudet has quit IRC20:06
*** rbuilta has quit IRC20:11
*** cdent has joined #heat20:11
*** tspatzier__ has joined #heat20:12
*** zz_pablosan is now known as pablosan20:12
*** arunrajan has joined #heat20:12
*** yogesh has joined #heat20:13
*** zns has joined #heat20:13
*** tspatzier has quit IRC20:15
*** tspatzier__ is now known as tspatzier20:15
*** openstackstatus has quit IRC20:15
*** openstackstatus has joined #heat20:15
*** yogesh has quit IRC20:18
*** lindsayk has quit IRC20:24
*** lindsayk has joined #heat20:26
*** zns has quit IRC20:32
*** zns has joined #heat20:34
*** harlowja is now known as harlowja_away20:36
*** zns has quit IRC20:36
*** zns has joined #heat20:37
*** e0ne has quit IRC20:44
*** e0ne has joined #heat20:44
*** e0ne has quit IRC20:47
*** pafuent1 has joined #heat20:50
*** pafuent has quit IRC20:50
*** e0ne has joined #heat20:50
*** jistr has joined #heat20:50
*** jdob has quit IRC20:54
*** e0ne has quit IRC20:54
*** e0ne has joined #heat20:55
*** harlowja_away is now known as harlowja20:55
*** e0ne has quit IRC20:55
*** e0ne has joined #heat20:56
*** erecio has quit IRC20:56
*** asalkeld has joined #heat20:57
*** BillArnold has quit IRC20:57
*** BillArnold has joined #heat20:57
*** cdent has quit IRC20:58
*** nati_uen_ has quit IRC20:59
*** e0ne has quit IRC20:59
*** e0ne has joined #heat21:00
*** jistr has quit IRC21:01
shardystevebaker: haha, I think you inadvertantly touched on one of my agenda items ;)21:01
shardywhich was stacks with no resources defined in the template ;)21:01
mspreitzexplicit interfaces are great for modularity21:01
mspreitzBut please let's not make the mistake of requiring automated solution to the problem of picking the actual value to assign to a typed formal parameter21:02
*** aweiteka has quit IRC21:02
mspreitzi.e., let the user say which implementing template will be used where a type was stated21:02
ruhemspreitz: shardy: here is the link http://lists.openstack.org/pipermail/openstack-dev/2014-April/031701.html to discussion about type interfaces in HOT21:02
stevebaker#agreed Allow empty templates? YES21:02
zanebmspreitz: so it's more of a check than a constraint to be solved? Can you discuss in that ML thread?21:03
mspreitzstevebaker: The question is too short --- allow them to be used how?21:03
shardystevebaker: cool, we had a discussion here earlier and there were some conflicting opinions21:03
skraynevstevebaker: so we should remove same check in validate template. right?21:03
shardystevebaker: my view is just allow empty stacks and avoid breaking all the tempest stuff21:03
*** e0ne has quit IRC21:03
*** dklyle is now known as david-lyle21:03
mspreitzzaneb: I will read up and respond.  I actually have to leave now.21:04
stevebakershardy: I personally have no problem with empty stacks21:04
*** mspreitz has left #heat21:04
*** edimmaz has quit IRC21:04
zanebshardy, stevebaker: now that we are checking for e.g. misspelled Resources section, there is less reason to disallow it IMO21:04
*** pas-ha has quit IRC21:04
*** zns has quit IRC21:04
*** tspatzier has quit IRC21:04
*** tspatzier__ has joined #heat21:04
zanebpreviously that was our main way of catching that mistake21:05
zanebbut no longer, I think21:05
stevebakerright21:05
*** andrew_plunk has quit IRC21:05
*** derekh has quit IRC21:05
shardyzaneb: Ok, but the question is if we allow stuff to be missing, not if we allow stuff to be present as a key which is not in a whitelist of allowed and understood values21:06
shardye.g outputs is optional, but ouputs is invalid21:06
stevebakerOutpus21:06
*** pafuent1 has left #heat21:07
skraynevzaneb: so are you agree, that we should remove validation of empty template from template_validate?21:07
skraynevzaneb: and gives users to think, that empty template is correct.21:09
zanebshardy, skraynev: I'm agreeing that we should allow a template with no resources21:09
*** BillArnold has quit IRC21:10
skraynevzaneb, shardy: cool. I will upload the patch  with this approach tomorrow  , if you don't mind ;)21:10
*** skraynev is now known as skraynev_afk21:11
stevebakercoudl I get some reviews on https://review.openstack.org/#/c/82603/ ?21:12
stevebakerI'm stuck on releasing python-heatclient without it21:12
skraynev_afktime to sleep..21:12
*** kgriffs is now known as kgriffs|afk21:12
*** openstackstatus has quit IRC21:14
*** gokrokve has quit IRC21:14
*** tspatzier__ has quit IRC21:18
*** kgriffs|afk is now known as kgriffs21:19
*** zns has joined #heat21:20
*** andrew_plunk has joined #heat21:20
*** sgordon has quit IRC21:21
*** openstackstatus has joined #heat21:21
*** randallburt has quit IRC21:26
*** gokrokve has joined #heat21:27
*** nati_ueno has joined #heat21:32
*** arunrajan has left #heat21:45
*** arunrajan has joined #heat21:45
*** rpothier has quit IRC21:46
*** arunrajan has left #heat21:46
*** edimmaz has joined #heat21:47
*** nati_ueno has quit IRC21:50
*** ramishra has joined #heat21:52
*** nati_ueno has joined #heat21:53
*** Tross has joined #heat21:58
*** gokrokve has quit IRC21:58
*** ramishra has quit IRC21:59
*** e0ne has joined #heat21:59
*** ramishra has joined #heat22:01
*** david-lyle has quit IRC22:02
*** e0ne has quit IRC22:02
openstackgerritRabi Mishra proposed a change to openstack/heat: Provides ability to reference existing neutron resources  https://review.openstack.org/8285322:02
*** vijendar has quit IRC22:04
*** lindsayk has quit IRC22:05
*** vijendar has joined #heat22:05
*** lindsayk has joined #heat22:07
*** vijendar has quit IRC22:09
*** gokrokve has joined #heat22:12
*** kevinbenton has quit IRC22:14
*** jamie_h has quit IRC22:15
*** arbylee1 has joined #heat22:18
*** blomquisg has quit IRC22:19
mattoliverauGood morning all22:19
*** edimmaz has quit IRC22:19
*** asalkeld has quit IRC22:21
*** arbylee has quit IRC22:22
*** julienvey has joined #heat22:23
*** andrew_plunk has quit IRC22:25
*** openstack has joined #heat22:34
*** alexpilotti has quit IRC22:40
*** andrew_plunk has joined #heat22:43
*** ramishra has quit IRC22:43
*** ramishra has joined #heat22:44
*** mkollaro has quit IRC22:44
*** andrew_plunk has quit IRC22:46
*** ramishra has quit IRC22:48
*** edimmaz has joined #heat22:59
*** nati_ueno has quit IRC23:01
*** dims has quit IRC23:02
*** julienvey has quit IRC23:07
*** sjmc7 has quit IRC23:12
openstackgerritAndrew Plunk proposed a change to openstack/heat: Chef solo resource  https://review.openstack.org/5520823:12
*** andersonvom has quit IRC23:15
*** tango has quit IRC23:17
*** edimmaz has quit IRC23:19
*** nati_ueno has joined #heat23:22
*** gokrokve has quit IRC23:22
*** randallburt has joined #heat23:32
*** randallburt has joined #heat23:33
*** achampion has joined #heat23:34
*** duncanjw has joined #heat23:36
*** rpothier has joined #heat23:39
*** duncanjw has quit IRC23:44
*** duncanjw has joined #heat23:45
*** pvaneck has quit IRC23:46
*** duncanjw has quit IRC23:49
*** killer_prince has quit IRC23:59

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