15:00:02 #startmeeting puppet-openstack 15:00:03 Meeting started Tue May 5 15:00:02 2015 UTC and is due to finish in 60 minutes. The chair is EmilienM. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:04 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:06 The meeting name has been set to 'puppet_openstack' 15:00:09 who is here today? 15:00:12 morning 15:00:32 hi 15:00:43 morning 15:00:43 hi 15:00:52 hello 15:01:22 o/ 15:01:22 #link https://etherpad.openstack.org/p/puppet-openstack-weekly-meeting-20150505 15:01:24 o/ 15:01:40 hi 15:02:10 in the last meeting, the only one action was about master policy blueprint, and we have an item so i'll skip this review 15:02:15 let's start! 15:02:19 #topic CI status 15:02:40 sbadia: any status on Puppet4 ? 15:04:01 he's probably not here 15:04:20 I think he's also using the spreadsheet 15:04:22 #link https://docs.google.com/spreadsheets/d/1i2z5QyvukHCWU_JjkWrTpn-PexPBnt3bWPlQfiDGsj8/edit?pli=1#gid=0 15:04:23 o/ 15:04:47 so we miss nova, neutron, swift to have all modules working 15:05:17 I can give swift a puppet 4 push this week. 15:05:19 morning 15:05:29 also this morning sbadia, dmsimard and I talked about backporting RSpec3.x work to stable branches 15:05:41 because some backports failed (obvious) to pass CI 15:05:56 has anyone some thoughts? 15:06:03 o/ 15:06:30 #link https://review.openstack.org/#/q/branch:stable/juno+topic:1451460,n,z 15:07:14 I think we will try first to backport this work to Juno and see if we can backport to Icehouse 15:07:31 if you have any concern/thought rise your hand 15:08:11 ok 15:08:13 #action Backport RSpec3.x work to stable branches 15:08:23 beaker status: 15:08:34 crinkle, sbadia : thanks for your reviews on https://review.openstack.org/#/q/topic:bug-1444736,n,z 15:08:49 we have more than 50% of our modules that have beaker tests now 15:08:54 +1 15:09:11 and all of our modules (except Gnocchi, Tuskar) that don't have (packaging missing) 15:09:16 +1 15:09:44 panda rose a blueprint today 15:09:56 #link https://review.openstack.org/180180 15:10:12 this is about "Tests requirements and goals" for our beaker work 15:10:41 afik, OpenStack infra is also looking at our work to replicate the tests to their modules 15:10:52 panda, nibalizer: you may want to keep in touch 15:11:03 It's really a draft, I'm expecting a lot of comments a discussions 15:11:11 * nibalizer nods 15:11:16 panda: that's great, we will use this document for that. Thanks 15:11:47 anything else about CI? 15:11:54 "a change in a common dependency (usually concat)" nice 15:12:19 EmilienM: nothing from me 15:12:49 ok. Hopefully next week we will have figured out this Rspec3 issue in stable branches and make progress on beaker blueprint 15:13:15 #topic swift: replication network 15:13:23 #link https://review.openstack.org/#/c/177037/ 15:13:24 vinsh: o/ 15:13:32 Hey all 15:14:05 EmilienM: Sorry I'm late, but I'm here now 15:14:10 The discussion around the init files makes sense... and I could write a class that provides one.. that I know works in ubuntu atleast. 15:14:23 But as someone else mentioned... it might be left to the user to do that 15:14:26 richm: ack, keystone v3 is the next topic ;) 15:15:05 anyone has feedback about his mail/code? 15:15:27 One more thing to do is add the respec tests around this change, which will take me more then a day. 15:15:31 vinsh: I quickly looked at the code yesterday, I have a few comments that I'll let inline, but nothing major 15:15:37 OK 15:16:01 once this merges.. I will back port it to that change: https://review.openstack.org/#/c/169071/ 15:16:40 (vinsh is giving his daily stand-up update right now back in 1 min) 15:16:53 vinsh: I don't seen any critical thing in your patch or any decision to take here 15:17:20 let's move on 15:17:25 +1 15:17:28 #topic keystone v3 status 15:17:33 richm: good morning Sir 15:18:20 We have split up the jumbo patch into several smaller patches, all up for review 15:18:34 EmilienM has rebased them and fixed them for beaker ci 15:19:02 gildub is working on converting the endpoint and service providers to use v3 15:19:50 richm: regarding the discussion on the ML / Gerrit: do you need to discuss about an eventual design thing or blocker? 15:20:12 The basic problem was if we could not assume v3 auth 15:20:25 However, if we can assume that the keystone provider code will only run on Keystone nodes 15:20:44 then the provider will have access to keystone.conf, and will be able to use the default domain 15:20:54 yes, afik it's how we do today (cc mgagne ) 15:21:33 Furthermore, if we can assume that if additional authentication information needs to be supplied, it will be supplied in an extra-puppet way (e.g. environment variables) 15:21:43 part of the goal of the rewrite was that we didn't necessarily want to assume that https://review.openstack.org/#/c/107546/ 15:22:07 and i think it's useful to be able to pass parameters in from hiera without having them in a config file on localhost 15:22:18 i'm curious if anyone is using that or thinks they might use that 15:22:26 crinkle: Then we will assume that the admin/operator somehow provides authentication credentials in some other way e.g. hiera, environment variables, other 15:22:56 I think we have to list all valid use cases we wishes to support. otherwise we will get lost in implementation trying to support stuff we might not have to support 15:23:22 we might also have to come up with something no one else before has done 15:23:27 We handle this the same way that mgagne described on the list, we include those resources on the kestone node. 15:25:20 mgagne: that should be written in the blueprint imho 15:25:53 The other problem is if we do not have all of the keystone v3 auth information, we have to fallback to using v2 for auth, which means that we have to use the v2 api, which means the providers will have to be able to use both v2 and v3 15:26:00 what are the current challenges or use cases? keystone resource provisioning for keystone (admin user?), keystone resources for services (endpoints, services, users), service resources (images, networks). All those requires a keystone token. 15:27:09 they don't have to, after the initial admin user and tenant are set up they could require an admin username/password 15:27:26 and the keystone docs recommend disabling that token 15:27:30 and admin user domain and admin tenant and admin tenant domain 15:27:43 we should then list what is available on the nodes (glance.conf, keystone_authtoken section) where we expect the provision to happen. if informations are missing, reconsider our POV regarding provisioning or find a way to make it happen. 15:27:44 we have to use the admin_token based auth for bootstrapping 15:28:42 so keystone resources provisoning needs to happen on a privileged keystone node with the admin_authtoken middleware 15:28:43 crinkle: for security purpose? 15:28:48 EmilienM: yes 15:29:07 mgagne: For some amount of bootstrapping, yes 15:29:10 yep 15:29:19 Would a multi-phase puppet keystone install work? 15:29:34 if people wishes to not use the admin_token, we will have to figure out an other way to pass in the credentials, method which doesn't exist yet 15:29:37 That is, you switch authentication at some point from admin token to username/password? 15:29:51 In the middle of the puppet run? 15:30:05 mgagne: that does exist 15:30:10 hi!, sorry for the delay… 15:30:15 crinkle: well, we already have these credentials everywhere... 15:30:16 crinkle: in the current implementation? 15:31:08 mgagne: https://github.com/stackforge/puppet-openstacklib/blob/master/lib/puppet/util/openstack.rb#L8-L28 15:31:23 crinkle: thanks, I missed it I guess 15:31:39 crinkle: so how those credentials end up there? 15:32:44 crinkle: I know it's openstacklib but we will have to get them there somehow in our other modules. I guess it's all the purpose of this discussion. 15:33:29 mgagne: the keystone types include that param like this https://github.com/stackforge/puppet-openstacklib/blob/master/lib/puppet/util/openstack.rb#L8-L28 15:33:42 same link 15:33:46 er 15:33:49 https://github.com/stackforge/puppet-keystone/blob/master/lib/puppet/type/keystone_user.rb#L85 15:33:51 that one 15:34:13 Right - so every manifest has to change everywhere in order to add the auth hash to every keystone resource? 15:34:33 richm: no, the point is that in your roles and profiles you could add more keystone users and tenants if you wanted to 15:34:35 Which means every class resource that refers to a keystone resource has to add additional parameters for auth? and so on 15:34:37 richm: that feels bothersome 15:34:56 richm: no, the keystone types default to using the keystone.conf the same as they always do 15:35:18 it's just an extra add-on if the user wants to have other keystone types not provided in the classes 15:36:01 is the problem with type like glance_image which might not have access to keystone.conf? 15:36:23 glance_image reads keystone creds out of a keystone_authtoken section in glance.conf 15:36:29 but that's another place it could be useful 15:36:35 i have a patch up for that too 15:36:49 https://review.openstack.org/#/c/172580/ 15:36:50 glance_image needs to be instantiated on glance api node 15:37:10 so what are the unsolved challenges? 15:37:27 sorry for asking so much questions, I've been out of the loop for a little too long 15:37:59 mgagne: are you asking what the challenges were that having the auth param solves, or challenges that it's causing? 15:38:32 crinkle: well, I'm trying to understand why we felt the need to talk about it in the meeting 15:38:34 Can the code enabled for v3 assume that the authentication will be provided somehow, and the people implementing v3 don't have to worry about implementing another mechanism for getting auth credentials? 15:39:22 richm: why can't it default to grabbing v3 credentials from keystone.conf the way it does now? 15:39:35 as well as allow them to specify it in a parameter if they wanted to do that instead 15:40:20 crinkle: It can and it does. But we were concerned that keystone code would be running on non keystone nodes and that we were going to figure out how to get the auth credentials, how to figure out if we needed to use v2 or v3 for auth, how to figure out if we can use the v2 or v3 api, etc. etc. 15:40:59 richm: crinkle's patch for glance is a great example 15:41:08 richm: in that case you should supply user/pw 15:41:16 #link https://review.openstack.org/#/c/172580 15:41:29 the way it works now is it runs on a keystone node (or you'd copied the keystone.conf to another node for some reason) and i don't see what needs to change about that 15:41:44 ok - I was not aware that I could assume that 15:41:55 I did not want to make any unfounded assumptions 15:42:29 I do not want to have to write v2 and v3 versions of all of the keystone openstack providers either 15:42:51 so, to be clear, the provider works by first trying to use credentials from the auth parameter and falls back to reading keystone.conf 15:42:54 richm: and it's fair 15:43:28 crinkle: I think it's a good summary 15:43:36 agree 15:43:41 ok 15:44:08 richm: does this statement make a lot of changes in your current code? 15:44:20 EmilienM: no - it is how the current code works 15:44:38 that's nice 15:45:02 richm: is there anything else we need to discuss? 15:45:17 crinkle, mgagne: any last thoughts? 15:45:24 not from me 15:45:30 no, I'm good, but if anyone has any questions about the v3 implementation, feel free to ask me here or in puppet-openstack 15:45:43 EmilienM: no, sorry, my attention drifted to an other meeting 15:45:58 richm: well if your patches are ready, I would ask to people to have a look 15:46:15 richm: I'll make sure beaker job is demonstrating the workflow without regression. 15:46:26 let's move on 15:46:37 #topic master policy 15:46:41 (the EPIC) 15:46:46 ha 15:46:50 this morning I created a draft 15:46:52 #link https://review.openstack.org/#/c/180141/ 15:47:05 it's really WIP but I first want your reviews about the problems/challenges 15:47:17 mgagne, mfisch, clayton ^ 15:47:36 I will look at it today 15:48:15 I'll continue that work this week, feel free to participate this this patch. 15:48:38 This is an official blueprint, that means we will take serious decisions after it merges 15:48:46 thanks for starting it 15:48:47 like breaking (or not?) master, etc 15:49:02 so again, if you have anything to say, make sure you're involved here 15:49:14 we have 10 min for open discussion I think 15:49:24 #topic Open Discussion / Bug/review triage 15:49:42 Hunner: do you have any update about project naming by any chance ? 15:50:22 I'm still waiting from Puppetlabs to know if we can use 'Puppet modules' 15:52:01 well it seems like Hunner is not around 15:52:07 hi 15:52:13 Hunner: hey! 15:52:13 would be nice to know before summit 15:52:17 mfisch: +1 15:52:18 since we're doing some presentations 15:52:32 mfisch: well, and also to move forward with that. 15:52:38 I have not heard any update. I will check with Richard later, as he is closer to that 15:52:54 Hunner: thanks! 15:53:00 But AFAIK we're still greenlight and it's just stuck in paperwork hell :) 15:53:05 lets get this on the agenda again for next week 15:53:15 ok 15:53:34 does anyone has a bug to raise or a patch that needs review? 15:54:01 I thnk vinsh's was one but we already discussed 15:54:08 oh I have something 15:54:22 #link https://etherpad.openstack.org/p/liberty-summit-puppet-team-building 15:54:37 if anyone is interested to have a diner together during the summit ^ 15:54:41 Emilien really likes bowling :) 15:54:45 please raise your end in the etherpad 15:54:50 clayton: I'm actually pretty bad 15:55:00 clayton: I broke my hand once... but keep it for you 15:55:06 It's hard to imagine that you'd be any worse than I am :) 15:55:15 we will have bowling shirts 15:55:27 well, if there isn't anything else, I can close the meeting 15:55:37 thanks 15:55:42 thanks everyone! 15:55:57 #endmeeting