Friday, 2015-07-24

*** achanda has joined #heat00:03
*** Qiming has quit IRC00:05
*** EricGonczer_ has quit IRC00:09
*** sergmelikyan has quit IRC00:10
*** chlong has joined #heat00:11
*** shadower has quit IRC00:23
*** shadower has joined #heat00:23
*** signed8b_ is now known as signed8bit_ZZZzz00:23
*** pm90__ has quit IRC00:23
*** sergmelikyan has joined #heat00:23
*** ddaskal has joined #heat00:32
*** pm90_ has joined #heat00:33
*** pm90_ has quit IRC00:35
*** cchang has quit IRC00:38
asalkeldstevebaker: is your heat-engine starting?00:39
asalkeldi am getting : Could not load heat_template_version.2014-10-16: 'module' object has no attribute 'get_cache_region'00:40
asalkeldthere is heat/common/cache.py and heat/common/cache/*00:40
*** david-lyle has quit IRC00:40
asalkeldso when you import you get heat/common/cache/__init__.py and not heat/common/cache.py00:40
stevebakerasalkeld: i'm not running devstack currently00:41
sdakehey guys00:45
*** sergmelikyan has quit IRC00:45
asalkeldhi sdake00:45
sdaketrying to create a simple template, and get the error "ERROR: Remote error: NotFound The resource could not be found 404"00:45
sdakethe template only has an OS::Nova::Server in it00:46
sdakenote I am running in an ansible deployed version of heat in containers ;-)00:46
asalkeldewh00:46
sdakeso that could probably have something to do with it00:46
sdakejust curious what would trigger that 404 error00:46
sdakestack-list works00:47
sdakeresource-ist-get works00:47
sdakeor whatever that command is00:47
asalkeldRemoteError is an rpc error00:48
sdakeya its deifnately coming out of the engine00:48
asalkeldso the NotFound is what you need to find00:48
*** kebray has quit IRC00:48
asalkeldwhat's engine log say?00:48
sdakehttp://paste.fedoraproject.org/247652/6989751400:49
sdakeline 73900:50
sdakeit is  likely a configuation problem00:51
sdakejust not sure which00:51
asalkeldkeystone trusts setup?00:51
sdakeunlikely00:51
sdakeat the top of the log file it says something about that i think00:52
asalkeldtrustee_user_id = self.admin_auth.get_user_id(self.session)00:52
asalkeld54900:53
sdakeis that the line that is busting?00:53
asalkeldcheck the keystone logs00:53
*** ricolin has joined #heat00:53
sdakeno errors in keystone00:54
sdakeis keystone trusts a config option?00:55
asalkeldyou need keystone v300:55
sdakewe are using shade00:55
sdakewhich is a v3 library00:56
asalkelddon't know what that is00:56
sdakeme  either tbh ;-)00:56
sdakeits a library for ansible for openstack iiuc00:56
sdakeso I have to tell heat about the trusts in the config right?00:56
sdakeabout the trust config?00:56
sdakeand then I have to tell keystone what the trust config is?00:57
*** signed8bit_ZZZzz is now known as signed8b_00:57
asalkeldsdake: i dont' think so00:58
sdakedo I need to use a v3 auth uri/url?00:58
asalkeldmy config is all v2 (as i am doing standalone mode)00:59
sdakecan you paste our config file?00:59
sdakeoh i see00:59
asalkeldmaybe stevebaker can paste a config?00:59
asalkeldbut basically this is failing "trustee_user_id = self.admin_auth.get_user_id(self.session)"01:00
sdakeso its not a notfound error its some other kind of wierd exception01:00
asalkeldkeystone is replying with notfound01:00
asalkeldmaybe it doesn't know about that user01:01
sdakewhich user?01:01
*** cchang has joined #heat01:01
sdakemy openrc credentials?01:01
asalkeldthe admin01:02
asalkeldhttp://paste.openstack.org/show/404854/01:03
asalkeldlook at ~ 17001:03
asalkeldsdake: https://github.com/openstack-dev/devstack/blob/master/lib/heat#L272-L29601:04
sdakethanks angus01:05
sdakeI guess I'll have to figure out how to get domains implemented in shade01:05
* sdake ughs01:05
*** kitch has quit IRC01:06
asalkeldhttps://github.com/openstack-infra/shade01:07
stevebakersdake: is this about configuring kolla-packaged heat?01:07
sdakeyar01:08
asalkeldjust a client wrapper01:08
*** erkules_ has joined #heat01:08
stevebakersdake: and where is shade being used? to make requests to the heat post-install?01:09
*** Yanyanhu has joined #heat01:09
sdakepre-install to setup the keystone creds I think01:09
*** Yanyan has joined #heat01:10
*** erkules has quit IRC01:11
*** Yanyanhu has quit IRC01:14
*** cing has quit IRC01:17
*** Kennan has quit IRC01:17
sdakei think I found a tool heat-setup-domain-something that does the job01:18
*** Qiming has joined #heat01:19
*** dims has joined #heat01:20
*** Kennan has joined #heat01:24
sdakeasalkeld stevebaker thanks for hte pointers, i got it fixed up01:28
*** signed8b_ is now known as signed8bit_ZZZzz01:29
asalkeldnice01:30
*** signed8bit_ZZZzz is now known as signed8b_01:33
*** jdandrea has quit IRC01:34
*** cchang has quit IRC01:36
*** Raj2 has joined #heat01:41
*** cchang has joined #heat01:42
*** pal has joined #heat01:47
*** liusheng has joined #heat01:49
*** erkules_ has quit IRC01:52
*** erkules_ has joined #heat01:53
*** Raj2 has quit IRC01:55
*** signed8b_ is now known as signed8bit_ZZZzz01:56
*** rwsu has quit IRC01:57
*** cing has joined #heat01:57
*** jaime49 has quit IRC02:01
*** KanagarajM has joined #heat02:05
KanagarajMgood mornin all02:07
*** daneyon has quit IRC02:09
KanagarajMstevebaker: hi, got review comments on updating the support status for  plugins in https://review.openstack.org/#/c/195697/ , could you please provide your input?02:10
*** achanda has quit IRC02:12
stevebakerKanagarajM: hmm, given that monasca is in stackforge and the client is not in global-requirements I would lean towards UNSUPPORTED02:15
KanagarajMstevebaker: sure. thanks. magnum also in the same category (does not have entry in global-requirements.txt). to make it consistent, should we change magnum resource plugins support status also to UNSUPPORTED?02:20
stevebakerKanagarajM: magnum is in the big tent, that is more of a consideration02:22
stevebakerKanagarajM: they are doing client releases, so likely all that needs to happen is submitting python-magnumclient to global-reqs http://git.openstack.org/cgit/openstack/python-magnumclient/refs/02:22
KanagarajMstevebaker: yes. i will submit a patch to requirements project.02:24
KanagarajMstevebaker: thanks.02:24
*** dims has quit IRC02:27
*** EricGonczer_ has joined #heat02:34
*** sabeen has joined #heat02:36
openstackgerritKanagaraj Manickam proposed openstack/heat: Monasca client plugin  https://review.openstack.org/19569702:42
openstackgerritKanagaraj Manickam proposed openstack/heat: Monasca Notification resource plugin  https://review.openstack.org/20287902:42
openstackgerritKanagaraj Manickam proposed openstack/heat: Monasca Alarm definition resource plugin  https://review.openstack.org/20288002:42
openstackgerritRabi Mishra proposed openstack/heat: Make 'server' property of SoftwareDeployment mandatory  https://review.openstack.org/20036602:42
*** ddaskal has quit IRC02:45
*** EricGonczer_ has quit IRC02:56
*** signed8bit has joined #heat02:58
*** pal has quit IRC02:59
*** ashuk has quit IRC02:59
*** pm90_ has joined #heat03:00
*** ashuk has joined #heat03:01
*** signed8bit_ZZZzz has quit IRC03:02
*** pal has joined #heat03:02
*** signed8bit is now known as signed8bit_ZZZzz03:02
*** KanagarajM has quit IRC03:06
*** cchang has quit IRC03:09
*** david-lyle has joined #heat03:17
*** pal has quit IRC03:17
*** cody-somerville has joined #heat03:19
*** pal has joined #heat03:22
*** signed8bit_ZZZzz is now known as signed8bit03:22
*** sdake has quit IRC03:28
*** sdake has joined #heat03:30
*** pm90_ has quit IRC03:33
*** miguelgrinberg has quit IRC03:35
*** signed8bit has quit IRC03:37
*** ashuk has quit IRC03:38
*** liusheng has quit IRC03:39
*** ishant has joined #heat03:40
*** liusheng has joined #heat03:40
*** pm90_ has joined #heat03:40
*** coolsvap|away is now known as coolsvap03:40
*** sdake has quit IRC03:46
*** KanagarajM has joined #heat03:49
*** Qiming has quit IRC03:49
*** Qiming has joined #heat03:50
*** cchang has joined #heat03:55
*** asalkeld is now known as asalkeld_afk03:56
*** ananta_ has joined #heat03:57
*** gberginc has joined #heat04:04
*** achanda has joined #heat04:07
*** gberginc has quit IRC04:08
ramishramorning all04:08
*** gberginc has joined #heat04:08
*** tspatzier has joined #heat04:19
*** pal has quit IRC04:20
openstackgerritRico Lin proposed openstack/heat: add new constraints to ceilometer  https://review.openstack.org/20417504:22
openstackgerritRico Lin proposed openstack/heat: add time_constraints property in OS::Ceilometer::Alarm  https://review.openstack.org/20149804:22
*** pal has joined #heat04:25
*** KanagarajM_ has joined #heat04:27
*** KanagarajM has quit IRC04:30
*** htruta_ has quit IRC04:30
*** cing has quit IRC04:46
*** rakesh_hs has joined #heat04:59
*** sabeen has quit IRC05:00
*** coolsvap is now known as coolsvap|away05:00
*** coolsvap|away is now known as coolsvap05:06
*** asalkeld_afk is now known as asalkeld05:07
*** yuanying_ has joined #heat05:10
*** yuanying has quit IRC05:10
*** coolsvap is now known as coolsvap|away05:12
openstackgerritMerged openstack/heat: Adds python-mistralclient>=1.0.0 in requirements.txt  https://review.openstack.org/20500505:13
openstackgerritMerged openstack/heat: Fix test_signal_returns_metadata wrong assertions  https://review.openstack.org/20516205:15
*** yuanying_ has quit IRC05:17
*** tiantian has quit IRC05:17
*** huangtianhua has quit IRC05:17
openstackgerritRico Lin proposed openstack/heat: add new constraints to ceilometer  https://review.openstack.org/20417505:20
openstackgerritRico Lin proposed openstack/heat: add time_constraints property in OS::Ceilometer::Alarm  https://review.openstack.org/20149805:20
*** cchang has quit IRC05:24
*** yuanying has joined #heat05:26
*** vijayagurug has joined #heat05:27
*** Murali has joined #heat05:42
openstackgerritKanagaraj Manickam proposed openstack/heat: Import mistral python client directly  https://review.openstack.org/20500605:43
*** otoolee has quit IRC05:43
openstackgerritMerged openstack/heat: Use default_client_name in aws s3 resource  https://review.openstack.org/20501905:51
*** otoolee has joined #heat05:52
*** coolsvap|away is now known as coolsvap05:54
*** KanagarajM_ has quit IRC05:57
*** sergmelikyan has joined #heat06:01
*** pm90_ has quit IRC06:01
*** inc0 has joined #heat06:02
*** vijayagurug has left #heat06:03
*** KanagarajM has joined #heat06:03
*** vijayagurug has joined #heat06:04
*** sergmelikyan has quit IRC06:06
openstackgerritAngus Salkeld proposed openstack/heat: Convergence: Handle InvalidTemplateAttribute in worker  https://review.openstack.org/20389006:17
openstackgerritAngus Salkeld proposed openstack/heat: Catch output error and re-raise them in nested stacks  https://review.openstack.org/20539306:17
openstackgerritAngus Salkeld proposed openstack/heat: Scan for output errors in functional tests  https://review.openstack.org/20539406:17
*** jcoufal has joined #heat06:19
*** pal has quit IRC06:43
*** pal has joined #heat06:44
*** yuanying has quit IRC06:47
*** yuanying has joined #heat06:52
openstackgerritMerged openstack/heat: Use default_client_name for mistral  https://review.openstack.org/20503506:53
*** yuanying has quit IRC07:00
*** pal_ has joined #heat07:02
*** pal has quit IRC07:02
*** KanagarajM has quit IRC07:07
*** KanagarajM has joined #heat07:09
*** pal_ has quit IRC07:20
*** achanda has quit IRC07:29
*** chlong has quit IRC07:33
*** achanda has joined #heat07:34
*** huangtianhua has joined #heat07:37
*** tiantian has joined #heat07:37
*** zeih has joined #heat07:41
*** zeih has quit IRC07:41
*** zeih has joined #heat07:41
*** shardy has joined #heat07:42
*** tiantian has quit IRC07:42
*** huangtianhua has quit IRC07:43
*** achanda has quit IRC07:44
*** Qiming has quit IRC07:46
*** Qiming has joined #heat07:46
*** mkoderer has joined #heat07:50
*** yuanying has joined #heat07:57
*** sergmelikyan has joined #heat08:02
*** jistr has joined #heat08:04
*** sergmelikyan has quit IRC08:07
*** tiantian has joined #heat08:12
*** huangtianhua has joined #heat08:12
*** derekh has joined #heat08:13
*** achanda has joined #heat08:21
*** zeih has quit IRC08:26
*** nijaba has quit IRC09:01
*** shardy_ has joined #heat09:01
*** shardy has quit IRC09:02
*** sergmelikyan has joined #heat09:03
*** shardy_ has quit IRC09:06
*** shardy has joined #heat09:07
*** sergmelikyan has quit IRC09:07
openstackgerritKanagaraj Manickam proposed openstack/heat: Import mistral python client directly  https://review.openstack.org/20500609:09
*** lsmola has quit IRC09:21
*** zeih has joined #heat09:28
*** achanda has quit IRC09:35
*** zeih has quit IRC09:36
*** KanagarajM has quit IRC09:38
*** coolsvap is now known as coolsvap|away09:39
*** e0ne has joined #heat09:42
openstackgerritKairat Kushaev proposed openstack/heat: Resolve dynamic attributes for resources  https://review.openstack.org/20512809:47
*** e0ne_ has joined #heat10:02
*** e0ne has quit IRC10:03
*** inc0_ has joined #heat10:04
*** inc0 has quit IRC10:04
*** Yanyan has quit IRC10:09
*** zeih has joined #heat10:18
openstackgerritSergey Kraynev proposed openstack/heat: Add sighup_timeout to heat_integrationtests.conf.sample  https://review.openstack.org/20548010:21
*** ricolin has quit IRC10:25
*** jcoufal has quit IRC10:27
*** Qiming has quit IRC10:35
*** dims has joined #heat10:36
*** inc0_ has quit IRC10:41
*** tochi has quit IRC10:42
*** asalkeld has quit IRC10:43
*** blinky_ghost has joined #heat10:46
*** logan2 has quit IRC10:47
*** logan2 has joined #heat10:50
openstackgerritSteven Hardy proposed openstack/heat: Reuse existing environment on PATCH update  https://review.openstack.org/15461910:54
*** zeih has quit IRC10:54
*** zeih has joined #heat10:59
*** inc0 has joined #heat11:01
*** openstackgerrit has quit IRC11:01
*** openstackgerrit has joined #heat11:02
*** inc0_ has joined #heat11:03
*** sergmelikyan has joined #heat11:03
blinky_ghostshardy: good morning :) very busy? :) can you give me a quick hint? I'm playing with nested stack in resourceconfig and OS::Heat::SoftwareDeployments, however I'm not passing the output correctly from my Nova Servers to my ResourceGroup on the main stack. I just want to output the name and ip of Nova Servers to my ResourceGroup on the main stack. thanks11:04
*** shardy_ has joined #heat11:05
*** shardy has quit IRC11:06
*** inc0 has quit IRC11:06
*** sergmelikyan has quit IRC11:08
*** shardy_ has quit IRC11:10
*** shardy has joined #heat11:11
*** zeih has quit IRC11:17
blinky_ghostshardy: Hi I don't if you read my message before I've managed to solve the output errors in the nested stack, however when I try to use OS::Heat::SoftwareDeployments i always get  this type of error "heat.engine.resource StackValidationFailed: Property error : 1: server Error validating value u'teste000': The server (teste000) could not be found." Don't know what I'm missing here :(11:26
*** shardy_ has joined #heat11:27
*** shardy has quit IRC11:28
*** zeih has joined #heat11:29
*** yuanying has quit IRC11:34
*** shardy_ has quit IRC11:37
*** shardy has joined #heat11:37
*** andersonvom has quit IRC11:37
*** tiantian has quit IRC11:37
*** huangtianhua has quit IRC11:37
*** inc0_ has quit IRC11:40
*** Qiming has joined #heat11:40
*** andersonvom has joined #heat11:42
*** Marga_ has quit IRC11:42
*** Marga_ has joined #heat11:49
openstackgerritRakesh H S proposed openstack/heat: DNM : convergence scenario tests  https://review.openstack.org/20366112:00
*** Marga_ has quit IRC12:05
*** Marga_ has joined #heat12:06
*** zeih has quit IRC12:06
*** zeih has joined #heat12:08
*** ishant has quit IRC12:16
*** e0ne_ is now known as e0ne12:20
*** gberginc has quit IRC12:24
*** vijayagurug has left #heat12:24
*** zeih has quit IRC12:26
*** jdob has joined #heat12:29
*** ananta_ has quit IRC12:31
*** zeih has joined #heat12:32
*** sergmelikyan has joined #heat12:34
*** zeih has quit IRC12:37
*** pfreund has quit IRC12:37
*** pfreund has joined #heat12:37
*** sergmelikyan has quit IRC12:39
*** Murali has quit IRC12:40
*** sergmelikyan has joined #heat12:41
*** zeih has joined #heat12:43
*** sergmelikyan has quit IRC12:46
*** zeih has quit IRC12:46
*** dkusidlo has joined #heat12:46
*** dims has quit IRC12:52
*** ochuprykov has joined #heat12:53
*** dims has joined #heat12:53
*** jdandrea has joined #heat12:59
*** cing has joined #heat12:59
*** inc0 has joined #heat13:01
*** yassine__ has joined #heat13:06
*** inc0 has quit IRC13:08
*** jonesbr has joined #heat13:08
*** neelashah has joined #heat13:26
*** sdake has joined #heat13:28
*** sdake_ has joined #heat13:29
*** jistr is now known as jistr|mtg13:29
*** pm90_ has joined #heat13:29
openstackgerritSergey Kraynev proposed openstack/heat: Move internal test resources to generic_resource  https://review.openstack.org/18975413:30
*** tristanC has quit IRC13:31
*** tristanC has joined #heat13:32
*** sdake has quit IRC13:32
*** jasond has joined #heat13:33
openstackgerritPratik Mallya proposed openstack/heat: Removes replace-on-update for SwiftSignalHandle resource  https://review.openstack.org/20532713:35
*** pm90__ has joined #heat13:36
*** pm90_ has quit IRC13:39
jdandreamornin' (here)13:40
*** radez_g0n3 is now known as radez13:43
rakesh_hsHi Zane, regarding bp update-failure-recovery implemented in juno timeframe13:43
rakesh_hsI have hit the bug https://bugs.launchpad.net/heat/+bug/147781213:44
openstackLaunchpad bug 1477812 in heat "heat stack-list does not work after stack-update" [Undecided,New] - Assigned to Rakesh H S (rh-s)13:44
uvirtbotLaunchpad bug 1477812 in heat "heat stack-list does not work after stack-update" [Undecided,New]13:44
uvirtbotLaunchpad bug 1477812 in heat "heat stack-list does not work after stack-update" [Undecided,New] https://launchpad.net/bugs/147781213:44
*** pal has joined #heat13:44
ryansbjdandrea: as always, morning is relative13:45
jdandrearyansb: It really is.13:45
rakesh_hszaneb: I see that we are modifying the template by adding or deleting resources.. but we are not updating the parameters https://review.openstack.org/#/c/100047/213:46
* jdandrea is finally getting around to the devstack heat-with-trusts-and-standalone ish. Rah.13:46
*** inc0 has joined #heat13:46
*** sdake_ is now known as sdake13:47
rakesh_hszaneb: do you think we should modify the template and update the parameters also?13:47
zanebrakesh_hs: that's true, but we cache the values of those resources properties in the DB, so we don't have to resolve any parameter references again13:47
zanebrakesh_hs: we should replace it at the end when the update is complete13:48
*** gberginc has joined #heat13:48
zanebwhich afaik we still do13:48
kairatrakesh_hs, have you tried to detect the place where the error was raised13:48
kairatrakesh_hs, it seems that your problem can be potentially with backup stack13:49
*** cing has quit IRC13:49
kairatrakesh_hs, we are copying template and resources to backup stack but there is no way to copy parameters yet13:50
rakesh_hskairat: yeah13:50
zanebrakesh_hs: I'm curious about where in stack-show we would be trying to resolve parameters13:51
zanebthat could cause it to fail13:51
rakesh_hszaneb: In stack table parameters are stored properly. but the template which is updated during stack update does not have the latest parameters13:51
zaneber, stack-list I mean13:51
zaneboh, the stored template doesn't match the stored params?13:52
shardyzaneb: hey, FYI I finished the environment part of the patch update we discussed the other day: https://review.openstack.org/#/c/154619/13:52
zanebthat's bad :/13:52
shardyAs always, the tests were by far the hardest part, the code ended up much simpler after some rework in the light of previous review comments13:53
zanebshardy: thanks, I'll take a look13:53
rakesh_hsyeah zaneb while adding the resource to template, the params on which the new resource depend is not added to this template13:53
zanebrakesh_hs: ok, yeah, that's something we probably need to fix13:54
* zaneb idly wonders whether we can justify backporting shardy's patch to kilo13:54
rakesh_hszaneb: do you think it is ok to store this modified template?13:59
rakesh_hsI mean.. user would given some template for update.. and after the operation is finished and when he hits template-show.. he would see this modified template13:59
openstackgerritKairat Kushaev proposed openstack/heat: Resolve dynamic attribute schemas for resources  https://review.openstack.org/20554114:02
*** tchaypo has quit IRC14:03
*** tspatzier has quit IRC14:03
*** tspatzier has joined #heat14:04
*** tchaypo has joined #heat14:04
*** Slower has quit IRC14:04
*** tspatzier has quit IRC14:04
*** inc0 has quit IRC14:05
*** jaime49 has joined #heat14:05
zanebrakesh_hs: I think it's probably ok to modify the parameters, for the same reason I said above it was ok not to14:07
zanebrakesh_hs: but it's not ok to update the whole template at once14:07
rakesh_hszaneb: ok14:07
blinky_ghosthi, can anybody help me with this error: "TRACE heat.engine.resource StackValidationFailed: Property error : 0: server Error validating value u'teste878': The server (teste878) could not be found." I'm using OS::Heat::SoftwareDeployments in a nested stack that receives a group of servers using OS::Heat::ResourceGroup. thanks14:08
rakesh_hszaneb: thanks for clarification14:08
*** ramishra has quit IRC14:10
*** ramishra has joined #heat14:10
*** jistr|mtg is now known as jistr14:12
*** gberginc has quit IRC14:13
*** dkusidlo has quit IRC14:13
*** dkusidlo has joined #heat14:17
*** jecarey has joined #heat14:19
blinky_ghosthi, is it possible to output the OS::Nova::Server uuid, instead of name?14:27
*** sabeen has joined #heat14:27
shardyzaneb: I actually think a case can be argued for a kilo backport, given that the existing PATCH implementation is really incomplete, e.g buggy, and existing behaviour should be maintained (we still accept everything again if you choose to still pass it, which folks must be doing now or the patch update would fail)14:29
shardyblinky_ghost: yes get_resource: the_resource will return the UUID14:30
*** sabeen2 has joined #heat14:32
blinky_ghostthanks shardy14:35
*** sabeen has quit IRC14:36
jdandreaWhich heat.conf setting is used to *disable* Keystone Trusts (which aren't supported in standalone mode)? I thought I had found it but it seems to have eluded me. :/14:40
shardyjdandrea: deferred_auth_method14:40
shardychoose "password" if you don't want trusts14:41
jdandreashardy: thank you!14:41
*** pal has quit IRC14:44
*** vijayagurug has joined #heat14:48
*** vijayagurug has left #heat14:49
*** Raj2 has joined #heat14:49
*** lapalm has joined #heat14:51
*** dkusidlo has quit IRC14:55
*** rakesh_hs has quit IRC14:55
*** dkusidlo has joined #heat14:58
*** Qiming has quit IRC14:59
*** liusheng has quit IRC15:00
blinky_ghostshardy: I've managed to get OS::Heat::SoftwareDeployments working thanks :) In my test I'm writing the ip of both servers to a file, it works fine. However I'm getting this format: "{u'1': u'192.168.174.99', u'0': u'192.168.174.98'}". Is there a way to define the format I want?15:03
*** Raj2 has quit IRC15:04
*** Raj2 has joined #heat15:04
shardyblinky_ghost: good news! not currently unfortunately, the attributes interface to ResourceGroup always returns a map of resource names ("0" and "1" in this case) to their specified attribute15:07
*** derekh has quit IRC15:10
blinky_ghostshardy: how about if I use autoscaling instead of ResourceGroup? I'm trying to create a mysql cluster stack where the multiple servers need to know each other ips before start the services. Is there a way to solve this with heat or I need to use an external tool?15:12
shardyblinky_ghost: well, you've already solved it?  You just need a tiny bit of jq or awk in the VM?15:13
blinky_ghostshardy: Hum yes I can use something like that good point :) sorry it's friday lol15:14
shardyblinky_ghost: If you know the number of nodes, e.g it's fixed, you can reference each node explicitly:15:14
shardyhttps://github.com/openstack/tripleo-heat-templates/blob/master/overcloud-without-mergepy.yaml#L112215:14
shardythen you can generate whatever format you want15:14
openstackgerritMerged openstack/heat: Add HIDDEN status to Server uuid  https://review.openstack.org/19184215:16
shardyblinky_ghost: actually, there's one more option:15:16
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/resource_group/resource_group.yaml#L2715:16
shardyThat approach can give you a list of IP's instead of the map above15:17
blinky_ghostshardy: cool thanks I'm going to test it15:17
shardyblinky_ghost: it's definitely possible with heat, because TripleO does exactly what you're trying to do already :)15:18
*** dkusidlo has quit IRC15:18
*** daneyon has joined #heat15:19
blinky_ghostshardy: thanks I'll check it out :)15:21
*** Drago has joined #heat15:22
*** Drago has quit IRC15:23
*** Drago has joined #heat15:23
*** ddaskal has joined #heat15:28
*** kebray has joined #heat15:38
*** david-lyle has quit IRC15:44
*** sergmelikyan has joined #heat15:47
*** EricGonczer_ has joined #heat15:50
*** randallburt has joined #heat15:53
*** randallburt has quit IRC15:53
*** randallburt has joined #heat15:54
*** bitblt has joined #heat15:56
*** andersonvom has quit IRC16:01
*** rwsu has joined #heat16:03
*** sdake has quit IRC16:06
*** pm90__ has quit IRC16:08
*** pm90_ has joined #heat16:08
ramishrazaneb: hi16:08
*** pm90__ has joined #heat16:10
*** dsneddon_biab is now known as dsneddon16:10
*** pm90_ has quit IRC16:13
*** jecarey has quit IRC16:19
*** EricGonczer_ has quit IRC16:20
*** david-lyle has joined #heat16:20
blinky_ghostshardy: If I understood correctly that https://github.com/openstack/heat-templates/blob/master/hot/resource_group/resource_group.yaml#L27 example is when I know the number of nodes(fixed) I'll have, right?16:23
*** lapalm has quit IRC16:27
*** lapalm has joined #heat16:28
*** lapalm_ has joined #heat16:29
*** lapalm_ has quit IRC16:30
*** jtomasek has quit IRC16:30
*** lapalm_ has joined #heat16:30
zanebramishra: hey, I was just commenting on your patches16:31
ramishrazaneb, great, I got you in the right mood to discuss:)16:31
ramishrazaneb: I'm not sure why you've the saying that the previous code used to scale back as  part of the rolling update. I don't see that in the old code16:32
*** lapalm has quit IRC16:32
ramishrazaneb: https://github.com/openstack/heat/blob/master/heat/scaling/template.py#L3016:32
zanebramishra: because it's true!16:33
zanebnum_resources gets passed from _create_template: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/heat/instance_group.py#n26416:34
zaneband num_instances gets passed to _create_template with the value of efft_capacity: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/heat/instance_group.py#n32116:34
*** lapalm_ has quit IRC16:35
ramishrazaneb:yes and where we go back16:35
zaneband efft_capacity gets reduced to capacity on the last go through the loop: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/heat/instance_group.py#n32016:35
ramishranot really, it's same as the current code, as I elaborated in my last comment16:36
zanebit's really not because you never pass efft_capacity to anything16:36
*** daneyon has quit IRC16:38
zanebexplain to me what if "capacity - remainder >= efft_min_sz: efft_capacity = capacity" does (assuming that the "efft_capacity > capacity" conditional were not there)16:38
zaneba clue: nothing in your implementation16:38
*** daneyon has joined #heat16:38
*** radez is now known as radez_g0n316:38
ramishrayeah ok16:38
zanebit was there for a reason, and the reason is to make sure we scale back down to the right size at the end16:39
zanebbut it's not needed in your implementation16:39
ramishraIMO, that was not a very good implementation, we add(for efft_capacity) and then remove resources to add back again if the desired capacity is more.16:40
ramishraIn the current implementation we don't do that.16:41
ramishrawe leave it for resize to see, what to do with it16:42
openstackgerritOleksii Chuprykov proposed openstack/heat: Fix formula for calc update_timeout in instance group  https://review.openstack.org/20562116:52
zanebramishra: remember that in the previous implementation, the size couldn't change as the result of a rolling update16:55
zanebi.e. previous size and desired size were always the same16:55
*** aweiteka has joined #heat16:56
zanebramishra: so you need to either change the algorithm to add resizes, or tack it on at the end. you've chosen the latter, though the former is clearly more optimal for the user16:57
ramishrayes, but that would mean we used to update resources to delete them later if the desired_capacity is less16:57
ramishrawhich was not optimal in anyway16:58
*** Raj2 has quit IRC16:58
*** jaime49 has quit IRC16:59
ramishrathis is wrt to the old implementation16:59
ochuprykovzaneb: could you please look at my fix of calculation update_timeou, related to the topic beign discussed?17:01
ochuprykovhttps://review.openstack.org/20562117:01
zanebochuprykov: looks good. can you maybe add to the commit message a comment about what it was intended to calculate, how it got the calculation wrong, and why it wasn't a good idea in the first place17:04
*** dims is now known as dimsum__17:04
ochuprykovzaneb: i still don't understand what actually calculate old formula17:04
*** bnemec has joined #heat17:04
zanebochuprykov: well, it calculates garbage17:05
zanebthey wrote:17:05
zaneb(self.stack.timeout_secs() - (pause_sec * (batch_cnt - 1)) / batch_cnt)17:06
zanebalmost certainly meant:17:06
zaneb(self.stack.timeout_secs() - pause_sec * (batch_cnt - 1)) / batch_cnt17:06
*** jaime49 has joined #heat17:07
zanebprobably left out a parenthesis, pep8 complained so added a random one in somewhere17:07
zanebramishra: right, yeah the only optimal way is to take into account any resizing as part of the rolling update algorithm, which previously we did not do (and we still don't)17:09
*** ddaskal has quit IRC17:10
ramishrazaneb: unlike earlier we don't update the resources when the desired_capacity is less than current_capacity17:11
openstackgerritOleksii Chuprykov proposed openstack/heat: Fix formula for calc update_timeout in instance group  https://review.openstack.org/20562117:18
*** jaime49 has quit IRC17:18
zanebramishra: well, earlier desired_capacity == current_capacity by definition because resizes happen from autoscaling alarms and rolling updates happen from stack updates, so they never happened at the same time17:19
ochuprykovzaneb: i have updated commit message, probably now it looks clearer17:19
zanebochuprykov: +2, thanks!17:20
ochuprykovzaneb: thanks for your clarifications17:21
zanebnp17:21
*** sjmc7_ has joined #heat17:24
*** andersonvom has joined #heat17:27
*** achanda has joined #heat17:27
openstackgerritOleksii Chuprykov proposed openstack/heat: Add show_resource function to Manila resources (5)  https://review.openstack.org/20123017:29
*** lapalm has joined #heat17:31
*** andersonvom has quit IRC17:34
*** lapalm has quit IRC17:35
ramishrazaneb: we've code for resize as part of the update too:) https://github.com/openstack/heat/blob/master/heat/engine/resources/aws/autoscaling/autoscaling_group.py#L297-L302. anyway.17:36
*** daneyon has quit IRC17:38
*** daneyon_ has joined #heat17:38
*** sergmelikyan has quit IRC17:38
*** sergmelikyan has joined #heat17:38
zanebramishra: fair point :)17:39
*** ochuprykov has quit IRC17:45
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/20563417:46
*** e0ne has quit IRC17:54
*** pal has joined #heat17:55
*** e0ne has joined #heat17:57
*** e0ne has quit IRC17:58
*** kebray has quit IRC18:02
*** lapalm has joined #heat18:05
*** Raj2 has joined #heat18:08
*** lapalm has quit IRC18:09
*** Raj2 has quit IRC18:09
*** Raj2 has joined #heat18:09
*** lapalm has joined #heat18:09
*** pal has quit IRC18:13
*** blinky_ghost has quit IRC18:13
*** lapalm has quit IRC18:14
*** jistr has quit IRC18:14
*** lapalm has joined #heat18:15
*** ddaskal has joined #heat18:30
*** kebray has joined #heat18:31
*** spzala has joined #heat18:34
*** jistr has joined #heat18:35
*** jistr is now known as jistr|afk18:35
*** andersonvom has joined #heat18:36
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/20563418:37
*** Marga_ has quit IRC18:38
*** radez_g0n3 is now known as radez18:38
*** Slower_ has joined #heat18:43
*** EricGonczer_ has joined #heat18:45
*** lapalm has quit IRC18:46
*** lapalm has joined #heat18:46
*** SlickNik has left #heat18:47
*** wmlynch has quit IRC18:48
*** Slower_ has quit IRC18:48
*** lapalm has quit IRC18:50
*** lapalm has joined #heat18:56
*** achanda has quit IRC18:59
*** sjmc7_ has quit IRC19:12
*** daneyon_ has quit IRC19:13
*** daneyon has joined #heat19:14
*** Drago has quit IRC19:16
*** EmilienM is now known as EmilienM|brb19:18
*** bitblt has quit IRC19:22
*** sergmelikyan has quit IRC19:30
*** jaime49 has joined #heat19:43
*** jaime49 has quit IRC19:43
*** jaime49 has joined #heat19:43
*** sergmelikyan has joined #heat19:45
openstackgerritMerged openstack/heat: Fix RS CLB resource to handle HTTPS_REDIRECT correctly  https://review.openstack.org/20415119:46
*** achanda has joined #heat19:48
*** funzo has quit IRC19:49
*** funzo has joined #heat19:49
*** achanda_ has joined #heat19:52
*** achanda has quit IRC19:53
*** achanda_ has quit IRC19:59
*** EmilienM|brb is now known as EmilienM19:59
*** achanda has joined #heat19:59
*** shardy_ has joined #heat20:09
*** shardy has quit IRC20:10
*** achanda has quit IRC20:10
*** shardy_ has quit IRC20:14
*** shardy has joined #heat20:15
*** achanda has joined #heat20:15
*** Marga_ has joined #heat20:24
*** sorantis has joined #heat20:32
*** achanda has quit IRC20:35
*** andersonvom has quit IRC20:45
*** achanda has joined #heat20:52
*** aweiteka has quit IRC20:54
*** pm90__ has quit IRC20:55
*** neelashah has quit IRC20:58
*** jonesbr has left #heat21:06
*** e0ne has joined #heat21:21
*** jasond has quit IRC21:27
*** randallburt1 has joined #heat21:31
*** randallburt has quit IRC21:31
*** yassine__ has quit IRC21:33
*** Raj2 has quit IRC21:38
*** andersonvom has joined #heat21:42
*** Raj2 has joined #heat21:44
*** andersonvom has quit IRC21:46
*** sorantis has quit IRC21:49
*** Raj2 has quit IRC21:50
*** Marga_ has quit IRC21:55
openstackgerritJames Combs proposed openstack/heat: Adding functional integration test for encrypted parameters.  https://review.openstack.org/19684621:58
*** lapalm has quit IRC21:59
*** e0ne has quit IRC22:00
*** achanda_ has joined #heat22:07
*** Raj2 has joined #heat22:10
*** achanda has quit IRC22:11
*** spzala has quit IRC22:15
*** ddaskal has quit IRC22:22
*** kebray has quit IRC22:23
*** achanda_ has quit IRC22:28
*** Raj2 has quit IRC22:44
*** Raj2 has joined #heat22:44
*** dimsum__ has quit IRC23:02
*** dimsum__ has joined #heat23:05
*** randallburt1 has quit IRC23:05
*** sabeen2 has quit IRC23:09
*** Raj2 has quit IRC23:15
*** achanda has joined #heat23:22
*** Marga_ has joined #heat23:26
*** achanda has quit IRC23:28
*** jistr|afk has quit IRC23:29
*** Marga_ has quit IRC23:30
*** achanda has joined #heat23:31
*** andersonvom has joined #heat23:31
*** daneyon has quit IRC23:33
*** daneyon has joined #heat23:33
*** andersonvom has quit IRC23:35
*** dsneddon is now known as dsneddon_away23:39
*** achanda has quit IRC23:43
*** EricGonczer_ has quit IRC23:43
*** achanda has joined #heat23:45
*** achanda has quit IRC23:47
*** daneyon has quit IRC23:49
*** daneyon has joined #heat23:49
*** tchaypo_ has joined #heat23:51
*** pfreund_ has joined #heat23:51
*** htruta_ has joined #heat23:53
*** pfreund has quit IRC23:54
*** tchaypo has quit IRC23:54
*** pleia2 has quit IRC23:54
*** pleia2 has joined #heat23:54
*** pfreund_ is now known as pfreund23:54
*** tchaypo_ is now known as tchaypo23:55
*** EricGonczer_ has joined #heat23:59

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