15:00:15 #startmeeting puppet-openstack 15:00:18 Meeting started Tue Aug 11 15:00:15 2015 UTC and is due to finish in 60 minutes. The chair is crinkle. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:22 The meeting name has been set to 'puppet_openstack' 15:00:37 #link agenda https://etherpad.openstack.org/p/puppet-openstack-weekly-meeting-20150811 15:00:43 anyone here? 15:00:46 me o/ 15:00:46 hello 15:01:08 morning 15:01:29 #topic Review past action items 15:01:31 o/ 15:01:43 sbadia launch a initial msync on all our modules - sbadia ? 15:01:59 hi! 15:02:01 o/ 15:02:03 sorry for the delay 15:02:09 \o 15:02:09 crinkle: still in progress 15:02:27 o/ 15:02:29 hi 15:02:30 but, I'll finish the clean just after the meeting 15:02:37 I'll send an email after on the ml 15:02:43 hey 15:02:49 People to review https://review.openstack.org/#/c/190361/ and eventually give feedback -1/+1 <-- looks like we need some more reviews 15:03:11 well about the spec 15:03:25 i've recived only 2 +1 and onde +2 15:03:33 one* 15:03:37 I will look again today 15:03:47 o/ thanks mfisch 15:04:17 #topic Liberty status 15:04:26 #link blockers https://etherpad.openstack.org/p/puppet-liberty-blocker 15:04:53 EmilienM's been looking into this, I'm sure he would appreciate help debugging those unknown failures 15:05:46 #topic CI 15:06:50 paul and emilien are working on setting up integration tests 15:07:02 #link integration https://review.openstack.org/#/q/project:openstack/puppet-openstack-integration+status:open,n,z 15:07:31 we're also trying to figure out how to gate that repo with a couple of "canary" beaker tests from the modules it affects 15:07:46 crinkle, could you define "canary" please ? 15:08:28 ++ 15:08:59 spredzy: we want to be able to test a module with the changes made to the integration repo to see if the changes will break the gate for the other modules 15:09:34 we'd use "canary" modules in the sense that we don't feel like we need to test every single module, just a couple would be good indicators of whether things will break 15:09:57 crinkle, ok thanks for the explanation. It makes sense 15:10:22 (comes from https://en.wiktionary.org/wiki/canary_in_a_coal_mine) 15:11:04 nice reference 15:11:11 ^^ 15:11:18 * spredzy thinks poor canaries 15:11:37 we also need to start defining a few scenarios to test against, so operator input there would be very helpful 15:12:03 how complete would those be? 15:12:08 that's been started in https://review.openstack.org/#/c/207070/ but is not in its final form 15:12:19 mfisch: not sure 15:13:45 mfisch: do you have something in mind? 15:14:17 crinkle: well you just mean small openstack scenarios? 15:14:28 like a control node and compute node? that kind of thing? 15:14:57 mfisch: probably yes, I don't think we'd be able to handle massive deployments 15:15:16 even a single node setup would work 15:15:22 we do a 5 node here for our testing 15:17:06 awesome 15:17:26 at some point later we can maybe start an etherpad to brainstorm what kinds of deployments to test 15:17:44 sure 15:17:48 we should start small 15:17:48 anything else on CI? 15:19:07 #topic Keystone v3 - always include "::domain" 15:19:12 #link http://lists.openstack.org/pipermail/openstack-dev/2015-August/071433.html 15:19:14 richm: ? 15:19:58 So how does everyone feel about having to add "::domainname" to every single Keystone domain scoped resource everywhere? 15:20:26 e.g. every user has to be specified as "username::domainname" 15:21:05 mattymo_: you've been working on v3 related patches recently, do you have a strong opinion? 15:21:30 would it make your life more difficult? 15:21:37 From a purely developer standpoint - I think it's great - makes naming domain scoped resources completely unambiguous 15:22:05 even if its foo::default? 15:22:11 I'd like to see it flexible and not have to specify domain in every single ref imaginable 15:22:14 o/ 15:22:15 mfisch: yes, and it probably will be 15:22:33 not sure we have any plans to use any v3 stuff here 15:22:33 it only applies to multidomain scenarios which are currently quite rare 15:22:39 that is, the first pass would be to just do s/name/name::Default/g 15:22:39 so Im hoping for a simple path 15:22:57 The current solution is this 15:23:19 - use the name without the ::domain part if it is unique throughout all domains 15:23:56 lets follow KISS here 15:24:05 - if there is more than one resource with the same name, if there is one in the default domain, use it without a domain e.g. "admin" 15:24:22 - otherwise, a non-unique name not in the default domain must use "::domainname" 15:24:38 bogdando: The KISS approach varies depending on your perspective 15:25:15 bogdando: From a puppet/ruby dev standpoint, requiring "::domainname" everywhere is a very KISS approach 15:25:50 richm, I mentioned provider's perspective. And I agree with your comment. Less logic in provider - the better is 15:26:11 however, from an operator standpoint, if I have a user named "glance", there is obviously only going to be one user named "glance", no matter which domain it is in 15:26:31 so if I refer to a user named "glance", the code should just "do the right thing" and find and use the one and only user named "glance" 15:26:36 and some of us dont want to deal with domains at all 15:27:06 mfisch: at least, for the foreseeable future 15:27:18 this reminds FQDN or shortname 15:27:19 I'm still confused about the ::default case, why s/name/name::Default/g if "if there is one in the default domain, use it without a domain"? 15:27:38 angdraug: I guess I am confusing things 15:27:49 if there good examples for node names, we could follow 15:28:19 angdraug: When I said that, I meant that if we decide to require the domain name everywhere, the easiest thing to do would be to just stick "::Default" on the name of every resource 15:28:26 other modules I mean, how they solve FQDN vs shortname? 15:29:13 bogdando: yes, this is similar to the problem of host naming + aliases 15:29:18 use_fqdn could be a good way to treat names. So, probably use_domains could help us 15:29:37 bogdando: not sure what you mean - what is 'use_fqdn'? 15:29:39 which switch the provider's logic 15:30:15 When use_domains=true, foo::default would be considered as just a name, without domain 15:30:32 sorry, typo. When use_domains=false 15:30:52 bogdando: is that a facter fact? 15:31:18 I think it is not, just a class (provider?) parameter 15:31:18 or are you proposing a new resource parameter? 15:31:31 richm, yes 15:31:46 new param 15:32:06 bogdando: I think that would be very difficult to do - e.g. if you use use_domains=true in keystone_user, you would need to use it in keystone_user_role 15:33:23 a global fact I think would be the way to go - either all resources are domain aware, or none of them are 15:33:34 and you will need this logic at the puppet level as well 15:33:36 the UX would depend on defaults 15:33:54 Any time yop need to access something in the catalog (like use_domains) from a provider, things get ugly 15:34:15 Because self.instances can't really read facts, for example 15:34:25 ok 15:34:51 the way it works now, if there is the "::" character in a resource name, it means "use domains" 15:35:00 "::" string, not character 15:35:01 makes sense 15:35:44 mfisch: Am I correct in assuming you prefer the way it is now, where domains are not required? 15:36:02 well perfer it out of laziness 15:36:06 prefer it 15:36:18 ack 15:36:40 so we should either "require the domain name everywhere" or benefit users who "dont want to deal with domains at all". Cannot do both 15:36:51 bogdando: correct 15:36:55 2 cents, domains are realty in largeer deployments 15:37:04 larger* 15:37:13 yes - we have to support domains, one way or another 15:37:31 use_domains could, but seems not a KISS at all... 15:37:51 gildub is the one who is running into problems with domain support in keystone_trusts and keystone_groups 15:38:14 Unfortunately he is East Australia and could not attend this meeting 15:39:39 I think he has made his case in the email thread mentioned above and in the etherpad 15:40:05 as we cannot do both, we have no choice actually, but benefit the most part of users who may want not have domains 15:40:32 bogdando: I don't know if our sample size is big enough to know if we have heard from "the most part of users" 15:41:17 I don't mean the most of users don't want domains 15:41:40 richm: what about adding openstack-operators to that thread, would that yield a bigger sample of users? 15:41:48 angdraug: +1 15:41:48 but we should not reject them 15:42:31 as it is now, gildub doesn't really want to proceed until this issue is solved, so this is holding up key v3 features such as trusts and federation 15:42:39 but I personally would prefer use_domains, to address both cases 15:43:03 okay, so continue this on the mailing list? 15:43:10 crinkle: ok 15:43:30 #action continue keystone domains discussion on operators ml 15:43:52 #topic Open Discussion, Bug and Review triage 15:44:13 #link https://review.openstack.org/198695 15:44:14 some patches have been submitted on the agenda etherpad to review 15:44:30 can we discuss https://review.openstack.org/#/c/207890/ and https://review.openstack.org/#/c/207873/ ? 15:44:51 I'd like to register a concern about 198695 first 15:45:22 it was a month between the patch being submitted and it getting a -1 15:45:48 the -1 was submitted yesterday so it's too early to tell if it's in disagreement or if there will be a consensus about it 15:46:00 but the comment is about the general principle of the commit, not code specifics 15:46:12 as for https://review.openstack.org/198695 - I've added a comment there like 20 minutes ago 15:46:13 which means it shouldn't have taken a month to -1 it 15:46:53 I said my piece, if there's no objections lets move on to mattymo_'s patches 15:48:01 angdraug: thanks for bringing it up, we can continue discussing it on the patch 15:48:25 https://review.openstack.org/#/c/208462/ was rebased also, it had EmilienM +2 though 15:49:03 #link https://review.openstack.org/#/c/207890/ 15:49:11 #link https://review.openstack.org/#/c/207873/ 15:49:18 #link https://review.openstack.org/#/c/208462/ 15:50:01 mattymo_: what's changed about your keystone patches since last week? 15:50:03 What's tough here is how 207890+207873 should be tested.... 207890 is failing because adding "depends-on" doesn't actually ensure that code gets used 15:50:45 the openstackclient commands fail when you use v2.0 api in auth_url... as I reported. so we need to consider if 207873 has enough test coverage to get merged and we can finish fixing keystone 15:51:25 the test case seems to be adequate, but maybe too crude in https://review.openstack.org/#/c/207890/8/spec/acceptance/basic_keystone_spec.rb 15:51:43 deploy normally, then add /root/openrc, apply again, add env vars, apply yet again 15:51:56 mattymo_: the depends-on should work here 15:51:57 definitely covers regressions 15:52:25 crinkle, is it possible for you to deploy that beaker scenario and see physically if the patch to openstacklib is there? 15:52:35 I've spent the entire day trying to get a beaker deployment up 15:53:52 mattymo_: we can't use depends-on for local testing 15:54:06 is there a dev-usable canned beaker env anywhere? 15:54:08 ok so we have a chicken and egg scenario? 15:54:24 depends-on should work, but we can't prove it 15:55:06 do you mean gerrit dependency or just a commit message? 15:55:16 commit message 15:55:40 bogdando, dependency so that puppet-keystone uses my puppet-openstacklib patchset 15:55:41 mattymo_: I can investigate after the meeting 15:55:48 understood 15:55:48 we specifically set it up to work 15:56:06 seems like a major dev issue 15:56:29 to emulate it locally you can modify http://git.openstack.org/cgit/openstack/puppet-keystone/tree/spec/spec_helper_acceptance.rb#n48 to copy the module from a local directory 15:56:45 but we don't have a good solution to make beaker just do it based on the commit message 15:57:25 as a short term workaround, we could push forward and consider my openstacklib patch first 15:57:26 3 minutes left 15:57:36 but if someone wants to discuss another bug, go ahead 15:57:49 action? 15:57:54 or back to ML? 15:58:36 #action crinkle to check on depends-on functionality in CI 15:59:08 I can do that quickly and if we find out it really doesn't work we can test the patch locally with my workaround ^ and go from there 15:59:22 any other patches? 15:59:32 #link https://review.openstack.org/#/q/status:open+branch:master+topic:fix_fixtures,n,z 15:59:33 if you have time https://review.openstack.org/#/c/190361/ 15:59:37 ^^ 15:59:42 #link https://review.openstack.org/202574 15:59:45 just please make more reviews, nothing more to add from my side, I'm not a patch author 15:59:51 #link https://review.openstack.org/#/q/status:open+branch:master+topic:inifile_proxy_provider,n,z 16:00:15 okay, thanks everybody 16:00:18 #endmeeting