Monday, 2014-10-20

*** Drago has joined #heat00:07
*** Drago has quit IRC00:23
*** Drago has joined #heat00:23
*** sdake_ has quit IRC00:25
*** sdake_ has joined #heat00:27
openstackgerritSteve Baker proposed a change to openstack/heat: Add support_status to SoftwareDeployments  https://review.openstack.org/12949500:28
*** Drago has quit IRC00:28
asalkeldstevebaker, ping00:28
asalkeldstevebaker, do you know the purpose of publicURL, internalURL, ...00:29
*** alexheneveld has quit IRC00:30
asalkeldcould we publish operator related api as internal?00:30
asalkeldso users not on a operator network just can't use the operator api?00:30
openstackgerritA change was merged to openstack/heat-specs: heat-manage service list  https://review.openstack.org/12259700:37
*** cody-somerville_ has quit IRC00:45
stevebakerasalkeld: pong00:47
asalkeldhi00:47
asalkeldjust wondering if we could specify part of our api for operators only00:47
asalkeldby registring it with the interanlURL00:48
stevebakeri think the v3 catalog doesn't even have publicURL etc, so I believe it is not an encouraged mechanism anymore00:48
asalkeldO, I see00:48
asalkeldi guess if we have a seperate endpoint, you can still do that tho'00:49
asalkeldpublish on a private network00:49
stevebakeri guess. how do other services expose their admin-only interfaces? I suspect just with policy.json00:51
asalkeldprobably00:56
*** justin-8 has joined #heat00:56
asalkeldshardy is still a bit nervous of that it seems00:56
*** Drago1 has joined #heat00:59
*** Drago1 has quit IRC00:59
*** Drago1 has joined #heat01:00
*** cody-somerville_ has joined #heat01:02
*** Qiming has joined #heat01:14
*** EricGonczer_ has joined #heat01:20
*** zhiwei has joined #heat01:21
*** EricGonczer_ has quit IRC01:23
*** erkules_ has joined #heat01:23
*** erkules has quit IRC01:26
asalkeldQiming, did you add the summit session "Lifecycle event notifications and hooks"01:27
Qimingasalkeld, not yet01:27
asalkeldwell there is one there01:27
asalkeldbut it needs more info01:27
asalkeldi have moved it to the "needs more info" section01:28
Qimingasalkeld, I'm okay with that since I don't have a background whether we need such a session at all01:29
asalkeldok01:29
Qimingasalkeld, I'm also okay if you need me to coordinate the discussion if people see it an important topic01:30
asalkeldit helps if there is more info so we can see what it is about01:30
Qimingagreed01:30
asalkeldthis next meeting we need to prioritise01:31
* Qiming is wondering who sold him out and what was the price? :)01:31
asalkeld?01:33
asalkeldwho sold you out?01:34
Qimingjust kidding01:34
asalkeldok01:34
*** apporc has joined #heat01:37
Qimingasalkeld, I'm gonna rebase this one, https://review.openstack.org/#/c/123481/01:39
asalkeldok01:39
Qimingthe intent is to do a rough split first, so that guys can work in parallel rather than a lot of rabase01:40
*** Yanyanhu has joined #heat01:40
asalkeldok, sounds good01:40
openstackgerritSteve Baker proposed a change to openstack/heat: Functional test UpdateStackTest  https://review.openstack.org/12949701:40
*** jpeeler has quit IRC01:41
stevebakerlarsks: regarding https://ask.openstack.org/en/question/50864/accessing-heat-provisioned-cinder-volumes/ I think shardy knows the rules for how volume IDs get truncated. Its a known thing01:46
*** nosnos has joined #heat01:54
*** jpeeler has joined #heat02:01
*** dimsum_ has quit IRC02:01
*** dimsum_ has joined #heat02:02
*** Qiming has quit IRC02:06
*** dimsum_ has quit IRC02:06
*** Drago1 has quit IRC02:17
*** LiJiansheng has joined #heat02:18
*** praveenkumar has joined #heat02:23
*** ramishra has joined #heat02:28
openstackgerrithuangtianhua proposed a change to openstack/heat: Inherit roles for create_trust_context()  https://review.openstack.org/12850902:50
openstackgerrithuangtianhua proposed a change to openstack/heat: Don't stop update immediately on error  https://review.openstack.org/12917702:57
openstackgerrithuangtianhua proposed a change to openstack/heat: Delete resource_data when keypair deleting  https://review.openstack.org/12950803:11
asalkeldlunch: brb03:15
*** hdd has joined #heat03:15
*** hdd has quit IRC03:24
*** nosnos has quit IRC03:24
*** nosnos has joined #heat03:25
*** nosnos has quit IRC03:29
openstackgerritSteve Baker proposed a change to openstack/heat: Functional test UpdateStackTest  https://review.openstack.org/12949703:31
*** hdd has joined #heat03:32
*** jyoti-ranjan has joined #heat03:36
*** nosnos has joined #heat03:48
*** ramishra has quit IRC03:52
*** ramishra has joined #heat03:58
*** ramishra has quit IRC04:10
*** ramishra has joined #heat04:16
*** lazy_prince is now known as killer_prince04:23
*** xhu has joined #heat04:28
*** xhu has quit IRC04:28
*** xhu has joined #heat04:29
*** xhu has left #heat04:30
*** sdake has quit IRC04:41
*** nkhare has joined #heat04:45
*** jyoti-ranjan has quit IRC04:53
asalkeldstevebaker, ping04:53
asalkeldstevebaker, this is running into code you wrote: http://www.gossamer-threads.com/lists/openstack/dev/4206304:54
*** jyoti-ranjan has joined #heat04:55
asalkeldhttps://github.com/openstack/heat/commit/029992e62ff334fddf31727ac5bac7e03faf728104:55
*** piccata has quit IRC04:57
*** piccata has joined #heat04:58
*** kebray has joined #heat05:02
*** kebray has quit IRC05:03
*** kebray has joined #heat05:04
*** elynn has quit IRC05:04
*** elynn has joined #heat05:06
skraynevGood morning all05:19
skraynevhi asalkeld05:19
asalkeldhi05:19
asalkeldskraynev, is pas-ha now coming to paris?05:21
skraynevyes05:21
asalkeldcool05:21
skraynevboth05:21
asalkeldwatch out i put your name on some things here: https://etherpad.openstack.org/p/kilo-heat-summit-topics05:22
*** ramishra_ has joined #heat05:24
*** ramishra has quit IRC05:28
*** alexpilotti_ has joined #heat05:28
*** alexpilotti has quit IRC05:29
*** alexpilotti_ is now known as alexpilotti05:29
*** killer_prince has quit IRC05:31
*** sanjayu has joined #heat05:35
*** nosnos has quit IRC05:59
*** nosnos has joined #heat06:00
*** ananta has joined #heat06:00
*** killer_prince has joined #heat06:01
*** killer_prince is now known as lazy_prince06:01
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/12818806:02
*** k4n0 has joined #heat06:11
*** pasquier-s has joined #heat06:14
*** ramishra has joined #heat06:16
*** ramishra_ has quit IRC06:16
*** jprovazn has joined #heat06:26
*** pasquier-s has quit IRC06:28
*** kopparam has joined #heat06:32
*** pscheie has quit IRC06:35
skraynevasalkeld: sure, will do06:38
*** ramishra has quit IRC06:38
*** nosnos has quit IRC06:39
*** nosnos has joined #heat06:39
*** dimsum_ has joined #heat06:40
*** kopparam has quit IRC06:43
*** dimsum_ has quit IRC06:45
*** tomek_adamczewsk has joined #heat06:45
*** Putns has joined #heat06:46
*** alexpilotti has quit IRC06:49
*** tspatzier has joined #heat06:49
*** sdake_ has quit IRC06:50
*** kopparam has joined #heat06:51
*** tomek_adamczewsk has quit IRC06:56
*** tomek_adamczewsk has joined #heat06:57
*** che-arne has joined #heat07:03
*** pasquier-s has joined #heat07:08
*** rushiagr_away is now known as rushiagr07:10
*** pas-ha has joined #heat07:11
pas-hamorning all07:11
skraynevhi pas-ha07:11
shardymorning all07:12
*** jstrachan has joined #heat07:16
*** kopparam has quit IRC07:22
*** jstrachan has quit IRC07:24
asalkeldshardy: Topic: API how to make some parts of the API optional07:27
asalkeldSession lead: shardy07:27
asalkeld:-)07:27
*** jstrachan has joined #heat07:27
*** jcoufal has joined #heat07:28
asalkeldpas-ha, do you feel like leading/helping with any of these summit topics?07:31
asalkeldif there is something that interests you just add your name there07:31
asalkeld(not pas-ha specific - any core dev)07:31
pas-haasalkeld, need to take a look first, I'm somewhat backlogged now due to an intense customer project... will look through today for sure07:32
asalkeldok, no worries then07:32
asalkeldbbl, taking a break07:33
*** jstrachan has quit IRC07:38
*** jstrachan has joined #heat07:43
*** ramishra has joined #heat07:43
*** jamielennox has joined #heat07:50
shardyasalkeld: ha! Ok, I can do that07:54
*** jstrachan has quit IRC07:56
*** hdd has quit IRC07:56
*** viktors|afk is now known as viktors07:57
*** tomek_adamczewsk has quit IRC07:58
*** jstrachan has joined #heat07:58
*** kopparam has joined #heat08:03
*** lazy_prince is now known as killer_prince08:04
*** jstrachan has quit IRC08:04
*** tomek_adamczewsk has joined #heat08:06
*** ramishra has quit IRC08:09
*** jstrachan has joined #heat08:10
*** jistr has joined #heat08:12
*** derekh has joined #heat08:12
*** ramishra has joined #heat08:15
*** tomek_adamczewsk has quit IRC08:17
*** ramishra has quit IRC08:25
*** ekarlso has joined #heat08:34
*** ananta has quit IRC08:37
openstackgerrithuangtianhua proposed a change to openstack/heat: Delete resource_data after resource deleted  https://review.openstack.org/12950808:37
*** rushiagr is now known as rushiagr_away08:38
*** ananta has joined #heat08:38
ekarlsohmm, when I do "ip: { get_attr: [ database0, networks, { get_attr: [ network, name ] }, 0] }" in a template becomes "null" is it nova that's failing heat then or ?08:39
*** tomek_adamczewsk has joined #heat08:46
*** tomek_adamczewsk has quit IRC08:46
*** tomek_adamczewsk has joined #heat08:47
*** che-arne has quit IRC08:49
*** julienvey has joined #heat08:49
*** kbyrne has joined #heat08:51
*** fayablazer has joined #heat08:51
*** mc__ has joined #heat08:55
*** che-arne has joined #heat08:56
*** rushiagr_away is now known as rushiagr08:57
mc__g'day! I'm a bit confused about autobalancing functionality in heat. It seems to be, as if there are two approches. (https://wiki.openstack.org/wiki/Heat/AutoScaling) -- one with AWS, and one draft. So the draft is a proposal, and not implemented yet. Am I right? In this blog entry, the shown solution is the AWS one? (http://techs.enovance.com/5991/autoscaling-with-heat-and-ceilometer)09:01
shardymc__: Hi!  Unfortunately much of what's in the wiki has bit-rotted, so I wouldn't rely on it as a definitive reference09:03
shardyThe best sources are:09:03
shardyhttps://github.com/openstack/heat-templates/tree/master/hot09:03
shardyand:09:03
shardyhttp://docs.openstack.org/developer/heat/template_guide/index.html09:03
shardyThere are some examples in heat-templates of both the AWS autoscaling resources, and OS::Heat::AutoScalingGroup, which is the heat-native way to do it09:04
ekarlsoshardy: u know about ^?09:04
mc__okay, then I'll try to get my head around those links, thank you :)09:05
shardymc__: check out asg*.yaml and autoscaling.yaml as a starting point09:06
shardyekarlso: I'd guess you have an error in your template, try using the "show" attribute on the server, so you can dump all the output and see what the problem is09:07
ekarlsoshardy: show attribute ?09:07
shardyhttp://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-attrs09:08
*** killer_prince has quit IRC09:09
*** lazy_prince has joined #heat09:09
*** justin-8 has quit IRC09:10
*** justin-8 has joined #heat09:11
*** tomek_adamczewsk has quit IRC09:14
*** tomek_adamczewsk has joined #heat09:15
*** ramishra has joined #heat09:22
*** pbelanyi has joined #heat09:28
*** k4n0 has quit IRC09:32
*** k4n0 has joined #heat09:34
*** ananta has quit IRC09:37
*** ananta has joined #heat09:37
*** ifarkas has joined #heat09:43
*** praveenkumar has quit IRC09:45
*** mc__ has quit IRC09:45
pas-hahe-he - since functional tests are merged our run_tests.sh is somewhat broken. as I haven't noticed that anyone complained (even me :) ), looks like we can remove it altogether, can't we?09:47
*** sanjayu has quit IRC09:49
shardypas-ha: I noticed ;)09:49
asalkeldpas-ha, i never use it - but i think shardy does09:49
asalkeldspeak of the old timer09:49
asalkeld:-)09:50
shardyhehe09:50
asalkeldmaybe we should change it to print out the command to use09:50
pas-haI was using it before, but since found me a way to easier run single tests with debugger breakpoints09:50
asalkeldpas-ha, how do you do it09:51
asalkeld(maybe add to the docs somewhere)09:51
pas-hahttps://github.com/pshchelo/dotfiles/blob/master/scripts/dtestr09:51
pas-hathat trick was somewhere in Openstack Wiki09:51
asalkeldbut what does that do?09:52
asalkelddoesn't seem to do anything09:52
shardyI guess maybe I'm lazy, but I liked it because I didn't have to keep track with the test-runner of choice, just hack on code, do run_tests.sh, done09:52
pas-hait uses testr for discovery (by regex) but runs tests with testtools runner, which works with berakpoints09:53
asalkeldi see09:53
shardyrecently I have used tox, testr, nose, testtools.run directly though, so maybe I've joined the insanity ;)09:53
shardyI'd love someone to provide an optimized workflow for running individual tests in a way you can easily debug them09:54
shardyevery way I try seems to have various pitfalls and annoyances09:54
asalkeldi don't really use a debugger:-O09:55
* shardy neither09:55
shardymaybe that's the problem?09:55
asalkeldwe seem to be productive09:56
asalkeldor at least i don't think finding the problem is normally the bottle neck09:56
shardyFixing 500 tests every time you change a few lines of code is ;)09:56
asalkeldshardy agree09:56
shardyThat's largely due to the way our tests have evolved tho09:57
asalkeldwe need to move more to unit tests09:57
shardy++09:57
asalkeldalso devstack setup can take time09:57
asalkeld(when it wants to fight you anyways)09:58
*** alexheneveld has joined #heat09:58
*** piccata has quit IRC10:00
*** piccata has joined #heat10:01
*** praveenkumar has joined #heat10:05
*** cdent has joined #heat10:06
*** kopparam has quit IRC10:09
*** kopparam has joined #heat10:10
*** justin-8_ has joined #heat10:10
*** justin-8 has quit IRC10:13
*** robklg has joined #heat10:13
*** asalkeld has quit IRC10:14
openstackgerrithuangtianhua proposed a change to openstack/heat: Delete resource_data after resource deleted  https://review.openstack.org/12950810:15
*** zhiwei has quit IRC10:17
*** rushiagr is now known as rushiagr_away10:17
*** KanagarajM has joined #heat10:18
openstackgerritA change was merged to openstack/heat: Put a cap on our cyclomatic complexity  https://review.openstack.org/12912610:27
*** asalkeld has joined #heat10:31
*** sanjayu has joined #heat10:36
*** Yanyanhu has quit IRC10:38
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo request_id module  https://review.openstack.org/12826810:44
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo middleware.base module  https://review.openstack.org/12826910:44
openstackgerritSteven Hardy proposed a change to openstack/heat: Remove oslo sslutils  https://review.openstack.org/12827010:45
*** KanagarajM has quit IRC10:51
*** ananta has quit IRC10:53
*** dimsum_ has joined #heat10:57
*** hdd has joined #heat11:05
openstackgerritAnant Patil proposed a change to openstack/heat: Hard delete backup stack after successful update.  https://review.openstack.org/12891811:07
*** lazy_prince has quit IRC11:09
*** slagle has joined #heat11:09
*** ananta has joined #heat11:10
*** lazy_prince has joined #heat11:10
*** julienvey has quit IRC11:16
*** julienvey has joined #heat11:16
*** rushiagr_away is now known as rushiagr11:21
*** kopparam has quit IRC11:22
*** kopparam has joined #heat11:22
*** kopparam has quit IRC11:27
*** killer_prince has joined #heat11:32
openstackgerritA change was merged to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/12818811:32
openstackgerritA change was merged to openstack/python-heatclient: Put a cap on our cyclomatic complexity  https://review.openstack.org/12912811:32
*** jprovazn has quit IRC11:37
*** kopparam has joined #heat11:39
openstackgerritA change was merged to openstack/heat: Do not match subnets if no networks defined  https://review.openstack.org/12814611:39
*** jstrachan has quit IRC11:40
*** jstrachan has joined #heat11:41
*** jstrachan_ has joined #heat11:48
*** jstrachan has quit IRC11:51
*** jstrachan has joined #heat11:52
*** killer_prince has quit IRC11:52
*** lazy_prince has quit IRC11:52
*** lazy_pri- has joined #heat11:52
*** lazy_pri- is now known as lazy_prince11:53
*** julienvey has quit IRC11:54
*** julienvey has joined #heat11:55
*** jstrachan_ has quit IRC11:56
openstackgerritThomas Spatzier proposed a change to openstack/heat: Fix support status for OS::Heat::SoftwareComponent  https://review.openstack.org/12958911:58
*** jstrachan has quit IRC11:58
*** jstrachan has joined #heat11:59
*** jstrachan_ has joined #heat12:03
*** pasquier-s_ has joined #heat12:04
*** ishant has joined #heat12:05
*** jstrachan has quit IRC12:05
*** jstrachan has joined #heat12:06
*** pasquier-s has quit IRC12:08
*** jstrachan_ has quit IRC12:09
*** chinmay has joined #heat12:10
*** jstrachan has quit IRC12:13
*** nkhare has quit IRC12:13
*** aweiteka has joined #heat12:14
*** jstrachan has joined #heat12:15
*** Yanyanhu has joined #heat12:16
*** jstrachan_ has joined #heat12:20
*** blomquisg has joined #heat12:20
*** jstrachan has quit IRC12:21
*** jstrachan has joined #heat12:23
*** asalkeld has quit IRC12:24
openstackgerritAngus Salkeld proposed a change to openstack/heat: Don't shadow local variables "resource"  https://review.openstack.org/12911112:24
*** jstrachan_ has quit IRC12:26
*** dimsum_ has quit IRC12:28
*** dimsum_ has joined #heat12:28
*** Yanyan has joined #heat12:29
*** rakesh_hs has joined #heat12:30
*** Yanyanhu has quit IRC12:30
*** jstrachan has quit IRC12:32
*** jstrachan has joined #heat12:33
*** erkules_ is now known as erkules12:34
*** ramishra has quit IRC12:36
*** jdob has joined #heat12:40
*** jprovazn has joined #heat12:42
*** jstrachan has quit IRC12:42
*** jstrachan has joined #heat12:43
openstackgerritAnant Patil proposed a change to openstack/heat: Hard delete backup stack after successful update.  https://review.openstack.org/12891812:44
*** hdd has quit IRC12:49
*** jstrachan_ has joined #heat12:49
*** jstrachan has quit IRC12:51
*** jstrachan has joined #heat12:53
*** kopparam has quit IRC12:53
*** radez_g0n3 is now known as radez12:55
*** jstrachan_ has quit IRC12:56
*** tonisbones has joined #heat12:56
*** jstrachan_ has joined #heat12:58
*** tomek_adamczewsk has quit IRC12:58
*** jstrachan has quit IRC12:59
*** aweiteka has quit IRC13:00
*** chinmay has quit IRC13:07
*** ananta has quit IRC13:08
*** aweiteka has joined #heat13:13
*** tomek_adamczewsk has joined #heat13:17
*** lazy_prince has quit IRC13:18
*** julienvey has quit IRC13:25
*** rbowen has joined #heat13:29
*** jasond has joined #heat13:33
*** tonisbones has quit IRC13:34
*** pscheie has joined #heat13:34
pscheieIs there a way to set the volume label of an ephemeral disk in heat?13:35
pscheieOr is that something that has to be designated in the flavor somehow?13:36
*** killer_prince has joined #heat13:37
*** killer_prince is now known as lazy_prince13:37
*** tonisbones has joined #heat13:37
*** serg_melikyan has joined #heat13:37
*** Drago has joined #heat13:44
*** Drago has quit IRC13:46
openstackgerritQiming Teng proposed a change to openstack/heat: Further split ASG code.  https://review.openstack.org/12962013:46
*** Qiming has joined #heat13:48
*** julienvey has joined #heat13:50
*** bdossant_ has quit IRC13:51
*** bdossant has joined #heat13:51
*** DandyPandy has quit IRC13:52
*** kopparam has joined #heat13:54
*** k4n0 has quit IRC13:55
*** jmckind has joined #heat13:58
*** jmckind has quit IRC13:58
*** sabeen1 has joined #heat13:58
*** rushiagr is now known as rushiagr_away13:58
*** Yanyan has quit IRC13:58
*** EricGonczer_ has joined #heat13:59
*** jmckind has joined #heat14:00
*** jmckind has quit IRC14:00
*** julienvey has quit IRC14:01
*** thedodd has joined #heat14:01
*** yassine has joined #heat14:02
*** EricGonczer_ has quit IRC14:03
*** jmckind has joined #heat14:03
*** jmckind has quit IRC14:03
*** jmckind has joined #heat14:04
*** EricGonczer_ has joined #heat14:04
*** jmckind has quit IRC14:04
*** jmckind has joined #heat14:05
*** jmckind has quit IRC14:05
*** ishant has quit IRC14:06
*** jmckind has joined #heat14:06
*** kopparam has quit IRC14:06
*** kopparam_ has joined #heat14:06
*** vijendar has quit IRC14:07
*** rpothier has joined #heat14:08
*** nosnos has quit IRC14:09
*** sanjayu has quit IRC14:09
*** nosnos has joined #heat14:09
*** nosnos has quit IRC14:14
*** praveenkumar has quit IRC14:14
*** apporc has quit IRC14:15
*** beekneemech is now known as bnemec14:16
*** jyoti-ranjan has quit IRC14:18
*** miguelgrinberg_ is now known as miguelgrinberg14:18
*** julienvey has joined #heat14:18
*** LiJiansheng has quit IRC14:20
*** ramishra has joined #heat14:27
*** jasond has quit IRC14:27
*** jasond has joined #heat14:28
*** serg_melikyan has quit IRC14:29
*** rwsu has joined #heat14:30
*** FL1SK has quit IRC14:30
*** mkollaro has joined #heat14:31
*** elynn_ has joined #heat14:43
*** thedodd has quit IRC14:44
Qiminghi, skraynev14:48
skraynevhi Qiming14:48
skraynevabout splitting?14:48
Qimingskraynev, thanks for your quick review14:48
Qimingyes14:48
*** serg_melikyan has joined #heat14:49
QimingI don't know how to rebase the previous patch series on master14:49
Qimingso I'm proposing a new one14:49
skraynevso.. possibly others should be abandoned or not?14:49
Qimingthe new one is directly based on master, because people have many different opinions on subclassing instanceGroup from ResourceGroup14:49
Qimingskraynev, just abandoned the previous one.  thank you so much for having been following this14:50
shardyQiming: are you familiar with git rebase -i origin?14:52
Qimingshardy, sadly, I am not14:53
shardyIt's a very powerful tool for rebasing patch series on branches to keep up with master14:53
shardyQiming: try this:14:53
shardygit checkout master; git pull; git checkout <your topic branch>; git rebase -i origin14:54
shardy(one command at a time is probably best ;)14:54
shardythe interactive rebase will help you resolve any merge conflicts, and also enable you to squash commits etc when review fixups are needed14:54
Qimingah, I did the first three steps, but I really don't know the '-i origion' option14:54
shardyQiming: it's one of several ways to do it, but that is the workflow I find works14:55
QimingI have been trapped again and again by 'git rebase --continue' and 'git rebase --abort', :)14:55
Qimingshardy, thanks, I really need to finish the book 'pro git'14:56
shardyThen if there's review fixup, I do git commit -a -m "fixup", then git rebase -i origin to move it below the patch being fixed, and mark it "f" in the first column14:56
shardyQiming: If a rebase gets too messy and/or confusing, you can cut/paste the list of patches from the git rebase -i origin output, checkout a new branch based on master, then cherry-pick each patch onto the new branch14:57
shardygit checkout master; git checkout mynewtopicbranch; git cherry-pick <sha copied from rebase -i output>14:58
Qimingshardy, most of the time, rebase is not so painful.  What really annoys me is that I was deleting a file in this patch, rebasing becomes really difficult14:58
*** jistr has quit IRC14:59
*** jistr has joined #heat15:01
*** sgordon_ has joined #heat15:03
*** DandyPandy has joined #heat15:08
*** praveenkumar has joined #heat15:16
*** serg_melikyan has quit IRC15:18
*** vijendar has joined #heat15:20
*** ananta_ has joined #heat15:20
*** stannie has joined #heat15:28
*** Drago has joined #heat15:29
*** serg_melikyan has joined #heat15:29
*** ananta_ has quit IRC15:31
*** ananta_ has joined #heat15:31
*** sdake has joined #heat15:31
*** sdake has quit IRC15:31
*** sdake has joined #heat15:31
*** FL1SK has joined #heat15:32
*** tspatzier has quit IRC15:33
*** Drago has quit IRC15:37
*** Drago has joined #heat15:37
*** pasquier-s_ has quit IRC15:38
*** fayablazer has quit IRC15:39
*** mkollaro has quit IRC15:41
*** jistr has quit IRC15:45
*** serg_melikyan has quit IRC15:46
*** Dragomir has joined #heat15:46
*** yassine has quit IRC15:48
*** Drago has quit IRC15:49
*** jstrachan has joined #heat15:52
*** jstrachan_ has quit IRC15:54
*** praveenkumar has quit IRC15:55
*** jstrachan_ has joined #heat15:55
*** jstrachan has quit IRC15:58
jdandreaHas anyone successfully deployed https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-ssh-copy-id.yaml using a properly made fedora image? I keep getting stuck at CREATE_IN_PROGRESS for the first SoftwareDeployment resource (do_key_gen).16:00
jdandreaIt's as if the built-in signaling of a SW deployment never reaches Heat, except I can use wait conditions and they reach Heat just fine. Weird.16:00
*** ramishra has quit IRC16:00
*** alexheneveld has quit IRC16:01
*** serg_melikyan has joined #heat16:03
openstackgerritSteven Hardy proposed a change to openstack/heat: ResourceGroup add remove_policies property  https://review.openstack.org/12836516:05
*** gondoi is now known as zz_gondoi16:06
*** jstrachan_ has quit IRC16:07
*** tomek_adamczewsk has quit IRC16:09
*** jstrachan has joined #heat16:09
*** hdd has joined #heat16:11
*** bdossant has quit IRC16:11
openstackgerritPeter Razumovsky proposed a change to openstack/heat: Convert value type in alarm matching_metadata  https://review.openstack.org/12886116:11
*** jstrachan_ has joined #heat16:11
*** ramishra has joined #heat16:13
*** jstrachan has quit IRC16:15
*** Qiming has quit IRC16:15
*** tomek_adamczewsk has joined #heat16:18
*** jstrachan_ has quit IRC16:18
*** jstrachan has joined #heat16:20
*** dimsum_ has quit IRC16:20
*** dimsum_ has joined #heat16:21
*** kopparam_ has quit IRC16:22
*** stannie has quit IRC16:23
*** tomek_adamczewsk has quit IRC16:24
*** dimsum_ has quit IRC16:25
*** serg_melikyan has quit IRC16:27
*** ananta_ has quit IRC16:28
*** jstrachan_ has joined #heat16:29
*** ramishra has quit IRC16:30
*** jstrachan has quit IRC16:31
*** cody-somerville_ is now known as cody-somerville16:31
*** blinky_ghost has joined #heat16:32
*** jamielennox has quit IRC16:37
*** jstrachan_ has quit IRC16:40
*** jstrachan has joined #heat16:43
*** thedodd has joined #heat16:47
jdandreaI tried a minimal test case for SoftwareDeployment (using a Fedora image created with heat-templates and so on). The deployment never signals completion. Am I missing something? http://paste.openstack.org/show/121687/16:50
*** elynn_ has quit IRC16:51
*** jstrachan has quit IRC16:51
*** tomek_adamczewsk has joined #heat16:52
*** jstrachan has joined #heat16:52
uberjjdandrea: does your image have the os-* scripts installed?16:52
*** tspatzier has joined #heat16:53
jdandreauberj: I followed the directions here: https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements16:53
jdandreaIt created the image, no errors.16:53
jdandreaSo if that has the os-* scripts, then yes.16:53
jdandrea(os-collect-config, os-refresh-config, os-cpply-config) - yay.16:54
uberjjdandrea: try sshing into the machine and running os-refresh-config?16:54
uberjthat can sometimes let you know what is wrong16:54
jdandreauberj: Will do.16:54
jdandreaThx16:54
jdandreauberj: I wasn't sure what the IP was though, because Heat won't give it to me until the deployment finishes. I should be able to get it through Nova though.16:55
uberjyep16:55
*** reed has joined #heat16:56
jdandreauberj: No route to host yet ... waiting a bit more ...16:57
*** jstrachan_ has joined #heat16:57
jdandreaHmm. It should be there by now. I only have the deployment to finish in the resource list.16:58
jdandreauberj: OK, I'm in.17:00
jdandreaRun os-refresh-config as root?17:00
uberjyeah17:00
*** jstrachan has quit IRC17:00
jdandreauberj: http://paste.openstack.org/show/122267/17:00
*** jstrachan has joined #heat17:02
uberjjdandrea: hmm, looks like something has that lock file17:03
uberjlsof the lockfile17:03
jdandreauberj: Yup. Pasting in some logs.17:03
uberjsee what that process is doing with strace17:03
jdandreaI'll lsof it.17:03
*** jstrachan_ has quit IRC17:03
*** radez is now known as radez_g0n317:04
*** ev0ldave has joined #heat17:04
jdandreauberj: Heh. os-refres (presumably os-refresh-config).17:04
jdandreauberj: arrgh, strace isn't on here.17:05
* jdandrea goes foraging17:06
*** jstrachan has quit IRC17:08
*** derekh has quit IRC17:09
*** jstrachan has joined #heat17:09
*** ifarkas has quit IRC17:10
*** thedodd has quit IRC17:11
*** daneyon has quit IRC17:12
*** daneyon has joined #heat17:12
*** jstrachan_ has joined #heat17:12
*** harlowja_away is now known as harlowja17:14
*** tspatzier has quit IRC17:14
*** jstrachan has quit IRC17:15
openstackgerritA change was merged to openstack/heat: Catch correct exception for Cinder api version detection  https://review.openstack.org/12936517:17
openstackgerritA change was merged to openstack/heat: Add support_status to SoftwareDeployments  https://review.openstack.org/12949517:18
*** swygue has quit IRC17:23
*** saurabhs has joined #heat17:26
*** julienvey has quit IRC17:28
*** alexheneveld has joined #heat17:29
*** julienvey has joined #heat17:32
openstackgerritA change was merged to openstack/heat: Don't shadow local variables "resource"  https://review.openstack.org/12911117:37
*** cdent has quit IRC17:41
*** tomek_adamczewsk has quit IRC17:47
*** tomek_adamczewsk has joined #heat17:48
*** julienvey has quit IRC17:48
*** blinky_ghost has quit IRC17:48
*** sabeen2 has joined #heat18:03
jdandreauberj: So ... I was pulled into a meeting. When I got *back*, lsof showed nothing holding on to the lock anymore. :/18:04
jdandreauberj: Here's what I had seen about an hour ago: http://paste.openstack.org/show/122279/18:05
*** sabeen1 has quit IRC18:05
jdandreaRunning /usr/local/bin/os-refresh-config again ...18:05
uberjjdandrea: did the stack create complete?18:05
jdandreauberj: It DID. Hmm.18:06
uberjwell18:06
uberjdidn't you have issues sshing?18:06
uberjmaybe your vms are taking a really long time to boot18:06
jdandreaNo, I eventually got in. I think that was just the server standing up.18:06
uberjright18:06
jdandreaIf I use cloud-init this all works. I'm just trying to use SoftwareDeployment instead.18:06
jdandrea... and then I ran into this.18:06
uberjhmm, that *is* odd18:07
jdandreaSo the refresh-config is working.18:07
jdandreauberj: Yeah. cloud-init finishes in minutes.18:07
jdandreaCheck out the paste though. Some things didn't kick off successfully: http://paste.openstack.org/show/122279/18:07
jdandreauserdata and scripts-user module failed to run? (Same thing?)18:08
uberjif it eventually is creating the stack you'll need to figure out what is taking so long18:09
jdandreauberj: Not sure what would be different. It's the same script. :-o18:10
jdandreaWhat I *do* see is that userdata and scripts-user fail to run, but I don't understand why.18:10
*** thedodd has joined #heat18:10
jdandreaAFAIK that is internal to how SoftwareDeployment works.18:11
*** tomek_adamczewsk has quit IRC18:11
*** dimsum_ has joined #heat18:11
uberjjdandrea: you've exhausted my obvious trouble shooting steps :)18:12
jdandreauberj: Ha! Well I appreciate it, because it gets me a bit further along.18:12
*** tomek_adamczewsk has joined #heat18:12
jdandreaI wonder who I could show this to (who knows OS::Heat::SoftwareDeployment).18:13
uberjstevebaker apparently wrote that stuff18:13
*** ifarkas has joined #heat18:13
jdandreauberj: Ah, yes. I don't think he's on.18:13
*** julienvey has joined #heat18:14
*** hdd has quit IRC18:19
*** hdd has joined #heat18:20
*** thedodd has quit IRC18:27
*** spzala has joined #heat18:29
*** julienvey has quit IRC18:32
*** julienvey has joined #heat18:35
*** tomek_adamczewsk has quit IRC18:38
pas-hag'night all18:39
*** pas-ha has quit IRC18:39
*** julienvey has quit IRC18:40
*** julienvey has joined #heat18:41
*** jcoufal has quit IRC18:55
*** rushiagr_away is now known as rushiagr18:57
*** saurabhs1 has joined #heat18:57
*** saurabhs has quit IRC18:59
*** julienvey has quit IRC18:59
*** jstrachan_ has quit IRC19:02
*** ev0ldave has left #heat19:11
*** swygue has joined #heat19:11
*** rushiagr is now known as rushiagr_away19:13
*** kebray has quit IRC19:14
*** swygue has quit IRC19:20
jdandreauberj: So I'm now having fun with strace ... and it appears that the deployment *is* running. It's just taking a really really really REALY long time.19:22
* jdandrea forgot just how much fun strace is19:22
*** sabeen2 has quit IRC19:23
*** sabeen has joined #heat19:23
*** ifarkas has quit IRC19:24
uberjjdandrea: hmm, what is your softwareconfig doing?19:25
jdandreaIt's echoing the environment variables and exiting.19:26
jdandreaThat's it. I whittled it down on purpose.19:26
jdandreaThe strace is making a ton of requests to the metadata server (the magic ip, IIRC).19:26
uberjis your network connection slow?19:26
jdandreauberj: I sure hope not (eek). With a plain SoftwareConfig it's nice and quick.19:27
*** serg_melikyan has joined #heat19:27
*** andreaf has joined #heat19:28
jdandreaI'm seeing the same requests again in strace output. Something is looping (?).19:28
uberjos-apply-config loops19:29
uberjyou may be seeing that19:29
jdandreaThis is os-collect-config19:29
*** kebray has joined #heat19:29
uberjah, I got them mixed up19:30
jdandreaMeanwhile, the stack is still CREATE_IN_PROGRESS and the deployment hasn't signaled.19:30
*** radez_g0n3 is now known as radez19:30
jdandreauberj: You mean os-collect-config loops?19:30
uberjyeah, one of those19:31
jdandrealsof /var/run/os-refresh-config.lock no longer returns anything, so that's good. os-collect-config loops anyway, so that also sounds good.19:32
*** serg_melikyan has quit IRC19:32
uberjwhat does 'heat event-list' say?19:32
uberjwhich resource has yet to complete?19:32
jdandreathe SoftwareDeployment.19:33
uberjtry removing the 'actions:' parameter19:33
jdandreaOh! So no CREATE.19:33
uberj!s/parameter/properties/19:33
openstackuberj: Error: "s/parameter/properties/" is not a valid command.19:33
jdandreaYup.19:33
jdandreaI also made signal_transport: HEAT_SIGNAL19:34
uberjI think that should be okay, but I use the default which iirc is CFN_SIGNAL19:34
jdandreaBecause that's the only way I get extra info I need on the VM (not using it right now, but still).19:34
jdandreahttps://github.com/openstack/heat/blob/master/heat/engine/resources/software_config/software_deployment.py (line 324)19:35
jdandreaI could pass those in but if I can get them from the resource plugin ...19:35
jdandreaAlso wondering about DEPLOY_STACK_ID - it's the stack path, not just the id.19:35
jdandreaBut that's another Q for another time.19:35
jdandreaOK, trying again without actions: [CREATE]19:36
jdandrea(meaning $deploy_stack_id is 'name-of-stack/stack-id' vs just 'stack-id')19:37
jdandreauberj: Ok, we are standing up a new stack and are back at the SDeployment part.19:39
* jdandrea waits for the server to catch up so he can ssh in to it.19:40
jdandreaIt's interesting. At first there's no route to the host. Then I am asked for ec2-user's password, and eventually I can just get in (by that time the key is set up).19:41
jdandreauberj: So I'm on the server again, and here's what I see in terms of /opt/stack processes: http://paste.openstack.org/show/122318/19:42
*** rakesh_hs has quit IRC19:44
jdandreashardy: SoftwareDeployment for a three line SoftwareConfig script (dumps environment variables to a heat output file) is taking a very long time, while a pure cloud-init is nice and fast. Any thoughts as to what might be holding it up? (I've been poking around on the VM for clues.)19:47
*** Dragomir has quit IRC19:48
*** sabeen has quit IRC19:49
*** julienvey has joined #heat19:49
jdandrea20-compile-and-install-selinux-policies seemed to take a long time. So is 55-heat-config19:49
jdandrea(now).19:49
*** julienvey has quit IRC19:54
*** julienvey has joined #heat19:54
*** FL1SK has quit IRC19:57
*** julienvey has quit IRC19:59
*** sdake_ has joined #heat20:01
*** FL1SK has joined #heat20:01
*** julienvey has joined #heat20:04
openstackgerritJason Dunsmore proposed a change to openstack/heat: Make Cloud Loadbalancer properties updatable  https://review.openstack.org/12939120:06
jdandreauberj: I might have found the smoking gun. There was a typo in heat.conf:heat_watch_server_url. Ugh. However ... do I even *need* to set that?20:06
jdandreaThere's nothing listening on :8003 anyway.20:06
* jdandrea comments it out and tries again.20:09
jdandrea(after bouncing heat-engine)20:10
*** harlowja is now known as harlowja_away20:10
*** tonisbones has quit IRC20:17
*** Murali_ has joined #heat20:21
*** jprovazn has quit IRC20:35
*** Dragomir has joined #heat20:36
*** dimsum_ has quit IRC20:37
*** dimsum_ has joined #heat20:38
stevebakerjdandrea: \o20:41
jdandreastevebaker: Hiya.20:41
* jdandrea yep, still waiting for the SoftwareDeployment to finish (signal?).20:42
*** dimsum_ has quit IRC20:42
*** aweiteka has quit IRC20:43
*** jdob has quit IRC20:44
*** Dragomir has quit IRC20:46
*** gooblja_ has quit IRC20:46
stevebakerjdandrea: so a general tip for diagnosing config issues is to ssh in and run as root20:50
stevebakerjdandrea: systemctl stop os-collect-config20:50
jdandreastevebaker: I've been doing that all day.20:50
jdandreaAh, that part I did *not* do (stopping os-collect-config).20:51
stevebakerjdandrea: os-collect-config --one-time --debug20:52
jdandreastevebaker: ok20:52
stevebakerjdandrea: there will be efforts during Kilo to improve the debugging experience20:52
*** radez is now known as radez_g0n320:52
jdandreastevebaker: tyvm20:53
jdandreaSo after I run the one time collect, I can scour the debug.20:53
jdandreaIt looks as though 20-compile-and-install-selinux-policies takes a very long time. I'm wondering if I did something wrong in creating the image, except I followed the steps on github to the letter and it seemed fine.20:54
jdandreastevebaker: Do I need to set heat_watch_server_url in my config? (Looks like I'd point it to port 8003, but I don't see anything listening on that port as it is.)20:57
*** radez_g0n3 is now known as radez20:57
jdandrea(Maybe AWS/CFN, which we don't do much with.)20:57
stevebakerjdandrea: maybe its doing a selinux relabel on boot, that would suck20:57
jdandreastevebaker: Oh. Ick.20:57
jdandreaWhy on earth ... ?20:57
stevebakerjdandrea: I don't think heat_watch_server will interact with what you're doing20:57
jdandreastevebaker: Yeah.20:58
*** tspatzier has joined #heat20:58
stevebakerjdandrea: relabel would ideally happen during image build, but maybe it isn't in current git diskimage-builder20:58
jdandreaOhhh.20:58
stevebakerassuming that is what you're using20:58
jdandreastevebaker: I followed these steps to the letter - https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements20:59
* jdandrea runs os-collect-config and tees it off to a log, watches the show21:00
jdandreastevebaker: Yeah, it's running 20-compile-and-install-selinux-policies now.21:01
stevebakerjdandrea: we're not gating on image building yet so things could change. You could try leaving out selinux-permissive, or use disable-selinux instead21:01
jdandreastevebaker: ok.21:02
jdandreastevebaker: I'll let this run, and meanwhile I'll build another image w/o selinux-permissive.21:03
*** tspatzier has quit IRC21:03
jdandreastevebaker: Weird. Only 186 seconds? Hmm. http://paste.openstack.org/show/122346/21:08
jdandreaMeanwhile, the SoftwareDeployment remains in progress.21:09
* jdandrea scratches head21:09
*** sdake_ has quit IRC21:13
*** FL1SK has quit IRC21:15
*** dsneddon has quit IRC21:15
stevebakerjdandrea: you should be getting more verbose logging than that. what are you running?21:15
*** dsneddon has joined #heat21:15
jdandreaI'm on Icehouse (?).21:16
-openstackstatus- NOTICE: Zuul erroneously marked some changes as having merge conflicts. Those changes have been added to the check queue to be rechecked and will be automatically updated when complete.21:20
stevebakerjdandrea: I mean what os-* command are you running? or are you just tailing a log?21:24
*** EricGonczer_ has quit IRC21:24
jdandreastevebaker: os-collect-config --one-time --debug | tee /tmp/os-collect-config.log21:24
jdandreaUnless some of that didn't go to stdout.21:25
jdandrea2>&1 to the rescue?21:25
* jdandrea runs it w/o the log.21:25
*** Murali_ has left #heat21:25
jdandreaYep. There's more.21:25
stevebakerheh21:28
*** rpothier has quit IRC21:31
*** gokrokve has joined #heat21:40
*** openstackgerrit has quit IRC21:40
*** alexheneveld has quit IRC21:41
*** ccrouch has quit IRC21:42
*** packet has joined #heat21:43
*** packet is now known as Guest2921221:43
*** Guest29212 has quit IRC21:44
*** dimsum_ has joined #heat21:45
*** jasond has quit IRC21:45
*** ari__ has joined #heat21:46
ari__Hi everyone I am working with some sample templates using the neutron resources and I am wondering if I can create twon subnets using the same CIDR block under two different networks21:47
*** radez is now known as radez_g0n321:48
*** dims_ has joined #heat21:49
*** dims_ has quit IRC21:51
*** dims_ has joined #heat21:51
*** dimsum_ has quit IRC21:52
*** sgordon_ has quit IRC22:06
*** Dragomir has joined #heat22:08
*** julienvey has quit IRC22:10
*** julienvey has joined #heat22:10
*** julienvey has quit IRC22:14
*** asalkeld has joined #heat22:22
*** jmckind has quit IRC22:29
stevebakerasalkeld: I replied to http://www.gossamer-threads.com/lists/openstack/dev/4206322:34
stevebakerasalkeld, zaneb: I think the issue is null properties_data values22:35
*** Murali_ has joined #heat22:40
asalkeldthanks stevebaker22:43
*** openstackgerrit has joined #heat22:43
*** Murali_ has quit IRC22:45
*** harlowja_away is now known as harlowja22:48
*** Murali_ has joined #heat22:49
*** Murali_ has quit IRC22:49
*** Murali has joined #heat22:50
openstackgerritSteve Baker proposed a change to openstack/heat: Tolerate null on Json db load  https://review.openstack.org/12975022:52
*** alexheneveld has joined #heat23:00
*** gokrokve_ has joined #heat23:03
*** gokrokve has quit IRC23:03
*** swygue has joined #heat23:12
*** dims_ has quit IRC23:12
*** dimsum_ has joined #heat23:13
openstackgerritA change was merged to openstack/python-heatclient: Pass auth_url if os_no_client_auth specified  https://review.openstack.org/12798723:13
*** saurabhs1 has left #heat23:14
*** dimsum_ has quit IRC23:17
*** julienvey has joined #heat23:21
*** julienvey has quit IRC23:25
asalkeldstevebaker, https://github.com/openstack/heat/blob/master/heat/engine/resources/software_config/software_deployment.py#L50523:27
asalkeldhow does that work?23:27
asalkeldwas just looking at your comment here: https://review.openstack.org/#/c/125251/23:27
*** sgordon_ has joined #heat23:40
*** hdd has quit IRC23:52
*** hdd has joined #heat23:57
stevebakerasalkeld: it might not. I was reluctant for tspatzier to add that validation anyway23:58

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