15:00:13 #startmeeting heat 15:00:13 Meeting started Wed Feb 1 15:00:13 2017 UTC and is due to finish in 60 minutes. The chair is ramishra. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:14 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:16 The meeting name has been set to 'heat' 15:00:22 #topic roll call 15:00:32 o/ 15:00:34 o/ 15:00:40 o/ 15:01:03 o/ 15:01:06 o/ 15:01:23 /o 15:02:15 o/ 15:02:21 my last meeting as PTL:) 15:02:29 therve: that looks painful 15:02:39 #topic adding items to agenda 15:02:51 #link https://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282017-02-01_1500_UTC.29 15:03:08 :) 15:03:40 #topic ocata-rc1 status 15:03:51 #link https://launchpad.net/heat/+milestone/ocata-rc1 15:04:02 Hi 15:04:11 Anything we want from these bugs before we tag rc1? 15:04:22 None of them look critical to me 15:05:07 They should be marked as such otherwise :) 15:05:09 So yeah I agree 15:05:34 It would have been good to land https://review.openstack.org/374321 though 15:06:12 bumped https://bugs.launchpad.net/heat/+bug/1625759 to pike-1, since it's a feature 15:06:12 Launchpad bug 1625759 in heat "Should be able to select external subnet for FloatingIP" [Medium,In progress] - Assigned to Tanvir Talukder (tanvirt16) 15:06:19 magnum resource renaming thing. 15:06:54 https://review.openstack.org/#/c/358106/ should be an easy one, will review after this 15:06:54 I will be great to land it:) 15:07:49 ok, I'll wait till tomorrow, else move them to pike-1 15:07:56 o/ 15:08:20 shardy: hi 15:08:28 ramishra: sounds good. 15:08:47 ramishra: regarding https://review.openstack.org/374321 is is just renaming? 15:09:22 skraynev: For most of the resource logic, yes! 15:09:31 skraynev: yeah renaming and some property name changes. 15:09:33 ok. I will try to review it :) 15:09:46 ok, then let's move on 15:09:54 but of course you may merge it before me :) 15:09:57 #topic Heat support of Keystone Federated tokens 15:10:03 it's mine. 15:10:06 hi 15:10:15 Federated tokens don't work in heat now when heat uses trusts 15:10:31 It happens because when user authenticates in keystone, their groups (which provide roles) are stored only in tokens. 15:10:48 there are 2 parts of the problem 15:10:56 skraynev: yeah we see users coming with issues on irc when they use heat with federated keystone 15:11:25 shardy: do you know how it should work? 15:11:26 1. on trust creation. Keystone tries to lookup federated user's roles in the database and fails, because there is no persistent record. It is kinda solvable, we can extract groups from token and lookup the roles. 15:11:30 ramishra: yeah breton tries to describe the root cause :) 15:12:03 2. On trust usage. Keystone tries to verify that trustor still has the roles that he is passing. And here it becomes bad. There is no persistent record about the federated user in the database and keystone cannot verify it. From keystone point of view, federated trustor has no roles. 15:12:13 ramishra: looks like we can not use trusts with fernet tokens 15:12:32 breton: so, basically trusts don't work with Federated tokens in general, this isn't actually a heat specific issue? 15:12:39 skraynev: this is not about fernet at all 15:12:51 the problem is there from liberty and we ran into it. 15:12:53 skraynev: yes. 15:13:02 oh 15:13:05 shardy: yes 15:13:17 I myself work mostly on keystone, but yesterday at the meeting we decided that fixing it in keystone requires a lot of work and some controversial decisions that might create vulnerabilities. 15:13:28 (and still maybe won't work for heat) 15:13:40 breton: is there some alternative model for delegation available that does work with federation? 15:13:40 so i was wondering, maybe we can do something on Heat side to work around that issue? 15:14:12 shardy: i can't think of any 15:14:24 breton: what sort of workaround did you have in mind? 15:14:42 it sounds like the problem is on the keystone side, I'm unclear how we can fix it as a consumer of trusts 15:14:53 shardy: none. I was wondering what you can suggest. 15:15:30 probably a good topic at PTG along with keystone folks? 15:15:40 breton: Hmm, I'm not sure what to suggest, heat uses trusts, and keystone broke trusts, I can't think of a heat side fix for it but we can certainly think about it :) 15:15:57 ramishra: yeah that's a good idea, and gives us all some time to look into the issue further 15:16:16 shardy: remind me why we care about the roles? 15:16:16 breton: thanks for raising this, will you be at the PTG? 15:16:31 shardy: yes, i will, mostly around keystone table probably 15:16:31 zaneb: because trusts require you to specify the roles which are delegated 15:16:39 both when creating the trust, and when consuming it 15:17:19 can _we_ store that info when we create the trust? 15:17:20 breton: maybe we can add new session 15:17:27 #link https://etherpad.openstack.org/p/heat-pike-ptg-sessions 15:17:52 zaneb: yes we can, but isn't the problem that keystone doesn't know about it, so it can't validate the list of roles? 15:18:05 ah, ok 15:18:25 shardy: right 15:18:32 breton: I don't see how that's fixable outside of keystone 15:18:40 even in principle? 15:18:45 shardy: yes, as I understand keystone can not get any information about roles for users .. 15:18:46 when keystone gives you a trust scoped token, it gives you a token with a list of roles (and user identity) associated with the trust ID 15:19:15 maybe heat could do things as `heat` user with admin roles? 15:19:20 instead of imitating the user 15:19:25 breton: NO 15:19:36 breton: No, because then when you e.g do autoscaling the new VMs wouldn't be owned by the users 15:19:47 imagine the billing and security implications for a second ;) 15:20:12 ok, i was just wondering :) 15:20:20 i have little idea how heat things work :) 15:20:29 breton: the other alternative (which heat already supports) is to use the "password" option for delegated auth, but then we store user passwords, which may change, in the heat DB 15:20:33 which is bad 15:20:45 bad bad bad 15:20:52 breton: well, honestly the problem seems to be keystone broke trusts for everyone 15:21:03 shardy: you are right 15:21:13 so I'm not clear what heat can do, except maybe plan to find another way to do this in the long term 15:21:15 breton: if you can offer us OAuth2 or something instead then we can work with that 15:21:24 breaking stuff without deprecation is pretty uncool tho :( 15:21:36 shardy: we never broke it 15:21:43 shardy: federation + trusts never worked :p 15:21:51 shardy: did they break it? 15:21:59 yeah it never worked 15:22:06 zaneb: Yeah I was going to say oauth, but last time I looked you can't create delegations without a finite expiry 15:22:19 breton: my point is you implemented a feature which broke trusts 15:22:21 breton: if you're telling us that only human people physically sitting in front of a keyboard can use OpenStack APIs then you need to have another think about what OpenStack is :) 15:22:25 or at least is incompatible with it 15:22:41 so a heat side workaround doesn't help that much, as I assume there are other users with the same problem 15:23:15 shardy: come tell that at the PTG 15:23:22 shardy: i 100% support you 15:23:26 anyway, lets try to be constructive, I'm just frustrated that this wasn't considered before it broke us 15:24:00 breton: is keystone planning to deprecate trusts, or find a more general solution? 15:24:11 shardy: I don't know that it broke us so much as the intersection of those 2 features doesn't work 15:24:29 shardy: probably no 15:24:38 which imho makes federation fairly useless 15:25:04 zaneb: yeah my point was just it's an intesection of two keystone features, heat is just a consumer of keystone 15:26:16 zaneb, shardy, breton. wow. guys. let's avoid accusations. the reality is, that it does not work 15:26:16 Ok, well sounds like we won't solve this today, let's all think about it and try to figure out a path forward at the PTG 15:26:34 breton: thanks for raising this, be good to discuss further in atlanta 15:26:39 shardy: yeah, I'll add a PTG session with keystone team 15:26:42 and we need to communicate with keystone team and explain our point of view. and try to find solution 15:27:07 ramishra: thx ;) 15:27:23 Not sure if it would be cross-project session or we can just invite keystone guys 15:27:33 ramishra: +1 15:27:41 ramishra: cross-project+1 15:27:45 fwiw there are many other projects using trusts 15:27:52 aodh, mistral come to mind 15:28:05 I think trusts is an important feature for not to work with federation 15:28:46 Yeah mistral, heat, sahara, magnum 15:28:52 I think they all use trusts 15:29:10 should we move on now? 15:29:16 sounds cross-project-ish 15:29:32 ramishra: yeap 15:29:43 #topic PTG sessions 15:30:01 #link https://etherpad.openstack.org/p/heat-pike-ptg-sessions 15:30:30 May be it's time to add some more topics:) 15:30:41 the keystone cross project will be a good topic to add in 15:31:13 shardy anything tripleo specific we should add? 15:31:22 we will figure out which team going to host the session, but will be great to write down first:) 15:33:15 We need 2 full days worth topics 15:33:35 maybe no fishbow this time? 15:33:55 ricolin, There is no such thing in the ptg 15:34:01 AFAIK 15:34:02 ricolin: yeah, there are no fishbowl-style sessions at the PTG 15:34:04 therve: great! 15:34:09 those still happen at the Summit 15:34:10 ricolin: we have a room for 2 days, we can do whatever we want 15:34:11 ramishra: Nothing specific, but I've been wondering now we added conditions if we'll ever add a way to create repeating groups of resources natively in heat without having to nest them 15:34:26 not sure how big the rooms would be though 15:34:30 we said no several times in the past, but tripleo now shows why folks were asking for it 15:34:36 all the j2 loops everywhere 15:35:44 that may be a disscussion for the beer-track vs a formal session though 15:36:05 shardy: beer-track +1 15:36:21 +1 15:36:55 Request all to spend some time and help finalize the sessions 15:37:25 moving on.. 15:37:37 #topic Meeting time discuss 15:37:50 would it help to have a list of people who are planning to attend the PTG? 15:38:13 I would like to propose to move all meeting time schedule to current one 15:38:23 zaneb: I think foundation have it 15:38:57 zaneb: we can ask people to add their names to the etherpad if they are attending 15:39:05 ricolin: I meant we should just write in the etherpad 15:39:19 zaneb: Sounds great 15:39:37 e.g. I suggested a session on property translation but I don't know if prazumovsky is going to be there 15:40:06 #link https://etherpad.openstack.org/p/heat-pike-ptg-sessions 15:40:13 I add the attendee list in it 15:40:25 thanks 15:41:25 ricolin: we don't have many APAC guys attending the 0800 meeting, so I would be +1 for having them at 1500 every week 15:41:30 prazumovsky: are you going to attend PTG?:) 15:41:43 re meeting schedule, this time wfm but I don't know about everyone 15:43:05 I've been working on making the py3 gate works 15:43:16 We can alway have some other meeting or ML for APAC if we have more people would like to join and discuss 15:43:17 I think we mostly have issues in the tests now 15:43:18 May be ask a few other folks or start a ML thread? 15:43:26 We'll get stuck on swift soon 15:43:32 therve: I had looked at it last week too 15:43:37 ramishra: Sure, I will send the ML out 15:43:44 I see some issue with cloud-init no? 15:44:05 ramishra, Yeah haven't looked at that one yet 15:46:07 Let's decide through this week, if no much opposition, we will move next week's meeting to 1500 15:46:08 therve: I've moved the apache job now, now that http+wsgi is the default with devstack for api services 15:46:23 Cool 15:46:26 s/moved/removed in this patch https://review.openstack.org/#/c/427696/ 15:48:21 #topic open discussion 15:48:43 Anything else we would like to discuss? 15:49:15 Next week it would be ricolin the new PTL chairing the meeting:) 15:49:25 ricolin: congrats! 15:49:28 congrats ricolin :) 15:49:36 Thanks guys:) 15:49:55 congrats ricolin :) 15:50:15 I will try my best to be a mediator:) 15:50:52 And we have a bunch of pre-PTL around! 15:52:39 everything will be great:) 15:52:55 ok then, if there is nothing else.... 15:53:06 thank you all for joining 15:53:41 #endmeeting