Monday, 2016-05-09

*** tmatsu_ has joined #heat00:01
*** tmatsu has quit IRC00:04
*** hdd has joined #heat00:21
*** Guest460 is now known as mfisch00:32
*** mfisch is now known as Guest8170400:32
*** yanyanhu has joined #heat00:49
*** catintheroof has joined #heat00:55
*** hdd has quit IRC01:34
*** asalkeld has quit IRC01:35
*** spzala has joined #heat01:40
*** tmatsu has joined #heat01:56
*** elynn has joined #heat01:57
elynnMorning heat :)01:57
*** tmatsu__ has joined #heat01:57
*** tmatsu_ has quit IRC02:00
*** tmatsu has quit IRC02:01
*** spzala has quit IRC02:03
*** spzala has joined #heat02:04
*** DevBox has joined #heat02:04
*** vijendar has joined #heat02:05
*** spzala has quit IRC02:08
*** DevBox has quit IRC02:15
*** wangbo has quit IRC02:29
*** wangbo has joined #heat02:31
*** vijendar has quit IRC02:41
*** tmatsu has joined #heat02:43
*** tmatsu__ has quit IRC02:47
*** asalkeld has joined #heat02:50
openstackgerrithuangtianhua proposed openstack/heat: Use '--visibility' instead of '--is-public'  https://review.openstack.org/31396302:57
*** Guest81704 is now known as mfisch03:03
*** mfisch is now known as Guest3001803:04
*** hdd has joined #heat03:08
*** zz_dimtruck is now known as dimtruck03:29
*** tochi has quit IRC03:31
*** links has joined #heat03:44
openstackgerritSteve Baker proposed openstack/heat: StackSummary for loading minimal stack data  https://review.openstack.org/31322803:50
openstackgerritSteve Baker proposed openstack/heat: Eager fetch stack tags with a subqueryload  https://review.openstack.org/31397303:50
*** catintheroof has quit IRC03:56
*** KanagarajM has joined #heat03:56
*** fragatina has quit IRC03:58
*** tochi has joined #heat03:59
*** kse has joined #heat03:59
*** spzala has joined #heat04:04
*** elynn has quit IRC04:08
*** dimtruck is now known as zz_dimtruck04:09
*** zz_dimtruck is now known as dimtruck04:09
*** spzala has quit IRC04:10
*** fragatina has joined #heat04:13
*** fragatina has quit IRC04:18
*** dimtruck is now known as zz_dimtruck04:19
*** fragatina has joined #heat04:29
*** fragatina has quit IRC04:29
*** fragatina has joined #heat04:30
*** wangbo has quit IRC04:34
*** wangbo has joined #heat04:34
*** tmatsu_ has joined #heat04:38
*** tmatsu__ has joined #heat04:41
*** tmatsu has quit IRC04:42
*** tmatsu_ has quit IRC04:45
*** wangbo has quit IRC05:01
*** elynn has joined #heat05:02
*** elynn has quit IRC05:07
*** elynn has joined #heat05:07
*** hdd has quit IRC05:08
openstackgerritMerged openstack/heat: Don't use two different names for the same flag  https://review.openstack.org/31164105:14
*** wangbo has joined #heat05:15
*** tmatsu__ has quit IRC05:16
*** tmatsu has joined #heat05:18
*** tmatsu_ has joined #heat05:22
*** tmatsu has quit IRC05:24
openstackgerritMerged openstack/heat-templates: Use new openstack heat plugins for validation  https://review.openstack.org/28541405:24
*** rcernin has joined #heat05:40
*** ananta has joined #heat05:50
openstackgerritKanagaraj Manickam proposed openstack/heat: Enable client plugin to support dynamic api version  https://review.openstack.org/25544306:00
*** tmatsu has joined #heat06:06
openstackgerritKanagaraj Manickam proposed openstack/heat: Cleanup magnum client test case  https://review.openstack.org/31398806:07
openstackgerritKanagaraj Manickam proposed openstack/heat: Migrate nova_instance to physical_resource_id  https://review.openstack.org/11055706:09
*** tmatsu_ has quit IRC06:09
*** ccard has joined #heat06:10
*** afazekas_ is now known as afazekas06:10
anantaHi, Good morning all!06:18
asalkeldo/06:18
anantaI need some help setting up experimental jobs in heat for magnum, murano, trove etc06:18
anantafor the services that use heat, so that we can test convg doesn't break them06:19
anantaasalkeld: hi, how are you?06:19
asalkeldhi, good thanks and you?06:19
anantame too06:20
asalkeldtook me a while to get over the jet lap :-(06:20
asalkeldlag..06:20
anantaasalkeld: yeah :) I was sleepy whole day for last week06:20
anantaI seem to be ok now06:21
openstackgerritKanagaraj Manickam proposed openstack/heat: Migrate nova_instance to physical_resource_id  https://review.openstack.org/11055706:21
anantaIST is almost exactly opposite of US tZ06:21
anantaI submitted a patch https://review.openstack.org/#/c/313525/ for enabling magnum as experimental but doesn't look good :(06:22
*** tmatsu_ has joined #heat06:36
*** tmatsu has quit IRC06:39
*** xek__ is now known as xek06:43
*** openstackgerrit has quit IRC06:47
*** openstackgerrit has joined #heat06:48
*** jprovazn has joined #heat07:02
*** fragatina has quit IRC07:04
*** spzala has joined #heat07:04
*** Drago has joined #heat07:08
*** Drago has quit IRC07:08
*** Drago has joined #heat07:08
*** spzala has quit IRC07:09
*** cmyster has quit IRC07:19
*** ccamacho has joined #heat07:19
*** gokhan_ has quit IRC07:20
therveGood morning!07:21
*** wangbo has quit IRC07:25
*** zeih has joined #heat07:29
*** gokhan_ has joined #heat07:33
*** vincentll has joined #heat07:33
*** shardy has joined #heat07:38
*** Drago has quit IRC07:44
*** wangbo has joined #heat07:46
*** jreypo has joined #heat07:47
openstackgerritMerged openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/31375507:48
*** zeih has quit IRC07:51
*** jreypo has quit IRC07:56
*** jrey has joined #heat07:57
*** jrey has quit IRC07:57
*** derekh has joined #heat08:07
*** jreypo has joined #heat08:07
*** cmyster has joined #heat08:08
*** cmyster has joined #heat08:08
*** wangbo has quit IRC08:10
jreypopart08:16
*** jreypo has left #heat08:16
*** openstackgerrit has quit IRC08:17
*** openstackgerrit has joined #heat08:18
*** jaosorior has joined #heat08:19
*** yuanying has quit IRC08:23
*** blues-man has joined #heat08:24
*** wangbo has joined #heat08:24
*** jistr has joined #heat08:32
*** fragatina has joined #heat08:36
*** yassine has joined #heat08:38
*** yassine is now known as Guest2830508:39
*** Guest28305 is now known as yassou08:39
*** jamielennox is now known as jamielennox|away08:40
*** zeih has joined #heat08:40
*** zeih has quit IRC08:44
*** sorantis has joined #heat08:47
*** mkoderer__ has joined #heat09:04
*** tmatsu has joined #heat09:05
openstackgerritAnant Patil proposed openstack/heat: Convergence: Throttle to sync point updates  https://review.openstack.org/26192909:06
*** zeih has joined #heat09:07
*** tmatsu_ has quit IRC09:08
openstackgerritMerged openstack/heat: Exclude plugins from custom_guidelines.py  https://review.openstack.org/31322709:09
*** tmatsu_ has joined #heat09:11
openstackgerritKanagaraj Manickam proposed openstack/heat: Enable client plugin to support dynamic api version  https://review.openstack.org/25544309:11
*** tmatsu has quit IRC09:11
*** zeih has quit IRC09:12
openstackgerritAnant Patil proposed openstack/heat: Convergence: Throttle to sync point updates  https://review.openstack.org/26192909:14
*** zeih has joined #heat09:18
*** elynn has quit IRC09:32
*** kse has quit IRC09:32
openstackgerritAnant Patil proposed openstack/heat: Convergence: Throttle to sync point updates  https://review.openstack.org/26192909:44
*** khushbu has joined #heat09:51
*** tochi has quit IRC09:52
*** yassou has quit IRC09:57
*** yanyanhu has quit IRC10:03
*** zeih_ has joined #heat10:15
*** zeih_ has quit IRC10:17
*** zeih has quit IRC10:18
*** zeih has joined #heat10:22
*** zeih has quit IRC10:38
*** tmatsu_ has quit IRC10:47
*** dmellado|off is now known as dmellado10:47
*** ananta has quit IRC10:48
*** tmatsu has joined #heat10:49
*** tmatsu has joined #heat10:49
*** zeih has joined #heat10:58
*** blomquisg is now known as blomquisg_gone11:01
*** spzala has joined #heat11:05
openstackgerrithuangtianhua proposed openstack/heat: Set correct security_groups for internal ports  https://review.openstack.org/31404811:08
*** spzala has quit IRC11:09
*** yassine has joined #heat11:10
*** cmyster has quit IRC11:10
*** yassine is now known as Guest5287411:10
openstackgerrithuangtianhua proposed openstack/heat: Set security_groups when create internal ports for nova server  https://review.openstack.org/31404811:10
*** Guest52874 is now known as yassou11:13
*** jaosorior has quit IRC11:15
*** jaosorior has joined #heat11:16
*** Izlots has joined #heat11:21
IzlotsHey there. Rackspace has this 2 kind of servers, the one?s with disk and the one?s without. I?m asking myself if it is possible to write a heat template and decide by flavour parameter if I need to add a disk or not?11:21
Izlotsmaybe by placing this 2 kind of servers in 2 different sub templates or so?11:22
*** ccamacho is now known as ccamacho|lunch11:28
*** jaosorior has quit IRC11:33
*** jaosorior has joined #heat11:33
*** tmatsu has quit IRC11:34
*** KanagarajM_ has joined #heat11:34
*** KanagarajM has quit IRC11:35
*** sorantis_ has joined #heat11:36
*** sorantis has quit IRC11:38
*** sorantis_ is now known as sorantis11:38
*** khushbu has quit IRC11:50
openstackgerritOleksii Chuprykov proposed openstack/heat: Add yaql function  https://review.openstack.org/19698411:51
*** fragatina has quit IRC11:54
*** khushbu_ has joined #heat11:55
openstackgerritOleksii Chuprykov proposed openstack/heat: Add retry for detach interface during rollback  https://review.openstack.org/30649011:57
*** blomquisg_gone is now known as blomquisg11:58
*** Izlots has quit IRC11:58
*** dprince has joined #heat12:00
*** jreypo has joined #heat12:02
openstackgerritMerged openstack/heat: Use '--visibility' instead of '--is-public'  https://review.openstack.org/31396312:02
*** coreyob has joined #heat12:09
*** higgins` has quit IRC12:14
*** khushbu_ has quit IRC12:15
*** DevBox has joined #heat12:19
*** zeih has quit IRC12:24
*** zeih has joined #heat12:25
*** ccamacho|lunch has quit IRC12:25
*** khushbu_ has joined #heat12:27
*** iurygregory has joined #heat12:28
*** jdob has joined #heat12:28
*** ccamacho has joined #heat12:29
*** zeih has quit IRC12:30
*** higgins has joined #heat12:44
openstackgerritKanagaraj Manickam proposed openstack/heat-specs: python-heat-template  https://review.openstack.org/27769312:47
*** srwilkers has joined #heat12:49
*** DandyPandy has quit IRC12:57
*** elynn has joined #heat12:57
*** mvpnitesh has joined #heat12:58
mvpniteshHi guys, Good evening12:58
mvpniteshI've a doubt regarding resource signal , please explain me what is resource-signal and why do we use it13:00
*** DandyPandy has joined #heat13:00
*** links has quit IRC13:02
*** DandyPandy has quit IRC13:05
thervemvpnitesh, You use it to signal a resource.13:07
*** jcoufal has joined #heat13:07
therveWhat it does depend on the resource. Your question deserves some clarification13:07
mvpnitesh@therve , if i create a instance using hot template13:08
mvpniteshit that i specify my resource name13:08
mvpniteshif i give resource-list of the stack13:09
*** wangbo has quit IRC13:09
mvpniteshi'll get the resource name, If i do resource signal i.e   heat resource-signal Nitesh my_instance13:10
therveWhy would you do that?13:11
mvpniteshi'm not getting any response , i just want to know what is the return type of resource signal and does it return anything13:11
therveIf that's your question, then yes signal doesn't return anything13:12
*** DandyPandy has joined #heat13:12
mvpnitesh@Therve Thanks13:13
mvpnitesh@Therve why do we use it , As you said signal to resource , what does that mean ?13:13
mvpniteshDoes it just check whether resource of that stack is there or not ?13:14
therveIt depends on the resource13:14
therveNo13:14
therveIt can unset a hook for example13:14
*** arlion has joined #heat13:15
therveOr tell a deployment that it's done13:15
therveOr trigger a wait condition13:15
*** jtomasek_ has joined #heat13:15
mvpnitesh@THerve Thanks , can you please provide any link regarding this resource signal with an example13:17
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409413:17
therveNo, I don't have one13:17
mvpniteshthrough api refference link http://developer.openstack.org/api-ref-orchestration-v1.html and through cli http://docs.openstack.org/cli-reference/heat.html13:18
mvpniteshi couldn't find much info using them13:18
mvpniteshcan you provide any link which has info regarding resource signal13:19
*** jtomasek_ has quit IRC13:22
shardytherve: Hey, re your summit summary - can you please loop me in prior to the switch to convergence by default - we'll have to get a patch into TripleO to turn it off13:23
shardypersonally I'd be much happier if we addressed the severe performance penalty before changing the default, but I accept I may be in the minority13:24
zanebshardy: by 'performance' you mean memory usage specifically?13:26
shardyzaneb: memory usage and optimzing the DB access13:27
shardyboth are a barrier to enabling convergence for TripleO usage13:27
zanebok, 'cause I feel like we're close on the memory usage13:27
*** fultonj has joined #heat13:28
openstackgerritDenes Nemeth proposed openstack/heat-specs: fix indents  https://review.openstack.org/31409813:28
*** vishwanathj has joined #heat13:28
shardyzaneb: That's good news - are there patches other than cwolferh's that I should be testing now?13:28
* shardy hasn't been following heat reviews that closely lately, apologies13:28
*** Izlots has joined #heat13:29
zanebshardy: I think the combination of https://review.openstack.org/311837 and a modified version of cwolferh's patch rebased on top of that will make a big difference13:29
zanebprobably nothing more to test until that rebase happens though13:30
shardyzaneb: Ah, thanks, I'd missed that patch13:31
shardydefinitely looks like a big improvement :)13:31
zanebby itself it doesn't do much, but the combination should13:32
shardyyup13:32
zanebI haven't looked at DB stuff at all13:33
zanebI feel like that's a lower priority though13:33
zaneb'slow' is just a PITA13:34
zaneb'need a bigger box to even run this' is a show-stopper13:34
rook:)13:34
zanebshardy: btw one of the thing we discussed in the session was making sure that projects that depend on Heat are well informed that the switch is going to be flipped. it's understood that TripleO may be probably the last one to get rid of a local override, quite possibly not until Ocata13:36
*** srwilkers has quit IRC13:46
*** david-lyle_ has joined #heat13:48
*** srwilkers has joined #heat13:48
*** cmyster has joined #heat13:48
*** cmyster has joined #heat13:48
*** david-lyle has quit IRC13:50
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409413:51
*** elynn has quit IRC13:53
*** pradk has joined #heat13:54
*** cmyster has quit IRC13:55
*** elynn has joined #heat13:55
*** mbeierl has quit IRC13:57
*** mbeierl1 has joined #heat13:58
*** jprovazn has quit IRC13:59
jdobtherve, KanagarajM_: the blueprint for https://review.openstack.org/#/c/312712/ got approved, when you get a second, can one of you +A that review? the zuul job also got approved so i'd like to get that all finished off14:00
therveSure14:00
*** KanagarajM_ has quit IRC14:02
*** catintheroof has joined #heat14:03
*** spzala has joined #heat14:05
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409414:05
*** lrensing has joined #heat14:07
*** d0ugal has quit IRC14:07
jdobthanks therve :D14:08
*** fultonj_ has joined #heat14:08
therveNo problem. Thanks for tackling that!14:08
*** ramishra has quit IRC14:08
*** sergio_nubeliu has joined #heat14:08
*** links has joined #heat14:09
*** ramishra has joined #heat14:09
*** spzala has quit IRC14:09
*** spzala has joined #heat14:10
*** mvpnitesh has quit IRC14:10
*** links has quit IRC14:11
*** vijendar has joined #heat14:11
*** fragatina has joined #heat14:13
*** vijendar1 has joined #heat14:14
*** khushbu_ has quit IRC14:16
*** vijendar has quit IRC14:17
*** sabeen has joined #heat14:20
*** zz_dimtruck is now known as dimtruck14:21
*** jasond has joined #heat14:25
*** srwilkers has quit IRC14:25
*** spotz_zzz is now known as spotz14:29
*** Drago has joined #heat14:31
*** Drago has quit IRC14:31
*** Drago has joined #heat14:31
*** cargonza has quit IRC14:32
*** randallburt has joined #heat14:33
*** sdake has joined #heat14:36
*** dprince has quit IRC14:37
*** fultonj_ has quit IRC14:41
*** fragatina has quit IRC14:42
*** srwilkers has joined #heat14:45
*** srwilkers has quit IRC14:46
openstackgerritDenes Nemeth proposed openstack/heat-specs: fix specs according to comments  https://review.openstack.org/31414214:51
*** jprovazn has joined #heat14:52
*** Drago has quit IRC14:54
*** d0ugal has joined #heat14:55
*** mspreitz has joined #heat14:56
*** vijendar1 has quit IRC14:58
*** vijendar has joined #heat14:59
*** khushbu_ has joined #heat14:59
*** Guest30018 is now known as mfisch14:59
*** mfisch is now known as Guest5645914:59
*** Drago has joined #heat15:00
openstackgerritMerged openstack/heat: Migrate API documentations into the Heat tree  https://review.openstack.org/31271215:02
*** srwilkers has joined #heat15:05
*** spzala has quit IRC15:06
*** spzala has joined #heat15:07
*** d0ugal has quit IRC15:08
*** sorantis has quit IRC15:10
*** spzala has quit IRC15:13
*** jreeves_afk has joined #heat15:14
*** jreeves_afk is now known as jreeves15:14
openstackgerritDenes Nemeth proposed openstack/heat-specs: add specs for efficient API polling  https://review.openstack.org/31409415:16
*** d0ugal has joined #heat15:20
*** crose has joined #heat15:24
*** d0ugal has quit IRC15:24
*** d0ugal has joined #heat15:25
openstackgerritJames Reeves proposed openstack/heat: Support neutron QoSDscpMarkingRule resource plugin  https://review.openstack.org/27756715:26
*** jistr has quit IRC15:33
*** DandyPandy has quit IRC15:34
*** crose has quit IRC15:34
*** srwilkers has quit IRC15:35
*** DandyPandy has joined #heat15:41
*** khushbu_ has quit IRC15:42
openstackgerritZane Bitter proposed openstack/heat: Refactor confusing code in custom_guidelines.py  https://review.openstack.org/31361115:49
*** vincentll has quit IRC15:49
*** fragatina has joined #heat15:50
*** d0ugal has quit IRC15:51
*** DandyPandy has quit IRC15:53
*** fragatina has quit IRC15:53
*** fragatin_ has joined #heat15:53
*** srwilkers has joined #heat15:54
*** jistr has joined #heat15:54
*** hdd has joined #heat15:56
*** dprince has joined #heat15:58
*** Drago has quit IRC16:00
*** DandyPandy has joined #heat16:01
*** fragatin_ has quit IRC16:02
*** ramishra_ has joined #heat16:04
*** rcernin has quit IRC16:06
*** d0ugal has joined #heat16:06
*** d0ugal has joined #heat16:06
*** ramishra has quit IRC16:07
*** fragatina has joined #heat16:07
*** spzala has joined #heat16:08
*** rwsu has joined #heat16:11
*** spzala has quit IRC16:15
*** srwilkers has quit IRC16:15
*** srwilkers has joined #heat16:17
*** palexster has quit IRC16:17
*** vijendar has quit IRC16:19
*** ccamacho is now known as ccamacho|afk16:19
*** hdd has quit IRC16:21
*** Drago has joined #heat16:23
thervezaneb, Posted a couple of questions on https://review.openstack.org/#/c/311837/ fwiw16:30
openstackgerritAnant Patil proposed openstack/heat: Fix DBDeadlock error in stack update  https://review.openstack.org/31293616:31
*** rcernin has joined #heat16:37
*** jasond has quit IRC16:39
*** elynn has quit IRC16:39
*** jasond has joined #heat16:40
*** palexster has joined #heat16:44
*** david-lyle_ is now known as david-lyle16:45
*** blues-man has quit IRC16:45
*** derekh has quit IRC16:50
*** DandyPandy has quit IRC16:54
*** yassou has quit IRC16:56
*** jaosorior has quit IRC16:58
*** sdake has quit IRC17:00
*** hdd has joined #heat17:00
*** sdake has joined #heat17:01
*** jistr has quit IRC17:02
*** pt_15 has joined #heat17:03
*** DandyPandy_ has joined #heat17:05
*** DandyPandy_ has quit IRC17:10
*** spzala has joined #heat17:11
*** DandyPandy has joined #heat17:13
*** srwilkers has quit IRC17:15
*** srwilkers has joined #heat17:15
*** spzala has quit IRC17:16
*** DandyPandy has quit IRC17:18
*** sdake_ has joined #heat17:18
*** sabeen has quit IRC17:21
*** DandyPandy has joined #heat17:21
*** sdake has quit IRC17:21
*** vijendar has joined #heat17:21
*** sdake_ has quit IRC17:25
*** srwilkers has quit IRC17:26
*** sdake has joined #heat17:27
*** lrensing has quit IRC17:28
*** DandyPandy has quit IRC17:29
*** sridhar_ram has joined #heat17:36
*** spzala has joined #heat17:39
*** DandyPandy has joined #heat17:40
*** jreeves is now known as jreeves_afk17:45
*** harlowja has joined #heat17:48
*** jprovazn has quit IRC17:55
*** sdake_ has joined #heat17:58
*** sridhar_ram1 has joined #heat17:59
*** sridhar_ram has quit IRC18:01
*** sdake has quit IRC18:01
*** jreeves_afk is now known as jreeves18:03
*** sabeen has joined #heat18:12
*** sdake_ is now known as sdake18:15
*** sdake has quit IRC18:27
jdobzaneb: ping me when you have a few seconds to talk about https://bugs.launchpad.net/heat/+bug/157589818:33
openstackLaunchpad bug 1575898 in heat "get_attr seems to be occasionally returning before the output is ready" [Undecided,New] - Assigned to Jay Dobies (jdob)18:33
*** openstackgerrit has quit IRC18:33
*** openstackgerrit has joined #heat18:34
*** vijendar has quit IRC18:44
*** dmellado has quit IRC18:47
*** DevBox has quit IRC18:47
*** jcoufal has quit IRC18:47
*** spzala has quit IRC18:49
*** sdake has joined #heat18:49
*** neophy has joined #heat18:49
*** dprince has quit IRC18:53
*** vijendar has joined #heat18:53
*** jtomasek_ has joined #heat19:00
*** dprince has joined #heat19:00
*** vijendar has quit IRC19:01
*** jcoufal has joined #heat19:01
*** pt_15 has quit IRC19:06
*** sdake_ has joined #heat19:06
*** sdake has quit IRC19:07
*** sridhar_ram1 is now known as sridhar_ram19:13
*** jasond has quit IRC19:17
*** sridhar_ram has quit IRC19:22
*** sridhar_ram has joined #heat19:25
*** dbecker has quit IRC19:25
*** vijendar has joined #heat19:28
*** dbecker has joined #heat19:30
*** jreypo has quit IRC19:30
zanebjdob: pong19:31
jdobhey, so had a few questions about... well, stuff19:32
jdobi saw your suggestion where it could be, but i have some other stuff to ask about first19:32
zanebkk19:32
jdoblemme start with a quick summary19:32
jdobthere are two resources, ServiceChain and EndpointMap19:33
*** jasond has joined #heat19:33
jdobServiceChain is, big surprise, a ResourceChain19:33
jdobin its definition, it takes a property EndpointMap: { get_attr: [EndpointMap, endpoint_map] }19:33
jdobso my first thought was that we weren't properly realizing the dependency there19:34
jdobwhich got me trying to figure out where/how we figure out those deps19:34
jdobi've found stuff like dep_attrs and resolve and what not in functions, but I can't find the higher level part of that yet19:34
jdobwas hoping you could point me in the right direction19:34
zanebyes, I can19:35
jdobwhere I'm going with this is that they are using resource chains19:35
jdobi wrote resource chains19:35
jdobso its entirely possible it's got a bug19:35
zanebalmost certainly not19:36
jdoband i wasnt sure if the dep resolution went that far, to check the resource plugin19:36
zanebthe resource asks the ResourceDefinition for the dependencies http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resource.py#n58519:36
jdobor if it didn't matter since the get_attr is at the def level19:36
*** mspreitz has quit IRC19:36
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/engine/rsrc_defn.py#n18719:36
zaneband the ResourceDefinition calls function.dependencies() on its properties and metadata19:37
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/engine/function.py#n15419:37
jdobwhich means the plugin itself isn't involved and my shitty code isn't even in the mix at that point19:37
zanebexactly19:37
zanebthat calls Function.dependencies() on each Function object, which knows how to calculate its own dependencies19:38
jdobok, before we leave this topic, what's the difference between function.dependencies and function.dep_attrs ?19:38
jdobI had been looking at the latter19:38
*** vijendar has quit IRC19:39
zanebin this case right here http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/cfn/functions.py#n17419:39
zanebdep_attrs is used only by convergence19:39
jdoboh, no shit19:39
jdobok, that helps19:39
zanebafter we create a resource, while we still have it in memory, we want to retrieve all the attributes that we are going to need and memo-ise them so that we don't have to load the resource again19:40
zanebso dep_attrs returns a list of attributes of the resource that are referenced elsewhere in the template19:40
zaneband we fetch and store only those ones19:41
jdobI read it as a more lightweight version of depedencies, so that makes sense19:41
zanebyeah, it was one of those 'naming things' problems19:41
jdobok, so, the dep graph is probably fine and it doesn't make sense to ask tripleo to add an explicit dependency19:41
zanebagree19:42
jdobwhich also means, yay, I probably didn't break it with resource chains19:42
jdobso this brings me back to your original suggestion19:42
jdobi found the dependecy task group and stuff like that19:43
jdobthat does the actual creates19:43
zanebyep19:43
jdobbut i'm not seeing where the stack complete stuff is fired off19:43
jdobwould that be in stack_resource or up in resource?19:43
zanebcan you clarify what you mean by stack complete stuff?19:44
zanebthe nested stack will mark itself complete in stack.py; the resource in the parent stack that owns it will hear about when when polling from stack_resource.py19:45
* jdob thinking19:46
jdobah, the check_create_complete stuff19:47
zanebyeah, that's where it polls19:47
jdoband it polls the DB directly?19:48
jdobnm, yes19:48
jdobreturn db_api.stack_get_status(context, stack_id)19:48
zanebick, so it does19:49
zanebso here's an interesting fact19:51
*** spzala has joined #heat19:52
zaneb_resolve attribute, which is what we'll use to get the attribute, calls get_output(), which just calls nested()19:52
zaneband nested() may return a cached version of the child stack, not necessarily one just loaded from the DB19:52
jdobso, that brings me to my next question19:53
jdobself.cache_data = cache_data19:53
jdobin Stack19:53
jdobum... not sure how to ask this. i suppose the question is when is that used?19:53
jdob(that might be too broad of a question)19:53
zanebI have no idea there either, I'd have to look19:53
jdobok, so that's not common knowledge, got it19:53
jdobor rather, that's not obvious knowledge19:54
*** ArunRajan has joined #heat19:54
*** ArunRajan has left #heat19:54
jdobok, I see what you're saying on the lazy load of the nested stack19:55
jdoblooks like preview explicitly gets around that lazy load too19:56
zaneboh, we reset it in check_status_complete() so we will load it again19:56
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/stack_resource.py#n39319:56
jdobi just saw taht, but i didnt understand what get_engine_id does19:56
zanebit checks if the resource was being processed on the same engine19:57
*** spzala has quit IRC19:57
zanebI think...19:57
zaneboh, no19:57
zanebit checks if the stack lock has been released19:58
jdobah, "is None"... helps if I read the whole line19:58
zanebhad the same problem :)19:58
jdobi had the same thought about the same engine, but that didnt make sense19:58
zanebso in theory there should be no race19:59
jdobhere's the other weird part19:59
jdobin that chain i mentioned earlier, there are three resource types20:00
*** jreeves is now known as jreeves_afk20:00
jdobbut let's just talk about two: glance-registry and keystone20:00
zanebin order to return True from check_status_complete, the stack lock would have to be released, and after that we reload the stack, so at that point the outputs should be available20:00
jdobboth take the same mysql IP from endpoint map20:00
jdobit looks like keystone started up fine20:00
jdobbut glance didn't20:00
zanebhuh20:00
*** vijendar has joined #heat20:00
zanebmaybe keystone still got a bad value but just didn't crash as a result?20:01
jdobquick question while we're talking: glance_dsn: &glance_dsn20:01
jdobthat is resolved up at the yaml parser level20:01
jdoband will literally just insert a copy of the referenced stuff in its place, right?20:01
jdobwe don't have to do any magic there?20:01
*** jcoufal has quit IRC20:01
*** pjbreaux has joined #heat20:02
zaneboh geez, we're doing _that_ now?20:02
zanebyou're correct though20:02
jdobit's a weird usage of it because it's never referenced more than once, so i'm not sure why they split it like that20:03
zanebwhere is this?20:03
jdobhttps://paste.fedoraproject.org/364396/82421614/20:03
jdoblemme get the full review20:03
jdobhttps://review.openstack.org/#/c/305751/8/puppet/services/glance-registry.yaml20:03
*** fragatina has quit IRC20:04
jdobas for your other question, its possible keystone isn't starting and i'm just misreading the logs that i have20:05
jdobbut it doesn't look like it's barfing with any noticable DB issues20:06
*** spzala has joined #heat20:06
jdobdouble checking on that now20:09
jdobok, I lied: keystone is busted too in its config20:12
*** rcernin has quit IRC20:15
zanebjdob: the other day when I said that resource chains were serialised, didn't you say that probably nobody would ever need that and we only implemented it because we could?20:18
jdobyes, that's what I said20:18
jdobbecause I forget if we had a legit use case20:18
* jdob checks spec20:19
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/openstack/heat/resource_chain.py#n6420:19
zanebinteresting that it's the default then ;) ^20:19
zanebcan see the use here, probably they want keystone to start before glance20:20
jdoboh, shit, ya20:20
jdobspec says false is the default too20:20
jdobBy default, each resource will be treated as having a dependency on the20:20
jdobresource before it in the list. If the ``concurrent`` property is set to20:20
jdobtrue, no dependencies between the created resources will be established.20:20
jdobso at one point, I was at least consistent :)20:20
zaneblol :)20:21
jdobi don't believe these resources are actually starting the services20:21
jdobjust generating config, so the concurrent: true probably isn't a huge deal in this case20:21
jdobbut ya, let's assume I was thinking about keystone when i first wrote resource chains20:22
*** fragatina has joined #heat20:23
*** sergio_nubeliu has quit IRC20:30
*** dprince has quit IRC20:34
*** spzala has quit IRC20:38
*** fragatina has quit IRC20:44
*** sdake has joined #heat20:44
*** vijendar has quit IRC20:45
*** sdake_ has quit IRC20:47
*** jcoufal has joined #heat20:51
*** neophy has quit IRC20:53
*** vijendar has joined #heat20:55
*** fultonj has quit IRC21:03
*** Drago has quit IRC21:07
*** Drago has joined #heat21:07
*** vijendar has quit IRC21:08
*** fragatina has joined #heat21:11
*** Guest56459 is now known as mfisch21:15
*** mfisch is now known as Guest8708521:15
*** Guest87085 is now known as mfisch21:19
*** mfisch has quit IRC21:20
*** mfisch has joined #heat21:20
*** d0ugal has quit IRC21:26
*** vijendar has joined #heat21:30
*** shardy has quit IRC21:33
*** vijendar has quit IRC21:34
*** jtomasek_ has quit IRC21:38
*** jcoufal has quit IRC21:41
*** vijendar has joined #heat21:43
kevinbentonhey, i'm hear to discuss the heat test failures caused by neutron21:52
kevinbentonhere*21:52
kevinbentonjasond: you around?21:52
jasondkevinbenton: hey, sorry i can't talk now.  will you be around tomorrow?21:55
kevinbentonjasond: yes, i'm trying to land some fixes in vpnaas for grenade, but i think long term heat should stop testing vpnaas because it's basically a dead project right now21:55
kevinbentonjasond: heat is almost the only project gating on it21:56
*** spzala_ has joined #heat21:56
jasondkevinbenton: ok, thanks for looking into that.  i'll see about getting that fixed.  will let you know how it goes21:57
jasonduntil tomorrow...21:58
*** jasond has quit IRC21:58
*** catintheroof has quit IRC22:01
*** sdake has quit IRC22:02
*** ccamacho|afk has quit IRC22:07
*** dimtruck is now known as zz_dimtruck22:10
*** zz_dimtruck is now known as dimtruck22:10
*** ccamacho has joined #heat22:10
*** vijendar has quit IRC22:12
*** vijendar has joined #heat22:14
*** dimtruck is now known as zz_dimtruck22:20
*** vijendar has quit IRC22:25
*** pradk has quit IRC22:29
*** blomquisg is now known as blomquisg_gone22:32
*** pradk has joined #heat22:33
*** pradk has quit IRC22:33
*** jamielennox|away is now known as jamielennox22:35
*** freak_ has joined #heat22:40
*** Drago has quit IRC23:04
*** spzala has joined #heat23:08
*** zz_dimtruck is now known as dimtruck23:11
*** hdd has quit IRC23:11
*** spzala_ has quit IRC23:12
*** yuanying has joined #heat23:14
*** jreypo has joined #heat23:21
*** kse has joined #heat23:26
*** pjbreaux has left #heat23:30
*** chlong has joined #heat23:33
*** tochi has joined #heat23:34
*** spotz is now known as spotz_zzz23:37
*** spzala has quit IRC23:45
*** spzala has joined #heat23:46
*** spzala has quit IRC23:51
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/31372523:58

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