kfox1111 | the code looks like it might handle it... | 00:00 |
---|---|---|
kfox1111 | looks like you can set InstanceId, AllocationId, and NetworkInterfaceId.. | 00:00 |
ari__ | yep thats what I would think but those UI guys ]:: | 00:00 |
ari__ | yup | 00:00 |
kfox1111 | hmm.... no, it looks like the allocation id is the floatingipid... | 00:01 |
ari__ | but thats optional too | 00:01 |
kfox1111 | but 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 properly | 00:02 |
kfox1111 | it 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 overkill | 00:04 |
kfox1111 | I 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 |
kfox1111 | If you created an extra, wouldn't that be the same as just using the OS: variant? | 00:04 |
ari__ | yep thats what I was wondering | 00:05 |
kfox1111 | you could probably add network support to the eip resource pretty easily, and contribute that back. ;) | 00:05 |
kfox1111 | if you control the heat engine that is. | 00:06 |
*** andersonvom has joined #heat | 00:06 | |
ari__ | sounds like an effort worth investing | 00:06 |
ari__ | how easy do you think it would be? looking at the eip class | 00:06 |
kfox1111 | would probably just be copying of some of the ElasticIpAssociation class and adding it to the ElasticIp one. | 00:08 |
kfox1111 | hmmm... | 00:09 |
kfox1111 | though: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html | 00:09 |
*** Qiming has quit IRC | 00:09 | |
kfox1111 | amazon doesn't seem to support that feature either. | 00:09 |
kfox1111 | so the ui probably wont without ui modifications too. | 00:10 |
kfox1111 | wait a second... I'm just blind... | 00:11 |
kfox1111 | they have a domain attribute on the eip... | 00:12 |
kfox1111 | though its kind of a strange behavior. | 00:12 |
*** randallburt has quit IRC | 00:13 | |
ari__ | yep it refers to a vpc | 00:13 |
*** kebray has joined #heat | 00:13 | |
kfox1111 | it refers to a magical 'vpc' string, that isn't the network id. | 00:13 |
ari__ | exactly | 00:13 |
kfox1111 | then does some other strangeness... digging through the code to see what it actually does.... | 00:14 |
*** achanda has quit IRC | 00:16 | |
kfox1111 | looks 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 |
kfox1111 | hmm.... no, its another resource... | 00:17 |
kfox1111 | ah, 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 one | 00:19 |
kfox1111 | then raises an Error('Expected 1 external network, found %d | 00:19 |
*** ramishra has quit IRC | 00:19 | |
*** andersonvom has quit IRC | 00:22 | |
kfox1111 | ari__: I think your stuck updating the ui. | 00:23 |
*** andersonvom has joined #heat | 00:24 | |
*** kebray has quit IRC | 00:28 | |
*** simonc has quit IRC | 00:34 | |
ari__ | proably | 00:37 |
ari__ | thanks kfox1111 though you are awesome :) | 00:38 |
*** alexpilotti has quit IRC | 00:38 | |
*** randallburt has joined #heat | 00:39 | |
*** kfox1111 has quit IRC | 00:43 | |
openstackgerrit | Randall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined https://review.openstack.org/128146 | 00:49 |
openstackgerrit | A change was merged to openstack/heat: Help message of configurations support i18n https://review.openstack.org/119002 | 00:50 |
*** ramishra has joined #heat | 00:54 | |
*** sjmc7 has quit IRC | 00:56 | |
openstackgerrit | A change was merged to openstack/heat: sqlalchemy migration not to import model https://review.openstack.org/127897 | 00:57 |
openstackgerrit | Randall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined https://review.openstack.org/128146 | 00:59 |
*** sarob has quit IRC | 01:00 | |
*** dims_ has quit IRC | 01:00 | |
*** dims has joined #heat | 01:01 | |
*** ramishra has quit IRC | 01:05 | |
*** ari__ has quit IRC | 01:05 | |
*** dims has quit IRC | 01:05 | |
*** aweiteka has joined #heat | 01:06 | |
*** sarob has joined #heat | 01:06 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements https://review.openstack.org/128038 | 01:07 |
*** spzala has quit IRC | 01:10 | |
*** Qiming has joined #heat | 01:11 | |
*** andersonvom has quit IRC | 01:12 | |
*** randallburt has quit IRC | 01:13 | |
*** apporc has joined #heat | 01:14 | |
*** dims has joined #heat | 01:16 | |
*** harlowja is now known as harlowja_away | 01:16 | |
*** harlowja_away is now known as harlowja | 01:16 | |
*** andersonvom has joined #heat | 01:17 | |
openstackgerrit | liusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part1) https://review.openstack.org/109512 | 01:21 |
*** julienve_ has joined #heat | 01:22 | |
*** ramishra has joined #heat | 01:23 | |
*** julienve_ has quit IRC | 01:26 | |
*** andersonvom has quit IRC | 01:29 | |
*** erkules_ has joined #heat | 01:30 | |
*** ramishra has quit IRC | 01:33 | |
*** erkules has quit IRC | 01:33 | |
*** LiJiansheng has joined #heat | 01:43 | |
*** julienve_ has joined #heat | 01:47 | |
openstackgerrit | liusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part2) https://review.openstack.org/123387 | 01:49 |
openstackgerrit | liusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part3) https://review.openstack.org/123388 | 01:51 |
*** julienve_ has quit IRC | 01:52 | |
openstackgerrit | liusheng proposed a change to openstack/heat: Log translation hint for Heat.contrib https://review.openstack.org/109484 | 01:55 |
*** nosnos has joined #heat | 01:55 | |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat: Add query property to threshold alarms. https://review.openstack.org/127821 | 02:05 |
*** sarob has quit IRC | 02:09 | |
*** mspreitz has joined #heat | 02:11 | |
*** andersonvom has joined #heat | 02:22 | |
*** dims has quit IRC | 02:29 | |
*** elynn has joined #heat | 02:32 | |
elynn | morning guys :) | 02:32 |
asalkeld | hi elynn | 02:34 |
*** andersonvom has quit IRC | 02:35 | |
*** zhiwei has joined #heat | 02:37 | |
*** Drago1 has joined #heat | 02:38 | |
*** aweiteka has quit IRC | 02:40 | |
openstackgerrit | Ethan Lynn proposed a change to openstack/heat: Use six.text_type to replace str in heat engine https://review.openstack.org/128157 | 02:41 |
*** liusheng has quit IRC | 02:42 | |
*** Drago1 has quit IRC | 02:43 | |
zhiwei | is there a way to constraint two properties? propA relies on propB. | 02:47 |
*** nijaba_ has joined #heat | 02:47 | |
*** serverascode__ has joined #heat | 02:49 | |
*** wendar_ has joined #heat | 02:49 | |
*** sdake has quit IRC | 02:50 | |
*** SpamapS_ has joined #heat | 02:50 | |
*** abramley_ has joined #heat | 02:52 | |
*** sirushti_ has joined #heat | 02:52 | |
*** ruhe2 has joined #heat | 02:52 | |
*** d0ugal_ has joined #heat | 02:52 | |
*** sdake has joined #heat | 02:52 | |
*** morgan has joined #heat | 02:52 | |
*** DinaBelova2 has joined #heat | 02:52 | |
*** vijendar has quit IRC | 02:54 | |
*** morganfainberg has quit IRC | 02:54 | |
*** sirushti has quit IRC | 02:54 | |
*** zz_gondoi has quit IRC | 02:54 | |
*** serverascode_ has quit IRC | 02:54 | |
*** Goneri has quit IRC | 02:54 | |
*** abramley has quit IRC | 02:54 | |
*** pscheie has quit IRC | 02:54 | |
*** jrist has quit IRC | 02:54 | |
*** greghaynes has quit IRC | 02:54 | |
*** wendar has quit IRC | 02:54 | |
*** stevebaker has quit IRC | 02:54 | |
*** adam_g has quit IRC | 02:54 | |
*** DinaBelova has quit IRC | 02:54 | |
*** nijaba has quit IRC | 02:54 | |
*** ruhe has quit IRC | 02:54 | |
*** d0ugal has quit IRC | 02:54 | |
*** SpamapS has quit IRC | 02:54 | |
*** d0ugal_ is now known as d0ugal | 02:54 | |
*** ruhe2 is now known as ruhe | 02:54 | |
*** sirushti_ is now known as sirushti | 02:54 | |
*** morgan is now known as morganfainberg | 02:54 | |
*** abramley_ is now known as abramley | 02:54 | |
*** DinaBelova2 is now known as DinaBelova | 02:54 | |
*** d0ugal is now known as Guest85887 | 02:54 | |
*** vijendar has joined #heat | 02:55 | |
*** Drago1 has joined #heat | 02:57 | |
*** stevebaker has joined #heat | 02:57 | |
*** adam_g has joined #heat | 02:57 | |
*** adam_g has quit IRC | 02:58 | |
*** adam_g has joined #heat | 02:58 | |
*** Drago1 has quit IRC | 02:59 | |
*** Drago1 has joined #heat | 03:01 | |
*** greghaynes has joined #heat | 03:01 | |
*** jrist has joined #heat | 03:02 | |
*** pscheie has joined #heat | 03:02 | |
*** Drago1 has quit IRC | 03:03 | |
*** Drago1 has joined #heat | 03:04 | |
*** ramishra has joined #heat | 03:05 | |
*** fbo has quit IRC | 03:06 | |
*** cmyster_out is now known as cmyster | 03:07 | |
*** Drago1 has quit IRC | 03:07 | |
*** Drago1 has joined #heat | 03:08 | |
*** Drago1 has quit IRC | 03:09 | |
*** fbo has joined #heat | 03:10 | |
cmyster | zhiwei: maybe like in https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_net.yaml ? | 03:10 |
zhiwei | thanks | 03:10 |
cmyster | check line 38 | 03:10 |
cmyster | the 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 resource | 03:13 |
cmyster | (line 46) | 03:13 |
zhiwei | not my case. | 03:13 |
cmyster | so what is your case ? | 03:13 |
zhiwei | my case is, when propA is valueA, propB must required. | 03:14 |
zhiwei | when propA is other values, propB can be optional. | 03:14 |
cmyster | I don't think that's possible | 03:14 |
cmyster | stevebaker? ^ | 03:14 |
zhiwei | I am looking the customcontraints. | 03:15 |
zhiwei | http://docs.openstack.org/developer/heat/pluginguide.html#defining-resource-properties | 03:15 |
stevebaker | zhiwei: that sort of logic can be in the validate method of the resource | 03:15 |
zhiwei | oh, thanks. | 03:16 |
zhiwei | and if the schema can be a list value, it can also solve my issue. | 03:16 |
stevebaker | it can | 03:19 |
zhiwei | i saw it. | 03:20 |
zhiwei | the schema is a dict value. | 03:20 |
*** gondoi has joined #heat | 03:22 | |
*** nosnos has quit IRC | 03:25 | |
*** nosnos has joined #heat | 03:26 | |
*** Goneri has joined #heat | 03:29 | |
*** dims has joined #heat | 03:29 | |
*** nosnos has quit IRC | 03:31 | |
*** dims has quit IRC | 03:34 | |
*** SpamapS_ is now known as SpamapS | 03:34 | |
*** SpamapS has quit IRC | 03:34 | |
*** SpamapS has joined #heat | 03:34 | |
*** LiJiansheng has quit IRC | 03:42 | |
*** Yanyanhu has joined #heat | 03:47 | |
*** harlowja is now known as harlowja_away | 03:48 | |
*** LiJiansheng has joined #heat | 03:48 | |
*** harlowja_away is now known as harlowja | 03:52 | |
*** achanda has joined #heat | 03:56 | |
*** andersonvom has joined #heat | 03:58 | |
*** jpeeler has quit IRC | 04:05 | |
*** jpeeler has joined #heat | 04:07 | |
*** jpeeler has quit IRC | 04:07 | |
*** jpeeler has joined #heat | 04:07 | |
*** daneyon has joined #heat | 04:16 | |
*** rushiagr_away is now known as rushiagr | 04:17 | |
*** achampion has quit IRC | 04:18 | |
openstackgerrit | A change was merged to openstack/heat: Add query property to threshold alarms. https://review.openstack.org/127821 | 04:19 |
*** nosnos has joined #heat | 04:20 | |
*** achampion has joined #heat | 04:20 | |
*** nosnos has quit IRC | 04:27 | |
*** nosnos has joined #heat | 04:27 | |
*** dims has joined #heat | 04:30 | |
*** ramishra has quit IRC | 04:31 | |
*** ramishra has joined #heat | 04:32 | |
*** dims has quit IRC | 04:35 | |
*** ramishra_ has joined #heat | 04:35 | |
*** rushiagr is now known as rushiagr_away | 04:36 | |
*** ramishra has quit IRC | 04:36 | |
*** sanjayu has joined #heat | 04:37 | |
*** rakesh_hs has joined #heat | 04:42 | |
*** killer_prince is now known as lazy_prince | 04:50 | |
*** mspreitz has quit IRC | 05:10 | |
*** sarob has joined #heat | 05:10 | |
*** sarob has quit IRC | 05:14 | |
*** mspreitz has joined #heat | 05:22 | |
*** tomek_adamczewsk has joined #heat | 05:25 | |
*** rakesh_hs has quit IRC | 05:37 | |
*** rakesh_hs has joined #heat | 05:38 | |
*** lazy_prince has quit IRC | 05:40 | |
*** ccrouch has quit IRC | 05:40 | |
*** harlowja has quit IRC | 05:40 | |
*** sbadia has quit IRC | 05:40 | |
*** lazy_prince has joined #heat | 05:46 | |
*** ccrouch has joined #heat | 05:46 | |
*** harlowja has joined #heat | 05:46 | |
*** sbadia has joined #heat | 05:46 | |
*** unmeshg has joined #heat | 05:47 | |
*** tomek_adamczewsk has quit IRC | 05:48 | |
*** ckmvishnu has joined #heat | 05:58 | |
*** dims has joined #heat | 06:00 | |
*** rushiagr_away is now known as rushiagr | 06:05 | |
*** dims has quit IRC | 06:05 | |
*** achanda has quit IRC | 06:09 | |
*** lazy_prince is now known as killer_prince | 06:12 | |
*** killer_prince is now known as lazy_prince | 06:13 | |
*** kopparam has joined #heat | 06:21 | |
*** kopparam has quit IRC | 06:22 | |
*** k4n0 has joined #heat | 06:24 | |
*** harlowja is now known as harlowja_away | 06:25 | |
*** jcoufal has joined #heat | 06:30 | |
openstackgerrit | Rabi Mishra proposed a change to openstack/heat-templates: Add in-instance docker software config hook https://review.openstack.org/128182 | 06:30 |
*** kopparam has joined #heat | 06:31 | |
ramishra_ | stevebaker: Hi.. Please have a look at https://review.openstack.org/#/c/128182/ when you have time... | 06:32 |
*** tango has quit IRC | 06:32 | |
*** coolsvap has joined #heat | 06:33 | |
*** jprovazn has joined #heat | 06:34 | |
*** kopparam has quit IRC | 06:36 | |
*** kopparam has joined #heat | 06:37 | |
*** kopparam has quit IRC | 06:41 | |
*** tspatzier has joined #heat | 06:43 | |
*** pasquier-s has joined #heat | 07:00 | |
*** ifarkas has joined #heat | 07:01 | |
*** ramishra_ has quit IRC | 07:02 | |
*** liusheng has joined #heat | 07:05 | |
*** jcoufal has quit IRC | 07:06 | |
*** jcoufal has joined #heat | 07:06 | |
arif-ali | So, 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 Juno | 07:08 |
*** shardy_z is now known as shardy | 07:09 | |
arif-ali | btw, 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 noise | 07:10 |
shardy | arif-ali: The name property exists in icehouse, the name *atribute* is indeed new for Juno | 07:13 |
shardy | attribute even.. | 07:13 |
shardy | good to hear you found a fix for your issue :) | 07:13 |
arif-ali | yeah, unfortunately, the documentation doesn't express this | 07:14 |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex https://review.openstack.org/128188 | 07:14 |
arif-ali | I still needed the join patch though | 07:14 |
arif-ali | shardy, it's not much to change, I presume, to add the attribute, is it worth getting that added? | 07:15 |
shardy | arif-ali: we can't backport interface changes unfortunately, it's against the stable branch policy | 07:16 |
shardy | Oh, you mean the join patch? Yes we should get that reviewed | 07:16 |
arif-ali | then again, the instance_name attribute only gives "None", rather than the name of the instance | 07:16 |
arif-ali | shardy, ok, no problems, just learning the openstack ideas/philosophies, will have to live without the name attribute then; will have to think about something else | 07:19 |
*** achanda has joined #heat | 07:20 | |
zhiwei | Hi, is anyone know why some properties validate during create stack? | 07:24 |
zhiwei | I think all the properties should be validated before create stack. | 07:24 |
*** achanda has quit IRC | 07:25 | |
asalkeld | zhiwei, you can do a template validate | 07:29 |
zhiwei | I want to reuse the code in Stack.validate(). | 07:29 |
zhiwei | My template is invalid, but heat created a failed stack for me. | 07:30 |
asalkeld | zhiwei, also note that many properties will have references so it is not always useful to do this seperately | 07:30 |
zhiwei | I think heat should not create any stack for me, because my template is invalid. | 07:30 |
asalkeld | zhiwei, there is a rollback option that will do that | 07:30 |
zhiwei | where? I don't know this. | 07:31 |
zhiwei | let me grep the code. | 07:31 |
asalkeld | heat stack-create -r ... | 07:31 |
asalkeld | heat help create | 07:31 |
*** Guest85887 has quit IRC | 07:32 | |
asalkeld | heat help stack-create | 07:32 |
zhiwei | I saw it. | 07:32 |
*** Guest50275 has joined #heat | 07:32 | |
zhiwei | can I call this function in resources definition file? | 07:33 |
skraynev | good day. | 07:33 |
skraynev | asalkeld hi | 07:33 |
asalkeld | hi skraynev | 07:33 |
cmyster | hey | 07:33 |
skraynev | cmyster hey | 07:33 |
zhiwei | hi skraynev. | 07:33 |
asalkeld | zhiwei, i am not totally clear what you mean | 07:33 |
skraynev | hi zhiwei | 07:33 |
zhiwei | I want to validate all the properties before create template. | 07:34 |
skraynev | zhiwei: I know what you mean, but it's not possible | 07:34 |
zhiwei | since the wrong properties will cause the stack create failed. So why heat still create it when template is invalid. | 07:35 |
*** Guest50275 has quit IRC | 07:35 | |
skraynev | because some properties are not resolved before you start create stack | 07:35 |
cmyster | zhiwei: I think that the closest thing is stack-preview | 07:35 |
asalkeld | for most cases it would not be useful | 07:35 |
asalkeld | that's right | 07:35 |
skraynev | zhiwei: user may use build in functions with references on not created resources | 07:35 |
* asalkeld has never used stack-preview | 07:36 | |
asalkeld | :-O | 07:36 |
*** dmatthews__ has joined #heat | 07:36 | |
zhiwei | skraynev: I can get all the properties in resource.validate() function. | 07:36 |
zhiwei | And I can validate them before create stack. | 07:36 |
skraynev | asalkeld: O_o. you should try it... | 07:36 |
zhiwei | so why heat did not validate them? | 07:36 |
skraynev | asalkeld: it's funny ;) | 07:37 |
zhiwei | I tried and successed. | 07:37 |
asalkeld | zhiwei, what if you have properties: {foo: get_attr: ...}} | 07:37 |
cmyster | zhiwei: have you tried from CLI heat stack-preview name -f template.yaml ? | 07:37 |
zhiwei | StackValidationFailed: 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 #heat | 07:37 | |
skraynev | +1 for asalkeld example | 07:38 |
zhiwei | cmyster: stack-preview shows no error | 07:39 |
cmyster | its still a work in process... | 07:39 |
zhiwei | is that because too many nested properties in my custom template/resource? | 07:39 |
skraynev | also how about: http://paste.openstack.org/show/120924/ | 07:39 |
cmyster | zhiwei: probably | 07:40 |
skraynev | zhiwei: you specify end value, but we try to explain that it's not possibly to validate property if it's use build in function | 07:41 |
zhiwei | I see. | 07:42 |
*** Yanyan has joined #heat | 07:43 | |
zhiwei | so, heat made validate template in two steps, one is in resource.validate and the other is in stack.validate. | 07:43 |
asalkeld | zhiwei, it does what it can in validate | 07:44 |
asalkeld | but has to really run through the create | 07:44 |
asalkeld | this is what preview tries to simulate | 07:44 |
zhiwei | but when no build-in function on a property, heat resource should validate this case. | 07:44 |
asalkeld | preview is really a noop create | 07:44 |
*** Yanyanhu has quit IRC | 07:45 | |
asalkeld | zhiwei, maybe - but it will leave to lots of special casing | 07:46 |
*** dmatthews__ has quit IRC | 07:46 | |
zhiwei | yes. | 07:46 |
asalkeld | imo preview should eventually replace validate | 07:46 |
*** dmatthews__ has joined #heat | 07:47 | |
skraynev | asalkeld: Ou. different validate for preview? | 07:47 |
zhiwei | Let me give you a paste | 07:47 |
*** saju_m has quit IRC | 07:48 | |
asalkeld | skraynev, just suggesting that preview is a better validate | 07:48 |
skraynev | asalkeld: 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 #heat | 07:51 | |
asalkeld | not sure | 07:52 |
skraynev | p.s. But I still have not any design for this idea :) | 07:52 |
skraynev | ok | 07:52 |
*** dmatthews__ has quit IRC | 07:52 | |
asalkeld | mine was just a long term idea, as preview improves | 07:52 |
*** d0ugal has joined #heat | 07:53 | |
*** d0ugal is now known as Guest56922 | 07:53 | |
*** Guest56922 is now known as d0ugal | 07:54 | |
*** d0ugal has joined #heat | 07:54 | |
asalkeld | taking a break, bbl | 07:54 |
skraynev | oh. got it. | 07:54 |
skraynev | Also will be really cool to validate all template, before we create it <- Honestly it sounds like a unbelievable future. | 07:54 |
zhiwei | http://paste.openstack.org/show/120942/ | 07:57 |
*** jistr has joined #heat | 07:57 | |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat: Add optional health maintenance to OS::Heat::ASG https://review.openstack.org/127884 | 08:01 |
*** stannie has joined #heat | 08:02 | |
zhiwei | asalkeld: skraynev, did you see my paste? | 08:04 |
zhiwei | I think this maybe a heat bug. | 08:05 |
shardy | arif-ali: The most likely reason for instance_name returning None is that you don't have the nova extended server attributes extension enabled | 08:06 |
shardy | https://github.com/openstack/heat/blob/stable/icehouse/heat/engine/resources/server.py#L648 | 08:06 |
shardy | That 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 nova | 08:09 |
shardy | The internal and external naming of the instnace is, unfortunately, not necessarily the same | 08:09 |
*** coolsvap is now known as coolsvap|afk | 08:09 | |
*** sorantis has joined #heat | 08:10 | |
arif-ali | shardy, thanks for that, much appreciated | 08:11 |
*** shadower has quit IRC | 08:11 | |
* arif-ali looks to see how to enable extended server attributes in nova | 08:11 | |
*** shadower has joined #heat | 08:13 | |
*** mspreitz has quit IRC | 08:14 | |
openstackgerrit | liusheng proposed a change to openstack/heat: Log translation hint for Heat.engine (part1) https://review.openstack.org/109512 | 08:16 |
*** jstrachan has joined #heat | 08:22 | |
*** alexpilotti has joined #heat | 08:23 | |
*** alexpilotti has quit IRC | 08:24 | |
*** alexpilotti has joined #heat | 08:24 | |
*** tomek_adamczewsk has joined #heat | 08:25 | |
skraynev | zhiwei: I see your paste. But it's sounds strange | 08:39 |
zhiwei | skraynev: yes, it's weird. | 08:40 |
skraynev | zhiwei: Could you reproduce it on default resources? | 08:40 |
zhiwei | if I removed the mode attribute, it will show error before create stack. | 08:41 |
*** rushiagr is now known as rushiagr_away | 08:41 | |
*** liusheng has quit IRC | 08:41 | |
zhiwei | I can't find a default resource like this. | 08:41 |
*** lazy_prince has quit IRC | 08:42 | |
*** rushiagr_away is now known as rushiagr | 08:43 | |
*** viktors|afk is now known as viktors | 08:45 | |
zhiwei | is this because I specify this mode twice in resource definition file? | 08:45 |
zhiwei | policies is a list of policy. | 08:46 |
*** julienve_ has joined #heat | 08:46 | |
*** fayablazer has joined #heat | 08:50 | |
*** killer_prince has joined #heat | 08:53 | |
*** killer_prince is now known as lazy_prince | 08:53 | |
*** rushiagr is now known as rushiagr_away | 08:54 | |
*** erkules_ is now known as erkules | 08:59 | |
*** k4n0 has quit IRC | 09:01 | |
*** rushiagr_away is now known as rushiagr | 09:02 | |
*** kopparam has joined #heat | 09:04 | |
*** mkollaro has joined #heat | 09:04 | |
*** kopparam has joined #heat | 09:05 | |
*** lazy_prince has quit IRC | 09:07 | |
*** kopparam_ has joined #heat | 09:07 | |
*** kopparam has quit IRC | 09:08 | |
*** kopparam_ has quit IRC | 09:10 | |
openstackgerrit | Ethan Lynn proposed a change to openstack/heat: Add unicode support for heat engine https://review.openstack.org/128157 | 09:10 |
*** k4n0 has joined #heat | 09:14 | |
*** killer_prince has joined #heat | 09:17 | |
*** liusheng has joined #heat | 09:17 | |
*** killer_prince is now known as lazy_prince | 09:17 | |
*** kopparam has joined #heat | 09:19 | |
*** rushiagr is now known as rushiagr_away | 09:21 | |
openstackgerrit | Ethan Lynn proposed a change to openstack/heat: Add unicode support for resource name https://review.openstack.org/128157 | 09:22 |
*** kopparam has quit IRC | 09:22 | |
*** rushiagr_away is now known as rushiagr | 09:23 | |
*** Yanyan has quit IRC | 09:25 | |
*** jprovazn has quit IRC | 09:27 | |
*** pas-ha has joined #heat | 09:28 | |
pas-ha | morning all | 09:28 |
*** cdent has joined #heat | 09:32 | |
*** unmeshg has quit IRC | 09:33 | |
*** rakesh_hs has quit IRC | 09:33 | |
*** rakesh_hs2 has joined #heat | 09:33 | |
*** rushiagr has quit IRC | 09:36 | |
*** lazy_prince has quit IRC | 09:41 | |
elynn | afternoon pas-ha :) | 09:41 |
*** funzo has joined #heat | 09:44 | |
*** funzo_ has quit IRC | 09:44 | |
*** killer_prince has joined #heat | 09:49 | |
*** killer_prince is now known as lazy_prince | 09:49 | |
*** eoutin has quit IRC | 09:50 | |
*** mkollaro has quit IRC | 09:50 | |
*** rushiagr_away has joined #heat | 09:50 | |
*** ananta has joined #heat | 09:52 | |
ananta | hi | 09:52 |
ananta | How to add agenda topic for tomorrow's meeting? | 09:53 |
*** unmeshg has joined #heat | 09:55 | |
*** kopparam has joined #heat | 09:59 | |
*** Qiming has quit IRC | 10:04 | |
*** elynn has left #heat | 10:05 | |
asalkeld | ananta, https://wiki.openstack.org/wiki/Meetings/HeatAgenda | 10:06 |
*** lazy_prince has quit IRC | 10:09 | |
*** lazy_prince has joined #heat | 10:09 | |
ananta | asalkeld, I have added a topic | 10:12 |
asalkeld | ok cool | 10:13 |
asalkeld | ananta, do you have a poc? | 10:13 |
asalkeld | for the whole thing | 10:13 |
asalkeld | proof of concept | 10:13 |
ananta | asalkeld, we are working on it, just wanted to discuss the approach | 10:14 |
asalkeld | ok, just want to know if there is a way for others to also have a go | 10:15 |
asalkeld | (i wouldn't mind having a play) | 10:15 |
asalkeld | i might do anyways | 10:15 |
asalkeld | but please share anything you have | 10:15 |
asalkeld | no matter how hacky/broken it is | 10:16 |
*** coolsvap|afk is now known as coolsvap | 10:16 | |
ananta | asalkeld, we were working on the design of it so thought we would discuss | 10:17 |
asalkeld | for sure | 10:18 |
ananta | asalkeld, the design is being worked on and we would like to discuss in detail in summit, and hence we are holding off on the implementation | 10:20 |
asalkeld | ok | 10:20 |
*** sorantis has quit IRC | 10:21 | |
shardy | ananta: looks interesting, thanks! | 10:30 |
shardy | FWIW, I'm of the opinion that we just need to get some PoC code working for this stuff, there's been so much discussion already | 10:31 |
*** pasquier-s has quit IRC | 10:31 | |
asalkeld | shardy, +1 | 10:32 |
asalkeld | i'll get on it | 10:32 |
asalkeld | (at least on github) | 10:33 |
*** k4n0 has quit IRC | 10:33 | |
ananta | shardy, asalkeld, Yeah, i understand, we will have some patches ready with WIP so that you can review | 10:34 |
*** ajc_ has joined #heat | 10:34 | |
*** ajc_ has quit IRC | 10:35 | |
*** dims has joined #heat | 10:38 | |
*** ishant has joined #heat | 10:39 | |
*** dims has quit IRC | 10:43 | |
*** blues-man has joined #heat | 10:44 | |
openstackgerrit | Tetiana Lashchova proposed a change to openstack/heat: Create security group rules in loose loop https://review.openstack.org/128234 | 10:44 |
*** shadower has quit IRC | 10:44 | |
*** julienve_ has quit IRC | 10:45 | |
*** shadower has joined #heat | 10:45 | |
*** julienve_ has joined #heat | 10:45 | |
*** unmeshg has quit IRC | 10:45 | |
*** shadower has quit IRC | 10:46 | |
*** ananta has quit IRC | 10:46 | |
*** ananta has joined #heat | 10:46 | |
*** asalkeld_ has joined #heat | 10:47 | |
*** shadower has joined #heat | 10:47 | |
*** asalkeld has quit IRC | 10:47 | |
*** rakesh_hs2 has quit IRC | 10:49 | |
*** julienve_ has quit IRC | 10:49 | |
*** rakesh_hs has joined #heat | 10:50 | |
shardy | Anyone else seeing tests taking much longer lately? | 10:57 |
shardy | my local run of unit tests has gone from ~90s to ~900s, so I assume it's running a bunch of stuff too many times | 10:58 |
shardy | the number of tests looks suspicious too (3524) | 10:58 |
*** dims has joined #heat | 11:00 | |
openstackgerrit | Kanagaraj Manickam proposed a change to openstack/heat-specs: heat resource abandon and adopt https://review.openstack.org/124707 | 11:02 |
*** DaveJ__ has joined #heat | 11:03 | |
*** sorantis has joined #heat | 11:05 | |
*** derekh has joined #heat | 11:06 | |
asalkeld_ | http://www.news.com.au/travel/travel-ideas/paris-life-hacks-every-traveller-should-know/story-e6frfqd9-1227090133944 | 11:12 |
*** vijayagurug has joined #heat | 11:18 | |
*** cody-somerville has joined #heat | 11:26 | |
*** kopparam has quit IRC | 11:27 | |
*** kopparam has joined #heat | 11:28 | |
*** jistr is now known as jistr|english | 11:29 | |
*** rushiagr_away is now known as rushiagr | 11:29 | |
gooblja | Hello 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 used | 11:34 |
gooblja | maybe somebody has a simple script? | 11:34 |
*** zhiwei has quit IRC | 11:42 | |
*** Qiming has joined #heat | 11:44 | |
*** cody-somerville has quit IRC | 11:46 | |
gooblja | Is there some good guide how to listen notifications from heat? | 11:47 |
asalkeld_ | gooblja, have a look in ceilometer | 11:48 |
asalkeld_ | i'll find you a link | 11:48 |
*** coolsvap is now known as coolsvap|afk | 11:49 | |
*** ochuprykov_ has joined #heat | 11:49 | |
asalkeld_ | https://github.com/openstack/ceilometer/blob/master/ceilometer/orchestration/notifications.py | 11:49 |
asalkeld_ | gooblja, ^ | 11:49 |
ochuprykov_ | asalkeld_:hi | 11:50 |
asalkeld_ | hi ochuprykov_ | 11:50 |
ochuprykov_ | asalkeld_: could you look at https://review.openstack.org/#/c/127535/ | 11:50 |
asalkeld_ | sure | 11:50 |
*** liusheng has quit IRC | 11:52 | |
*** ramishra has joined #heat | 11:53 | |
*** apporc has quit IRC | 11:56 | |
gooblja | thanks asalkeld_ i will take a look :) | 11:56 |
asalkeld_ | ochuprykov_, i found this https://github.com/openstack/heat/commit/5f79b9e43f0e7f484dc5cc91032b8ebf55c9abd1 | 11:57 |
*** cmyster is now known as cmyster_away | 11:58 | |
asalkeld_ | ochuprykov_, i think it would be good to explain the 3 or 4 different cases in the commit message | 11:58 |
*** blues-man has quit IRC | 11:58 | |
asalkeld_ | the indexes, resource_id_seq and nullable creds_id | 11:59 |
*** shadower has quit IRC | 12:00 | |
shardy | asalkeld_: FYI I commented on the nullable user_creds - AFAIK that's OK because soft-delete | 12:00 |
shardy | where we keep the stack record but delete the creds row | 12:00 |
asalkeld_ | yeah, just found your commit | 12:00 |
asalkeld_ | look up ^ | 12:00 |
*** shadower has joined #heat | 12:00 | |
shardy | asalkeld_: Aha, yup :) | 12:01 |
shardy | meeting time? | 12:01 |
shardy | haha, wrong day | 12:02 |
ochuprykov_ | asalkeld_: i will change the commit message | 12:02 |
* shardy really hasn't had enough sleep due to screaming baby | 12:02 | |
ochuprykov_ | asalkeld_: thanks for the review | 12:02 |
asalkeld_ | shardy, you made me panic ;( | 12:02 |
asalkeld_ | np ochuprykov_ | 12:02 |
shardy | asalkeld_: Sorry! ;) | 12:02 |
*** amakarov_away is now known as amakarov | 12:03 | |
*** LiJiansheng has quit IRC | 12:03 | |
*** julienve_ has joined #heat | 12:05 | |
*** stannie has quit IRC | 12:09 | |
*** julienvey has quit IRC | 12: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 #heat | 12:14 | |
asalkeld_ | ochuprykov_, afaik the indexes are not put in the models as there is no programming reason to access them | 12:15 |
openstackgerrit | Rabi Mishra proposed a change to openstack/heat-templates: Add in-instance docker software config hook https://review.openstack.org/128182 | 12: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#L163 | 12:16 |
*** stannie has joined #heat | 12:16 | |
asalkeld_ | git grep shows none of those in Heat | 12: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 correct | 12:18 |
ochuprykov_ | asalkeld_: yep | 12:18 |
asalkeld_ | for the indexes I'd suggest the migrations are correct | 12:18 |
asalkeld_ | shardy, ^ you know any better here | 12:18 |
*** pasquier-s has joined #heat | 12:19 | |
Qiming | shardy, 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 |
shardy | asalkeld_: AFAIK we don't have any indexes yet because nobody has done the work to figure out what exactly should be indexed | 12:23 |
asalkeld_ | shardy, ochuprykov_ has found some | 12:24 |
asalkeld_ | in migrations but not in models | 12:24 |
*** dims has quit IRC | 12:24 | |
*** dims has joined #heat | 12:25 | |
shardy | asalkeld_: 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_ recons | 12:26 |
shardy | stevebaker and/or SpamapS may know more | 12:26 |
asalkeld_ | news to me:-O | 12:26 |
*** ramishra has quit IRC | 12:26 | |
shardy | AFAIK they're the only ones to dig into DB optimizations | 12:26 |
arif-ali | so looks like the instance_name value is only represented to an admin, and not a user who has a _member_ role | 12:26 |
*** blomquisg has joined #heat | 12:27 | |
*** jprovazn has joined #heat | 12:28 | |
ryansb | shardy: 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 indices | 12:28 |
ryansb | also sqlalchemy has a super easy "hey, make these indexes please" function where you can give it model props to index | 12:29 |
shardy | ryansb: what are those model __table_args__ in the glance model for then? | 12:29 |
ryansb | the glance model in heat? | 12:29 |
shardy | https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#L163 | 12:29 |
*** dims has quit IRC | 12:30 | |
shardy | The lance model referenced in the discussion above as (AIUI) an example of how to do it | 12:30 |
shardy | s/lance/glance | 12:30 |
ochuprykov_ | its just example, that indexes are presented in models | 12:30 |
asalkeld_ | ochuprykov_, do they really need to be tho'? | 12:30 |
ryansb | shardy: TIMTOWTDI. You can define them on the model, or you can define them separately | 12:31 |
*** jdob has joined #heat | 12:31 | |
asalkeld_ | ryansb, who is tom tow tdi? | 12:32 |
asalkeld_ | ;) | 12:32 |
*** lazy_prince is now known as killer_prince | 12:32 | |
ryansb | asalkeld_: a really famous programmer that did everything every way possible. | 12:32 |
ochuprykov_ | asalkeld_: i dont know exactly | 12:33 |
ryansb | shardy: 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 IRC | 12:33 | |
ryansb | hypothetically 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 #heat | 12:35 | |
asalkeld_ | imho the less places to update the better | 12:35 |
shardy | asalkeld_: +1 | 12:35 |
asalkeld_ | (as long as it works) | 12:35 |
*** ckmvishnu has quit IRC | 12:35 | |
*** shakayumi has quit IRC | 12:35 | |
*** ramishra has joined #heat | 12:36 | |
ochuprykov_ | so, i have to add indexes to models, or just ignoring them during sync check? | 12:39 |
*** ishant has quit IRC | 12:40 | |
shardy | ochuprykov_: 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 #heat | 12:42 | |
openstackgerrit | Angus Salkeld proposed a change to openstack/heat: docs: update jeos_building instructions https://review.openstack.org/123930 | 12:42 |
*** sergmelikyan has joined #heat | 12:47 | |
*** pas-ha has joined #heat | 12:49 | |
*** swygue has joined #heat | 12:51 | |
*** ramishra has quit IRC | 12:52 | |
asalkeld_ | g'night all | 12:53 |
*** asalkeld_ has quit IRC | 12:53 | |
Qiming | o/ | 12:53 |
skraynev | asalkeld_: bye | 12:53 |
*** tonisbones has joined #heat | 12:54 | |
*** jistr|english is now known as jistr | 12:54 | |
*** f13o_f13o has joined #heat | 13:00 | |
*** f13o_f13o has quit IRC | 13:00 | |
*** packet has joined #heat | 13:03 | |
gooblja | please 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 it | 13:07 |
*** andersonvom has quit IRC | 13:07 | |
gooblja | following guide i tried to change topic name to heat, notifications, notifications.info, and in endpoint I added print payload | 13:09 |
*** aweiteka has joined #heat | 13:10 | |
*** Drago has joined #heat | 13:10 | |
gooblja | I use stable icehouse with qpid queue | 13:10 |
Qiming | gooblja, do you mean you want to subscribe to the message queue directly? | 13:12 |
gooblja | yes :) | 13:12 |
Qiming | gooblja, why would you do that? | 13:13 |
*** Drago has quit IRC | 13:13 | |
Qiming | gooblja, 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.py | 13:16 |
gooblja | I just want to have a simple script that will inform me if there was stack updated or created | 13:17 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove unused oslo lockutils module https://review.openstack.org/128267 | 13:18 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo request_id module https://review.openstack.org/128268 | 13:18 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo middleware.base module https://review.openstack.org/128269 | 13:18 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo sslutils https://review.openstack.org/128270 | 13:18 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo excutils https://review.openstack.org/128271 | 13:18 |
openstackgerrit | Anant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning. https://review.openstack.org/123749 | 13:20 |
*** andersonvom has joined #heat | 13:24 | |
openstackgerrit | Anant Patil proposed a change to openstack/heat-specs: Persisting dependency graph & resource versioning. https://review.openstack.org/123749 | 13:26 |
*** ananta has quit IRC | 13:30 | |
*** packet has quit IRC | 13:33 | |
*** serg_melikyan has joined #heat | 13:33 | |
*** serg_melikyan has quit IRC | 13:33 | |
*** blues-man has joined #heat | 13:33 | |
*** nijaba_ is now known as nijaba | 13:34 | |
*** rakesh_hs has quit IRC | 13:34 | |
*** nijaba has quit IRC | 13:34 | |
*** nijaba has joined #heat | 13:34 | |
*** jmckind has joined #heat | 13:37 | |
*** jmckind has quit IRC | 13:37 | |
*** jmckind has joined #heat | 13:38 | |
*** nijaba has quit IRC | 13:40 | |
*** andrearosa has joined #heat | 13:41 | |
*** ishant has joined #heat | 13:42 | |
*** nijaba has joined #heat | 13:45 | |
*** nijaba has quit IRC | 13:45 | |
*** nijaba has joined #heat | 13:45 | |
*** sabeen has joined #heat | 13:48 | |
*** sanjayu has quit IRC | 13:50 | |
*** pas-ha has quit IRC | 13:52 | |
*** nijaba has quit IRC | 13:55 | |
*** rushiagr is now known as rushiagr_away | 13:55 | |
*** Drago has joined #heat | 13:58 | |
*** nijaba has joined #heat | 14:00 | |
*** nijaba has quit IRC | 14:00 | |
*** nijaba has joined #heat | 14:00 | |
*** sjmc7 has joined #heat | 14:06 | |
*** radez_g0n3 is now known as radez | 14:07 | |
Qiming | gooblja, still there? | 14:10 |
gooblja | yes :) | 14:12 |
Qiming | I can paste you some code I just experimented with | 14:12 |
gooblja | ou that would be nice :) | 14:13 |
andersonvom | anybody being able to successfully run tests lately? | 14:14 |
Qiming | http://paste.openstack.org/show/121020/ | 14:14 |
Qiming | gooblja, you need to set notification_driver=messaging in heat.conf to enable notifications from heat | 14:15 |
Qiming | gooblja, user name to rabbitmq defaults to 'guest', you know the password and the hostname/ip | 14:16 |
gooblja | thx :) i will try it now :) | 14:16 |
*** dims has joined #heat | 14:17 | |
Qiming | gooblja, I would not suggest you to do this in a deployment, too dangerous | 14:17 |
*** tomek_adamczewsk has quit IRC | 14:17 | |
gooblja | ow this looks nice :) it works on rabbitmq :) but with qpid it says IOError: Socket closed | 14:19 |
Qiming | ... kombu is for rabbitmq only, I don't have qpid on my machines | 14:20 |
gooblja | ow i see big thx for help :) i have left to find a way with qpid | 14:22 |
Qiming | good luck | 14:22 |
*** robklg has joined #heat | 14:24 | |
*** andersonvom has quit IRC | 14:25 | |
*** andersonvom has joined #heat | 14:27 | |
*** andersonvom has quit IRC | 14:27 | |
*** andersonvom has joined #heat | 14:28 | |
*** jergerber has joined #heat | 14:29 | |
*** jmckind has quit IRC | 14:30 | |
*** Drago has quit IRC | 14:38 | |
*** Drago has joined #heat | 14:40 | |
*** nosnos has quit IRC | 14:40 | |
*** nosnos has joined #heat | 14:40 | |
*** k4n0 has quit IRC | 14:42 | |
*** jmckind has joined #heat | 14:42 | |
*** nosnos has quit IRC | 14:45 | |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance https://review.openstack.org/128311 | 14:45 |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance https://review.openstack.org/128311 | 14:46 |
*** EricGonczer_ has joined #heat | 14:47 | |
*** k4n0 has joined #heat | 14:49 | |
*** k4n0 has quit IRC | 14:50 | |
*** k4n0 has joined #heat | 14:50 | |
skraynev | g'night all | 14:52 |
*** ramishra has joined #heat | 14:52 | |
*** ramishra has quit IRC | 14:54 | |
*** ramishra has joined #heat | 14:54 | |
Qiming | skraynev, bye | 14:55 |
*** robklg has quit IRC | 14:55 | |
ryansb | night | 14:56 |
*** kebray has joined #heat | 14:57 | |
*** ramishra has quit IRC | 14:59 | |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat-templates: Add example of using ASG health maintenance https://review.openstack.org/128311 | 14:59 |
*** tomek_adamczewsk has joined #heat | 15:00 | |
*** tomek_adamczews1 has joined #heat | 15:02 | |
*** jpeeler has quit IRC | 15:04 | |
*** jpeeler has joined #heat | 15:04 | |
*** jpeeler has quit IRC | 15:04 | |
*** jpeeler has joined #heat | 15:04 | |
*** tomek_adamczewsk has quit IRC | 15:05 | |
*** sorantis_ has joined #heat | 15:05 | |
*** sorantis has quit IRC | 15:08 | |
*** sorantis_ is now known as sorantis | 15:08 | |
*** blues-man has quit IRC | 15:08 | |
*** andrearosa has quit IRC | 15:10 | |
*** andrearosa has joined #heat | 15:10 | |
*** julienve_ has quit IRC | 15:11 | |
*** tango has joined #heat | 15:19 | |
*** randallburt has joined #heat | 15:20 | |
*** Qiming has quit IRC | 15:21 | |
*** pas-ha has joined #heat | 15:27 | |
*** kopparam has quit IRC | 15:31 | |
*** julienvey has joined #heat | 15:32 | |
*** rushiagr_away is now known as rushiagr | 15:32 | |
*** tomek_adamczews1 has quit IRC | 15:35 | |
openstackgerrit | Mike Spreitzer proposed a change to openstack/heat: Add optional health maintenance to OS::Heat::ASG https://review.openstack.org/127884 | 15:38 |
*** pasquier-s has quit IRC | 15:38 | |
*** tomek_adamczewsk has joined #heat | 15:39 | |
*** andersonvom has quit IRC | 15:39 | |
*** randallburt has quit IRC | 15:45 | |
*** k4n0 has quit IRC | 15:51 | |
*** andersonvom has joined #heat | 15:51 | |
*** ochuprykov_ has quit IRC | 15:54 | |
*** sorantis has quit IRC | 15:55 | |
*** ramishra has joined #heat | 15:55 | |
*** Drago has quit IRC | 15:55 | |
*** rakesh_hs has joined #heat | 15:57 | |
*** Drago has joined #heat | 15:58 | |
*** ramishra has quit IRC | 16:00 | |
*** andersonvom has quit IRC | 16:00 | |
*** spzala has joined #heat | 16:01 | |
*** mspreitz_ has joined #heat | 16:04 | |
*** tango has quit IRC | 16:11 | |
*** julienvey has quit IRC | 16:12 | |
*** randallburt has joined #heat | 16:19 | |
*** tomek_adamczewsk has quit IRC | 16:21 | |
*** tomek_adamczewsk has joined #heat | 16:23 | |
SpamapS | shardy: 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 #heat | 16:25 | |
*** andersonvom has quit IRC | 16:25 | |
*** blues-man has joined #heat | 16:27 | |
*** andersonvom has joined #heat | 16:27 | |
*** blues-man has quit IRC | 16:28 | |
*** blues-man has joined #heat | 16:29 | |
*** andersonvom has quit IRC | 16:29 | |
*** tomek_adamczewsk has quit IRC | 16:29 | |
*** ishant has quit IRC | 16:29 | |
*** blues-man has quit IRC | 16:31 | |
*** andersonvom has joined #heat | 16:32 | |
*** Drago has quit IRC | 16:32 | |
*** fayablazer has quit IRC | 16:35 | |
*** rushiagr is now known as rushiagr_away | 16:36 | |
*** Drago has joined #heat | 16:37 | |
openstackgerrit | Randall Burt proposed a change to openstack/heat: Do not match subnets if no networks defined https://review.openstack.org/128146 | 16:40 |
*** derekh has quit IRC | 16:45 | |
openstackgerrit | Anderson Mesquita proposed a change to openstack/heat: Implement handle_check for CloudWatch https://review.openstack.org/127670 | 16:45 |
openstackgerrit | Anderson Mesquita proposed a change to openstack/heat: Implement handle_check on Ceilometer alarms https://review.openstack.org/127671 | 16:45 |
openstackgerrit | Anderson Mesquita proposed a change to openstack/heat: Implement handle_check for OS::Nova::Server https://review.openstack.org/128357 | 16:45 |
openstackgerrit | Anderson Mesquita proposed a change to openstack/heat: Implement handle_check for Rackspace Cloud Servers https://review.openstack.org/128358 | 16:45 |
*** kebray has quit IRC | 16:47 | |
*** shakayumi has joined #heat | 16:48 | |
*** jistr has quit IRC | 16:53 | |
*** achanda has joined #heat | 16:54 | |
*** ramishra has joined #heat | 16:56 | |
*** tomek_adamczewsk has joined #heat | 16:58 | |
*** ramishra has quit IRC | 17:00 | |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: ResourceGroup update refactor https://review.openstack.org/128364 | 17:03 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: ResourceGroup add "force_remove" property https://review.openstack.org/128365 | 17:03 |
openstackgerrit | Anderson Mesquita proposed a change to openstack/heat-specs: Detailed Resource Show https://review.openstack.org/121979 | 17:03 |
*** jcoufal has quit IRC | 17:04 | |
*** tomek_adamczewsk has quit IRC | 17:04 | |
shardy | SpamapS, shadower: ^^ those implement a first attempt at the "elide" functionality requested | 17:06 |
shardy | feedback welcome :) | 17:06 |
*** mkollaro has joined #heat | 17:12 | |
*** harlowja_away is now known as harlowja | 17:13 | |
*** randallburt has quit IRC | 17:14 | |
*** tspatzier has quit IRC | 17:14 | |
*** Drago has quit IRC | 17:16 | |
*** andersonvom has quit IRC | 17:18 | |
*** dsneddon_ has quit IRC | 17:21 | |
*** dsneddon has joined #heat | 17:21 | |
*** ifarkas has quit IRC | 17:21 | |
*** tango has joined #heat | 17:23 | |
*** randallburt has joined #heat | 17:23 | |
*** sarob_ has joined #heat | 17:32 | |
*** sarob_ is now known as sarob | 17:33 | |
*** jstrachan has quit IRC | 17:35 | |
*** achanda_ has joined #heat | 17:50 | |
*** achanda has quit IRC | 17:53 | |
*** mkollaro has quit IRC | 17:54 | |
*** ramishra has joined #heat | 17:57 | |
jdandrea | Hmm. 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-plugpoint | 17:57 |
jdandrea | Or is that because it's implemented ... probably. | 17:57 |
*** wendar_ is now known as wendar | 18:00 | |
*** ramishra has quit IRC | 18:01 | |
*** d0ugal has quit IRC | 18:04 | |
*** d0ugal has joined #heat | 18:06 | |
*** d0ugal is now known as Guest86578 | 18:06 | |
*** andersonvom has joined #heat | 18:09 | |
*** tango|2 has joined #heat | 18:10 | |
*** radez is now known as radez_g0n3 | 18:11 | |
*** tango has quit IRC | 18:12 | |
*** jcoufal has joined #heat | 18:13 | |
*** alexpilotti has quit IRC | 18:19 | |
*** jstrachan has joined #heat | 18:23 | |
*** alexpilotti_ has joined #heat | 18:24 | |
*** alexpilotti_ is now known as alexpilotti | 18:24 | |
*** aweiteka has quit IRC | 18:24 | |
*** julienvey has joined #heat | 18:24 | |
*** jprovazn has quit IRC | 18:28 | |
*** mspreitz_ has quit IRC | 18:30 | |
*** andersonvom has quit IRC | 18:33 | |
*** DaveJ__ has quit IRC | 18:34 | |
*** sdake_ has joined #heat | 18:40 | |
*** sdake_ has quit IRC | 18:40 | |
*** sdake_ has joined #heat | 18:40 | |
sdake_ | what does heat do if you try to start a vm and ther eis no nova service? | 18:41 |
*** julienvey has quit IRC | 18:42 | |
*** rakesh_hs has quit IRC | 18:42 | |
*** vijayagurug has left #heat | 18:43 | |
*** radez_g0n3 is now known as radez | 18:49 | |
*** aweiteka has joined #heat | 18:50 | |
zaneb | sdake_: it should put the resource (and the stack) into the failed state | 18:57 |
*** cody-somerville has joined #heat | 18:57 | |
*** ramishra has joined #heat | 18:57 | |
openstackgerrit | William C. Arnold proposed a change to openstack/heat: Implement AZ spanning for AWS ASGs https://review.openstack.org/116139 | 19:02 |
*** sdake_ has quit IRC | 19:02 | |
*** sabeen has quit IRC | 19:02 | |
*** ramishra has quit IRC | 19:03 | |
*** sabeen has joined #heat | 19:03 | |
*** kebray has joined #heat | 19:04 | |
*** shakayumi has quit IRC | 19:04 | |
*** sabeen has quit IRC | 19:04 | |
*** sabeen has joined #heat | 19:04 | |
*** shakayumi has joined #heat | 19:05 | |
*** gondoi is now known as zz_gondoi | 19:07 | |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: ResourceGroup add "force_remove" property https://review.openstack.org/128365 | 19:08 |
*** pas-ha has quit IRC | 19:09 | |
*** andersonvom has joined #heat | 19:12 | |
*** randallburt has quit IRC | 19:16 | |
sdake | zaneb cool thanks | 19:16 |
*** cody-somerville has quit IRC | 19:33 | |
*** amakarov is now known as amakarov_away | 19:35 | |
*** achanda_ has quit IRC | 19:36 | |
*** cody-somerville has joined #heat | 19:43 | |
*** cody-somerville has quit IRC | 19:43 | |
*** cody-somerville has joined #heat | 19:43 | |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: Validate tenant_id part of TempURL in clients https://review.openstack.org/128427 | 19:53 |
*** achanda has joined #heat | 19:53 | |
*** ramishra has joined #heat | 19:58 | |
*** killer_prince has quit IRC | 20:01 | |
*** andersonvom has quit IRC | 20:02 | |
*** ramishra has quit IRC | 20:03 | |
*** shakayumi has quit IRC | 20:04 | |
*** Drago has joined #heat | 20:05 | |
*** EricGonczer_ has quit IRC | 20:05 | |
*** Drago has quit IRC | 20:05 | |
*** achanda has quit IRC | 20:05 | |
*** sabeen3 has joined #heat | 20:05 | |
*** shakayumi has joined #heat | 20:05 | |
*** sabeen has quit IRC | 20:06 | |
*** cody-somerville has quit IRC | 20:07 | |
*** Drago has joined #heat | 20:07 | |
*** EricGonczer_ has joined #heat | 20:07 | |
*** Drago has quit IRC | 20:08 | |
*** Drago has joined #heat | 20:08 | |
*** tonisbones has quit IRC | 20:09 | |
*** cody-somerville has joined #heat | 20:09 | |
*** killer_prince has joined #heat | 20:11 | |
*** killer_prince is now known as lazy_prince | 20:11 | |
*** zz_gondoi is now known as gondoi | 20:12 | |
*** aweiteka has quit IRC | 20:15 | |
*** jcoufal has quit IRC | 20:17 | |
*** jcoufal has joined #heat | 20:18 | |
*** shakayumi has quit IRC | 20:20 | |
*** mkollaro has joined #heat | 20:20 | |
*** shakayumi has joined #heat | 20:20 | |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo request_id module https://review.openstack.org/128268 | 20:22 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo middleware.base module https://review.openstack.org/128269 | 20:22 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo sslutils https://review.openstack.org/128270 | 20:22 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove oslo excutils https://review.openstack.org/128271 | 20:22 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Remove unused oslo lockutils module https://review.openstack.org/128267 | 20:22 |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: Add tox genconfig target https://review.openstack.org/128441 | 20:22 |
*** stannie has quit IRC | 20:23 | |
*** jprovazn has joined #heat | 20:24 | |
*** randallburt has joined #heat | 20:26 | |
*** mkollaro has quit IRC | 20:29 | |
*** kebray has quit IRC | 20:31 | |
*** sergmelikyan has quit IRC | 20:33 | |
*** openstackgerrit has quit IRC | 20:36 | |
*** jprovazn has quit IRC | 20:42 | |
*** sergmelikyan has joined #heat | 20:44 | |
*** kebray has joined #heat | 20:48 | |
*** sergmelikyan has quit IRC | 20:49 | |
*** thedodd has joined #heat | 20:52 | |
thedodd | Greetings all, how do I get_attr of a Server that is part of a ResourceGroup in a HOT??? | 20:56 |
thedodd | I'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::ResourceGroup | 20:59 |
*** ramishra has joined #heat | 20:59 | |
thedodd | I saw that. | 20:59 |
thedodd | Not super useful to be honest with you. | 20:59 |
thedodd | I've just got it to work, but using a different approach. | 20:59 |
thedodd | PS | 20:59 |
thedodd | thanks for responding. | 20:59 |
thedodd | :) | 20:59 |
jasond` | np ;) | 21:00 |
thedodd | Do you think that you could give an example of what that would actually look like in a template, jasond` ??? | 21:00 |
*** achanda has joined #heat | 21:00 | |
thedodd | If I have a resource called "cluster0", and I wanted to access information on the second server ... | 21:01 |
thedodd | Maybe something like: | 21:01 |
thedodd | cluster0.1.networks ??? | 21:01 |
jasond` | think think it'd be like this {get_attr: resource.0.accessIPv4} | 21:01 |
thedodd | Awesome. | 21:01 |
thedodd | I'll give that a whirl. | 21:02 |
thedodd | brb | 21:02 |
*** sdake_ has joined #heat | 21:02 | |
*** Drago has quit IRC | 21:02 | |
stevebaker | morning | 21:02 |
*** Drago has joined #heat | 21:03 | |
*** ramishra has quit IRC | 21:03 | |
*** achanda_ has joined #heat | 21:03 | |
*** achanda__ has joined #heat | 21:06 | |
*** achanda has quit IRC | 21:06 | |
thedodd | Well damn it. jasond` looks like rackspace may be using a version of heat that is not recognizing that syntax. | 21:06 |
thedodd | It is not recognizing that format, and is calling it a syntax error. | 21:06 |
zaneb | thedodd: highly unlikely | 21:07 |
zaneb | check the syntax | 21:07 |
thedodd | What is unlikely?? | 21:07 |
thedodd | That rackspace is using a version that does not recognize the syntax?? | 21:07 |
thedodd | I'll check the syntax. | 21:08 |
zaneb | yes | 21:08 |
zaneb | and also that that could cause a "syntax error" | 21:08 |
thedodd | ERROR: Arguments to "get_attr" must be of the form [resource_name, attribute, (path), ...] | 21:08 |
thedodd | Maybe I shouldn't have said "syntax error" ... but whatever error that is, that's what I was referring to. | 21:09 |
zaneb | ok | 21:09 |
thedodd | :) | 21:09 |
*** achanda_ has quit IRC | 21:09 | |
zaneb | that actually looks like a much _newer_ version than you need even | 21:09 |
thedodd | zaneb, do you know what the syntax should be for a query of that nature?? | 21:09 |
thedodd | That's nice. | 21:09 |
thedodd | Hopefully 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 |
thedodd | not working though. | 21:10 |
zaneb | {get_attr: [my_resource, resource.1.accessIPv4]} | 21:10 |
thedodd | I'll try that. | 21:11 |
zaneb | exactly as it says in the message, funnily enough ;) | 21:11 |
thedodd | haha | 21:11 |
thedodd | what mwssage? | 21:11 |
thedodd | s/mwssage/message/ | 21:11 |
zaneb | Arguments to "get_attr" must be of the form [resource_name, attribute, (path), ...] | 21:11 |
zaneb | that message ^ | 21:12 |
thedodd | Ahh .... I see. | 21:12 |
thedodd | So the "resource.1.accessIPv4" is to be used as the attribute. | 21:12 |
thedodd | brb | 21:12 |
thedodd | trying it out | 21:13 |
zaneb | yep, exactly | 21:13 |
thedodd | zaneb, you are a champ! | 21:13 |
thedodd | Thanks! | 21:13 |
thedodd | It works. | 21:13 |
zaneb | \o/ | 21:14 |
thedodd | Who would have thought to just do exactly as the error message said! haha ;) | 21:14 |
thedodd | good times. | 21:14 |
*** sdake_ has quit IRC | 21:15 | |
*** zigo has quit IRC | 21:16 | |
*** mcwoods has quit IRC | 21:17 | |
*** swygue has quit IRC | 21:24 | |
*** jmckind has quit IRC | 21:28 | |
*** jcoufal has quit IRC | 21:32 | |
*** jstrachan has quit IRC | 21:35 | |
*** EricGonczer_ has quit IRC | 21:36 | |
*** harlowja is now known as harlowja_away | 21:39 | |
*** spzala has quit IRC | 21:42 | |
*** jdob has quit IRC | 21:46 | |
*** randallburt has quit IRC | 21:49 | |
*** rpothier has quit IRC | 21:51 | |
thedodd | Another HOT question: how might I go about specifying the network interfaces that are to be attached to a server? | 21:58 |
thedodd | The "networks" property appears to be it, and it looks as though it needs to be a list ... | 21:59 |
thedodd | a list of dicts. | 21:59 |
thedodd | But, I'm not sure that the server specs (dicts) are supposed to look like. | 21:59 |
thedodd | Any ideas?? | 21:59 |
*** sdake_ has joined #heat | 22:00 | |
*** ramishra has joined #heat | 22:00 | |
*** tomek_adamczewsk has joined #heat | 22:00 | |
*** ccrouch has quit IRC | 22:00 | |
*** ccrouch has joined #heat | 22:01 | |
sjmc7 | thedodd - see http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server | 22:03 |
jdandrea | At 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 #heat | 22:04 | |
thedodd | sjmc7, thanks. | 22:04 |
*** dims_ has joined #heat | 22:04 | |
*** ramishra has quit IRC | 22:05 | |
*** ccrouch has quit IRC | 22:05 | |
*** tomek_adamczewsk has quit IRC | 22:06 | |
*** dims_ has quit IRC | 22:06 | |
*** dims_ has joined #heat | 22:07 | |
*** dims has quit IRC | 22:07 | |
*** tomek_adamczewsk has joined #heat | 22:09 | |
asalkeld | morning | 22:10 |
*** tomek_adamczewsk has quit IRC | 22:11 | |
*** tomek_adamczewsk has joined #heat | 22:11 | |
*** dims_ has quit IRC | 22:12 | |
*** ccrouch has joined #heat | 22:12 | |
asalkeld | wow what happed to redhat website, it's so shiny it's almost unusable | 22:17 |
*** tomek_adamczewsk has quit IRC | 22:18 | |
*** dims has joined #heat | 22:19 | |
*** dims is now known as dimsum_ | 22:22 | |
*** dimsum_ is now known as dims | 22:22 | |
*** dims has quit IRC | 22:22 | |
*** dims has joined #heat | 22:23 | |
*** harlowja_away is now known as harlowja | 22:25 | |
*** randallburt has joined #heat | 22:29 | |
*** randallburt has quit IRC | 22:29 | |
*** randallburt has joined #heat | 22:29 | |
*** asalkeld has quit IRC | 22:35 | |
*** thedodd has quit IRC | 22:47 | |
*** gondoi is now known as zz_gondoi | 22:48 | |
*** asalkeld has joined #heat | 22:51 | |
*** EricGonczer_ has joined #heat | 22:52 | |
*** ramishra has joined #heat | 23:00 | |
*** openstackgerrit has joined #heat | 23:03 | |
*** ramishra has quit IRC | 23:05 | |
*** cdent has quit IRC | 23:12 | |
*** dims has quit IRC | 23:12 | |
*** kebray has quit IRC | 23:13 | |
*** dims has joined #heat | 23:13 | |
*** dims has quit IRC | 23:22 | |
*** jergerber has quit IRC | 23:34 | |
*** EricGonczer_ has quit IRC | 23:53 | |
*** sdake_ has quit IRC | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!