15:00:11 #startmeeting puppet-openstack 15:00:12 Meeting started Tue Sep 15 15:00:11 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:13 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:16 The meeting name has been set to 'puppet_openstack' 15:00:16 hello o/ ( こんにちは ) 15:00:22 #link agenda: https://etherpad.openstack.org/p/puppet-openstack-weekly-meeting-20150915 15:00:28 hi 15:00:30 hi 15:00:30 hello, who is here today? 15:00:42 hi 15:00:48 hello 15:00:58 o/ hey 15:01:34 o/ 15:01:40 o/ 15:02:01 hey 15:02:02 hi 15:02:19 #topic documentation 15:02:31 #link https://wiki.openstack.org/wiki/Puppet 15:02:44 I worked on a new layout and also more content 15:02:55 here 15:03:00 any volunteer to contribute? we still need more content 15:03:18 I thought maybe we could create an etherpad to synchronize the work 15:03:20 i can help a little =) 15:03:56 #link https://etherpad.openstack.org/p/puppet-wiki 15:04:56 hey 15:05:01 I would expect some help on Coding style, specially from our core team since they should already know that 15:05:16 it will help newcomers to quickly provide good patches 15:05:50 so if anyone is interested, look at the etherpad and contribute! 15:06:06 ack, /me take a look 15:06:16 the documentation will help us to welcome more contributors, get more adoption and have more visibility so please consider it :) 15:06:25 ok o/ 15:06:56 cool 15:07:20 #topic Sprint Retrospective 15:07:22 #link https://etherpad.openstack.org/p/puppet-liberty-sprint-retrospective 15:07:42 so except me and mfisch - there is not much feedback 15:08:04 I'm not sure it means everything was perfect :) 15:08:22 mfisch recommends to make it in person next time 15:08:41 for that, I would suggest we schedule it long time (enough) ago 15:08:43 its difficult to focus for me otherwise, my boss sees me here he expects me to do work here 15:08:59 and avoid overlap with operators or infra sprints 15:09:27 does anyone has any other feedback to share about the sprint? 15:09:28 I think we should do it concurrentish with operators 15:09:37 ops is T-W, we could do R-F 15:09:49 mfisch: R-F ? 15:09:59 Thursday/Friday 15:10:02 ah 15:10:06 sorry two days start with T in English so we use R 15:10:16 we do? 15:10:21 I wish I could speak in french here 15:10:21 o.o 15:10:23 absolutely 15:10:31 Th here 15:10:49 it sounds a good idea but are we sure our folks want to attend OPS sprint too? 15:10:55 they dont have to 15:11:01 they can come in Wednesday night right? 15:11:07 yeah 15:11:10 I like the idea 15:11:13 but me, dorman, crinkley, and a bunch of others were already there 15:11:17 anyway it would be helpful to double upIMO 15:11:20 sorry crinkle, not crinkley 15:11:23 lol 15:11:26 ahah 15:11:29 big +1 15:12:13 mfisch: written in the etherpad 15:12:16 thx 15:12:42 anything else to say about the sprint? 15:13:11 ok let's move then 15:13:25 #topic Tokyo - Summit 15:13:43 #link Summit etherpad https://etherpad.openstack.org/p/HND-puppet 15:13:47 all you need to know is here ^ 15:14:10 if you attend the summit, please open the link and look 15:14:24 we are still preparing the agenda, feel free to bring any topic 15:14:39 well, even if you don't attend it in person, we can arrange remote things 15:15:36 I'll let a bit more of time for our group to feed the topics 15:15:50 and make sure we have an agenda when we are there 15:16:02 mfisch: this time I hope there will not be overlap with ops stuffs 15:16:14 Im sure there will be unfortunately 15:16:30 anyway, we will deal with that, like usual :) 15:16:39 anything else about summit? 15:17:02 if you noticed, I haven't suggested playing bowling yet 15:17:05 lol 15:17:16 ^^ 15:17:20 EmilienM, this is Japan isn't Karaoke there thing :) 15:17:25 ok let's move 15:17:30 spredzy: I'm very good at singing 15:17:34 or maybe not 15:17:38 #topic Cinder module & 15:17:40 EmilienM: please don't :D 15:17:40 spredzy: o/ 15:17:58 degorenko, o/ 15:17:58 "karaoke" is a japanese word even 15:18:05 spredzy, mwhahaha and degorenko: hey 15:18:11 EmilienM, spredzy, o/ 15:18:13 hey 15:18:33 what needs to be discussed here? 15:18:35 #link https://review.openstack.org/#/c/219275/4 15:18:41 yep ^ 15:18:53 so we're using '' but when we flip a parameter to true we can't use that anymore 15:18:58 previously that's an undef check 15:19:07 so how should we handle such cases 15:19:38 when we need to enforce the parameter is set to something other than 15:19:50 yeah I was wondering about that in the review 15:19:54 how we deal with bools 15:20:18 Well we do have this case in this current review 15:20:22 #link https://review.openstack.org/#/c/221265/4/manifests/backend/gpfs.pp,cm 15:20:45 with == '' meaning true for tests 15:21:39 so we'll need to do a != '' check as necessary? 15:22:10 I recognize the name is not easy 15:22:31 mwhahaha, correct 15:22:44 ugh, but ok 15:23:03 spredzy: could not we do better? 15:23:52 I am open - but the name was decided after several meeting. Changing the name per se isn't much work, making sure it can't be misinterpreted by a module is another story 15:24:04 neither of the traditional undef, '', false, nil can do 15:24:35 I think we can stick on that name now, but I would like good documentation around this 15:24:46 spredzy: can you make sure you document it in coding style? 15:24:52 with a dedicated subsection 15:25:36 EmilienM, ack 15:25:58 I see the wiki is already updated :) 15:26:16 spredzy: yeah I take notes in // 15:26:22 great 15:26:39 mwhahaha: so yeah... in the meantime, let's continue like this - if you have a better proposal, please propose it 15:27:00 what spredzy is doing will really help to stick on default OpenStack values 15:27:07 i don't think there is one unfortunately, just want to make sure we all agree on this 15:27:25 no makes sense, it's just very ugly from a readability standpoint 15:27:29 and so much extra code :/ 15:27:45 mwhahaha: wait - our first motivation was to reduce code 15:27:59 by using this we reduce code actualy :) 15:28:12 we just don't use absent setting anymore 15:28:19 yeah 15:28:25 since our provider is taking care of that 15:28:33 we'll see 15:28:37 :) 15:28:39 i think, it's good, but i agree, parameter name is ugly :) 15:29:00 spredzy, mwhahaha: if you guys have ideas to improve the readability, go ahead - for now we use puppet-cinder as canary 15:29:05 do not patch other modules yet ^ 15:29:25 can we create a not service default function in openstacklib or something? 15:29:27 mwhahaha, degorenko: as spredzy is saying, we discussed about that name in previous meetings 15:29:50 is_os_default($var) that does a check for == '' 15:29:51 mwhahaha: which name would you use? 15:29:58 or something 15:30:00 yes, i'm not against such name 15:30:02 is_service_default 15:30:15 so we don't have to keep typing '' for these checks 15:30:35 mwhahaha, I am not against it 15:30:44 I would like to see some code as an example 15:30:46 that's a good adiea 15:30:52 idea 15:30:53 sure i'll create a review 15:30:58 if this improves readability basically it would be an if == return true else return false 15:30:59 mwhahaha: cool th 15:31:00 ++ 15:31:00 thx 15:31:13 #action mwhahaha to create is_service_default check function 15:31:40 if is_service_default($var) { fail(...) } 15:31:45 something of the sort 15:31:52 mwhahaha: sounds like cool 15:32:20 mwhahaha: you can patch puppet-openstacklib + patch puppet-cinder and use Depends-On 15:32:26 so we can actually test and see the result 15:32:36 sure, i'll get with degorenko and get it lined up 15:32:44 awesome :) 15:32:51 anything else on this topic? 15:33:01 i'm ok 15:33:11 yep! thanks :) 15:33:17 #topic Federation blueprint 15:33:19 iurygregory: o/ 15:33:22 o/ 15:33:25 Well people, when the spec enabling-federation was approved, the idea was one class for service provider and we should validate the choice because we have three possibilities: OpenID Connector as protocol and with SAML as protocol, with SAML we need to choose the module between shibboleth and mellon. 15:33:49 The reason to have just one class was that they will share common attributes, but since the code will be on puppet-keystone and we can only modify configuration files (keystone.conf keystone-apache) related to Keystone and this attributes are related to the configuration files of the installed protocol/module, taking as an example Shibboleth, we need to apply changes in shibboleth2.xml and attribute-map.xml which are located in "/etc/s 15:33:49 hibboleth" =/ . 15:34:23 first thing to consider, if this single manifest is going to be huge, better to split it from now 15:34:49 ok 15:34:57 mfisch: any thoughts? 15:35:03 richm: ^ 15:35:46 So i need to change the spec only to say that we will have one class for each possibility with the proper attributes to configure keystone files? 15:35:58 I think we could have ::keystone::federation::saml 15:36:02 yes 15:36:13 and ::keystone::federation::shib 15:36:14 etc 15:36:23 yes 15:36:25 agree 15:36:25 ok ^^ 15:36:26 then a class/resource (might be a resource if there will be more than one instance) 15:36:31 iurygregory: I know it's confusing from what we said some time ago 15:36:40 but I think we did not realize all the logic in there 15:36:47 you could load them from a keystone::federation one and share common attributes there 15:36:49 and for readability we could split it 15:36:51 no problem EmilienM 15:36:56 chem++ 15:37:09 iurygregory: chem's proposal is also good if we have common parameters 15:37:10 there is a lot of stuff in common for all federation, but there are also a lot of differences between the providers 15:37:17 chem, i think we doesn't have common attributes anymore =/ 15:37:21 so it's going to be a matter of finding the right balance 15:37:32 for common params we could have ::keystone::federation 15:37:38 right 15:37:38 parameters* 15:37:52 and then ::keystone::federation:: 15:38:09 it's same thing as cinder volumes, etc or kind of 15:38:22 yeah - common idiom used in a lot of opm 15:39:08 the split seems natural, but if the parameter are too different may end up hard to implement in puppet... 15:39:54 I think common params should live in ::keystone::federation 15:40:03 and specific backends config in ::keystone::federation:: 15:40:13 i think one class for each possibilty is fine, or maybe we can have a puppet-federation module =P 15:40:32 iurygregory: nope - puppet-keystone is the right module for that 15:40:45 and let the user call directly each backend or have each backend called from keystone::federation ? 15:41:00 side node, puppet-keystone won't configure the backend service itself (ie: configure any other service but keystone or WSGI) 15:41:10 chem: #1 15:41:19 chem: I think? 15:41:25 or #2 would avoid mistakes 15:41:26 EmilienM: oki, harder, but cleaner :) 15:41:38 chem: #1 would require good documentation 15:41:45 but make the code cleaner 15:42:06 #2 is easiers for our users but code is hard to maintain 15:42:13 what do we want? 15:42:23 * EmilienM pokes mfisch 15:42:40 let me catch up 15:43:41 #1 is your proposal emilien 15:43:42 ? 15:43:51 mfisch: for now, yes 15:44:07 +1 for #1 15:44:12 I think that makes sense 15:44:18 well i think the common attributes will not exist because we wont configure the backend service =) 15:44:21 I could live with the other option too 15:44:28 iurygregory: let's go for #1 15:44:33 iurygregory: ok 15:45:01 iurygregory: yeah, configuring the backend service is not up to openstack modules 15:45:13 I expect people using a specific puppet module for that 15:45:14 ok EmilienM ^^ 15:45:32 So i need to change the spec only to say that we will have one class for each possibility with the proper attributes to configure keystone files? 15:46:09 iurygregory: eventually 15:46:54 ok we have 15m left 15:46:54 Should we change the spec after the code get merged or right now? 15:47:03 iurygregory: before 15:47:13 ok 15:47:13 a blueprint should be merged before any code in theory 15:47:22 in reality, we sometimes need to iterate :) 15:47:28 tks o/ 15:47:34 iurygregory: thx! 15:47:36 I think it would be helpful to me (and probably a lot of people here) to see some sort of implementation in puppet (i.e. a WIP) 15:48:02 . . . but there's no reason why the code and the blueprint cannot be worked on in parallel 15:48:09 richm: like in the example/*.pp ? 15:48:11 one usually informs the other 15:48:24 EmilienM: yes 15:48:29 richm: of course 15:48:36 it would be super useful for our users 15:48:51 maybe give an example of manifest with an external module is ok 15:49:15 ok ^^ 15:49:17 richm, iurygregory: anything else? 15:49:31 not in this topic 15:49:36 #topic Open Discussion, Bugs, Reviews triage 15:50:03 looking through reviews and the Cinder one was a big one that we already discussed 15:50:04 note: for the Lab101: I think it should be an effort documented here: https://etherpad.openstack.org/p/puppet-wiki 15:51:06 if you have any outstanding patch, review or bug please raise it here 15:51:10 Hi all, I have a review out that I'm really depending on for tripleo support in Liberty. https://review.openstack.org/#/c/222451 15:51:32 It's to a cisco specific piece of ML2 conf 15:52:06 Anyone that knows about acceptance can please review - https://review.openstack.org/#/c/208054/ :D 15:52:09 tiswanso: nice, finally we get rid of erb templates :) 15:52:16 I'd like to also follow-on with a similar technique for another new config piece 15:52:18 :-) 15:53:12 tiswanso: degorenko already reviewed it, but it's nits 15:53:55 EmilienM: yes, I can get those nits done quick if required. 15:54:05 iurygregory: that's a big patch, I'll have a look later today :) 15:54:11 tiswanso: thanks 15:54:20 o/ thanks EmilienM 15:54:29 there is also a neutron patch (QOS), see https://review.openstack.org/#/c/216654/ 15:54:38 the acceptance is just wsgi + federation 15:55:00 mfisch, crinkle: I would be happy to have a review on https://review.openstack.org/#/c/217352/ 15:55:12 EmilienM 15:55:20 thanks, I've tried to check how Neutron QoS works on devstack, and the changes which I'm adding in the patch should be enough to enable it. 15:55:26 yes I started to look at that last night EmilienM I will finish today 15:55:46 though it's not important change, just a Liberty feature 15:55:58 skolekonov2: good to know 15:56:03 anything else for today? 15:56:06 EmilienM, we talked today about cookiecutter for puppet-murano. Is this CR https://review.openstack.org/#/c/223597/ what you've expected? 15:57:26 IBerezovskiy: is that all your initial commit? 15:57:32 there is no manifests, etc 15:58:09 EmilienM, this is in next commit https://review.openstack.org/#/c/211043/ 15:58:24 EmilienM, no, all manifests will be added in dependency patch 15:58:37 so you split in chunks 15:58:50 yep 15:58:53 yes, to avoid a biiig patches :) 15:58:59 works for me 15:59:11 good to know :) 15:59:13 I +2'ed the initial commit 15:59:16 yep :) 15:59:17 I'll review other later 15:59:21 thanks 15:59:25 anything else? 15:59:40 thanks for joining - have a great day 15:59:47 #endmeeting