Tuesday, 2014-02-11

*** rongze has quit IRC00:02
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add Docker resources to docs  https://review.openstack.org/6875300:04
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Refactor resource loading functions  https://review.openstack.org/7198900:04
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Fix resource mapping for Docker  https://review.openstack.org/6874900:04
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Fix resource mapping for Rackspace  https://review.openstack.org/6937400:04
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Change Docker resource mapping name  https://review.openstack.org/6875000:04
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Generate docs for contrib plugins  https://review.openstack.org/6875100:04
spzalajasond: Congratulations!! Very well deserved!!00:09
*** jrist has joined #heat00:09
asalkeldyeah, go jasond!00:09
stevebakerhmm, I should go add jasond to core00:11
andersonvomo/ o/00:11
spzalastevebaker: lol00:11
*** randallburt has quit IRC00:12
*** Tross has quit IRC00:13
stevebakerdone. jasond get amongst it!00:13
spzalaYay!00:14
sdakegrowing family :)00:16
*** ramishra has quit IRC00:17
*** ramishra has joined #heat00:19
openstackgerritShane Wang proposed a change to openstack/heat: Fix misspellings in heat  https://review.openstack.org/7177300:26
*** dims has quit IRC00:26
*** ramishra has quit IRC00:29
*** nati_ueno has joined #heat00:32
*** alexheneveld has quit IRC00:34
*** cadenzajon has quit IRC00:36
*** david-lyle has quit IRC00:37
*** dims has joined #heat00:41
*** rcleere has quit IRC00:51
stevebakerspzala: how are you going with the conversion tool?00:51
spzalastevebaker: Hi! We have started development more like on modelling phase. The tosca yaml spec is not yet finalized though but hopping it to be done soon.00:53
spzalastevebaker: thanks for asking :)00:55
*** nati_ueno has quit IRC00:56
*** randallburt has joined #heat00:56
stevebakercool00:56
openstackgerritA change was merged to openstack-dev/heat-cfnclient: Fix misspellings in heat-cfnclient  https://review.openstack.org/7175500:57
*** rongze has joined #heat00:57
*** randallburt has quit IRC01:00
*** gokrokve has quit IRC01:00
*** rpothier has joined #heat01:00
*** gokrokve has joined #heat01:00
*** rongze has quit IRC01:02
*** pablosan has quit IRC01:05
*** gokrokve has quit IRC01:05
*** ramishra has joined #heat01:08
*** pvaneck has quit IRC01:11
*** ramishra has quit IRC01:13
*** e0ne has quit IRC01:16
*** gokrokve has joined #heat01:17
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add Docker resources to docs  https://review.openstack.org/6875301:17
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Change Docker resource mapping name  https://review.openstack.org/6875001:17
*** WinnieTsang has quit IRC01:17
*** Linz has joined #heat01:18
*** IlyaE has quit IRC01:20
*** WinnieTsang has joined #heat01:21
*** gokrokve has quit IRC01:25
*** sileht has quit IRC01:29
*** IlyaE has joined #heat01:33
openstackgerrithuangtianhua proposed a change to openstack/heat: Verify that parsed environment file maps to a dict  https://review.openstack.org/6953601:38
*** sileht has joined #heat01:38
*** nkhare has quit IRC01:39
openstackgerrithuangtianhua proposed a change to openstack/heat: I18N support for error message  https://review.openstack.org/6963001:45
*** arbylee has quit IRC01:47
*** tims has joined #heat01:48
*** rongze has joined #heat01:50
*** andersonvom has quit IRC01:52
*** tims1 has joined #heat01:53
*** tims has quit IRC01:56
*** topol has joined #heat02:00
*** ramishra has joined #heat02:09
*** mattgriffin has quit IRC02:10
*** mattgriffin has joined #heat02:13
*** ramishra has quit IRC02:14
*** gokrokve has joined #heat02:14
*** liang has joined #heat02:16
*** WinnieTsang has quit IRC02:20
*** arbylee has joined #heat02:22
*** arbylee has quit IRC02:24
*** e0ne has joined #heat02:27
*** erkules_ has joined #heat02:27
*** erkules has quit IRC02:29
*** spzala has quit IRC02:30
*** Linz has quit IRC02:31
*** e0ne has quit IRC02:31
*** arbylee has joined #heat02:38
*** IlyaE has quit IRC02:40
*** ramishra has joined #heat02:45
*** chandan_kumar has joined #heat02:48
*** chandan_kumar has quit IRC02:54
*** chandan_kumar has joined #heat02:56
*** mikal has quit IRC03:02
*** mikal has joined #heat03:03
*** wirehead_ has quit IRC03:03
*** chandan_kumar has quit IRC03:04
*** wirehead_ has joined #heat03:04
openstackgerrithuangtianhua proposed a change to openstack/heat: Adding "device_owner" property for Port resource  https://review.openstack.org/6965403:05
*** ramishra has joined #heat03:07
openstackgerrithuangtianhua proposed a change to openstack/python-heatclient: Fixes environment file using correct YAML format  https://review.openstack.org/6980203:07
*** bada_ has quit IRC03:13
*** ramishra_ has joined #heat03:14
*** bada has joined #heat03:15
*** ramishra has quit IRC03:18
*** rcleere has joined #heat03:21
*** dims has quit IRC03:23
*** dims has joined #heat03:24
zaneblifeless: what's the secret to debugging when testr fails trying to get the list of tests?03:28
zanebnormally I just run pep8 to find the errors, but in this case it's passing03:28
lifelesszaneb: so you should get a list of failed imports03:28
lifelesszaneb: obfuscated but there - or try trunk testr that shows the errors much more nicely03:28
*** chandan_kumar has joined #heat03:29
lifelesszaneb: then just python -c 'import foo.bar.baz'03:29
zanebthe version I have gives about 3 screenfulls of "Non-zero exit code (2) from test listing. stdout='\xb3)\x01@N@Cheat.tests.db.test_migration...03:29
lifelessyes, so at the end03:29
lifelesslook for failed imports03:29
lifelessthen there is a list03:29
*** Linz has joined #heat03:30
lifeless(or pip install trunk testr :))03:30
lifelessgotta run, sorrry03:30
zanebah, thanks :)03:31
*** Linz has quit IRC03:34
*** dims has quit IRC03:35
*** dims has joined #heat03:36
*** Linz has joined #heat03:38
openstackgerrithuangtianhua proposed a change to openstack/python-heatclient: "version" section should be required in template  https://review.openstack.org/6980803:42
*** dims has quit IRC03:45
*** Michalik has quit IRC03:46
*** dims has joined #heat03:46
*** nkhare has joined #heat03:49
*** Linz has quit IRC03:54
*** Linz has joined #heat03:54
*** dims has quit IRC03:55
*** dims has joined #heat03:56
*** Linz has quit IRC03:59
*** Michalik has joined #heat03:59
*** gokrokve has quit IRC04:05
*** gokrokve has joined #heat04:05
*** gokrokve has quit IRC04:10
*** ramishra_ has quit IRC04:12
*** harlowja is now known as harlowja_away04:22
openstackgerritA change was merged to openstack/python-heatclient: Add more default CA paths  https://review.openstack.org/6883604:24
openstackgerritA change was merged to openstack/heat: Do not log error on software config/deployment NotFound  https://review.openstack.org/7165304:24
openstackgerritA change was merged to openstack/heat: Add Rackspace resources summary to docs  https://review.openstack.org/6879304:25
*** gokrokve has joined #heat04:25
*** WinnieTsang has joined #heat04:28
openstackgerritA change was merged to openstack/heat: Add unit tests for heat.scaling.template  https://review.openstack.org/7139904:29
*** harlowja_away is now known as harlowja04:30
*** IlyaE has joined #heat04:32
*** dims has quit IRC04:41
*** dims has joined #heat04:44
*** arbylee has quit IRC04:57
*** andersonvom has joined #heat05:01
openstackgerritA change was merged to openstack/heat: Rename Marconi plugin package  https://review.openstack.org/7114105:07
*** IlyaE has quit IRC05:09
*** arbylee has joined #heat05:11
openstackgerritA change was merged to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7051705:11
*** cmyster has joined #heat05:11
*** killer_prince has quit IRC05:14
*** killer_prince has joined #heat05:14
*** chandan_kumar has quit IRC05:15
*** chandan_kumar has joined #heat05:17
*** IlyaE has joined #heat05:18
cmystermorning05:22
*** IlyaE has quit IRC05:23
*** IlyaE has joined #heat05:27
*** rongze has quit IRC05:29
*** rongze has joined #heat05:30
*** IlyaE has quit IRC05:31
*** rongze has quit IRC05:34
*** dims has quit IRC05:35
*** dims has joined #heat05:37
*** dims has quit IRC05:43
*** dims has joined #heat05:44
*** gokrokve has quit IRC05:54
*** gokrokve has joined #heat05:57
*** alexheneveld has joined #heat06:00
*** arbylee has quit IRC06:04
*** IlyaE has joined #heat06:05
*** rwsu has quit IRC06:07
*** rwsu has joined #heat06:07
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7256606:07
*** rongze has joined #heat06:15
*** killer_prince has quit IRC06:24
*** rwsu has quit IRC06:25
*** aignatov_ is now known as aignatov06:28
*** cadenzajon has joined #heat06:33
openstackgerrithuangtianhua proposed a change to openstack/python-heatclient: "version" section should be required in template  https://review.openstack.org/6980806:33
*** harlowja is now known as harlowja_away06:33
*** IlyaE has quit IRC06:35
*** cadenzajon has quit IRC06:37
*** rwsu has joined #heat06:38
*** saju_m has joined #heat06:38
openstackgerritA change was merged to openstack/heat: Rename docker_plugin to docker  https://review.openstack.org/7192706:40
*** coolsvap has joined #heat06:40
*** saju_m has quit IRC06:43
*** saju_m has joined #heat06:50
*** saju_m has quit IRC06:51
*** alexheneveld has quit IRC06:51
*** alexheneveld has joined #heat06:55
*** mkollaro has joined #heat07:03
*** arbylee has joined #heat07:04
*** aignatov is now known as aignatov_07:09
*** arbylee has quit IRC07:12
*** flwang has joined #heat07:14
*** flwang has left #heat07:14
*** dims has quit IRC07:24
*** dims has joined #heat07:25
*** topol has quit IRC07:28
*** dims has quit IRC07:32
*** dims has joined #heat07:33
*** alexheneveld has quit IRC07:33
*** e0ne has joined #heat07:34
*** e0ne has quit IRC07:35
*** saju_m has joined #heat07:37
*** alexheneveld has joined #heat07:37
*** alexheneveld has quit IRC07:40
shadowerstevebaker: I'm here now07:40
shadoweryay timezones07:40
cmysterthere is only one timezone. mine07:42
cmyster;)07:42
*** dims has quit IRC07:42
*** dims has joined #heat07:43
shadowerheh, everybody says that :-)07:43
*** tspatzier has joined #heat07:43
cmysteryes but thay are all wrong :)07:44
*** zigo has joined #heat07:47
*** jprovazn has joined #heat07:50
*** saju_m has quit IRC07:52
*** jamieh has joined #heat07:57
skraynevmorning ;)08:04
*** killer_prince has joined #heat08:06
pshchelomorning all :)08:07
*** pshchelo has quit IRC08:08
cmystermorning08:08
*** pshchelo has joined #heat08:12
*** e0ne has joined #heat08:27
*** Guest80401 is now known as _jmp_08:30
*** killer_prince has quit IRC08:34
*** killer_prince has joined #heat08:35
therveGood morning08:36
*** pshchelo has quit IRC08:38
*** pshchelo has joined #heat08:40
*** ifarkas has joined #heat08:41
*** aignatov_ is now known as aignatov08:41
*** aignatov is now known as aignatov_08:42
*** giulivo has joined #heat08:43
*** aignatov_ is now known as aignatov08:45
openstackgerritJun Jie Nan proposed a change to openstack/heat: REST API for software deployment  https://review.openstack.org/7259108:47
openstackgerritJun Jie Nan proposed a change to openstack/heat: REST API for software config  https://review.openstack.org/6651408:47
*** shardy_afk is now known as shardy08:48
shardymorning08:48
*** e0ne_ has joined #heat08:49
openstackgerritJun Jie Nan proposed a change to openstack/heat: REST API for software deployment  https://review.openstack.org/7259108:50
*** saju_m has joined #heat08:51
cmystermorning08:53
*** e0ne has quit IRC08:53
*** gokrokve has quit IRC08:57
*** jistr has joined #heat08:58
*** sergmelikyan has joined #heat09:00
*** tomek_adamczewsk has joined #heat09:06
openstackgerritJun Jie Nan proposed a change to openstack/heat: Remove TODO comments in create_resource  https://review.openstack.org/7259809:06
*** arbylee has joined #heat09:10
*** arbylee has quit IRC09:14
*** ramishra has joined #heat09:19
openstackgerritChmouel Boudjnah proposed a change to openstack/python-heatclient: decode all headers before logging curl commands  https://review.openstack.org/6716009:21
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (1/9)  https://review.openstack.org/7151109:22
*** mkollaro has quit IRC09:30
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (4/9)  https://review.openstack.org/7151409:32
*** gokrokve has joined #heat09:33
*** gokrokve_ has joined #heat09:35
*** coolsvap has quit IRC09:36
*** gokrokve has quit IRC09:38
*** gokrokve_ has quit IRC09:39
openstackgerritA change was merged to openstack/heat: Add parser.Stack support for stack_domain_projects  https://review.openstack.org/7120509:40
*** mkollaro has joined #heat09:41
shardytherve: I responded to https://review.openstack.org/#/c/71208/09:42
therveThanks looking09:43
shardytherve: happy to refactor if you want, but I'm not sure what I can do other than wrapping the dict declaration?09:43
shardyI agree the duplication is not ideal, but hopefully it's only temporary09:43
openstackgerritA change was merged to openstack/heat: heat_keystoneclient raise error if stack user role missing  https://review.openstack.org/7192809:44
therveshardy, So we should be able to remove the other method later on?09:44
shardytherve: Yeah, you'll notice all the stuff calling the old functions are now marked with FIXME (shardy) for future removal09:45
therveOK09:45
therveWell I guess that's fine then, it will make the future code cleaner indeed09:45
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (6/9)  https://review.openstack.org/7151609:45
shardytherve: I may actually be able to remove create_ec2_keypair as soon as migration of AccessKey is completed09:46
shardyit's mostly the get/delete functions which will be needed for a while, to allow backwards compatibility for existing resources in the DB after upgrade09:47
openstackgerritThomas Herve proposed a change to openstack/heat: Add a nova keypair constraint  https://review.openstack.org/7031909:55
openstackgerritThomas Herve proposed a change to openstack/heat: Implement custom constraints  https://review.openstack.org/7031809:55
openstackgerritThomas Herve proposed a change to openstack/heat: Enable usage of custom constraint in parameters  https://review.openstack.org/7129509:55
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (8/9)  https://review.openstack.org/7151810:04
openstackgerritA change was merged to openstack/heat: heat_keystoneclient add create_stack_domain_user function  https://review.openstack.org/7120610:10
openstackgerritA change was merged to openstack/heat: heat_keystoneclient add delete_stack_domain_user function  https://review.openstack.org/7120710:11
*** bvandenh has joined #heat10:19
*** dmakogon_ is now known as denis_makogon10:21
*** saju_m has quit IRC10:25
*** saju_m has joined #heat10:26
*** jrist has quit IRC10:30
*** gokrokve has joined #heat10:34
*** aignatov is now known as aignatov_10:34
openstackgerritA change was merged to openstack/heat: heat_keystoneclient add create_stack_domain_user_keypair  https://review.openstack.org/7120810:36
*** gokrokve has quit IRC10:39
*** jrist has joined #heat10:42
*** aignatov_ is now known as aignatov10:50
*** e0ne_ has quit IRC11:19
*** alexpilotti has joined #heat11:26
openstackgerritA change was merged to openstack/heat: Adding option in config to specify region name  https://review.openstack.org/7154011:27
openstackgerritA change was merged to openstack/heat: Allow an in-progress stack to be deleted  https://review.openstack.org/6300211:28
*** liang has quit IRC11:33
*** gokrokve has joined #heat11:34
*** gokrokve has quit IRC11:39
*** bvandenh has quit IRC11:39
*** amritanshu_RnD has joined #heat11:48
*** amritanshu_RnD is now known as Guest5612211:48
*** aignatov has quit IRC11:50
*** e0ne has joined #heat11:50
*** SergeyLukjanov has quit IRC11:51
*** bvandenh has joined #heat11:52
*** aignatov has joined #heat11:54
*** SergeyLukjanov has joined #heat11:55
*** e0ne_ has joined #heat11:59
*** e0ne has quit IRC12:03
*** akuznetsov has joined #heat12:30
openstackgerritAngus Salkeld proposed a change to openstack/heat: Add a requirements file for contrib/rackspace/  https://review.openstack.org/7173012:32
*** gokrokve has joined #heat12:34
*** rpothier has quit IRC12:38
*** gokrokve has quit IRC12:39
*** mkollaro has quit IRC13:03
*** mkollaro has joined #heat13:06
*** sgordon has joined #heat13:10
*** sgordon has quit IRC13:10
*** sgordon has joined #heat13:10
*** arbylee has joined #heat13:11
*** aweiteka has joined #heat13:12
*** arbylee has quit IRC13:16
*** ramishra has quit IRC13:23
*** bvandenh has quit IRC13:24
*** jdob has joined #heat13:26
*** aignatov is now known as aignatov_13:28
*** aignatov_ is now known as aignatov13:29
*** bvandenh has joined #heat13:32
*** bvandenh has quit IRC13:33
*** nkhare has quit IRC13:34
*** gokrokve has joined #heat13:34
*** agileclipse has joined #heat13:35
*** gokrokve_ has joined #heat13:36
*** gokrokve has quit IRC13:39
*** Guest56122 has quit IRC13:39
*** cmyster has quit IRC13:40
*** gokrokve_ has quit IRC13:41
*** TonyBurn_ has joined #heat13:41
*** topol has joined #heat13:49
*** rpothier has joined #heat13:50
*** achampion has quit IRC13:51
therveskraynev, I don't understand your review, can you explain a bit?13:52
sdakemorning13:52
*** ramishra has joined #heat13:52
shadowersdake: gathering more data on the cloud-init behaviour. Turns out we need both the `users:` thingy in config *and* `useradd` in boothook.sh else U12.04 won't work.13:54
shadowerwill update the bug shortly13:54
*** mkollaro1 has joined #heat13:55
*** mkollaro has quit IRC13:55
*** ramishra_ has joined #heat13:55
*** dteselkin_ is now known as dteselkin13:55
*** ramishra has quit IRC13:58
*** ramishra has joined #heat13:59
*** jmckind has joined #heat14:01
*** ramishra_ has quit IRC14:02
*** dims has quit IRC14:05
*** dims has joined #heat14:10
*** Tross has joined #heat14:13
*** arbylee has joined #heat14:13
*** Tross has quit IRC14:17
*** jcru has joined #heat14:20
*** rongze has quit IRC14:21
*** topol has quit IRC14:21
openstackgerritRichard Lee proposed a change to openstack/heat: Separate the Marconi client from the resource  https://review.openstack.org/7135014:21
openstackgerritRichard Lee proposed a change to openstack/heat: Restructure Marconi plugin directory structure  https://review.openstack.org/7135114:21
*** andersonvom has quit IRC14:22
*** jasond has quit IRC14:24
*** ifarkas has quit IRC14:24
*** jasond has joined #heat14:24
*** ifarkas has joined #heat14:25
*** saju_m has quit IRC14:27
*** saju_m has joined #heat14:29
*** arbylee has quit IRC14:30
*** topol has joined #heat14:32
*** scollier has joined #heat14:33
*** gokrokve has joined #heat14:34
*** scollier has quit IRC14:34
*** rongze has joined #heat14:36
*** Tross has joined #heat14:36
*** gokrokve has quit IRC14:39
*** scollier has joined #heat14:39
*** arbylee has joined #heat14:43
*** andersonvom has joined #heat14:44
*** SnowDust has joined #heat14:46
SnowDusthello all14:46
SnowDustgetting this error14:46
SnowDustanyone to help : http://paste.openstack.org/show/64269/14:48
SnowDustdenis_makogon, http://paste.openstack.org/show/64269/ can u help ?14:48
*** achampion has joined #heat14:48
SnowDustSpamapS, can you please help http://paste.openstack.org/show/64269/14:48
*** jprovazn has quit IRC14:49
denis_makogonSnowDust, let me see14:49
shardySnowDust: probably your nova is misconfigured and cannot schedule the VM, check the nova logs14:49
denis_makogonSnowDust, it means that you picked wrong flavor, that doen't fits to you devstack env14:50
SnowDustnova cpu / sch / api  which place ?14:50
SnowDustis it ?14:50
SnowDustlemme check14:50
*** jprovazn has joined #heat14:51
denis_makogoni saw the same problems 2-3 weeks ago, but its gone after re-installing devstack14:52
SnowDustdenis_makogon : bangon !!! "FlavorDiskTooSmall: Flavor's disk is too small for requested image.\n14:54
SnowDustthanks ..!14:54
denis_makogonSnowDust, always welcome14:55
ramishrashardy, hi14:56
shardyramishra: hello14:56
DaveJ__Hi Guys, I can't find an example of this.  Do any of you know if it's possible to use a Function to set the default value of a parameter e.g.14:58
DaveJ__https://www.irccloud.com/pastebin/PdRR9Z6U14:58
DaveJ__The stack creation fails.  Doesn't seem to like it, as the function is just being evaluated as text14:58
ramishrashardy: I created a patch for provider_net bp....fixed pep8 jenkins issues.. struggling with the unit test... tested with devstack with cli, works fine...14:59
*** jrist has quit IRC14:59
*** tomek_adamczewsk has quit IRC14:59
shardyDaveJ__: You can't currently do that, because in most cases it would result in a circular dependency15:00
shardythe GetAZs is kinda special because it's not related to the actual stack content15:00
shardybut currently paramters don't support intrinsic functions at all15:01
ramishrashardy: as the vlan provider network would depend on physical net configured on l2 plugin.. I can put some tests for gre/flat but not for vlan15:01
*** radez_g0n3 is now known as radez15:02
ramishrashardy: need some help with the unit test15:02
shardyramishra: Ok, what is the issue with the test?15:03
*** tspatzier has quit IRC15:03
ramishrahttps://review.openstack.org/#/c/72454/15:04
*** therve_ has joined #heat15:05
*** therve_ has quit IRC15:05
ramishrashardy:https://review.openstack.org/#/c/72454/15:05
DaveJ__shardy: Thanks15:07
ramishrashardy: before the test issues, a clarification there is comment not to include tenant_id in the shcema...15:08
ramishrashardy: I did not follow that.. can you help with that15:09
openstackgerritRichard Lee proposed a change to openstack/heat: Fix resource mapping for Rackspace  https://review.openstack.org/6937415:10
shardyramishra: Every request already has the tenant_id, from the keystone token, stored in the context15:12
shardyso passing it as a resource property is redundant15:12
ramishrashardy: ok thanks...what about the test... test for vlan type would not work without proper provider:physical_network mapping.. how do you suggest to handle it?15:17
*** Tross has quit IRC15:17
*** pafuent has joined #heat15:19
shardyramishra: I guess you'll have to stub things, see existing tests for examples15:22
*** blomquisg has quit IRC15:25
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add handle_update to VolumeAttachment  https://review.openstack.org/7268115:25
*** sgrasley has quit IRC15:25
*** nanjj has joined #heat15:28
nanjjstevebaker: hi15:31
shardynanjj: It's 4.30am where he is..15:32
*** david-lyle has joined #heat15:32
nanjjshardy: oh, what's baker location?15:32
shardynanjj: new zealand15:32
jasondshardy: i'm having trouble reproducing the error in https://bugs.launchpad.net/heat/+bug/1278836  when did it happen?15:33
shardynanjj: hello btw :)15:33
nanjjshardy: I see, thanks15:33
uvirtbotLaunchpad bug 1278836 in heat "stack lock delete change causes test traceback" [Undecided,New]15:33
*** Tross has joined #heat15:34
shardyjasond: It happens every time I run the tests via testr/run_tests.sh15:34
*** gokrokve has joined #heat15:34
shardyjasond: And the error dissappears if I revert your patch..15:34
jasondshardy: thanks.  i'll look into it15:34
shardyjasond: Ok, thanks, let me know if you need more info and I can try digging a little more15:35
shardyall the tests do seem to pass weirdly, so it seems like it's related to some test getting killed during cleanup doing a stack delete maybe?15:36
jasondshardy: i see it15:36
shardyjasond: \o/ :)15:36
*** pafuent has left #heat15:36
*** jprovazn has quit IRC15:37
aweitekashardy, nested stack question: looks like the approach to pull in other nova server resources is to use example #5 here, correct?: docs.openstack.org/developer/heat/template_guide/environment.html15:37
aweitekashardy, in this example would i ref "my_db_server" in the main template?15:37
nanjjshardy: I using tox all the time :-)15:38
shardyaweiteka: Hmm, I've never actually used the example in (5)15:39
*** gokrokve has quit IRC15:39
shardyaweiteka: I would suggest using the example in (3) to define a custom resource type15:39
*** SnowDust has quit IRC15:40
aweitekashardy, ok. when i did a straight resource_registry it didn't fail but the nested template didn't run. i'll look some more15:40
shardyaweiteka: You don't really want the environment tied to the resource naming in the template IMO, only the resource types15:40
aweitekashardy, ok, so it's arbitrary/custom resource definition15:40
shardyaweiteka: Yes, it can be used to both override the heat built-in resources, or to define arbitrary types15:41
*** blomquisg has joined #heat15:41
*** jrist has joined #heat15:42
aweitekashardy, question... if i create a floating IP in a nested stack (registered custom resource) do i have access to that resource in the base template? via get_attr15:42
*** coolsvap has joined #heat15:42
shardyaweiteka: No, you have to pass the value out via the nested stack outputs section, which is mapped to an attribute of the resource named in the environment15:43
aweitekashardy, ah, that's cool. thx15:44
*** Tross has quit IRC15:44
*** saju_m has quit IRC15:45
*** saju_m has joined #heat15:46
*** jrist has quit IRC15:47
nanjjaweiteka: one question,15:51
*** tspatzier has joined #heat15:51
nanjjaweiteka: where can I find a yaml sample to define a custom resource type? in example #3, where is the sample to demo file like 'my_instance_with_better_defaults.yaml'?15:52
shardynanjj: It can be any heat template you like15:52
shardynanjj: it's just a nested stack15:53
jasondshardy: have you seen this? https://bugs.launchpad.net/heat/+bug/127893715:53
uvirtbotLaunchpad bug 1278937 in heat "db_api.user_creds_get() traceback during tests" [Undecided,New]15:53
shardyjasond: Yeah I have seen that a few times too, is it related?15:53
jasondshardy: no, i recall seeing it before my patch merged15:54
radixwoohoo merges15:54
radix(good morning)15:54
shardyjasond: Yeah I've also seen that, and am still seeing it, followed by te new backtrace15:54
shardynanjj: Here's a very simple example:15:55
shardyhttp://hardysteven.blogspot.co.uk/2013/10/heat-providersenvironments-101-ive.html15:55
*** gokrokve has joined #heat15:55
shardynanjj: we do need some better examples in heat-templates15:55
shardyand probably more comprehensive docs too15:55
jasondshardy: they're both race conditions that happen during the test runs.  sometimes i'll see just one or the other.  most of the time i won't see either15:56
*** gokrokve_ has joined #heat15:56
jasondwhich makes verifying potential fixes a pain15:58
nanjjshardy: I see, I may merge some hints into environment.txt15:58
*** gokrokve has quit IRC15:59
shardyjasond: I see the DBError trace also when a tests fails, so it must be something on the cleanup path16:00
shardyjasond: I'm seeing the DBError one every time I run the tests16:00
jasondshardy: yeah, i plan on looking into that16:01
jasondshardy: interesting16:01
*** jrist has joined #heat16:02
nanjjdb related test cases access same db16:03
nanjjif running one by one, no problem16:03
nanjjif split into groups, and run in parallel16:04
nanjjthere may have issues16:04
*** jrist has quit IRC16:06
*** Linz has joined #heat16:09
*** aignatov is now known as aignatov_16:09
*** jrist has joined #heat16:12
*** jrist has quit IRC16:13
*** denis_makogon has quit IRC16:14
*** denis_makogon has joined #heat16:15
*** ramishra has quit IRC16:15
*** ramishra has joined #heat16:16
*** vijendar has joined #heat16:16
*** jrist has joined #heat16:17
aweitekashardy, could you look at this template error "Property domain not assigned"? much abreviated but hopefully helpful: http://paste.openstack.org/show/64297/16:17
*** gokrokve_ has quit IRC16:20
thervejasond: I think I know what's going on16:20
jasondtherve: what's going on?16:21
thervejasond: http://paste.openstack.org/show/64299/16:21
thervethreads :)16:21
jasondah, nice catch16:22
*** gokrokve has joined #heat16:23
*** Tross has joined #heat16:27
*** Tross has quit IRC16:27
shardyaweiteka: You have a parameter called domain in ose-node.yaml, which has no default, and is not being assigned via a property in ose-broker-primary.yaml16:30
shardyprobably ;)16:30
aweitekashardy, ah, that's it. I was chasing node_instance but the offender is prob domain. thx16:31
*** bnemec has quit IRC16:31
*** pshchelo has quit IRC16:31
*** ramishra_ has joined #heat16:32
*** Tross has joined #heat16:34
*** bnemec has joined #heat16:34
*** ramishra has quit IRC16:34
thervejasond: can you confirm it fixes the problem for you?16:36
jasondtherve: testing it now16:36
sdakezaneb you around?16:39
*** julienvey has left #heat16:42
*** gokrokve has quit IRC16:47
*** gokrokve has joined #heat16:47
*** jistr has quit IRC16:47
jasondtherve: seems to work.  do you want to submit that or should i?16:49
therveOh I'll do it16:50
jasondcool, i'll assign that bug to you16:51
openstackgerritThomas Herve proposed a change to openstack/heat: Remove spurious tracebacks from tests  https://review.openstack.org/7270216:51
*** gokrokve has quit IRC16:51
*** pafuent has joined #heat16:52
*** gokrokve has joined #heat16:52
jasondtherve: weird, i can't find you in the launchpad search16:53
jasondtherve: here you go https://bugs.launchpad.net/heat/+bug/127883616:53
uvirtbotLaunchpad bug 1278836 in heat "stack lock delete change causes test traceback" [Undecided,New]16:53
*** alexpilotti has quit IRC16:54
thervejasond: It's not #1278937 ?16:54
therveI've never seen the other one16:54
*** IYozhikov_away is now known as IgorYozhikov16:55
jasondtherve: ha, well i think you just fixed it :)16:55
therveOh okay, maybe it's the same bug then16:55
shardytherve: are you sure we want to wait() for the threads and not stop them?16:55
therveshardy, I *think* so16:55
zanebsdake: o/16:58
*** e0ne_ has quit IRC16:59
jasondtherve: i don't understand how that would fix the problem.  each those stack IDs are different16:59
openstackgerritA change was merged to openstack/heat-templates: Fix cfn-isms in OpenShift Enterprise Neutron template  https://review.openstack.org/7000616:59
sdakefunzo https://review.openstack.org/#/c/70006/17:00
sdakezaneb would you mind commenting on clint's last response and see if that works for the quiesce case for autoscaling?  I think you know more about it then I do and want to make sure  we get it right :)17:00
*** IlyaE has joined #heat17:01
zanebsdake: his last response made sense to me, but I haven't read the wiki page yet17:01
thervejasond: IIRC, the test ends when the stack is removed from the db, but not when stack.delete is over17:01
*** gokrokve has quit IRC17:01
therveIIUC rather17:01
sdakezane have a read of it if you have an opportunity17:01
zanebsdake: I think what he's saying is right though - if we handle it in the update case then the autoscaling case can get it for free, because autoscaling is based on a stack17:02
zanebs/free/nearly free/17:02
zanebyay for code reuse!17:02
sdakecool that wfm, I guess the question I have is how precisely would an application be quiesced in the model SpamapS proposes17:03
zanebI guess I would have to read the wiki page to find that out :D17:03
sdakei read through the etherpad, but I'll admit I had a bit of difficulty seeing how exactly it would be done :)17:06
sdakein SpamapS etherpad, the app waits on a wait condition, I guess what I'm not clear on is when - I guess during an update?17:09
*** mkollaro1 has quit IRC17:09
sdakeeg is os-refresh-config executed by each action hook?  I don't totally get the part about what actually does the quiesing17:10
*** akuznetsov has quit IRC17:11
zanebsdake: "actions: [ rebuild, delete ]" <- whenever one of the actions specified in this list happens17:16
shardysdake: AIUI, the action hook is associated with a resource lifecycle event, so when you start an action, you set some metadata, which the agent polling in the instance sees, does some stuff, then sends a signal back to notify completion17:17
*** akuznetsov has joined #heat17:17
shardyIf I'm understanding correctly, this would, e.g allow you to make a server stay DELETE_IN_PROGRESS while some cleanup happened17:18
shardywhich is exactly what we want for the scale-down use-case17:18
zanebthat is my understanding also17:18
shardyOne thing I'm not sure about, is if we really want to have the WaitConditionHandle part explicitly defined17:19
zanebyeah, seems unnecessary/potentially dangerous17:20
*** ifarkas has quit IRC17:20
shardyit seems like if a resource supports action_hooks we could do the work to wire up the signal response stuff automatically17:20
zanebalso, having the resource name in the metadata path17:20
*** nanjj has quit IRC17:21
*** mkollaro has joined #heat17:21
*** rongze has quit IRC17:22
sdakeshardy zaneb thanks - the "does some stuff" does that list of stuff come from the metadata server?17:23
shardysdake: that's not clear to me, but I guess so17:23
shardyseems like an ideal use-case for some config defined by software-config resources when they are ready17:24
zanebthe stuff to do would be defined by the in-instance agent, but triggered by a metadata update17:24
sdakezaneb the problem with that is the in-instance agent may not know the stuff the specific application needs to do to shut down?17:24
shardyzaneb: Yeah but we have to define the data to be executed, like cfn-hup does when it reads updated metadata17:25
*** radez is now known as radez_g0n317:26
zanebsdake: right, but only the application knows how to do that... so presumably we need a way to hook up applications to receive events from the in-instance agent... I think that is what shardy is suggesting with the software config stuff?17:26
*** Tross has quit IRC17:26
sdakeSpamapS around? :)  this scrollback may be interesting to you :)17:27
shardyzaneb: Yeah, or I guess you could have sections in the resource metadata associated with different lifecycle events, with an agent which knew which ones to read17:27
*** WinnieTsang has quit IRC17:27
* shardy has to step out for a few mins, bbiab17:28
* SpamapS reads backscroll17:28
sdakeit sounds like the problem we are really trying to solve is quiesing a server, not the bigger issues of update or autoscaling17:29
SpamapSI think you guys get it.17:29
*** TonyBurn_ has quit IRC17:29
SpamapSAnd I agree that the wait condition handle doesn't have to be explicit. I am curious why it might be dangerous.17:30
SpamapSzaneb: the path must be able to reference other resources17:30
SpamapSzaneb: we can't use the instance's own metadata reliably because of circular dependency loops caused by get_attribute.17:30
sdakeSpamapS do you see software config doing the actual shutdown process of the application?17:31
SpamapSNow.. with software config we can probably do some magic.17:31
SpamapSsdake: no17:31
SpamapSsdake: well "maybe"17:31
zanebSpamapS: having an explicit wait condition handle is an invitation to e.g. use it for multiple servers by accident ;)17:31
SpamapSzaneb: I'm o-k with that. I may also want my monitoring system, not the server itself, to do the signal.17:32
SpamapSthough that's also just another use case for resource name in the path, not for explicit handle17:32
*** jcru has quit IRC17:32
sdakeSpamapS lets assume an application requires a custom shutdown process, how would that be done?17:33
zanebSpamapS: I could imagine a built-in function for grabbing that from a resource, e.g. get_notification_url. It could work on sw configs too maybe17:33
sdakeeg, using init is not sufficient17:33
*** jcru has joined #heat17:34
zanebactually, that probably wouldn't work because this is happening in the middle of an update17:34
SpamapSsdake: in TripleO, there's a script in /opt/stack/os-config-refresh/migration.d that runs and sees the delete action, and runs the installed application's shutdown process, then pings the handle.17:34
sdakeSpamapS how is the shutdown script communicated to os-config-refresh?17:35
SpamapSit is not17:35
SpamapSit is installed in the image17:35
sdakeby installing in /opt/stack/os-config-refresh/migration.d?17:35
SpamapSwe don't deliver software after boot17:35
sdakethe metadata installs packages during bootstrap17:36
SpamapSwe don't in TripleO is what I'm saying.17:36
SpamapSIf thats how the shutdown thing gets there in someone else's world, O-K17:36
SpamapSit is all just "the software inside the instance"17:37
sdakethe script needs to be installed in /opt/stack/os-config-refresh/migration.d then?17:37
SpamapSsdake: you're conflating two things17:37
SpamapSthere is [software inside instance] and [heat interface]. I only care about defining a [heat interface] for influencing the update.17:37
*** pvaneck has joined #heat17:37
SpamapSWe already have a ton of ways to get software into an instance.17:38
SpamapSimages, cfn-init, cloud-init, userdata wget/apt-get/yum ..17:38
sdakeand the files  feature17:38
SpamapSsaid software just needs to implement the [heat interface]17:38
SpamapSI happen to already have software that fits well into my proposed interface. :)17:39
sdakeMy question is how would other folks outside of tripleo shutdown their applications using the tools we have17:40
SpamapSand when hot-software-config lands, I do fully expect that we don't have to have launchconfigurations, and thus we can probably have deployer resources that encode this.17:40
sdakeos-config-refresh only knows about tripleo components ?17:40
SpamapSno17:40
SpamapSit is crazy simple17:40
sdakeassume I'm a 5 year old :)17:41
SpamapSit is run-parts with better defaults and unit tests. ;)17:41
SpamapSso the chain starts at os-collect-config17:41
SpamapSos-collect-config runs as a daemon, polling a configured metadata path.17:41
SpamapSit also polls the local file that cloud-init created, /var/lib/heat-cfntools/cfn-init-data, and ec2 metadata.17:42
openstackgerritAndreas Jaeger proposed a change to openstack/heat: Improve help strings  https://review.openstack.org/7208017:42
*** ppetit has quit IRC17:42
SpamapSthese are written to a location on disk as a json-file-per-collector17:42
SpamapSand then a configured command is run, with OS_CONFIG_FILES set to the list of collector json documents.17:43
SpamapSos-refresh-config just runs and ignores that list..17:43
SpamapSit runs all the files in /opt/stack/pre-configure.d, then configure.d, then post-configure.d, then migration.d17:44
SpamapSThose scripts _do_ interpret OS_CONFIG_FILES, usually with another program, os-apply-config17:44
SpamapSos-apply-config merges the collected files (see its README.md for details) into one giant mapping, and then makes them accessible using either a --key argument, or moustache templates which can reference trees using {{key1.key2.key3}}17:45
*** gokrokve has joined #heat17:45
*** pshchelo has joined #heat17:46
SpamapSso one of the scripts in conifgure.d just writes a bunch of template files with populated {{}} stuff17:46
*** pshchelo has quit IRC17:46
*** pshchelo has joined #heat17:46
SpamapSand then a bunch of them do actions based on other keys in the metadata that they extract with $(os-apply-config --key foo.bar)17:46
SpamapSso you may note, at no point did I say "and a declarative thing runs apt-get" ...17:47
SpamapSwe just run scripts. :)17:47
SpamapSsdake: want a cookie now?17:48
sdakelolipop pls17:48
SpamapSfirst have some carrots and broccoli17:48
*** gokrokve has quit IRC17:49
*** gokrokve has joined #heat17:49
*** Tross has joined #heat17:50
SpamapSsdake: this is all done to be extremely simple. I hope it actually is. :)17:52
sdakeSpamapS lets assume I know nothing about how os-* and friends work and very little about heat works17:54
*** gokrokve has quit IRC17:54
*** alexpilotti has joined #heat17:54
sdakeSpamapS eg I'm a new heat user, trying to figure out how to quiesce my server with a custom mechanism17:54
*** gokrokve has joined #heat17:54
sdakeSpamapS what would I do in this situation?17:54
*** pshchelo has quit IRC17:56
*** WinnieTsang has joined #heat17:57
*** pshchelo has joined #heat17:57
*** pshchelo_ has joined #heat17:58
SpamapSsdake: I don't have an answer for you.17:58
*** pshchelo has quit IRC17:58
sdakeSpamapS bummer - I think this use case is common and I get alot of questions about it - current answer is we don't have a way to do such a thing17:59
*** pshchelo has joined #heat17:59
SpamapSsdake: so if we back up to "we need to replace heat-cfntools", that is where such an answer goes.18:00
sdakeis os-* not that replacement?18:00
SpamapSsdake: cfn-init, IMO, is awesome for the small-case user who just wants to install a few packages and template a file. We should just expand on it to support a way to declare what to do on these actions.18:00
*** gokrokve has quit IRC18:01
SpamapSsdake: "maybe"18:01
*** tspatzier has quit IRC18:01
*** gokrokve has joined #heat18:01
SpamapSsdake: it is intended for building very simple to understand things. But it does not have the sugar that I think you want.18:02
SpamapSsdake: but a tool could very easily be written to be run in each step to read more explicit instructions from Metadata18:05
*** gokrokve has quit IRC18:06
*** tspatzier has joined #heat18:06
*** Tross has quit IRC18:06
*** TonyBurn_ has joined #heat18:07
* SpamapS -> call18:07
*** aignatov_ is now known as aignatov18:07
*** tspatzier has quit IRC18:08
*** SnowDust has joined #heat18:11
*** Tross has joined #heat18:13
*** gokrokve has joined #heat18:18
*** Tross has quit IRC18:22
*** gokrokve has quit IRC18:23
*** rcleere has quit IRC18:26
*** aignatov is now known as aignatov_18:28
*** yogesh has joined #heat18:28
*** gokrokve has joined #heat18:31
*** chandan_kumar has quit IRC18:34
stevebakermorning18:35
stevebakerSpamapS: regarding quiescing a server, a SoftwareDeployment resource also encapsulates its own waitcondition. I'm going to spend today adding a property which lets you specify which actions it runs in, so you can have DELETE workloads18:37
*** tspatzier has joined #heat18:38
*** Tross has joined #heat18:39
*** tims1 has quit IRC18:40
openstackgerritRabi Mishra proposed a change to openstack/heat: Author: Rabi Mishra Date:   Tue Feb 12 00:00:47 IST 2014  https://review.openstack.org/7245418:42
*** pshchelo has quit IRC18:45
*** alexpilotti has quit IRC18:47
rpothierhi all, I'm getting a Return code of 15 from cfn-signal, it says jprovision done, failed with error code 24118:48
*** pafuent has left #heat18:48
rpothieranyone know what this failure is?18:48
*** rcleere has joined #heat18:49
*** e0ne has joined #heat18:49
SpamapSstevebaker: yeah that might be a nice way to handle this. Have you read my comments on your design fiction yet?18:50
openstackgerritJason Dunsmore proposed a change to openstack/heat: Don't try to stop a stack on a dead engine  https://review.openstack.org/7273918:54
*** gokrokve has quit IRC18:59
openstackgerritAndrew Plunk proposed a change to openstack/heat: raw_template hot parameter type data migration  https://review.openstack.org/7005018:59
*** jistr has joined #heat18:59
*** gokrokve has joined #heat19:00
*** WinnieTsang has quit IRC19:00
*** ramishra_ has quit IRC19:02
*** rpothier_ has joined #heat19:04
*** cadenzajon has joined #heat19:04
*** rpothier has quit IRC19:07
*** larsks is now known as larsks119:07
*** larsks1 is now known as larsks|afk19:07
*** sabeen1 has quit IRC19:08
*** sabeen has joined #heat19:08
openstackgerritThomas Herve proposed a change to openstack/heat: Remove spurious tracebacks from tests  https://review.openstack.org/7270219:08
*** tspatzier has quit IRC19:11
*** tims has joined #heat19:14
*** radez_g0n3 is now known as radez19:14
*** jprovazn has joined #heat19:15
stevebakerSpamapS: I'll get to them, still in school-run madness19:16
radixagh why aren't responses documented at http://api.openstack.org/api-ref-orchestration.html19:16
*** coolsvap has quit IRC19:17
*** TonyBurn_ has quit IRC19:17
shardyradix: there are example responses for some but not all calls19:18
shardyradix: patches welcome ;)19:18
*** jrist has quit IRC19:20
*** IlyaE has quit IRC19:25
openstackgerritA change was merged to openstack/heat: Implement custom constraints  https://review.openstack.org/7031819:26
jasondstevebaker: not sure if you saw my replies in https://review.openstack.org/#/c/72008/1 (i don't think gerrit sent an email)19:28
*** pablosan has joined #heat19:32
jasondsdake: are you around?19:34
openstackgerritRichard Lee proposed a change to openstack/heat: Add admin_pass as attribute and property to server  https://review.openstack.org/7274519:36
openstackgerritRichard Lee proposed a change to openstack/heat: Allow update of admin_pass on server  https://review.openstack.org/7274619:36
*** saju_m has quit IRC19:49
*** saju_m has joined #heat19:51
*** andersonvom has quit IRC19:52
*** IlyaE has joined #heat19:52
*** gokrokve has quit IRC19:53
*** gokrokve has joined #heat19:54
*** gokrokve_ has joined #heat19:55
*** ruhe has quit IRC19:57
*** jprovazn is now known as jprovazn_afk19:57
*** gokrokve has quit IRC19:58
*** gokrokve_ has quit IRC19:59
*** gokrokve has joined #heat20:00
*** gokrokve_ has joined #heat20:01
*** wendar has joined #heat20:01
*** jistr has quit IRC20:02
*** larsks|afk is now known as larsks20:04
*** saju_m has quit IRC20:04
*** gokrokve has quit IRC20:04
*** saju_m has joined #heat20:05
sdakejasond was picking rugrats up from school whats up20:06
jasondsdake: hey, i saw you marked https://bugs.launchpad.net/heat/+bug/1195236 high priority.  was wondering what your thoughts about that bug were.  mark and i are at an impasse20:07
uvirtbotLaunchpad bug 1195236 in heat "heat-engine -v has no effect" [High,Confirmed]20:07
jasondseems like if that's intended oslo behavior then the bug should be invalid20:08
jasondbut if the oslo behavior needs to change, the bug should be moved to olso20:08
sdakejasond reading20:08
jasondok20:08
sdakejasond hmm I have no recollection of that bug20:10
sdakealthough I probably saw security implication and moved it to high20:10
sdakethat is typically how I think :)20:10
jasondoh ok.  no problem20:10
sdakejasond: https://bugs.launchpad.net/heat/+bug/1210623 should be considered for high20:11
uvirtbotLaunchpad bug 1210623 in heat "Traceback is sent to client" [Medium,Fix released]20:11
sdakesince you broke the bug apart into two separate bugs which makes sense, we should probably lower the priority of the original20:12
sdakeimo low makes sense20:12
*** SnowDust has quit IRC20:12
sdakeit sounds like its not reproducible (no logs in engine.log)20:12
sdakeI get all kinds of logs in engine.log20:12
jasondmakes sense.  unfortunately, i can't change the importance since i moved it to oslo20:13
jasondthanks for the input20:13
sdakejasond I added a note at the end for the oslo folks20:15
sdakeenjoy20:15
jasondthanks20:15
*** gokrokve_ has quit IRC20:16
*** cadenzajon has quit IRC20:16
*** gokrokve has joined #heat20:16
*** cadenzajon has joined #heat20:17
*** spzala has joined #heat20:20
*** yogesh has quit IRC20:20
*** gokrokve has quit IRC20:21
*** yogesh has joined #heat20:23
*** harlowja_away is now known as harlowja20:24
*** SnowDust has joined #heat20:26
openstackgerritSteven Hardy proposed a change to openstack/heat: Add test for StackUser._create_keypair  https://review.openstack.org/7276120:26
openstackgerritSteven Hardy proposed a change to openstack/heat: StackUser add _delete_keypair function  https://review.openstack.org/7276220:26
openstackgerritSteven Hardy proposed a change to openstack/heat: migrate User/AccessKey resources to StackUser base class  https://review.openstack.org/7276320:26
openstackgerritSteven Hardy proposed a change to openstack/heat: engine: allow stack_user_project users to retrieve stack  https://review.openstack.org/7130020:26
openstackgerritSteven Hardy proposed a change to openstack/heat: StackUser add suspend/resume support  https://review.openstack.org/7193020:26
openstackgerritSteven Hardy proposed a change to openstack/heat: migrate StackUser base class to stack domain users  https://review.openstack.org/7121020:26
openstackgerritSteven Hardy proposed a change to openstack/heat: heat_keystoneclient add support to enable/disable domain users  https://review.openstack.org/7141420:26
openstackgerritSteven Hardy proposed a change to openstack/heat: heat_keystoneclient add delete_stack_domain_user_keypair  https://review.openstack.org/7192920:26
openstackgerritSteven Hardy proposed a change to openstack/heat: Refactor SignalResponder to abstract user logic  https://review.openstack.org/7120920:26
*** Guest84184 has quit IRC20:26
*** saju_m has quit IRC20:32
*** ramishra has joined #heat20:34
*** andersonvom has joined #heat20:37
*** andersonvom has joined #heat20:38
*** ramishra has quit IRC20:39
stevebakerradix: should as-lib-db be kicked from i-3?20:43
stevebakertherve: has blueprint parameter-nested-schema started?20:44
thervestevebaker, Technically no. I wonder if anything needs to be done with the recent schema work though20:45
*** denis_makogon has quit IRC20:45
stevebakertherve: implemented via lazyness ;)20:45
*** dmakogon_ has joined #heat20:46
therve:)20:46
stevebakertherve: could you evaluate so I know whether to Obsolete or remove the blueprint from i-3?20:46
thervestevebaker, Yep, will do that20:46
radixstevebaker: I should have another patch for that soon20:46
stevebakertherve: also, I replied to https://review.openstack.org/#/c/70289/20:46
therveAh sorry I missed it20:47
stevebakerradix: could you update the Implementation in https://blueprints.launchpad.net/heat/+spec/as-lib-db ?20:47
stevebakertherve: thanks20:47
radixeh, as-lib-db is still Not Started :)20:48
radixoh!20:48
radixI misread you earlier20:48
radixstevebaker: my bad, yeah, I guess it probably should be pushed, I was confusing as-lib and as-lib-db20:48
thervestevebaker, I'm not totally sold on having an option at all, to be honest...20:49
therveWe don't have one for URL_LENGTH_LIMIT and that's fine20:49
stevebakerradix: weird dependencies on https://blueprints.launchpad.net/heat/+spec/as-lib-db and https://blueprints.launchpad.net/heat/+spec/as-lib20:51
stevebakerradix: should I change it to as-lib -> as-lib-db -> as-engine-db ...20:51
radixstevebaker: pretty sure that's intended20:51
stevebakerand as-lib -> as-intermediate-resources20:51
radixi.e., as-lib-db is just some schema specifications20:52
stevebakerie remove as-lib-db as a dependency to as-intermediate-resources?20:52
shardyradix, therve: are we going to have any way to make autoscaling work in a neutron environment for Icehouse?20:52
radixshardy: you mean with LBaaS?20:52
therveIt works already20:52
radixshardy: the AWS stuff already works with it20:52
radixthanks to therve20:52
therveAFAIK20:52
shardyradix: I mean some sort of native resource so networks can be specified and we can use OS::Nova::Server (or scale abitrary resources)20:53
shardyinstead of the hard-coded AWS::EC2::Instance etc20:53
radixyeah no I don't think that's going to be possible by Icehouse20:53
therveWell you can cheat and use VPCZoneIdentifier to some extent20:54
therveWe can push a native resource, it depends on what deadline we take20:54
stevebakerwe would need a OS::Nova::Server launchconfiguration20:54
stevebakerfor an interim AWS autoscaling solution20:54
shardyfunzo: do you have a sec to explain why VPCZoneIdentifier won't work for your use-case?20:55
thervelaunchconfiguratio sucks :/20:55
*** jprovazn_afk has quit IRC20:55
stevebakerthey do. lets not do that20:55
radixalternatively we could somehow parameterize the nested stack's environment20:55
radixand allow you to override AWS::EC2::Instance20:55
*** aignatov_ is now known as aignatov20:55
funzoshardy: I thought that was just for instances?20:55
shardystevebaker: Yeah, I'm just wondering what the simplest possible step forward would be to enable some native scaling progress for icehouse20:56
funzoand nothing to do with neutron networks or ports20:56
shardyfunzo: so your issue is that you have to use OS::Nova::Server, because you need to specify multiple networks?20:56
funzoyes, and floating ips20:57
radixI'm not sure why we don't just inherit the parent's environment into the nested stack20:57
funzospecifically neutron20:57
stevebakerand software deployment resources20:57
stevebakerand volumes20:57
therveshardy, The main issue for me is that we don't seem to be able to agree on what it should look like20:57
therveLike, ever20:58
shardyfunzo: Ok thanks, I just wanted to clarify the use-case20:58
stevebakertherve: I solved that problem in software-config by just implementing something20:58
*** andrew_plunk has joined #heat20:58
* therve shrugs20:58
stevebakershardy: maybe our native scaling progress is ResourceGroup. Its scaling without the auto20:59
shardytherve: IMHO it's just reached the point where someone needs to write something which works with neutron etc, even if it's not perfect and we end up iterating on it20:59
funzoshardy: if there is something I'm missing and someone can show me how to use the VPCZoneIdentifier to achieve the same thing i'm trying to do, I'm all for it21:00
funzothat would be fantastic21:00
* stevebaker off to a meeting21:00
shardystevebaker: I thought zaneb wanted that to diaf? ;)21:00
therveI still don't know what's the issue with neutron to be honest21:00
radixyeah21:00
radixyou can use neutron, that's not the problem21:00
shardyfunzo: that was why I wanted you to clarify your problem, therve and radix may be able to suggest something21:00
stevebakershardy: maybe porting it to use as-lib would help with that21:00
funzoI have a public network, a private network, and subnets to go along with them, then floating ips associated with the public subnet21:01
zanebstevebaker: it's scaling without the auto, or any of the other features of autoscaling21:01
*** jdob_ has joined #heat21:01
funzoI would like to trigger an alarm to adjust the scaling group of nova servers to increase, along with creating a new port in the private network, and a floating ip in the public21:01
funzoend result is a new server instance that has an externally routable ip address21:02
radixwe could pretty easily throw together a AutoScalingGroup implementation that allows you to specify an arbitrary resource instead of a launch configuration21:02
funzoradix: I'm doing something similar to just that as a plugin resource21:02
funzoexcept I'm hobbling along learning what is and isn't there to use21:03
radixs/implementation/alternative/21:03
shardyradix: at this point in the cycle, that's what we should focus on IMO - how can we make life better for users, in a week :)21:03
funzohttps://github.com/calfonso/heat-resource-plugins/blob/master/nova/resources/nova_server_scale.py21:03
shardyFPF is the 18th, so not much time left21:03
therveshardy, Can we push that line a bit somehow?21:03
radixhmm21:04
shardytherve: There is an exception process, but most stuff should at least have something posted by then21:04
radixfunzo: I think that resource is possible without duplicating so much21:04
radixfunzo: i.e. I don't think you need to duplicate ScalingPolicy21:04
funzoI would love to get it working without copying so much21:05
radixin fact you can probably just subclass AutoScalingGroup21:05
funzoradix: the only reason I did that is so that I didn't have to use the camel case properties that are hard coded in there21:05
radixif everyone thinks this is a better idea I can work on it21:05
radixzaneb: I'm looking at you :)21:05
* zaneb looks at funzo's plugin21:06
funzothe copying code to change the way I reference properties in a hot template isn't the real issue, the real issue is that i'm not yet able to create new ports21:06
radixmeaning, an alternative to AWS::AutoScaling::AutoScalingGroup that accepts an arbitrary resource specification21:07
funzothe copying so much code is really only for the propery names21:07
radixsimilar to ResourceGroup21:07
funzoproperty*21:07
radixfunzo: yeah we should just refactor that so the names can be parameterized21:07
*** e0ne has quit IRC21:07
radixin fact... they already are21:07
funzobut I was told that since the rewrite was going on, whatever I needed would probably be throw away21:08
funzoso it's certainly not a refactor effort21:08
radixyeah I don't think you need to refactor for that. everything already uses self.PROPERTY_NAME in the code21:08
funzowhat's the verdict then, keep on with what I'm doing or is there something else radix is going to do?21:10
zanebfunzo: I defined constants for all of those properties already. If there's any that are still being addressed with literals I would certainly approve a patch to fix them21:11
radixzaneb: so do you think it'd be ok to get a resource like that into heat core?21:11
funzoautoscaling.py isn't using constants21:11
radixfunzo: it is in master21:11
zanebfunzo: it should be21:12
funzooh, i'm not on master, that would be that issue21:12
radix:)21:12
zanebI may have missed some21:12
funzoI'm using the rpm distributed version21:12
shardyradix, therve: so about creating a port for the new instance, is there any solution for that, or do we basically need to be able to scale out nested stacks containing an instance and a port?21:12
radixI think we should just allow you to scale out nested stacks with multiple resources, yeah21:13
*** sgrasley has joined #heat21:13
radixthat will be the simplest thing to implement right away21:13
zanebradix: tbh unless you're sure that it's going to have the interface you eventually want for the real autoscaling API resources, then this just ends up being another bit of cruft we want to deprecate but will probably have to keep around for years :(21:14
radixlet me think about that21:14
*** jdob_ has quit IRC21:15
openstackgerritThomas Herve proposed a change to openstack/heat: Add a nova keypair constraint  https://review.openstack.org/7031921:16
shardyzaneb: but the use-case funzo is describing is the same as several other folks who've showed up here, so the question is, can we solve it in a non-horrible way for Icehouse, or do they wait another 6months?21:17
therveI think I agree with stevebaker that we've been trying to get something "perfect" out and didn't manage to get anything done21:17
therveI'm mostly afraid that we post a resource in a week and spend the next 6 weeks fixing it :)21:18
zanebshardy: yes, although at our current velocity 6 months looks optimistic21:18
zanebespecially if we spend all our time creating new hacks that don't solve the problem instead of solving the problem21:19
radixI think an AutoScalingGroup that supports arbitrary resources would be pretty rad21:19
zanebI agree, we should implement one of those21:20
*** erkules_ is now known as erkules21:22
shardyzaneb, radix: awesome, lets do that, you have a week :D21:23
radixheh :P21:23
radix18th, right?21:24
shardyyeah I believe so21:24
zaneboh, it's the 18th?21:24
zanebso it is21:24
radix18th is the "review must be posted" deadline21:24
zanebI thought it was the 13th21:25
radixok I dunno, is it documented somewhere?21:25
zanebthat makes me feel slightly less stressed about these pluggable functions21:25
zanebradix: https://wiki.openstack.org/wiki/Icehouse_Release_Schedule21:25
radixhehe21:25
radixah ok21:25
zanebbecause they ain't workin'21:26
zanebjust started a redesign yesterday morning21:26
therveSo do we agree on doing what ResourceGroup does with Auto in front?21:26
shardyhttps://wiki.openstack.org/wiki/Icehouse_Release_Schedule21:26
shardyOh, zaneb beat me to it :)21:27
zanebour dev cycles somehow have got very short21:27
zanebonly 12 weeks to do actual work in every 6 months21:27
zanebit's not enough21:27
shardyThe holidays have made this one seem very short21:27
zanebplus I was out for probably another 2 of those weeks21:28
zanebI don't know how I feel about the feature proposal freeze21:28
*** tims1 has joined #heat21:29
zanebmaybe it should be later21:29
therveThe freeze period is a bit too long to my taste. You don't fix bugs by having code sitting in master21:29
zaneband why are there 4 weeks between the release and the design summit?21:29
therveThat's weird too21:30
radixtherve: I don't know, I need to think about it some more (especially if we can get it into a format that at least has a chance of being similar to the ultimate resource)21:30
shardytherve: I propose we take the use-case described by funzo above, and basically make that possible, either via a AutoResourceGroup, or via a native AutoScalingGroup which scales OS::Nova::Server (or a compatible provider template?)21:30
*** tims has quit IRC21:30
shardytherve: because it's the same thing requested by quite a few folks here21:31
therveshardy, There are 17 different ways to achieve that though21:31
shardyif we end up with automagic-scale-everything-unicorns, then even awesomer :)21:31
shardytherve: pick one, make it work? :)21:31
therveOkay :)21:32
radixalright21:32
shardytherve: in the last freeze, you end up with lots of bugs because everyone rushes features in, breaks everything, then you spend two weeks getting everything vaguely stable again21:33
shardythat was my experience for Havana at least21:33
zanebshardy: and by 'everyone' you mean neutron? ;)21:33
radixshould I file a BP for this?21:33
shardyour automated testing is better this time, but since we have minimal tempest coverage, we're bound to have regressions21:34
*** ramishra has joined #heat21:34
therveshardy, Yeah that's somewhat the obvious flaw of the process21:35
shardyradix: haven't you got enough BP's already? ;D21:35
radixyes, I do :P21:35
radixI will gladly start hacking21:35
*** gokrokve has joined #heat21:36
shardytherve: well there's the mandatory week of the gate being comically broken too, don't forget :)21:37
therveHeh yeah21:37
therveWe got some rehersals of that one21:38
radixugh yeah :P21:39
*** ramishra has quit IRC21:39
radixit seems like they did something to really improve it drastically recently21:39
radixmaybe they just tripled the number of hosts or something21:39
*** jasond has quit IRC21:42
stevebakerback21:44
rpothier_Hi ,I'm trying to use get_attr in a hot template in havana, am I correct that this does not supprt complex data types?21:44
rpothier_my data looks like this - http://paste.openstack.org/show/64401/21:47
*** SnowDust has quit IRC21:47
stevebakerrpothier_: git master get_attr lets you do {get_attr [resource_name, attribute_name, '00000', Data]}21:52
rpothier_stevebaker: thanks, how can I achieve the same in havana?21:53
stevebakerrpothier_: you have to use an ungodly tree of Fn::Select around your Fn::GetAtt21:54
*** jasond has joined #heat21:57
rpothier_stevebaker: thanks21:57
*** randallburt has joined #heat21:59
*** harlowja has quit IRC22:03
*** rpothier_ has left #heat22:05
*** rpothier_ has joined #heat22:06
stevebakerlifeless, SpamapS, replied to https://review.openstack.org/#/c/72533/22:06
*** rpothier has joined #heat22:08
*** rpothier_ has quit IRC22:10
*** vijendar has quit IRC22:11
*** e0ne has joined #heat22:18
*** e0ne has quit IRC22:22
radixwow cool: go to http://api.openstack.org/api-ref-orchestration.html , copy/paste one of the URLs into a string in your python REPL22:22
*** sgordon has quit IRC22:23
SpamapSstevebaker: and now I've responded. :)22:25
*** aignatov is now known as aignatov_22:26
SpamapSstevebaker: also it isn't clear to me how you get the os-collect-config config file onto the server if it has an internal thing to query.22:26
*** pshchelo has joined #heat22:26
*** jrist has joined #heat22:26
SpamapSstevebaker: I've been thinking about it though, and I think the simplest thing is for cloud-init to drop files in a place where os-collect-config will look for them22:27
SpamapSstevebaker: rather than trying to write out the config file.22:27
stevebakerSpamapS: the resource that os-collect-config polls for metadata *is* the OS::Nova::Server22:27
*** pshchelo has left #heat22:29
SpamapSstevebaker: so does the deployer slip the user into metadata at a predefined location?22:30
stevebakerSpamapS: unrelated: I've been thinking about making the SoftwareConfig inputs/outputs optional. So deployment input_values will create an implicit config String typed input if there isn't one declared22:31
SpamapSstevebaker: *kwargs ftw ;)22:31
*** dims has quit IRC22:31
*** randallburt has quit IRC22:33
stevebakerSpamapS: yes. a user is created scoped to the server, and early calls to metadata which get packaged into the cloud-init userdata have everything required to later poll the server for more deployments data https://review.openstack.org/#/c/67625/7/heat/engine/resources/server.py line 30722:33
*** rpothier has quit IRC22:34
SpamapSah yes beautiful22:34
*** ramishra has joined #heat22:35
openstackgerritRichard Lee proposed a change to openstack/heat: Add tenant to unscoped stack list response  https://review.openstack.org/7278922:35
openstackgerritRichard Lee proposed a change to openstack/heat: Alter stack_count_all_by_tenant to stack_count_all  https://review.openstack.org/7085322:35
openstackgerritRichard Lee proposed a change to openstack/heat: Replace stack_get_all_by_tenant with stack_get_all  https://review.openstack.org/7085222:35
openstackgerritRichard Lee proposed a change to openstack/heat: Unscoped List Stacks  https://review.openstack.org/6304122:35
stevebakerServer will eventually extend StackUser, so it will switch to the domain user magic that shardy is working on22:36
sdakewhat do you call it when a blueprint makes every test case fail in the same way22:36
* sdake ughs22:37
zanebsdake: a normal day at the office22:37
*** achampion has quit IRC22:38
*** ramishra has quit IRC22:40
*** blomquisg has quit IRC22:41
stevebakerSpamapS: regarding your comment, where do you see the {get_input: foo} calls being resolved? I'm thinking the hook, which is an orc script that runs before oac22:41
SpamapSstevebaker: No I was thinking in the deployer. :-P22:42
SpamapSstevebaker: I may not fully understand the structure though.22:42
*** jamieh has quit IRC22:43
*** topol has quit IRC22:44
*** aweiteka has quit IRC22:44
stevebakerSpamapS: that would be nice, but by the time the config resource gets stored it is just a string, so something would have to know that it is parsable and that get_input means something22:44
stevebakerI suppose that something could be an OS::Heat::StructuredSoftwareDeployment22:45
stevebakerwhich software config cfn-init could use too22:45
SpamapSstevebaker: right22:46
SpamapSstevebaker: because we can't resolve in the usual parsing step because those things aren't known until the deploy step.22:46
stevebakerthat could be handled in the hook though. but its nicer when the hooks are dumb22:47
*** dims has joined #heat22:47
stevebakerSpamapS: another thing, get_file is currently the only mechanism for any composability (aside from nested stacks or resource providers). So you'll lose that, which may mean merge.py lives22:48
*** jmckind has quit IRC22:51
*** ramishra has joined #heat22:51
*** ramishra has quit IRC22:53
*** ramishra has joined #heat22:53
*** blomquisg has joined #heat22:55
*** ramishra has quit IRC22:58
*** gokrokve has quit IRC22:58
*** gokrokve has joined #heat23:00
*** gokrokve has quit IRC23:02
*** gokrokve has joined #heat23:02
*** gokrokve has quit IRC23:03
stevebakerSpamapS: do you have a particular objection to doing it in the hook? fwiw you could deploy the hook with the dib oac element23:05
*** harlowja has joined #heat23:09
SpamapSstevebaker: nested stacks only allow composing things at the resource level23:12
SpamapSstevebaker: I really only have a problem composing sub-resource things23:12
stevebakerSpamapS: ok, but get_file can only compose strings, not maps23:13
SpamapSwell I think you missed my intention there23:14
SpamapSI am fine with having 10 strings. :)23:14
SpamapSas long as I can control the order23:14
SpamapS(because then my tools can merge predictably)23:14
*** ramishra has joined #heat23:15
stevebakerok, order could be determined with depends_on between deployment resources23:15
SpamapSmy desire to have the maps inline is that it is unreadable without that. But they don't have to be mergable or even referencable in the template. I just need to say "put config x, y, and z on that server"23:15
*** andrew_plunk has quit IRC23:16
stevebakerSpamapS: but isn't order kind of irrelevant with tripleo, since the config execution order is determined by the orc run-parts order?23:16
SpamapSstevebaker: order is important.23:16
SpamapSno it is important23:17
*** cadenzajon has quit IRC23:17
SpamapSstevebaker: in places where two metadata structures overlap, I need to merge23:17
SpamapSas long as I can predict the merge I can test it and think about it.23:17
SpamapScan't think of a way to predict that merge w/o ordering23:17
stevebakerso later configs can override keys set by earlier ones?23:18
SpamapSstevebaker: the other option w/o ordering is to always break things up and never allow overlapping. But that seems unnecessarily rigid.23:18
SpamapSstevebaker: right, thats how we do it now but in a different context (ec2 overridden by /var/lib/heat-cfntools/cfn-init-data overridden by cfn fetched metadata)23:19
SpamapSstevebaker: I'm thinking about scenarios where we combine neutron-server and neutron-l3-agent ... it is possible they might disagree on configs to set.23:20
stevebakermaybe this is another thing that StructuredSoftwareConfig does. When the parent property is specified it loads that config and merges with it. You end up deploying a single merged config with a single deployment resource23:20
SpamapSstevebaker: we could also just stop dead on all conflicts23:20
SpamapSstevebaker: I really don't want to do too much work inside heat-engine23:20
SpamapSstevebaker: that sounds very... opinionated and rigid as well.23:21
stevebakerSpamapS: another option23:22
SpamapSminimum viable thing: just give 'em to me and I die on overlapping values.23:22
stevebakerSpamapS: we already have a MultipartMime config resource. Specify the order in that, then the merging happens in the hook/orc/oac/whatever23:22
SpamapSoh hm23:23
SpamapSstevebaker: I think I'm fine without ordering in the template for now.23:24
stevebakerSpamapS: what do you mean ordering in the template?23:25
SpamapSotp23:26
stevebakeryep, nope, still have no idea what you're talking about ;)23:27
SpamapSon the phone23:28
*** rpothier has joined #heat23:32
stevebakerah, not One True Pairing ;)23:33
*** achampion has joined #heat23:33
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279823:37
*** blomquisg has quit IRC23:38
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279823:38
*** jdob has quit IRC23:40
*** tims1 has quit IRC23:40
*** pablosan has quit IRC23:42
*** sabeen has quit IRC23:47
*** yogesh has quit IRC23:49
*** yogesh has joined #heat23:49
*** blomquisg has joined #heat23:52
*** scollier has quit IRC23:53
*** Tross has quit IRC23:54
*** yogesh has quit IRC23:54
*** sabeen has joined #heat23:54

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