Wednesday, 2016-08-10

*** zhurong has quit IRC00:00
*** jistr has quit IRC00:00
*** jistr has joined #heat00:01
*** spzala has quit IRC00:02
*** spzala has joined #heat00:02
*** spzala has quit IRC00:02
*** om has quit IRC00:03
*** spzala has joined #heat00:03
*** spzala has quit IRC00:03
*** zz_dimtruck is now known as dimtruck00:10
*** rajpatel has quit IRC00:10
*** om has joined #heat00:12
*** dyasny has quit IRC00:13
*** om has quit IRC00:19
*** dyasny has joined #heat00:28
*** spzala has joined #heat00:33
*** dyasny has quit IRC00:42
*** dyasny has joined #heat00:44
*** code-R has quit IRC00:57
*** sdake has joined #heat00:59
*** code-R has joined #heat01:01
*** dimtruck is now known as zz_dimtruck01:01
*** zz_dimtruck is now known as dimtruck01:06
*** zhurong has joined #heat01:07
*** huangtianhua has joined #heat01:10
*** fragatin_ has quit IRC01:12
*** fragatina has joined #heat01:12
*** tiantian has quit IRC01:12
*** Berezin has quit IRC01:32
*** yanyanhu has joined #heat01:38
openstackgerrithuangtianhua proposed openstack/heat: Support composite alarm  https://review.openstack.org/35235401:42
*** spzala has quit IRC01:42
*** om has joined #heat02:04
*** Berezin has joined #heat02:06
*** ayoung has quit IRC02:11
*** KanagarajM has joined #heat02:25
*** jdob has quit IRC02:30
*** zhurong has quit IRC02:42
*** zhurong has joined #heat02:44
*** zhurong has quit IRC02:48
*** KanagarajM has quit IRC02:48
*** KanagarajM has joined #heat02:48
*** zhurong has joined #heat02:49
*** elynn has joined #heat02:52
*** KanagarajM has quit IRC02:53
*** KanagarajM has joined #heat02:53
*** zhurong has quit IRC02:58
*** zhurong has joined #heat02:58
*** dimtruck is now known as zz_dimtruck03:00
*** om has quit IRC03:10
*** sabeen has joined #heat03:15
*** sdake has quit IRC03:17
*** om has joined #heat03:20
*** om has quit IRC03:25
*** code-R has quit IRC03:30
*** code-R has joined #heat03:31
*** KanagarajM has quit IRC03:39
openstackgerritMerged openstack/heat: Set properties to before_props before calling handle_update  https://review.openstack.org/32578403:42
*** spzala has joined #heat03:43
*** spzala has quit IRC03:48
openstackgerritMerged openstack/heat: Adds some infos for stack notification  https://review.openstack.org/34345204:01
*** links has joined #heat04:01
*** KanagarajM has joined #heat04:07
*** bathri-sa has joined #heat04:24
*** permalac has quit IRC04:25
*** permalac has joined #heat04:26
*** om has joined #heat04:33
*** fragatin_ has joined #heat04:36
*** fragatina has quit IRC04:39
*** fragatin_ has quit IRC04:40
*** om has quit IRC04:52
*** jaosorior has joined #heat04:55
*** adrian_otto has joined #heat04:59
*** elynn has quit IRC05:10
-openstackstatus- NOTICE: zuul is being restarted to reload configuration. Jobs should be re-enqueued but if you're missing anything (and it's not on http://status.openstack.org/zuul/) please issue a recheck in 30min.05:23
*** code-R has quit IRC05:35
*** code-R has joined #heat05:36
*** mohankumar has joined #heat05:47
*** vishwanathj has quit IRC05:56
*** rcernin has joined #heat06:05
*** code-R has quit IRC06:08
*** GonZo2000 has quit IRC06:11
openstackgerritshizhihui proposed openstack/heat-cfntools: Remove openstack/common from the exclude list of flake8 in tox  https://review.openstack.org/35326806:12
*** code-R has joined #heat06:12
*** akuznetsov has joined #heat06:13
*** bana_k has joined #heat06:17
*** vishwanathj has joined #heat06:28
*** vishwanathj has quit IRC06:29
*** jprovazn has joined #heat06:34
*** akuznetsov has quit IRC06:35
*** fragatina has joined #heat06:37
*** KanagarajM has quit IRC06:42
*** fragatina has quit IRC06:42
*** spzala has joined #heat06:43
*** code-R_ has joined #heat06:44
*** KanagarajM has joined #heat06:44
*** code-R has quit IRC06:46
*** spzala has quit IRC06:47
*** bana_k has quit IRC06:53
*** adrian_otto has quit IRC06:54
*** sabeen has quit IRC06:55
*** sshnaidm has quit IRC06:56
*** adrian_otto has joined #heat06:57
*** KanagarajM has quit IRC07:01
*** ccamacho has quit IRC07:01
*** KanagarajM has joined #heat07:01
*** ccamacho has joined #heat07:04
*** KanagarajM has quit IRC07:06
*** cmyster_ is now known as cmyster07:09
*** KanagarajM has joined #heat07:09
*** cmyster has quit IRC07:09
*** cmyster has joined #heat07:09
*** adrian_otto has quit IRC07:11
*** jistr has quit IRC07:18
*** code-R has joined #heat07:23
*** code-R_ has quit IRC07:23
*** om has joined #heat07:25
*** jistr has joined #heat07:25
*** akuznetsov has joined #heat07:27
*** jprovazn has quit IRC07:29
*** sshnaidm has joined #heat07:29
*** ccamacho is now known as ccamacho|afk07:33
ramishrahi all, team meeting in 25 mins. Feel free to add to the agenda. https://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282016-08-10_0800_UTC.2907:34
*** shardy has joined #heat07:35
*** ramishra has quit IRC07:41
*** jpich has joined #heat07:43
*** ramishra has joined #heat07:45
*** akuznetsov has quit IRC07:54
*** ccamacho|afk is now known as ccamacho07:56
*** yanyanhu has quit IRC07:58
*** zzzeek has quit IRC08:00
*** zzzeek has joined #heat08:00
ramishraguys meeting time08:00
*** yanyanhu has joined #heat08:00
ramishrastevebaker, skraynev, KanagarajM, huangtianhua ^^^08:00
*** om has quit IRC08:00
openstackgerrithuangtianhua proposed openstack/heat: Support composite alarm  https://review.openstack.org/35235408:01
*** yanyanhu has quit IRC08:01
ramishrashardy: ^^^08:01
*** yanyanhu has joined #heat08:03
*** elynn has joined #heat08:04
*** svkr has joined #heat08:06
*** svkr is now known as skraynev_08:06
*** jprovazn has joined #heat08:08
*** blomquisg_gone has quit IRC08:12
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #heat08:19
openstackgerritMerged openstack/heat-specs: Add spec for more flexible environment merging  https://review.openstack.org/33041408:19
*** GonZo2000 has joined #heat08:34
*** GonZo2000 has quit IRC08:34
*** GonZo2000 has joined #heat08:34
*** akuznetsov has joined #heat08:37
*** dfflanders has quit IRC08:38
*** permalac has quit IRC08:40
*** shardy has quit IRC08:44
*** shardy has joined #heat08:45
*** elynn has quit IRC08:47
*** akuznetsov has quit IRC08:57
*** shardy is now known as shardy_mtg09:00
*** blomquisg_gone has joined #heat09:00
*** yassine has joined #heat09:03
*** yassine is now known as Guest8928509:03
*** nijaba has quit IRC09:04
*** akuznetsov has joined #heat09:04
*** yanyanhu has quit IRC09:06
*** nijaba has joined #heat09:07
openstackgerritAnant Patil proposed openstack/heat: Convergence: cancel update implementation  https://review.openstack.org/30148309:08
*** yanyanhu has joined #heat09:08
openstackgerrithuangtianhua proposed openstack/heat: Refactor resource definition validating  https://review.openstack.org/34594609:10
*** bks has joined #heat09:16
openstackgerritSharat Sharma proposed openstack/heat-templates: Changed resource to resources in the autoscaling.yaml file  https://review.openstack.org/35334109:27
openstackgerritSharat Sharma proposed openstack/heat-templates: Changed resource to resources in the autoscaling.yaml file  https://review.openstack.org/35334109:29
openstackgerrithuangtianhua proposed openstack/heat: Add validating of section 'conditions'  https://review.openstack.org/34597509:31
*** akuznetsov has quit IRC09:36
*** akuznetsov has joined #heat09:41
openstackgerrithuangtianhua proposed openstack/heat: Add validating of section 'conditions'  https://review.openstack.org/34597509:44
*** sdake has joined #heat09:47
*** Berezin has quit IRC09:57
openstackgerrithuangtianhua proposed openstack/heat: Support condition for resource  https://review.openstack.org/34712310:01
*** zhurong has quit IRC10:02
*** akuznetsov has quit IRC10:07
*** yanyanhu has quit IRC10:13
*** Berezin has joined #heat10:17
*** shardy_mtg is now known as shardy10:25
*** mkoderer_ has joined #heat10:42
*** mkoderer_ has quit IRC10:42
*** spzala has joined #heat10:44
*** spzala has quit IRC10:48
*** permalac has joined #heat10:53
*** dprince has joined #heat10:59
*** dbecker has quit IRC11:09
*** skraynev_ has quit IRC11:12
*** GonZo2000 has quit IRC11:13
*** cmyster has quit IRC11:21
*** mohankumar has quit IRC11:22
*** dbecker has joined #heat11:24
*** jaosorior has quit IRC11:28
*** jaosorior has joined #heat11:29
*** prazumovsky has joined #heat11:31
*** jaosorior has quit IRC11:33
*** jaosorior has joined #heat11:33
*** cmyster has joined #heat11:35
*** fragatina has joined #heat11:36
*** fragatina has quit IRC11:41
*** sergio_nubeliu has joined #heat11:41
*** ccamacho is now known as ccamacho|lunch11:42
*** dbecker has quit IRC11:47
*** dbecker has joined #heat11:48
*** dbecker has quit IRC11:49
*** sdake has quit IRC11:51
*** sdake has joined #heat11:51
*** dbecker has joined #heat11:53
*** jcoufal has joined #heat11:54
*** sdake_ has joined #heat11:56
*** sdake has quit IRC11:59
*** links has quit IRC12:01
*** steveg_afk has joined #heat12:02
*** bks has quit IRC12:04
*** dprince has quit IRC12:10
*** dprince has joined #heat12:11
*** jcoufal has quit IRC12:18
*** mohankumar has joined #heat12:20
*** zhurong has joined #heat12:26
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Subnet observe reality implementation  https://review.openstack.org/25575312:27
*** akuznetsov has joined #heat12:30
*** ccamacho|lunch is now known as ccamacho12:33
*** jdob has joined #heat12:34
*** jcoufal has joined #heat12:35
*** zz_dimtruck is now known as dimtruck12:41
*** GonZo2000 has joined #heat12:46
*** GonZo2000 has quit IRC12:46
*** GonZo2000 has joined #heat12:46
*** GonZo2000 has quit IRC12:48
*** pradk has quit IRC12:48
*** steveg_afk has quit IRC12:52
*** GonZo2000 has joined #heat12:56
*** GonZo2000 has quit IRC12:56
*** GonZo2000 has joined #heat12:58
*** GonZo2000 has quit IRC12:58
*** GonZo2000 has joined #heat12:58
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Router observe reality implementation  https://review.openstack.org/25577612:58
*** priteau has joined #heat13:02
*** KanagarajM_ has joined #heat13:08
*** steveg_afk has joined #heat13:08
*** KanagarajM has quit IRC13:08
*** spzala_ has joined #heat13:08
*** sshnaidm has quit IRC13:17
*** sdake_ is now known as sdake13:18
*** harlowja has quit IRC13:23
*** dbecker has quit IRC13:25
*** vishwanathj has joined #heat13:30
*** akuznets_ has joined #heat13:35
*** akuznetsov has quit IRC13:36
*** blomquisg_gone is now known as blomquisg13:39
*** sshnaidm has joined #heat13:43
*** Drago has joined #heat13:48
*** Drago has quit IRC13:48
*** Drago has joined #heat13:48
*** prazumovsky has quit IRC13:51
*** ayoung has joined #heat13:53
*** KanagarajM_ has quit IRC13:59
*** dimtruck is now known as zz_dimtruck14:04
*** mohankumar has quit IRC14:05
*** GonZo2000 has quit IRC14:05
*** pradk has joined #heat14:06
*** zhurong has quit IRC14:09
*** catintheroof has joined #heat14:09
*** edtubill has joined #heat14:12
*** zhurong has joined #heat14:12
*** k3rmat has left #heat14:13
*** jasond has joined #heat14:14
*** blomquisg is now known as blomquisg_gone14:20
*** blomquisg_gone is now known as blomquisg14:21
*** crose has joined #heat14:24
*** KanagarajM has joined #heat14:25
*** jprovazn has quit IRC14:25
*** liusheng has quit IRC14:27
*** vijendar has joined #heat14:30
*** liusheng has joined #heat14:31
*** rajpatel has joined #heat14:36
*** rajpatel has quit IRC14:37
*** adrian_otto has joined #heat14:38
*** steveg_afk has quit IRC14:38
*** rajpatel has joined #heat14:39
*** zz_dimtruck is now known as dimtruck14:43
*** jasond has quit IRC14:44
*** jasond has joined #heat14:44
*** randallburt has joined #heat14:47
*** randallburt1 has joined #heat14:49
*** zhurong has quit IRC14:49
*** randallburt has quit IRC14:52
*** code-R_ has joined #heat14:52
*** code-R has quit IRC14:54
*** adrian_otto has quit IRC14:57
*** spedione|AWAY is now known as spedione14:58
*** mohankumar has joined #heat14:59
*** adrian_otto has joined #heat15:00
*** ayoung has quit IRC15:01
*** d0ugal has quit IRC15:01
*** Qiming_ has joined #heat15:03
*** sdake_ has joined #heat15:04
*** Qiming has quit IRC15:04
*** dimtruck is now known as zz_dimtruck15:06
*** zz_dimtruck is now known as dimtruck15:06
*** sdake has quit IRC15:07
*** david-lyle has quit IRC15:12
*** ayoung has joined #heat15:12
*** david-lyle has joined #heat15:12
*** dimtruck is now known as zz_dimtruck15:15
*** zz_dimtruck is now known as dimtruck15:16
*** fragatina has joined #heat15:16
*** fragatina has quit IRC15:16
*** fragatina has joined #heat15:17
*** sabeen has joined #heat15:19
larsksheat peoples: If I have a list of dictionaries, is there a way in a heat template for me to produce a *new* list that is the result of transforming each dictionary in the source list through the use of map_merge with another dictionary?15:20
*** sabeen1 has joined #heat15:21
larsksI thought maybe "repeat", but it's not clear from the documentation whether for_each will work with structured values.15:21
*** jrist has quit IRC15:22
*** spotz_zzz is now known as spotz15:22
Dragolarsks: Though I'm not very familiar with YAQL, I would say probably YAQL.15:23
*** jrist has joined #heat15:23
larsksProbably not by calling map_merge though, right?  That is, are heat intrinsinc functions available within yaql expressions?15:23
*** sabeen has quit IRC15:23
larsksI've been looking through the yaql docs, such as they are, and haven't yet hit upon a solution with or without that...15:24
Dragolarsks: I doubt it's possible to use Heat intrinsic functions inside YAQL15:24
larsksHave you met any yaql gurus? Good examples seem hard to come by.15:24
larsksMaybe they are called yaql jackles.15:24
DragoI would not be surprised if shardy was15:26
Dragoback in a bit15:27
*** Drago has quit IRC15:27
*** adrian_otto has quit IRC15:31
*** pt_15 has joined #heat15:33
*** dimtruck is now known as zz_dimtruck15:34
*** rwsu has quit IRC15:36
*** edtubill has left #heat15:37
*** code-R_ has quit IRC15:38
openstackgerritMichael Ionkin proposed openstack/heat: Add choice for integration tests launching  https://review.openstack.org/35358515:39
*** bathri-sa has quit IRC15:44
*** zz_dimtruck is now known as dimtruck15:45
*** sdake has joined #heat15:45
*** Drago has joined #heat15:47
*** sdake_ has quit IRC15:48
*** code-R has joined #heat15:49
*** mohankumar has quit IRC15:51
*** sabeen1 has quit IRC15:52
*** code-R has quit IRC16:00
*** rcernin has quit IRC16:01
*** jprovazn has joined #heat16:01
*** KanagarajM has quit IRC16:03
larsksSo, another question: what's an easy way to test out yaql expressions *in heat templates*?  I tried a simple stack like this: http://chunk.io/f/90aa3edbf94a42b3a9201a84f4dfa74116:04
larsksHmm, maybe I need to add an output...16:04
larsks...but the yaql dictionary seems to not be expanded.16:05
openstackgerritAndy Hsiang proposed openstack/heat: Add key/value support for orchestrating images  https://review.openstack.org/31897316:06
Dragolarsks: There was that OS::Heat::Value patch. Would that be useful to you?16:07
larsksDrago: in this case, it looks like I just had a heat_template_version that was too old, so yaql wasn't recognized as an intrinsic function.16:08
larsksSo, that's better.  Now back to playing with expressions.16:08
larsksI'm not entirely sure I understand the use case behind OS::Heat::Value...16:09
larsksRight now, I have just parameters and outputs, which seems sufficient for my testing.16:09
DragoAh right, template version16:12
*** code-R has joined #heat16:17
*** code-R has quit IRC16:17
*** code-R has joined #heat16:17
*** vijendar has quit IRC16:25
*** rajpatel has quit IRC16:26
*** vijendar has joined #heat16:28
*** jaosorior has quit IRC16:29
*** rajpatel has joined #heat16:31
*** Qiming_ has quit IRC16:36
*** Qiming has joined #heat16:41
*** sshnaidm is now known as sshnaidm|afk16:43
*** jpich has quit IRC16:53
*** ayoung has quit IRC17:06
*** code-R has quit IRC17:07
*** blomquisg is now known as blomquisg_gone17:07
*** bwallis has joined #heat17:09
*** jasond has quit IRC17:11
*** code-R has joined #heat17:16
*** ayoung has joined #heat17:21
zaneblarsks: here's an example of the use case for OS::Heat::Value: https://review.openstack.org/#/c/308182/ - it avoids having to add a child stack in order to re-use that value in multiple places17:23
larskszaneb: thanks.  Do you have any thoughts re: my earlier question about performing transformations on a list of dictionaries? I am currently experimenting with yaql expressions but it is slow going...17:24
zaneblarsks: I *think* that the repeat function can do that17:24
*** jasond has joined #heat17:24
zanebfailing that, checkout out http://yaqluator.com17:25
larsksIt looked to me like the repeat function was doing simple string substitution on tokens from for_each, but if you have an example that works with structured values that would be awesome.17:25
* zaneb looks17:26
*** harlowja has joined #heat17:27
larskszaneb: ...but I think I have finally figured out the yaql I need, just now.17:28
zaneblarsks: looks like repeat supports strings, sequences or mappings, and it goes down recursively into them to do replacements17:28
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/engine/hot/functions.py#n65717:28
larsksI guess I would need to see an example.  The docs (I am looking at http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#repeat) show simple str_replace style subsitution of an arbitrary value (like '<%port%>') with an item from the corresponding for_each key.17:30
larsksIf in that example, 'ports' was a mapping, could I do something like: get_attr(<%port%>, 'foo')?17:30
larsksBecause that hurts my brain, right there.17:30
larsks(s/mapping/list of mappings/)17:31
*** vijendar has quit IRC17:31
zanebah, yeah, you need it to evaluate intrinsic function *after* you do the substitution, but repeat does it before17:31
*** xenogear_ has joined #heat17:31
*** steveg_afk has joined #heat17:32
zanebso you're right, that's a no go17:32
larsksOk.  Yaql it is!17:33
*** vgridnev has joined #heat17:35
larsksSo here's my yaql question, if anyone cares to take a luck: I'm trying to figure out how to refer to a top-level key from within the context of a select statement (in which '$' refers to the current item being processed by select): http://chunk.io/f/f507a7211ca840fb883b54a03378a7c117:36
larskss/luck/look/17:36
larsksfingers.17:36
*** xenogear_ has quit IRC17:40
*** priteau has quit IRC17:41
*** rajpatel has quit IRC17:42
*** vijendar has joined #heat17:44
*** priteau has joined #heat17:45
*** bana_k has joined #heat17:45
*** vgridnev has quit IRC17:45
*** vgridnev has joined #heat17:46
*** dbecker has joined #heat17:49
*** Qiming has quit IRC17:51
*** akuznets_ has quit IRC17:53
*** Qiming has joined #heat17:55
*** daneyon_ has joined #heat17:57
*** rajpatel has joined #heat17:58
*** daneyon has quit IRC18:01
*** Guest89285 has quit IRC18:05
*** bana_k has quit IRC18:07
*** fragatina has quit IRC18:07
*** rajpatel has quit IRC18:10
*** daneyon has joined #heat18:11
*** daneyon_ has quit IRC18:14
*** Qiming has quit IRC18:14
*** Qiming has joined #heat18:20
*** rajpatel has joined #heat18:21
*** blomquisg_gone is now known as blomquisg18:22
*** tiantian has joined #heat18:22
*** Qiming has quit IRC18:23
*** huangtianhua has quit IRC18:24
*** dbecker has quit IRC18:26
*** bana_k has joined #heat18:27
*** dbecker has joined #heat18:28
yohoffmanHello Heat peoples - Wondering what your thoughts are on this blueprint: https://blueprints.launchpad.net/heat/+spec/glance-heat-metadata-enhancements There is no spec up at the moment, we'd like to get a feel for what others think about the idea. Thanks!18:28
*** Qiming has joined #heat18:29
*** rajpatel has quit IRC18:30
*** ayoung has quit IRC18:31
*** rajpatel has joined #heat18:32
*** catintheroof has quit IRC18:34
yohoffmanrandallburt1: I believe you discussed this bp briefly with another developer a few months. We're hoping to get working on it, assuming the Heat team is on board.18:34
*** shardy is now known as shardy_afk18:35
*** Qiming has quit IRC18:37
*** steveg_afk has quit IRC18:38
zanebyohoffman: is there something to do for that beyond https://review.openstack.org/#/c/318973/ ?18:38
yohoffmanOh my bad! I sent the wrong url!18:39
yohoffmanTHIS bp - https://blueprints.launchpad.net/heat/+spec/cinder-quota-resource18:39
yohoffmantoo many tabs open18:40
*** Qiming has joined #heat18:42
*** fragatina has joined #heat18:44
*** dbecker has quit IRC18:44
*** sabeen has joined #heat18:48
*** spzala_ has quit IRC18:49
*** spzala has joined #heat18:50
yohoffmanzaneb: Any thoughts?18:52
zanebnot really ;)18:53
yohoffmanso no strong feelings either way?18:55
randallburt1yohoffman:  don't recall discussing that one18:56
yohoffmanrandallburt1: That's alright =) have any thoughts on it now?18:57
randallburt1yohoffman:  oh, now I remember. Not sure why you'd need it and I'm pretty sure it won't do what's intended, but I won't hold up the train if others think its worthwhile18:57
yohoffmanRight now, cinder defaults to its default quota. You need to change it manually. We want to be able to use Heat to do the orchestration fully without manual updates afterward.18:58
randallburt1yohoffman:  and what happens when stack 2 changes the same user's quota? which one is right?18:59
*** sshnaidm|afk has quit IRC19:00
randallburt1yohoffman:  like I said, doesn't make sense to me in the context of Heat but if you're planning on using Heat as a management tool for your cloud, then it will be caveat emptor19:00
randallburt1yohoffman:  I'm not going to -2 over it19:00
yohoffmanrandallburt1: So ideally there would be a way to have it only work the first time. Do you think that's possible?19:02
randallburt1yohoffman:  sure, but that would defeat the purpose of using Heat. might as well use the cinder management tools that cinder provides19:02
*** bana_k has quit IRC19:04
yohoffman<randallburt1>: Well that means using the cinder command line tool. An admin can't fully orchestrate cinder with his quota requirements using heat.19:05
*** GonZo2000 has joined #heat19:14
vgridnevhello people. can you explain why heat is running integration tests in upgrade script during grenade job? my understanding that upgrade should just upgrade service, but should not run any tests19:15
randallburt1yohoffman:  fair enough. IMO, heat wasn't intended to admin the cloud itself but deploy and orchestrate applications on top of it. As I've said, though, you don't have to sell me on it. I've already said I won't block it. I won't +2 it either, but if others think its valuable that's fine.19:15
vgridnevI mean https://github.com/openstack/heat/blob/master/devstack/upgrade/upgrade.sh#L8919:16
yohoffmanrandallburt1: Right, I understand. I'm just wondering if everyone shares your view and no one will +2 it, then it's just not worth pursuing it.19:17
randallburt1yohoffman:  since we're spread out geographically, you might have to wait a little later to get some cores on. Alternatively, you can put it on the agenda for the weekly meeting and hopefully get more core input19:18
yohoffmanrandallburt1: Thanks, that may be a good idea. Where can I put it on the agenda?19:19
randallburt1zaneb:  ^^ I don't have the agenda link handy. do you?19:19
zanebhttps://wiki.openstack.org/wiki/Meetings/HeatAgenda19:20
randallburt1zaneb:  thanks, just found it.19:21
yohoffmanThanks, I don't see an agenda for next week though.19:21
randallburt1you can start one if you like.19:21
yohoffmanThat's a lot of pressure ;-) Maybe I'll wait a few days for someone else to do the honors19:22
yohoffmanThank you randallburt1 and zaneb !19:23
randallburt1np19:23
randallburt1yohoffman:  oh, you can also just show up. at the beginning of the meeting the ptl will ask for additional agenda items19:24
yohoffmanrandallburt1: Oh great. That's sounds like a good plan too.19:24
*** rajpatel has quit IRC19:33
*** Drago has quit IRC19:35
*** vijendar has quit IRC19:37
*** bana_k has joined #heat19:43
*** ayoung has joined #heat19:44
*** vijendar has joined #heat19:44
*** jprovazn has quit IRC19:46
*** rajpatel has joined #heat19:47
ayoungzaneb, how does a node post data to Heat?  Is it just the event API?  Is there some way a newly booted node can update Heat with a random payload?19:49
zanebayoung: you could have a sw deployment that generates your random payload and returns it to heat (that would use the signal API)19:50
ayoungzaneb, would it be possible to confirm the IP address of the node when that is called?  Say, with a new middleware?19:51
zanebmmmmaybe19:52
ayoungI want the node to post a Public Key that is used for other things later19:52
ayoungand I want to confirm the identity of the node when posting that public key19:52
ayoungso it is essentially going to be a CSR, and part of the CSR signing process would be:19:52
ayoungIP address of the caller is X.  GO to neutron, lookup the IP address of the node:  is is X.  OK, sign certificate19:53
zanebayoung: sounds like you need kfox1111's instance users feature ;)19:54
ayoungzaneb, trying to support that, yes19:54
ayoungzaneb, although, not 100%19:54
ayoungin this case, the signing of the cert could then be used to confirm the instance user, but could also be used against other, not keystone like things19:54
zanebwe are talking about the certificate part of the Fernet key rotation thread, right?19:55
ayoungzaneb, to support that too19:56
ayoungzaneb, also for the HA use case, where two or more nodes need to share a cert for HA proxy HTTPS19:56
zanebso we're talking about the tripleo undercloud specifically19:57
ayoungzaneb, that is where it starts, yes19:57
zanebit _might_ be possible to do a middleware thing on the undercloud19:58
ayoungzaneb, so let's say I made a really limited project, and gave the newly booted node keystone creds on that project, It could then call Heat.  I assume that is necessary in order to create the software delopyment you just suggested?19:58
zanebit's not possible on clouds in general because usually the VMs will be behind NAT19:58
ayoungtalking to Metadata is on some sort of locked down interface, though19:59
ayoungI guess that is different than Heat, though19:59
zanebI think you're referring to the nova metadata server. that works with some magic networking stuff. trouble is, it's read-only20:00
ayoungyeah, that is what I was thinking about.  Node to Heat would go via the public interface, wouldn't it?20:00
zanebyes, correct20:00
*** d0ugal has joined #heat20:01
zanebre "so let's say I made a really limited project, and gave the newly booted node keystone creds on that project, It could then call Heat.  I assume that is necessary in order to create the software delopyment you just suggested?"...20:01
zanebthat's not what I meant20:01
ayoungzaneb, who would create the software deployment then?20:02
zanebyou would create the software deployment on the undercloud, using the undercloud admin's credentials20:02
ayoungah20:02
ayoungzaneb, so event API has no payload, I thought?20:02
*** sshnaidm|afk has joined #heat20:02
zanebyou mean signal API?20:02
zanebit does have a payload20:02
zanebso you can get outputs from a sw deployment http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::SoftwareDeployment-attrs20:03
*** rcrit has joined #heat20:04
zanebyou get a status code and the stderr + stdout from whatever you ran20:04
ayoungzaneb, I was looking at http://developer.openstack.org/api-ref-orchestration-v1.html#resource_signal20:04
ayoung"This operation does not accept a request body and does not return a response body. "20:04
zanebhmm, looks like a docs bug. the operative bit is "The contents of the request body depends on the resource to which you send a signal."20:05
ayoungBut I see above it: " The contents of the request body depends on the resource to which you send a signal.20:05
ayoung"20:05
ayoungyep20:05
ayoungzaneb, OK, so assuming we are using this for an openstack overcloud deploy, we would want the node to post the public kety as early as possible.20:06
zanebayoung: yeah, I'd do it inside the Controller node template20:07
ayoungheat would get that, do some majik to confirm (hand wave for now) and add the signed certificate into the metadata to be picked up shortly there after.  At the same time, it could post anything that needs to be encrypted with that public key20:07
ayoungI would almost be tempted to make a certmonger plugin that is automatically kicked off as soon as cloud-init runs that makes the heat call, and knows how to fetch the cert from metadata.20:08
*** rwsu has joined #heat20:15
*** dprince has quit IRC20:16
*** Akanksha08 has joined #heat20:16
*** alee has joined #heat20:18
*** rwsu has quit IRC20:20
zanebayoung: I'm not sure that the magic is really necessary. each server gets its own pre-signed URL with which to post back to the signal API anyway20:21
ayoungzaneb, AH...signed URLs.20:21
ayoungzaneb, and those are transmitted via the metadata, right?20:22
zanebit's not bulletproof, but if your controller nodes have already been pwned that early in the process you have bigger problems ;)20:22
zanebayoung: there's different types of metadata20:22
zanebI'm not 100% sure if that part goes through the nova metadata server, but I suspect not20:23
zanebstevebaker would know20:23
zanebhe'll be around in a hour or so20:23
ayoungzaneb, regardless, it is a link that is generated and only communicated to the node, so that no other would have the value20:23
*** Akanksha08 has quit IRC20:24
zanebthat's certainly the idea20:24
ayoungzaneb, OK, so you mentioned "do it inside the Controller node template"20:24
zanebyep20:25
ayoungthere is something that triggers the node posting the event right now...Is that the stage 1-5 stuff I saw in the template?20:25
*** GonZo2K has joined #heat20:26
*** GonZo2K has quit IRC20:26
*** GonZo2K has joined #heat20:26
ayoungzaneb, such that I could modify that code and add in a public key or CSR or something at that point?20:26
zanebwhen you create the deployment resource, it makes the deployment data available to os-collect-config. that will run the deployment and immediately post back the results. when the results arrive, the sw deployment resource is marked COMPLETE and the results are available as output from it20:27
zanebso when is runs is governed by where the deployment resource falls in the Heat dependency graph20:28
*** tiantian has quit IRC20:28
*** GonZo2000 has quit IRC20:29
ayoungzaneb, OK, I have an undercloud deployed right now.  Let me see  what it looks like20:30
*** shardy_afk has quit IRC20:31
*** bana_k has quit IRC20:32
ayoung ControllerLoadBalancerDeployment_Step1 overcloud-ControllerNodesPostDeployment-lwd42m66o5pm-ControllerLoadBalancerDeployment_Step1-geyovzbza5qs20:33
ayoungzaneb, so I guess it is  overcloud-ControllerNodesPostDeployment  I want20:34
zanebI would put it right in http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/puppet/controller.yaml20:35
zanebjust make a new deployment in there20:35
*** rwsu has joined #heat20:37
ayoungzaneb, so, say  something like20:37
ayoung ControllerCertificateRequest:20:37
ayoung depends_on: ControllerDeployment20:37
zanebyep20:38
ayoungtype: OS::TripleO::CertificateRequest20:38
ayoungand we would need to create a new puppet type for ^^20:38
zanebnah, just use type: OS::Heat::SoftwareDeployment20:38
ayoungzaneb, what, like an embedded shell script?20:39
*** steveg_afk has joined #heat20:40
zanebsure, or include the script using {get_file: }20:40
zanebno need to involve puppet unless you want to20:40
ayoungzaneb, heh, no desire on my part to do puppet stuff20:40
zaneblol20:40
ayoungok, so I write a small shell script or python executable, and that becomes part of the deployment. get_file needs to be able to get that out of metadata?20:41
ayoungI see things like /usr/share/openstack-tripleo-heat-templates/extraconfig/tasks/pacemaker_common_functions.sh20:42
zanebwhen you use get_file, the heat client will automatically find your script and pass it to Heat, and Heat will inline it into the template for you20:43
zanebexample: http://git.openstack.org/cgit/openstack/heat-templates/tree/hot/software-config/example-templates/example-script-template.yaml20:46
ayoung$ locate config-scripts20:47
ayoung/usr/share/openstack-heat-templates/software-config/example-templates/config-scripts20:47
*** vgridnev has quit IRC20:47
ayoungso those URLs in a Tripleo (RPM based) deploy are based on some $PATH type environ I guess20:47
*** shardy_afk has joined #heat20:48
*** vgridnev has joined #heat20:48
*** rajpatel has quit IRC20:48
*** rwsu has quit IRC20:48
ayoungOK... I should be able to do a POC based on that.20:48
ayoungthat at least would get the key from the node to the Heat server20:49
*** vgridnev has quit IRC20:49
ayoungwell, how would that script know what URL to call? Where does the signed URL get passed>20:49
ayoung?20:49
*** rajpatel has joined #heat20:51
zanebmagic20:55
zanebyour script doesn't have to call anything, just print to stdout20:56
zanebsetting group: script will make the heat-config-script hook run it, collect the output and signal back to the correct URL20:57
zanebhttp://git.openstack.org/cgit/openstack/heat-templates/tree/hot/software-config/elements/heat-config-script/20:58
*** shardy_afk has quit IRC20:58
ayoungzaneb, OK...I need to try this out.  But, let's say it does signal back to heat. How do I kick off a workload at that point?21:05
*** vgridnev has joined #heat21:05
zanebayoung: do you mean a (Mistral) workflow?21:06
vgridnevone more time: hello people. can you explain why heat is running integration tests in upgrade script during grenade job? my understanding that upgrade should just upgrade service, but should not run any tests21:07
*** sergio_nubeliu has quit IRC21:07
vgridnevI mean https://github.com/openstack/heat/blob/master/devstack/upgrade/upgrade.sh#L8921:08
*** fragatin_ has joined #heat21:08
zanebvgridnev: http://specs.openstack.org/openstack/heat-specs/specs/liberty/upgrade-tests.html21:09
vgridnevzaneb, and what is that?21:10
vgridnevI asking about reasoning of running tests in upgrade21:10
zaneband I just posted a link to the spec that I believe (I haven't read it) explains the reasons21:10
*** fragatina has quit IRC21:12
vgridnevzaneb, I understand how grenade works (mostly). I mean, WHY heat is running integration tests in upgrade script? the purpose of upgrade is just upgrading the service, and nothing else21:12
*** vijendar has quit IRC21:13
*** bana_k has joined #heat21:13
*** bana_k has quit IRC21:13
*** vijendar has joined #heat21:13
zanebvgridnev: I don't understand what you're asking. are you saying it's in the wrong place?21:14
stevebakerayoung: let me know if you have any questions21:16
stevebakervgridnev: other grenade jobs would run tempest using whatever standard pattern - that pattern is not useful to us so we run our own test after the upgrade21:17
stevebakervgridnev: I've just replied to your comment https://review.openstack.org/#/c/349741/5/devstack/upgrade/upgrade.sh21:19
stevebakercould cores please review the rest of this series - its over 2 months old now https://review.openstack.org/#/c/323614/ https://review.openstack.org/#/c/33080021:21
zanebstevebaker: ooh, is that going to fix our annoying gate bug?21:22
stevebakerzaneb: the thread cancel one? I doubtit21:22
vgridnevstevebaker, first, it's not guaranteed that all services are upgraded; I think that probably verify phase is more appropriate for that. But anyway, what is the profit of executing absolutely same jobs after upgrade? What case of upgrade it covers?21:22
zanebstevebaker: then no reviews for you!21:22
*** vijendar has quit IRC21:23
stevebakerzaneb: but it will mean I can start working on sqlalchemy 2nd level cache things, which is why I did it in the first place21:23
stevebakerinstead of caching at the versioned object layer https://review.openstack.org/#/c/317221/21:23
stevebakervgridnev: This is the first time I've touched the grenade scripts, but I assume that running the same test pre and post upgrade is just a smoke test to confirm things are not completely broken by the upgrade21:25
vgridnevbut moreover, it's right now heat integration tests are blocking sahara-grenade job because of issues with quotas21:26
ayoungstevebaker, so far so good.  I know how to trigger the workflow I want from the node now, thanks to zaneb .  I'll have to give it ta try.  However, once the node posts the certificate signing request (CSR) back to Heat, I need something to pick it up and do something with it21:27
ayoungit sounds like I need something running on the undercloud node that is listening for this signal notification, and zaneb suggested mistral21:27
vgridnevso, probably you should just provide ability of disabling that; it's a little bit annoying: https://review.openstack.org/#/c/353585/21:27
*** steveg_afk has quit IRC21:28
*** Drago has joined #heat21:29
*** Drago has quit IRC21:29
*** Drago has joined #heat21:29
stevebakerayoung: actually there is probably full integration available for you right now to use to define mistral tasks which create software deployments. What version of tripleo are you developing against?21:29
stevebakervgridnev: yes, that sounds fair enough21:30
ayoungstevebaker, I was hoping to do this with Mitaka, but If I need to go to Newton, that is OK21:30
*** rajpatel has quit IRC21:31
ayoungI see that the mistral packages are installed, but there is no mistral process running21:31
*** bana_k has joined #heat21:33
stevebakeryeah, it may be newton onwards. Here is the mistral bit https://review.openstack.org/#/c/310966/11/tripleo_common/actions/deployment.py21:34
stevebakerand a workflow which uses it https://review.openstack.org/#/c/313953/9/workbooks/deployment.yaml21:34
*** bana_k has quit IRC21:35
*** rajpatel has joined #heat21:36
vgridnevstevebaker, ok, thanks for understanding. waiting for some reviews on 35358521:39
vgridnevhttps://review.openstack.org/#/c/353585/21:39
*** shardy has joined #heat21:40
openstackgerritJason Dunsmore proposed openstack/heat: Allow a stack with invalid resolved properties to be updated  https://review.openstack.org/32489821:40
*** dbecker has joined #heat21:45
*** jcoufal has quit IRC21:49
*** priteau has quit IRC21:54
*** vgridnev has quit IRC22:04
*** jasond has quit IRC22:04
ayoungstevebaker, zaneb thanks.  I think I can piece together an approach from this.  Taking notes.  I'll try to write it up somewhat coherently.22:07
*** shardy has quit IRC22:07
*** rajpatel has quit IRC22:17
*** rajpatel has joined #heat22:24
*** fragatin_ has quit IRC22:26
*** fragatina has joined #heat22:27
*** dimtruck is now known as zz_dimtruck22:31
*** Drago has quit IRC22:32
*** sdake has quit IRC22:38
*** spotz is now known as spotz_zzz22:44
*** pradk has quit IRC22:47
*** spedione is now known as spedione|AWAY22:49
*** dbecker has quit IRC22:56
*** code-R has quit IRC23:01
*** rwsu has joined #heat23:04
*** sabeen has quit IRC23:15
*** bwallis has quit IRC23:16
*** randallburt1 has quit IRC23:23
*** steveg_afk has joined #heat23:25
*** sdake has joined #heat23:26
*** blomquisg is now known as blomquisg_gone23:30
*** ayoung has quit IRC23:30
*** chlong|mtg has quit IRC23:31
*** zhurong has joined #heat23:37
*** zz_dimtruck is now known as dimtruck23:44
*** rajpatel has quit IRC23:49
*** bwallis has joined #heat23:49

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