Tuesday, 2014-10-14

kfox1111the code looks like it might handle it...00:00
kfox1111looks like you can set InstanceId, AllocationId, and NetworkInterfaceId..00:00
ari__yep thats what I would think but those UI guys ]::00:00
ari__yup00:00
kfox1111hmm.... no, it looks like the allocation id is the floatingipid...00:01
ari__but thats optional too00:01
kfox1111but it then drops out of the whole if block.00:02
ari__so I wonder if I just specify the InstanceId and NetworkInterfaceId if it handles properly00:02
kfox1111it looks like it does nothing in that case, since you told it to do nothing. :/00:02
ari__:)00:03
kfox1111/usr/lib/python2.7/site-packages/heat/engine/resources/eip.py: line 266 elses on ALLOCATION_ID and then nothing below...00:03
ari__Creating an extra resource plugin for that would be a overkill00:04
kfox1111I tried sticking to AWS resources for a while so I could use my templates on AWS too, but gave up after a while. Just not flexable enough. :/00:04
ari__totally with you on that :/00:04
kfox1111If you created an extra, wouldn't that be the same as just using the OS: variant?00:04
ari__yep thats what I was wondering00:05
kfox1111you could probably add network support to the eip resource pretty easily, and contribute that back. ;)00:05
kfox1111if you control the heat engine that is.00:06
*** andersonvom has joined #heat00:06
ari__sounds like an effort worth investing00:06
ari__how easy do you think it would be? looking at the eip class00:06
kfox1111would probably just be copying of some of the ElasticIpAssociation class and adding it to the ElasticIp one.00:08
kfox1111hmmm...00:09
kfox1111though: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html00:09
*** Qiming has quit IRC00:09
kfox1111amazon doesn't seem to support that feature either.00:09
kfox1111so the ui probably wont without ui modifications too.00:10
kfox1111wait a second... I'm just blind...00:11
kfox1111they have a domain attribute on the eip...00:12
kfox1111though its kind of a strange behavior.00:12
*** randallburt has quit IRC00:13
ari__yep it refers to a vpc00:13
*** kebray has joined #heat00:13
kfox1111it refers to a magical 'vpc' string, that isn't the network id.00:13
ari__exactly00:13
kfox1111then does some other strangeness... digging through the code to see what it actually does....00:14
*** achanda has quit IRC00:16
kfox1111looks like it introspects your tenant to see if there is only one public network and tries to allocate on it. guessing it will fail if there are multiple public nets.00:16
kfox1111hmm.... no, its another resource...00:17
kfox1111ah, there we go... yeah. TODO(sbaker) if there is more than one external network add a heat configuration variable to set the ID of the default one00:19
kfox1111then raises an Error('Expected 1 external network, found %d00:19
*** ramishra has quit IRC00:19
*** andersonvom has quit IRC00:22
kfox1111ari__: I think your stuck updating the ui.00:23
*** andersonvom has joined #heat00:24
*** kebray has quit IRC00:28
*** simonc has quit IRC00:34
ari__proably00:37
ari__thanks kfox1111 though you are awesome :)00:38
*** alexpilotti has quit IRC00:38
*** randallburt has joined #heat00:39
*** kfox1111 has quit IRC00:43
openstackgerritRandall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined  https://review.openstack.org/12814600:49
openstackgerritA change was merged to openstack/heat: Help message of configurations support i18n  https://review.openstack.org/11900200:50
*** ramishra has joined #heat00:54
*** sjmc7 has quit IRC00:56
openstackgerritA change was merged to openstack/heat: sqlalchemy migration not to import model  https://review.openstack.org/12789700:57
openstackgerritRandall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined  https://review.openstack.org/12814600:59
*** sarob has quit IRC01:00
*** dims_ has quit IRC01:00
*** dims has joined #heat01:01
*** ramishra has quit IRC01:05
*** ari__ has quit IRC01:05
*** dims has quit IRC01:05
*** aweiteka has joined #heat01:06
*** sarob has joined #heat01:06
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12803801:07
*** spzala has quit IRC01:10
*** Qiming has joined #heat01:11
*** andersonvom has quit IRC01:12
*** randallburt has quit IRC01:13
*** apporc has joined #heat01:14
*** dims has joined #heat01:16
*** harlowja is now known as harlowja_away01:16
*** harlowja_away is now known as harlowja01:16
*** andersonvom has joined #heat01:17
openstackgerritliusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part1)  https://review.openstack.org/10951201:21
*** julienve_ has joined #heat01:22
*** ramishra has joined #heat01:23
*** julienve_ has quit IRC01:26
*** andersonvom has quit IRC01:29
*** erkules_ has joined #heat01:30
*** ramishra has quit IRC01:33
*** erkules has quit IRC01:33
*** LiJiansheng has joined #heat01:43
*** julienve_ has joined #heat01:47
openstackgerritliusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part2)  https://review.openstack.org/12338701:49
openstackgerritliusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part3)  https://review.openstack.org/12338801:51
*** julienve_ has quit IRC01:52
openstackgerritliusheng proposed a change to openstack/heat: Log translation hint for Heat.contrib  https://review.openstack.org/10948401:55
*** nosnos has joined #heat01:55
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add query property to threshold alarms.  https://review.openstack.org/12782102:05
*** sarob has quit IRC02:09
*** mspreitz has joined #heat02:11
*** andersonvom has joined #heat02:22
*** dims has quit IRC02:29
*** elynn has joined #heat02:32
elynnmorning guys :)02:32
asalkeldhi elynn02:34
*** andersonvom has quit IRC02:35
*** zhiwei has joined #heat02:37
*** Drago1 has joined #heat02:38
*** aweiteka has quit IRC02:40
openstackgerritEthan Lynn proposed a change to openstack/heat: Use six.text_type to replace str in heat engine  https://review.openstack.org/12815702:41
*** liusheng has quit IRC02:42
*** Drago1 has quit IRC02:43
zhiweiis there a way to constraint two properties? propA relies on propB.02:47
*** nijaba_ has joined #heat02:47
*** serverascode__ has joined #heat02:49
*** wendar_ has joined #heat02:49
*** sdake has quit IRC02:50
*** SpamapS_ has joined #heat02:50
*** abramley_ has joined #heat02:52
*** sirushti_ has joined #heat02:52
*** ruhe2 has joined #heat02:52
*** d0ugal_ has joined #heat02:52
*** sdake has joined #heat02:52
*** morgan has joined #heat02:52
*** DinaBelova2 has joined #heat02:52
*** vijendar has quit IRC02:54
*** morganfainberg has quit IRC02:54
*** sirushti has quit IRC02:54
*** zz_gondoi has quit IRC02:54
*** serverascode_ has quit IRC02:54
*** Goneri has quit IRC02:54
*** abramley has quit IRC02:54
*** pscheie has quit IRC02:54
*** jrist has quit IRC02:54
*** greghaynes has quit IRC02:54
*** wendar has quit IRC02:54
*** stevebaker has quit IRC02:54
*** adam_g has quit IRC02:54
*** DinaBelova has quit IRC02:54
*** nijaba has quit IRC02:54
*** ruhe has quit IRC02:54
*** d0ugal has quit IRC02:54
*** SpamapS has quit IRC02:54
*** d0ugal_ is now known as d0ugal02:54
*** ruhe2 is now known as ruhe02:54
*** sirushti_ is now known as sirushti02:54
*** morgan is now known as morganfainberg02:54
*** abramley_ is now known as abramley02:54
*** DinaBelova2 is now known as DinaBelova02:54
*** d0ugal is now known as Guest8588702:54
*** vijendar has joined #heat02:55
*** Drago1 has joined #heat02:57
*** stevebaker has joined #heat02:57
*** adam_g has joined #heat02:57
*** adam_g has quit IRC02:58
*** adam_g has joined #heat02:58
*** Drago1 has quit IRC02:59
*** Drago1 has joined #heat03:01
*** greghaynes has joined #heat03:01
*** jrist has joined #heat03:02
*** pscheie has joined #heat03:02
*** Drago1 has quit IRC03:03
*** Drago1 has joined #heat03:04
*** ramishra has joined #heat03:05
*** fbo has quit IRC03:06
*** cmyster_out is now known as cmyster03:07
*** Drago1 has quit IRC03:07
*** Drago1 has joined #heat03:08
*** Drago1 has quit IRC03:09
*** fbo has joined #heat03:10
cmysterzhiwei: maybe like in https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_net.yaml ?03:10
zhiweithanks03:10
cmystercheck line 3803:10
cmysterthe port for server 1 is created and is being referred to the port resource and that uses a security setting that is referred from the server_security_group resource03:13
cmyster(line 46)03:13
zhiweinot my case.03:13
cmysterso what is your case ?03:13
zhiweimy case is, when propA is valueA, propB must required.03:14
zhiweiwhen propA is other values, propB can be optional.03:14
cmysterI don't think that's possible03:14
cmysterstevebaker? ^03:14
zhiweiI am looking the customcontraints.03:15
zhiweihttp://docs.openstack.org/developer/heat/pluginguide.html#defining-resource-properties03:15
stevebakerzhiwei: that sort of logic can be in the validate method of the resource03:15
zhiweioh, thanks.03:16
zhiweiand if the schema can be a list value, it can also solve my issue.03:16
stevebakerit can03:19
zhiweii saw it.03:20
zhiweithe schema is a dict value.03:20
*** gondoi has joined #heat03:22
*** nosnos has quit IRC03:25
*** nosnos has joined #heat03:26
*** Goneri has joined #heat03:29
*** dims has joined #heat03:29
*** nosnos has quit IRC03:31
*** dims has quit IRC03:34
*** SpamapS_ is now known as SpamapS03:34
*** SpamapS has quit IRC03:34
*** SpamapS has joined #heat03:34
*** LiJiansheng has quit IRC03:42
*** Yanyanhu has joined #heat03:47
*** harlowja is now known as harlowja_away03:48
*** LiJiansheng has joined #heat03:48
*** harlowja_away is now known as harlowja03:52
*** achanda has joined #heat03:56
*** andersonvom has joined #heat03:58
*** jpeeler has quit IRC04:05
*** jpeeler has joined #heat04:07
*** jpeeler has quit IRC04:07
*** jpeeler has joined #heat04:07
*** daneyon has joined #heat04:16
*** rushiagr_away is now known as rushiagr04:17
*** achampion has quit IRC04:18
openstackgerritA change was merged to openstack/heat: Add query property to threshold alarms.  https://review.openstack.org/12782104:19
*** nosnos has joined #heat04:20
*** achampion has joined #heat04:20
*** nosnos has quit IRC04:27
*** nosnos has joined #heat04:27
*** dims has joined #heat04:30
*** ramishra has quit IRC04:31
*** ramishra has joined #heat04:32
*** dims has quit IRC04:35
*** ramishra_ has joined #heat04:35
*** rushiagr is now known as rushiagr_away04:36
*** ramishra has quit IRC04:36
*** sanjayu has joined #heat04:37
*** rakesh_hs has joined #heat04:42
*** killer_prince is now known as lazy_prince04:50
*** mspreitz has quit IRC05:10
*** sarob has joined #heat05:10
*** sarob has quit IRC05:14
*** mspreitz has joined #heat05:22
*** tomek_adamczewsk has joined #heat05:25
*** rakesh_hs has quit IRC05:37
*** rakesh_hs has joined #heat05:38
*** lazy_prince has quit IRC05:40
*** ccrouch has quit IRC05:40
*** harlowja has quit IRC05:40
*** sbadia has quit IRC05:40
*** lazy_prince has joined #heat05:46
*** ccrouch has joined #heat05:46
*** harlowja has joined #heat05:46
*** sbadia has joined #heat05:46
*** unmeshg has joined #heat05:47
*** tomek_adamczewsk has quit IRC05:48
*** ckmvishnu has joined #heat05:58
*** dims has joined #heat06:00
*** rushiagr_away is now known as rushiagr06:05
*** dims has quit IRC06:05
*** achanda has quit IRC06:09
*** lazy_prince is now known as killer_prince06:12
*** killer_prince is now known as lazy_prince06:13
*** kopparam has joined #heat06:21
*** kopparam has quit IRC06:22
*** k4n0 has joined #heat06:24
*** harlowja is now known as harlowja_away06:25
*** jcoufal has joined #heat06:30
openstackgerritRabi Mishra proposed a change to openstack/heat-templates: Add in-instance docker software config hook  https://review.openstack.org/12818206:30
*** kopparam has joined #heat06:31
ramishra_stevebaker: Hi.. Please have a look at https://review.openstack.org/#/c/128182/ when you have time...06:32
*** tango has quit IRC06:32
*** coolsvap has joined #heat06:33
*** jprovazn has joined #heat06:34
*** kopparam has quit IRC06:36
*** kopparam has joined #heat06:37
*** kopparam has quit IRC06:41
*** tspatzier has joined #heat06:43
*** pasquier-s has joined #heat07:00
*** ifarkas has joined #heat07:01
*** ramishra_ has quit IRC07:02
*** liusheng has joined #heat07:05
*** jcoufal has quit IRC07:06
*** jcoufal has joined #heat07:06
arif-aliSo, looking at the heat resources code, the name attribute is not available in icehouse, as see in line number 302-319 https://github.com/openstack/heat/blob/stable/icehouse/heat/engine/resources/server.py, is this a new feature then only in Juno07:08
*** shardy_z is now known as shardy07:09
arif-alibtw, I found the problem with my heat template from yesterday, I had an extra set of square brackets in my template I was using on the system, The template I pointed to in my git repo was correct, sorry for the extra noise07:10
shardyarif-ali: The name property exists in icehouse, the name *atribute* is indeed new for Juno07:13
shardyattribute even..07:13
shardygood to hear you found a fix for your issue :)07:13
arif-aliyeah, unfortunately, the documentation doesn't express this07:14
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/12818807:14
arif-aliI still needed the join patch though07:14
arif-alishardy, it's not much to change, I presume, to add the attribute, is it worth getting that added?07:15
shardyarif-ali: we can't backport interface changes unfortunately, it's against the stable branch policy07:16
shardyOh, you mean the join patch?  Yes we should get that reviewed07:16
arif-alithen again, the instance_name attribute only gives "None", rather than the name of the instance07:16
arif-alishardy, ok, no problems, just learning the openstack ideas/philosophies, will have to live without the name attribute then; will have to think about something else07:19
*** achanda has joined #heat07:20
zhiweiHi, is anyone know why some properties validate during create stack?07:24
zhiweiI think all the properties should be validated before create stack.07:24
*** achanda has quit IRC07:25
asalkeldzhiwei, you can do a template validate07:29
zhiweiI want to reuse the code in Stack.validate().07:29
zhiweiMy template is invalid, but heat created a failed stack for me.07:30
asalkeldzhiwei, also note that many properties will have references so it is not always useful to do this seperately07:30
zhiweiI think heat should not create any stack for me, because my template is invalid.07:30
asalkeldzhiwei, there is a rollback option that will do that07:30
zhiweiwhere? I don't know this.07:31
zhiweilet me grep the code.07:31
asalkeldheat stack-create -r ...07:31
asalkeldheat help create07:31
*** Guest85887 has quit IRC07:32
asalkeldheat help stack-create07:32
zhiweiI saw it.07:32
*** Guest50275 has joined #heat07:32
zhiweican I call this function in resources definition file?07:33
skraynevgood day.07:33
skraynevasalkeld hi07:33
asalkeldhi skraynev07:33
cmysterhey07:33
skraynevcmyster hey07:33
zhiweihi skraynev.07:33
asalkeldzhiwei, i am not totally clear what you mean07:33
skraynevhi zhiwei07:33
zhiweiI want to validate all the properties before create template.07:34
skraynevzhiwei: I know what you mean, but it's not possible07:34
zhiweisince the wrong properties will cause the stack create failed. So why heat still create it when template is invalid.07:35
*** Guest50275 has quit IRC07:35
skraynevbecause some properties are not resolved before you start create stack07:35
cmysterzhiwei: I think that the closest thing is stack-preview07:35
asalkeldfor most cases it would not be useful07:35
asalkeldthat's right07:35
skraynevzhiwei: user may use build in functions with references on not created resources07:35
* asalkeld has never used stack-preview07:36
asalkeld:-O07:36
*** dmatthews__ has joined #heat07:36
zhiweiskraynev: I can get all the properties in resource.validate() function.07:36
zhiweiAnd I can validate them before create stack.07:36
skraynevasalkeld: O_o. you should try it...07:36
zhiweiso why heat did not validate them?07:36
skraynevasalkeld: it's funny ;)07:37
zhiweiI tried and successed.07:37
asalkeldzhiwei, what if you have properties: {foo: get_attr: ...}}07:37
cmysterzhiwei: have you tried from CLI heat stack-preview name -f template.yaml ?07:37
zhiweiStackValidationFailed: Property error : your_policy_group: relationships Property error : relationships: 0 Property error : 0: policy Property error : policy: mode "oft" is not an allowed value [hard, soft]07:37
*** saju_m has joined #heat07:37
skraynev+1 for asalkeld example07:38
zhiweicmyster: stack-preview shows no error07:39
cmysterits still a work in process...07:39
zhiweiis that because too many nested properties in my custom template/resource?07:39
skraynevalso how about:  http://paste.openstack.org/show/120924/07:39
cmysterzhiwei: probably07:40
skraynevzhiwei: you specify end value, but we try to explain that it's not possibly to validate property if it's use build in function07:41
zhiweiI see.07:42
*** Yanyan has joined #heat07:43
zhiweiso, heat made validate template in two steps, one is in resource.validate and the other is in stack.validate.07:43
asalkeldzhiwei, it does what it can in validate07:44
asalkeldbut has to really run through the create07:44
asalkeldthis is what preview tries to  simulate07:44
zhiweibut when no build-in function on a property, heat resource should validate this case.07:44
asalkeldpreview is really a noop create07:44
*** Yanyanhu has quit IRC07:45
asalkeldzhiwei, maybe - but it will leave to lots of special casing07:46
*** dmatthews__ has quit IRC07:46
zhiweiyes.07:46
asalkeldimo preview should eventually replace validate07:46
*** dmatthews__ has joined #heat07:47
skraynevasalkeld: Ou. different validate for preview?07:47
zhiweiLet me give you a paste07:47
*** saju_m has quit IRC07:48
asalkeldskraynev, just suggesting that preview is a better validate07:48
skraynevasalkeld: As far as I remember we discussed idea about two different validation (before create where it possible) and during create. Is it related with your suggestion?07:51
*** eoutin has joined #heat07:51
asalkeldnot sure07:52
skraynevp.s. But I still have not any design for this idea :)07:52
skraynevok07:52
*** dmatthews__ has quit IRC07:52
asalkeldmine was just a long term idea, as preview improves07:52
*** d0ugal has joined #heat07:53
*** d0ugal is now known as Guest5692207:53
*** Guest56922 is now known as d0ugal07:54
*** d0ugal has joined #heat07:54
asalkeldtaking a break, bbl07:54
skraynevoh. got it.07:54
skraynevAlso will be really cool to validate all template, before we create it <- Honestly it sounds like a unbelievable future.07:54
zhiweihttp://paste.openstack.org/show/120942/07:57
*** jistr has joined #heat07:57
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add optional health maintenance to OS::Heat::ASG  https://review.openstack.org/12788408:01
*** stannie has joined #heat08:02
zhiweiasalkeld: skraynev, did you see my paste?08:04
zhiweiI think this maybe a heat bug.08:05
shardyarif-ali: The most likely reason for instance_name returning None is that you don't have the nova extended server attributes extension enabled08:06
shardyhttps://github.com/openstack/heat/blob/stable/icehouse/heat/engine/resources/server.py#L64808:06
shardyThat may or may not be useful to you, as instance_name is not the same as the juno "name" attribute - the former gives you the hypervisor vm name nova is creating, whereas the latter is the name heat passes to nova08:09
shardyThe internal and external naming of the instnace is, unfortunately, not necessarily the same08:09
*** coolsvap is now known as coolsvap|afk08:09
*** sorantis has joined #heat08:10
arif-alishardy, thanks for that, much appreciated08:11
*** shadower has quit IRC08:11
* arif-ali looks to see how to enable extended server attributes in nova08:11
*** shadower has joined #heat08:13
*** mspreitz has quit IRC08:14
openstackgerritliusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part1)  https://review.openstack.org/10951208:16
*** jstrachan has joined #heat08:22
*** alexpilotti has joined #heat08:23
*** alexpilotti has quit IRC08:24
*** alexpilotti has joined #heat08:24
*** tomek_adamczewsk has joined #heat08:25
skraynevzhiwei: I see your paste. But it's sounds strange08:39
zhiweiskraynev: yes, it's weird.08:40
skraynevzhiwei: Could you reproduce it on default resources?08:40
zhiweiif I removed the mode attribute, it will show error before create stack.08:41
*** rushiagr is now known as rushiagr_away08:41
*** liusheng has quit IRC08:41
zhiweiI can't find a default resource like this.08:41
*** lazy_prince has quit IRC08:42
*** rushiagr_away is now known as rushiagr08:43
*** viktors|afk is now known as viktors08:45
zhiweiis this because I specify this mode twice in resource definition file?08:45
zhiweipolicies is a list of policy.08:46
*** julienve_ has joined #heat08:46
*** fayablazer has joined #heat08:50
*** killer_prince has joined #heat08:53
*** killer_prince is now known as lazy_prince08:53
*** rushiagr is now known as rushiagr_away08:54
*** erkules_ is now known as erkules08:59
*** k4n0 has quit IRC09:01
*** rushiagr_away is now known as rushiagr09:02
*** kopparam has joined #heat09:04
*** mkollaro has joined #heat09:04
*** kopparam has joined #heat09:05
*** lazy_prince has quit IRC09:07
*** kopparam_ has joined #heat09:07
*** kopparam has quit IRC09:08
*** kopparam_ has quit IRC09:10
openstackgerritEthan Lynn proposed a change to openstack/heat: Add unicode support for heat engine  https://review.openstack.org/12815709:10
*** k4n0 has joined #heat09:14
*** killer_prince has joined #heat09:17
*** liusheng has joined #heat09:17
*** killer_prince is now known as lazy_prince09:17
*** kopparam has joined #heat09:19
*** rushiagr is now known as rushiagr_away09:21
openstackgerritEthan Lynn proposed a change to openstack/heat: Add unicode support for resource name  https://review.openstack.org/12815709:22
*** kopparam has quit IRC09:22
*** rushiagr_away is now known as rushiagr09:23
*** Yanyan has quit IRC09:25
*** jprovazn has quit IRC09:27
*** pas-ha has joined #heat09:28
pas-hamorning all09:28
*** cdent has joined #heat09:32
*** unmeshg has quit IRC09:33
*** rakesh_hs has quit IRC09:33
*** rakesh_hs2 has joined #heat09:33
*** rushiagr has quit IRC09:36
*** lazy_prince has quit IRC09:41
elynnafternoon pas-ha :)09:41
*** funzo has joined #heat09:44
*** funzo_ has quit IRC09:44
*** killer_prince has joined #heat09:49
*** killer_prince is now known as lazy_prince09:49
*** eoutin has quit IRC09:50
*** mkollaro has quit IRC09:50
*** rushiagr_away has joined #heat09:50
*** ananta has joined #heat09:52
anantahi09:52
anantaHow to add agenda topic for tomorrow's meeting?09:53
*** unmeshg has joined #heat09:55
*** kopparam has joined #heat09:59
*** Qiming has quit IRC10:04
*** elynn has left #heat10:05
asalkeldananta, https://wiki.openstack.org/wiki/Meetings/HeatAgenda10:06
*** lazy_prince has quit IRC10:09
*** lazy_prince has joined #heat10:09
anantaasalkeld, I have added a topic10:12
asalkeldok cool10:13
asalkeldananta, do you have a poc?10:13
asalkeldfor the whole thing10:13
asalkeldproof of concept10:13
anantaasalkeld, we are working on it, just wanted to discuss the approach10:14
asalkeldok, just want to know if there is a way for others to also have a go10:15
asalkeld(i wouldn't mind having a play)10:15
asalkeldi might do anyways10:15
asalkeldbut please share anything you have10:15
asalkeldno matter how hacky/broken it is10:16
*** coolsvap|afk is now known as coolsvap10:16
anantaasalkeld, we were working on the design of it so thought we would discuss10:17
asalkeldfor sure10:18
anantaasalkeld, the design is being worked on and we would like to discuss in detail in summit, and hence we are holding off on the implementation10:20
asalkeldok10:20
*** sorantis has quit IRC10:21
shardyananta: looks interesting, thanks!10:30
shardyFWIW, I'm of the opinion that we just need to get some PoC code working for this stuff, there's been so much discussion already10:31
*** pasquier-s has quit IRC10:31
asalkeldshardy, +110:32
asalkeldi'll get on it10:32
asalkeld(at least on github)10:33
*** k4n0 has quit IRC10:33
anantashardy, asalkeld, Yeah, i understand, we will have some patches ready with WIP so that you can review10:34
*** ajc_ has joined #heat10:34
*** ajc_ has quit IRC10:35
*** dims has joined #heat10:38
*** ishant has joined #heat10:39
*** dims has quit IRC10:43
*** blues-man has joined #heat10:44
openstackgerritTetiana Lashchova proposed a change to openstack/heat: Create security group rules in loose loop  https://review.openstack.org/12823410:44
*** shadower has quit IRC10:44
*** julienve_ has quit IRC10:45
*** shadower has joined #heat10:45
*** julienve_ has joined #heat10:45
*** unmeshg has quit IRC10:45
*** shadower has quit IRC10:46
*** ananta has quit IRC10:46
*** ananta has joined #heat10:46
*** asalkeld_ has joined #heat10:47
*** shadower has joined #heat10:47
*** asalkeld has quit IRC10:47
*** rakesh_hs2 has quit IRC10:49
*** julienve_ has quit IRC10:49
*** rakesh_hs has joined #heat10:50
shardyAnyone else seeing tests taking much longer lately?10:57
shardymy local run of unit tests has gone from ~90s to ~900s, so I assume it's running a bunch of stuff too many times10:58
shardythe number of tests looks suspicious too (3524)10:58
*** dims has joined #heat11:00
openstackgerritKanagaraj Manickam proposed a change to openstack/heat-specs: heat resource abandon and adopt  https://review.openstack.org/12470711:02
*** DaveJ__ has joined #heat11:03
*** sorantis has joined #heat11:05
*** derekh has joined #heat11:06
asalkeld_http://www.news.com.au/travel/travel-ideas/paris-life-hacks-every-traveller-should-know/story-e6frfqd9-122709013394411:12
*** vijayagurug has joined #heat11:18
*** cody-somerville has joined #heat11:26
*** kopparam has quit IRC11:27
*** kopparam has joined #heat11:28
*** jistr is now known as jistr|english11:29
*** rushiagr_away is now known as rushiagr11:29
goobljaHello everybody! Maybe someone knows where could i get information about oslo.messaging... I would like to listen heat.notifications independent is there qpid or rabbit queue is used11:34
goobljamaybe somebody has a simple script?11:34
*** zhiwei has quit IRC11:42
*** Qiming has joined #heat11:44
*** cody-somerville has quit IRC11:46
goobljaIs there some good guide how to listen notifications from heat?11:47
asalkeld_gooblja, have a look in ceilometer11:48
asalkeld_i'll find you a link11:48
*** coolsvap is now known as coolsvap|afk11:49
*** ochuprykov_ has joined #heat11:49
asalkeld_https://github.com/openstack/ceilometer/blob/master/ceilometer/orchestration/notifications.py11:49
asalkeld_gooblja, ^11:49
ochuprykov_asalkeld_:hi11:50
asalkeld_hi ochuprykov_11:50
ochuprykov_asalkeld_: could you look at https://review.openstack.org/#/c/127535/11:50
asalkeld_sure11:50
*** liusheng has quit IRC11:52
*** ramishra has joined #heat11:53
*** apporc has quit IRC11:56
goobljathanks asalkeld_ i will take a look :)11:56
asalkeld_ochuprykov_, i found this https://github.com/openstack/heat/commit/5f79b9e43f0e7f484dc5cc91032b8ebf55c9abd111:57
*** cmyster is now known as cmyster_away11:58
asalkeld_ochuprykov_, i think it would be good to explain the 3 or 4 different cases in the commit message11:58
*** blues-man has quit IRC11:58
asalkeld_the indexes, resource_id_seq and nullable creds_id11:59
*** shadower has quit IRC12:00
shardyasalkeld_: FYI I commented on the nullable user_creds - AFAIK that's OK because soft-delete12:00
shardywhere we keep the stack record but delete the creds row12:00
asalkeld_yeah, just found your commit12:00
asalkeld_look up ^12:00
*** shadower has joined #heat12:00
shardyasalkeld_: Aha, yup :)12:01
shardymeeting time?12:01
shardyhaha, wrong day12:02
ochuprykov_asalkeld_: i will change the commit message12:02
* shardy really hasn't had enough sleep due to screaming baby12:02
ochuprykov_asalkeld_: thanks for the review12:02
asalkeld_shardy, you made me panic ;(12:02
asalkeld_np ochuprykov_12:02
shardyasalkeld_: Sorry! ;)12:02
*** amakarov_away is now known as amakarov12:03
*** LiJiansheng has quit IRC12:03
*** julienve_ has joined #heat12:05
*** stannie has quit IRC12:09
*** julienvey has quit IRC12:10
ochuprykov_asalkeld_: about indexes, i just suppose that we have correct models and possible incorrect migrations and add migrations to satisfy models. But now I see we doesn't have any indexes in models. Is it correct?12:14
*** k4n0 has joined #heat12:14
asalkeld_ochuprykov_, afaik the indexes are not put in the models as there is no programming reason to access them12:15
openstackgerritRabi Mishra proposed a change to openstack/heat-templates: Add in-instance docker software config hook  https://review.openstack.org/12818212:15
asalkeld_they are just a db optimisation?12:15
asalkeld_(i am not  a db expert tho')12:15
ochuprykov_asalkeld_: for example, https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#L16312:16
*** stannie has joined #heat12:16
asalkeld_git grep shows none of those in Heat12:17
asalkeld_we may just be clueless :-(12:17
ochuprykov_asalkeld_: i think it is correct to have migrations script and models in sync(that is the reason of my commit)12:17
asalkeld_but the question is which one is correct12:18
ochuprykov_asalkeld_: yep12:18
asalkeld_for the indexes I'd suggest the migrations are correct12:18
asalkeld_shardy, ^ you know any better here12:18
*** pasquier-s has joined #heat12:19
Qimingshardy, thanks for your comment. I have posted my thoughts on it, please review when you have bandwidth - https://review.openstack.org/#/c/119619/12:19
shardyasalkeld_: AFAIK we don't have any indexes yet because nobody has done the work to figure out what exactly should be indexed12:23
asalkeld_shardy, ochuprykov_ has found some12:24
asalkeld_in migrations but not in models12:24
*** dims has quit IRC12:24
*** dims has joined #heat12:25
shardyasalkeld_: interesting, I don't know much about it tbh, presumably the sqlalchemy model needs to know about the indexes to use them?12:26
asalkeld_that's what ochuprykov_ recons12:26
shardystevebaker and/or SpamapS may know more12:26
asalkeld_news to me:-O12:26
*** ramishra has quit IRC12:26
shardyAFAIK they're the only ones to dig into DB optimizations12:26
arif-aliso looks like the instance_name value is only represented to an admin, and not a user who has a _member_ role12:26
*** blomquisg has joined #heat12:27
*** jprovazn has joined #heat12:28
ryansbshardy: that doesn't make sense to me (that the sqla model needs to know about the indices). They mysql^Wmariadb backend should "just work" with queries on those indices12:28
ryansbalso sqlalchemy has a super easy "hey, make these indexes please" function where you can give it model props to index12:29
shardyryansb: what are those model __table_args__ in the glance model for then?12:29
ryansbthe glance model in heat?12:29
shardyhttps://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#L16312:29
*** dims has quit IRC12:30
shardyThe lance model referenced in the discussion above as (AIUI) an example of how to do it12:30
shardys/lance/glance12:30
ochuprykov_its just example, that indexes are presented in models12:30
asalkeld_ochuprykov_, do they really need to be tho'?12:30
ryansbshardy: TIMTOWTDI. You can define them on the model, or you can define them separately12:31
*** jdob has joined #heat12:31
asalkeld_ryansb, who is tom tow tdi?12:32
asalkeld_;)12:32
*** lazy_prince is now known as killer_prince12:32
ryansbasalkeld_: a really famous programmer that did everything every way possible.12:32
ochuprykov_asalkeld_: i dont know exactly12:33
ryansbshardy: you can also get table metadata from the engine & define indexes using that info. IMO the table_args way is more readable unless you get lots of indexes.12:33
*** pas-ha has quit IRC12:33
ryansbhypothetically we could make some "indices.py" file that gets the engine and defines indices separate from the models. Downside being we'd have to remember to keep it up to date.12:34
*** shakayumi has joined #heat12:35
asalkeld_imho the less places to update the better12:35
shardyasalkeld_: +112:35
asalkeld_(as long as it works)12:35
*** ckmvishnu has quit IRC12:35
*** shakayumi has quit IRC12:35
*** ramishra has joined #heat12:36
ochuprykov_so, i have to add indexes to models, or just ignoring them during sync check?12:39
*** ishant has quit IRC12:40
shardyochuprykov_: I think the conclusion is, if you don't know why they have to be added, don't add them ;)12:40
ochuprykov_shardy: and dont delete them too,12:41
*** rpothier has joined #heat12:42
openstackgerritAngus Salkeld proposed a change to openstack/heat: docs: update jeos_building instructions  https://review.openstack.org/12393012:42
*** sergmelikyan has joined #heat12:47
*** pas-ha has joined #heat12:49
*** swygue has joined #heat12:51
*** ramishra has quit IRC12:52
asalkeld_g'night all12:53
*** asalkeld_ has quit IRC12:53
Qimingo/12:53
skraynevasalkeld_: bye12:53
*** tonisbones has joined #heat12:54
*** jistr|english is now known as jistr12:54
*** f13o_f13o has joined #heat13:00
*** f13o_f13o has quit IRC13:00
*** packet has joined #heat13:03
goobljaplease help :) i want to listen heat notifications and print print them to console :) . I tried to check ceilometer notification code but it looks very complex... i tried to follow Listener guide here http://docs.openstack.org/developer/oslo.messaging/notification_listener.html but it does not prints messages... maybe sombody knows a simple way how to do it13:07
*** andersonvom has quit IRC13:07
goobljafollowing guide i tried to change topic name to heat, notifications, notifications.info, and in endpoint I added print payload13:09
*** aweiteka has joined #heat13:10
*** Drago has joined #heat13:10
goobljaI use stable icehouse with qpid queue13:10
Qiminggooblja, do you mean you want to subscribe to the message queue directly?13:12
goobljayes :)13:12
Qiminggooblja, why would you do that?13:13
*** Drago has quit IRC13:13
Qiminggooblja, if you want to check events, maybe you can just write a simple dispatcher for ceilometer, as shown by this file: http://git.openstack.org/cgit/openstack/ceilometer/tree/ceilometer/dispatcher/file.py13:16
goobljaI just want to have a simple script that will inform me if there was stack updated or created13:17
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove unused oslo lockutils module  https://review.openstack.org/12826713:18
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo request_id module  https://review.openstack.org/12826813:18
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo middleware.base module  https://review.openstack.org/12826913:18
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo sslutils  https://review.openstack.org/12827013:18
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo excutils  https://review.openstack.org/12827113:18
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374913:20
*** andersonvom has joined #heat13:24
openstackgerritAnant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning.  https://review.openstack.org/12374913:26
*** ananta has quit IRC13:30
*** packet has quit IRC13:33
*** serg_melikyan has joined #heat13:33
*** serg_melikyan has quit IRC13:33
*** blues-man has joined #heat13:33
*** nijaba_ is now known as nijaba13:34
*** rakesh_hs has quit IRC13:34
*** nijaba has quit IRC13:34
*** nijaba has joined #heat13:34
*** jmckind has joined #heat13:37
*** jmckind has quit IRC13:37
*** jmckind has joined #heat13:38
*** nijaba has quit IRC13:40
*** andrearosa has joined #heat13:41
*** ishant has joined #heat13:42
*** nijaba has joined #heat13:45
*** nijaba has quit IRC13:45
*** nijaba has joined #heat13:45
*** sabeen has joined #heat13:48
*** sanjayu has quit IRC13:50
*** pas-ha has quit IRC13:52
*** nijaba has quit IRC13:55
*** rushiagr is now known as rushiagr_away13:55
*** Drago has joined #heat13:58
*** nijaba has joined #heat14:00
*** nijaba has quit IRC14:00
*** nijaba has joined #heat14:00
*** sjmc7 has joined #heat14:06
*** radez_g0n3 is now known as radez14:07
Qiminggooblja, still there?14:10
goobljayes :)14:12
QimingI can paste you some code I just experimented with14:12
goobljaou that would be nice :)14:13
andersonvomanybody being able to successfully run tests lately?14:14
Qiminghttp://paste.openstack.org/show/121020/14:14
Qiminggooblja, you need to set notification_driver=messaging in heat.conf to enable notifications from heat14:15
Qiminggooblja, user name to rabbitmq defaults to 'guest', you know the password and the hostname/ip14:16
goobljathx :) i will try it now :)14:16
*** dims has joined #heat14:17
Qiminggooblja, I would not suggest you to do this in a deployment, too dangerous14:17
*** tomek_adamczewsk has quit IRC14:17
goobljaow this looks nice :) it works on rabbitmq :) but with qpid it says IOError: Socket closed14:19
Qiming... kombu is for rabbitmq only, I don't have qpid on my machines14:20
goobljaow i see big thx for help :) i have left to find a way with qpid14:22
Qiminggood luck14:22
*** robklg has joined #heat14:24
*** andersonvom has quit IRC14:25
*** andersonvom has joined #heat14:27
*** andersonvom has quit IRC14:27
*** andersonvom has joined #heat14:28
*** jergerber has joined #heat14:29
*** jmckind has quit IRC14:30
*** Drago has quit IRC14:38
*** Drago has joined #heat14:40
*** nosnos has quit IRC14:40
*** nosnos has joined #heat14:40
*** k4n0 has quit IRC14:42
*** jmckind has joined #heat14:42
*** nosnos has quit IRC14:45
openstackgerritMike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance  https://review.openstack.org/12831114:45
openstackgerritMike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance  https://review.openstack.org/12831114:46
*** EricGonczer_ has joined #heat14:47
*** k4n0 has joined #heat14:49
*** k4n0 has quit IRC14:50
*** k4n0 has joined #heat14:50
skraynevg'night all14:52
*** ramishra has joined #heat14:52
*** ramishra has quit IRC14:54
*** ramishra has joined #heat14:54
Qimingskraynev, bye14:55
*** robklg has quit IRC14:55
ryansbnight14:56
*** kebray has joined #heat14:57
*** ramishra has quit IRC14:59
openstackgerritMike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance  https://review.openstack.org/12831114:59
*** tomek_adamczewsk has joined #heat15:00
*** tomek_adamczews1 has joined #heat15:02
*** jpeeler has quit IRC15:04
*** jpeeler has joined #heat15:04
*** jpeeler has quit IRC15:04
*** jpeeler has joined #heat15:04
*** tomek_adamczewsk has quit IRC15:05
*** sorantis_ has joined #heat15:05
*** sorantis has quit IRC15:08
*** sorantis_ is now known as sorantis15:08
*** blues-man has quit IRC15:08
*** andrearosa has quit IRC15:10
*** andrearosa has joined #heat15:10
*** julienve_ has quit IRC15:11
*** tango has joined #heat15:19
*** randallburt has joined #heat15:20
*** Qiming has quit IRC15:21
*** pas-ha has joined #heat15:27
*** kopparam has quit IRC15:31
*** julienvey has joined #heat15:32
*** rushiagr_away is now known as rushiagr15:32
*** tomek_adamczews1 has quit IRC15:35
openstackgerritMike Spreitzer proposed a change to openstack/heat: Add optional health maintenance to OS::Heat::ASG  https://review.openstack.org/12788415:38
*** pasquier-s has quit IRC15:38
*** tomek_adamczewsk has joined #heat15:39
*** andersonvom has quit IRC15:39
*** randallburt has quit IRC15:45
*** k4n0 has quit IRC15:51
*** andersonvom has joined #heat15:51
*** ochuprykov_ has quit IRC15:54
*** sorantis has quit IRC15:55
*** ramishra has joined #heat15:55
*** Drago has quit IRC15:55
*** rakesh_hs has joined #heat15:57
*** Drago has joined #heat15:58
*** ramishra has quit IRC16:00
*** andersonvom has quit IRC16:00
*** spzala has joined #heat16:01
*** mspreitz_ has joined #heat16:04
*** tango has quit IRC16:11
*** julienvey has quit IRC16:12
*** randallburt has joined #heat16:19
*** tomek_adamczewsk has quit IRC16:21
*** tomek_adamczewsk has joined #heat16:23
SpamapSshardy: ryansb is correct AFAIK, the model indexes aren't required, but are useful if you are trying to reconcile what is in the real tables with what is in the models.16:24
*** andersonvom has joined #heat16:25
*** andersonvom has quit IRC16:25
*** blues-man has joined #heat16:27
*** andersonvom has joined #heat16:27
*** blues-man has quit IRC16:28
*** blues-man has joined #heat16:29
*** andersonvom has quit IRC16:29
*** tomek_adamczewsk has quit IRC16:29
*** ishant has quit IRC16:29
*** blues-man has quit IRC16:31
*** andersonvom has joined #heat16:32
*** Drago has quit IRC16:32
*** fayablazer has quit IRC16:35
*** rushiagr is now known as rushiagr_away16:36
*** Drago has joined #heat16:37
openstackgerritRandall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined  https://review.openstack.org/12814616:40
*** derekh has quit IRC16:45
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Implement handle_check for CloudWatch  https://review.openstack.org/12767016:45
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Implement handle_check on Ceilometer alarms  https://review.openstack.org/12767116:45
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Implement handle_check for OS::Nova::Server  https://review.openstack.org/12835716:45
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Implement handle_check for Rackspace Cloud Servers  https://review.openstack.org/12835816:45
*** kebray has quit IRC16:47
*** shakayumi has joined #heat16:48
*** jistr has quit IRC16:53
*** achanda has joined #heat16:54
*** ramishra has joined #heat16:56
*** tomek_adamczewsk has joined #heat16:58
*** ramishra has quit IRC17:00
openstackgerritSteven Hardy proposed a change to openstack/heat: ResourceGroup update refactor  https://review.openstack.org/12836417:03
openstackgerritSteven Hardy proposed a change to openstack/heat: ResourceGroup add "force_remove" property  https://review.openstack.org/12836517:03
openstackgerritAnderson Mesquita proposed a change to openstack/heat-specs: Detailed Resource Show  https://review.openstack.org/12197917:03
*** jcoufal has quit IRC17:04
*** tomek_adamczewsk has quit IRC17:04
shardySpamapS, shadower: ^^ those implement a first attempt at the "elide" functionality requested17:06
shardyfeedback welcome :)17:06
*** mkollaro has joined #heat17:12
*** harlowja_away is now known as harlowja17:13
*** randallburt has quit IRC17:14
*** tspatzier has quit IRC17:14
*** Drago has quit IRC17:16
*** andersonvom has quit IRC17:18
*** dsneddon_ has quit IRC17:21
*** dsneddon has joined #heat17:21
*** ifarkas has quit IRC17:21
*** tango has joined #heat17:23
*** randallburt has joined #heat17:23
*** sarob_ has joined #heat17:32
*** sarob_ is now known as sarob17:33
*** jstrachan has quit IRC17:35
*** achanda_ has joined #heat17:50
*** achanda has quit IRC17:53
*** mkollaro has quit IRC17:54
*** ramishra has joined #heat17:57
jdandreaHmm. I see this: https://blueprints.launchpad.net/heat/+spec/stack-lifecycle-plugpoint ... but it doesn't show up in a search (?). https://blueprints.launchpad.net/heat?searchtext=stack-lifecycle-plugpoint17:57
jdandreaOr is that because it's implemented ... probably.17:57
*** wendar_ is now known as wendar18:00
*** ramishra has quit IRC18:01
*** d0ugal has quit IRC18:04
*** d0ugal has joined #heat18:06
*** d0ugal is now known as Guest8657818:06
*** andersonvom has joined #heat18:09
*** tango|2 has joined #heat18:10
*** radez is now known as radez_g0n318:11
*** tango has quit IRC18:12
*** jcoufal has joined #heat18:13
*** alexpilotti has quit IRC18:19
*** jstrachan has joined #heat18:23
*** alexpilotti_ has joined #heat18:24
*** alexpilotti_ is now known as alexpilotti18:24
*** aweiteka has quit IRC18:24
*** julienvey has joined #heat18:24
*** jprovazn has quit IRC18:28
*** mspreitz_ has quit IRC18:30
*** andersonvom has quit IRC18:33
*** DaveJ__ has quit IRC18:34
*** sdake_ has joined #heat18:40
*** sdake_ has quit IRC18:40
*** sdake_ has joined #heat18:40
sdake_what does heat do if you try to start a vm and ther eis no nova service?18:41
*** julienvey has quit IRC18:42
*** rakesh_hs has quit IRC18:42
*** vijayagurug has left #heat18:43
*** radez_g0n3 is now known as radez18:49
*** aweiteka has joined #heat18:50
zanebsdake_: it should put the resource (and the stack) into the failed state18:57
*** cody-somerville has joined #heat18:57
*** ramishra has joined #heat18:57
openstackgerritWilliam C. Arnold proposed a change to openstack/heat: Implement AZ spanning for AWS ASGs  https://review.openstack.org/11613919:02
*** sdake_ has quit IRC19:02
*** sabeen has quit IRC19:02
*** ramishra has quit IRC19:03
*** sabeen has joined #heat19:03
*** kebray has joined #heat19:04
*** shakayumi has quit IRC19:04
*** sabeen has quit IRC19:04
*** sabeen has joined #heat19:04
*** shakayumi has joined #heat19:05
*** gondoi is now known as zz_gondoi19:07
openstackgerritSteven Hardy proposed a change to openstack/heat: ResourceGroup add "force_remove" property  https://review.openstack.org/12836519:08
*** pas-ha has quit IRC19:09
*** andersonvom has joined #heat19:12
*** randallburt has quit IRC19:16
sdakezaneb cool thanks19:16
*** cody-somerville has quit IRC19:33
*** amakarov is now known as amakarov_away19:35
*** achanda_ has quit IRC19:36
*** cody-somerville has joined #heat19:43
*** cody-somerville has quit IRC19:43
*** cody-somerville has joined #heat19:43
openstackgerritJason Dunsmore proposed a change to openstack/heat: Validate tenant_id part of TempURL in clients  https://review.openstack.org/12842719:53
*** achanda has joined #heat19:53
*** ramishra has joined #heat19:58
*** killer_prince has quit IRC20:01
*** andersonvom has quit IRC20:02
*** ramishra has quit IRC20:03
*** shakayumi has quit IRC20:04
*** Drago has joined #heat20:05
*** EricGonczer_ has quit IRC20:05
*** Drago has quit IRC20:05
*** achanda has quit IRC20:05
*** sabeen3 has joined #heat20:05
*** shakayumi has joined #heat20:05
*** sabeen has quit IRC20:06
*** cody-somerville has quit IRC20:07
*** Drago has joined #heat20:07
*** EricGonczer_ has joined #heat20:07
*** Drago has quit IRC20:08
*** Drago has joined #heat20:08
*** tonisbones has quit IRC20:09
*** cody-somerville has joined #heat20:09
*** killer_prince has joined #heat20:11
*** killer_prince is now known as lazy_prince20:11
*** zz_gondoi is now known as gondoi20:12
*** aweiteka has quit IRC20:15
*** jcoufal has quit IRC20:17
*** jcoufal has joined #heat20:18
*** shakayumi has quit IRC20:20
*** mkollaro has joined #heat20:20
*** shakayumi has joined #heat20:20
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo request_id module  https://review.openstack.org/12826820:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo middleware.base module  https://review.openstack.org/12826920:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo sslutils  https://review.openstack.org/12827020:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo excutils  https://review.openstack.org/12827120:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove unused oslo lockutils module  https://review.openstack.org/12826720:22
openstackgerritSteven Hardy proposed a change to openstack/heat: Add tox genconfig target  https://review.openstack.org/12844120:22
*** stannie has quit IRC20:23
*** jprovazn has joined #heat20:24
*** randallburt has joined #heat20:26
*** mkollaro has quit IRC20:29
*** kebray has quit IRC20:31
*** sergmelikyan has quit IRC20:33
*** openstackgerrit has quit IRC20:36
*** jprovazn has quit IRC20:42
*** sergmelikyan has joined #heat20:44
*** kebray has joined #heat20:48
*** sergmelikyan has quit IRC20:49
*** thedodd has joined #heat20:52
thedoddGreetings all, how do I get_attr of a Server that is part of a ResourceGroup in a HOT???20:56
thedoddI've asked in the openstack channel, but can't seem to get an answer. Any thoughts?20:56
jasond`thedodd: "synthetic attributes of the form resource.{resource index}.{attribute name} can be used" http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::ResourceGroup20:59
*** ramishra has joined #heat20:59
thedoddI saw that.20:59
thedoddNot super useful to be honest with you.20:59
thedoddI've just got it to work, but using a different approach.20:59
thedoddPS20:59
thedoddthanks for responding.20:59
thedodd:)20:59
jasond`np ;)21:00
thedoddDo you think that you could give an example of what that would actually look like in a template, jasond` ???21:00
*** achanda has joined #heat21:00
thedoddIf I have a resource called "cluster0", and I wanted to access information on the second server ...21:01
thedoddMaybe something like:21:01
thedoddcluster0.1.networks ???21:01
jasond`think think it'd be like this {get_attr: resource.0.accessIPv4}21:01
thedoddAwesome.21:01
thedoddI'll give that a whirl.21:02
thedoddbrb21:02
*** sdake_ has joined #heat21:02
*** Drago has quit IRC21:02
stevebakermorning21:02
*** Drago has joined #heat21:03
*** ramishra has quit IRC21:03
*** achanda_ has joined #heat21:03
*** achanda__ has joined #heat21:06
*** achanda has quit IRC21:06
thedoddWell damn it. jasond` looks like rackspace may be using a version of heat that is not recognizing that syntax.21:06
thedoddIt is not recognizing that format, and is calling it a syntax error.21:06
zanebthedodd: highly unlikely21:07
zanebcheck the syntax21:07
thedoddWhat is unlikely??21:07
thedoddThat rackspace is using a version that does not recognize the syntax??21:07
thedoddI'll check the syntax.21:08
zanebyes21:08
zaneband also that that could cause a "syntax error"21:08
thedoddERROR: Arguments to "get_attr" must be of the form [resource_name, attribute, (path), ...]21:08
thedoddMaybe I shouldn't have said "syntax error" ... but whatever error that is, that's what I was referring to.21:09
zanebok21:09
thedodd:)21:09
*** achanda_ has quit IRC21:09
zanebthat actually looks like a much _newer_ version than you need even21:09
thedoddzaneb, do you know what the syntax should be for a query of that nature??21:09
thedoddThat's nice.21:09
thedoddHopefully it is just a problem in the way I'm writing it.21:10
thedodd {get_attr: resource.0.accessIPv4} seemed to be a logical shot.21:10
thedoddnot working though.21:10
zaneb{get_attr: [my_resource, resource.1.accessIPv4]}21:10
thedoddI'll try that.21:11
zanebexactly as it says in the message, funnily enough ;)21:11
thedoddhaha21:11
thedoddwhat mwssage?21:11
thedodds/mwssage/message/21:11
zanebArguments to "get_attr" must be of the form [resource_name, attribute, (path), ...]21:11
zanebthat message ^21:12
thedoddAhh .... I see.21:12
thedoddSo the "resource.1.accessIPv4" is to be used as the attribute.21:12
thedoddbrb21:12
thedoddtrying it out21:13
zanebyep, exactly21:13
thedoddzaneb, you are a champ!21:13
thedoddThanks!21:13
thedoddIt works.21:13
zaneb\o/21:14
thedoddWho would have thought to just do exactly as the error message said! haha ;)21:14
thedoddgood times.21:14
*** sdake_ has quit IRC21:15
*** zigo has quit IRC21:16
*** mcwoods has quit IRC21:17
*** swygue has quit IRC21:24
*** jmckind has quit IRC21:28
*** jcoufal has quit IRC21:32
*** jstrachan has quit IRC21:35
*** EricGonczer_ has quit IRC21:36
*** harlowja is now known as harlowja_away21:39
*** spzala has quit IRC21:42
*** jdob has quit IRC21:46
*** randallburt has quit IRC21:49
*** rpothier has quit IRC21:51
thedoddAnother HOT question: how might I go about specifying the network interfaces that are to be attached to a server?21:58
thedoddThe "networks" property appears to be it, and it looks as though it needs to be a list ...21:59
thedodda list of dicts.21:59
thedoddBut, I'm not sure that the server specs (dicts) are supposed to look like.21:59
thedoddAny ideas??21:59
*** sdake_ has joined #heat22:00
*** ramishra has joined #heat22:00
*** tomek_adamczewsk has joined #heat22:00
*** ccrouch has quit IRC22:00
*** ccrouch has joined #heat22:01
sjmc7thedodd - see http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server22:03
jdandreaAt cloud-init time, am I correct in thinking there are environment variables set that are related to the stack/resource? (Looking for a list.)22:03
*** asalkeld has joined #heat22:04
thedoddsjmc7, thanks.22:04
*** dims_ has joined #heat22:04
*** ramishra has quit IRC22:05
*** ccrouch has quit IRC22:05
*** tomek_adamczewsk has quit IRC22:06
*** dims_ has quit IRC22:06
*** dims_ has joined #heat22:07
*** dims has quit IRC22:07
*** tomek_adamczewsk has joined #heat22:09
asalkeldmorning22:10
*** tomek_adamczewsk has quit IRC22:11
*** tomek_adamczewsk has joined #heat22:11
*** dims_ has quit IRC22:12
*** ccrouch has joined #heat22:12
asalkeldwow what happed to redhat website, it's so shiny it's almost unusable22:17
*** tomek_adamczewsk has quit IRC22:18
*** dims has joined #heat22:19
*** dims is now known as dimsum_22:22
*** dimsum_ is now known as dims22:22
*** dims has quit IRC22:22
*** dims has joined #heat22:23
*** harlowja_away is now known as harlowja22:25
*** randallburt has joined #heat22:29
*** randallburt has quit IRC22:29
*** randallburt has joined #heat22:29
*** asalkeld has quit IRC22:35
*** thedodd has quit IRC22:47
*** gondoi is now known as zz_gondoi22:48
*** asalkeld has joined #heat22:51
*** EricGonczer_ has joined #heat22:52
*** ramishra has joined #heat23:00
*** openstackgerrit has joined #heat23:03
*** ramishra has quit IRC23:05
*** cdent has quit IRC23:12
*** dims has quit IRC23:12
*** kebray has quit IRC23:13
*** dims has joined #heat23:13
*** dims has quit IRC23:22
*** jergerber has quit IRC23:34
*** EricGonczer_ has quit IRC23:53
*** sdake_ has quit IRC23:54

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