15:00:12 #startmeeting puppet-openstack 15:00:12 Meeting started Tue Feb 16 15:00:12 2016 UTC and is due to finish in 60 minutes. The chair is EmilienM. 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 'puppet_openstack' 15:00:18 o/ 15:00:32 bon matin 15:00:35 #link meeting URL https://etherpad.openstack.org/p/puppet-openstack-weekly-meeting-20160216 15:00:36 hey o/ 15:00:48 mfisch: I love when you speak french. 15:01:05 pas ne probleme 15:01:17 hi 15:01:33 #topic Review past action items 15:02:03 investigate release:cycle-with-milestones and if we need to follow other projects schedule -> see ML, we have a thread about Mitaka beta tag and release discussion 15:02:09 sends a proposal to ML about pushing first mitaka beta tag -> done 15:02:23 o/ 15:02:24 investigate concat issue on https://review.openstack.org/#/c/276961/ -> degorenko reviewed it, not sure we actually need this patch 15:02:49 mfisch: I think we can skip the pki topic, since we merged your patch 15:02:52 there is no update for patch 15:02:55 EmilienM: we did? 15:02:59 so yeah, i'm not sure about this :) 15:03:02 mfisch: we did 15:03:05 o/ 15:03:13 no we didnt that I see 15:03:19 oh nm 15:03:23 its waiting on Jenkins 15:03:26 yes 15:03:28 ok skip it! 15:03:36 #topic mitaka beta release 15:04:10 are you agree if I push a first tag by this week or early next week? 15:04:21 I think a beta tag is a good idea 15:04:39 zigo: fyi ^ 15:04:55 I also talked with rdo folks, they'll also use it 15:04:56 it should not imply any support though 15:05:05 right 15:05:06 o/ 15:05:17 this tag is not considered as stable 15:05:22 but just useful for packagers 15:05:44 great, so by lazy concensus, I'll push a tag 15:06:00 #action EmilienM to push a mitaka beta tag 15:06:00 Exactly. I don't expect maintenance, just a reference point. I could open a launchpad bug and write: "Using mitaka b3 tag, with puppet-cinder, I had " 15:06:04 That's the whole point. 15:06:10 yep 15:06:16 cool 15:06:18 we can find issues sooner then probably 15:06:20 So that we all know what we're talking about. 15:06:41 any question about the beta release? 15:06:56 Also, I want to make sure I'm using a package set designed to work together. ie: openstack-lib meant for puppet-nova, for example. 15:08:04 zigo: that's the idea 15:08:10 We don't for sure need to wait for beta 3, if you'd produce a b2.1 for example, even now, I'd use it. 15:08:13 zigo: our CI is testing modules together 15:08:16 The sooner the better. 15:08:30 zigo: sure, we are release independants 15:08:36 so we basically do what we want 15:09:02 I'll just keep an open window if people want to land patches before the tag 15:09:13 and produce the tag by the end of the week or early next week if CI is not broken 15:09:46 #topic keystone-manage bootstrap 15:09:56 so we have this new bug: https://bugs.launchpad.net/puppet-keystone/+bug/1545767 15:09:57 Launchpad bug 1545767 in puppet-keystone "puppet-keystone needs to transition to keystone-manage bootstrap" [Critical,Confirmed] - Assigned to Sofer Athlan-Guyot (sofer-athlan-guyot) 15:10:09 I've started to look into 15:10:12 which is I would say pain in the *ss 15:10:30 nothing to show yet 15:10:40 basically, we'll have to redefine the way we bootstrap keystone 15:10:54 and use `keystone-manage bootstrap` tool 15:11:13 maybe for this one we need a blueprint 15:11:38 the kind of just run once and after forget about it, is awkward to implement :) 15:11:57 I'll start with a bluebrint unless somebody else want to do it :) 15:12:38 the tl;dr is: the use of ``admin_token_auth`` is deprecated in favor 15:12:40 + of using the ``keystone-manage bootstrap`` CLI 15:13:03 chem: you can go ahead, you have enough background in puppet-keystone to lead this work if you want to 15:13:15 ack 15:13:29 richm is not around but we also need to ask for his help maybe 15:13:35 will start with a blueprint of whatever idea come to my mind :) 15:13:41 mfisch: feel free to also look if you have time 15:13:44 ok 15:13:59 we don't have to fix it for Mitaka 15:14:01 I know its deprecated but wonder how long the admin token will be around 15:14:18 admin_token_auth is only deprecated so we can still use it 15:14:25 I'd be happy to help with a blueprint chem 15:14:31 cool, thanks guys 15:14:38 mfisch: cool :) 15:14:49 #action mfisch and chem to initiate a blueprint about admin_token_auth deprecation 15:15:12 #topic switch creating cinder types to providers 15:15:18 #link https://review.openstack.org/#/c/273513/ 15:15:20 degorenko: o/ 15:15:22 hey :) 15:15:28 i mostly done with trhis patch 15:15:36 thanks to chem for reviewing and help me :) 15:15:46 chem is our hero of the week 15:15:48 i have a couple of questions 15:15:51 hoho 15:16:20 1) question to chem: i've addressed your comment yesterday :) 15:16:30 2) do we need some cache for list types? :) 15:16:36 degorenko: looking 15:16:47 if there is no any blockers - i guess we can land it, i've tested it on my env 15:16:54 I think so, if we end up with a lot of types... might be useful to cache them 15:16:59 and also there are two patches to openstack-integration 15:17:14 EmilienM, ack, then i will add such possibility 15:17:32 degorenko: you're only doing one request here, I don't think you need to cache the resulting structure 15:17:39 degorenko: that can be in a future patch I think since you don't introduce a regression 15:17:44 EmilienM: I do not agree :) 15:17:50 the previous implementation did not have any cache 15:18:36 chem, cache for list types - in case of we want to create many types, but i'm not sure, that we can have such case 15:18:46 * EmilienM reading again https://review.openstack.org/#/c/273513/11/lib/puppet/provider/cinder_type/openstack.rb 15:18:49 like it done now for aggregates 15:18:53 in nova 15:19:34 self.instances is called only once and 'volume type list' as well I think 15:19:41 * chem grepping 15:20:10 it should be called for every resource with this type, shouldn't it? 15:20:19 I also thought that 15:21:15 self.instance called once at prefetch time 15:21:22 and so is volume type list 15:21:45 <_ody_> correct. I was just about it ask if the worry was the number of resources created or the number of times the cinder api would be hit 15:21:57 <_ody_> (chem's correct I mean) 15:22:08 we worry about #2 15:22:16 I think? 15:22:25 yes 15:22:43 EmilienM: that's what I'm saying no need to cache something that is called only once, no ? 15:22:50 ok, my bad 15:23:19 chem, so, if we have a couple resource of one type we anyway have one self.instances calling for all of them? 15:24:02 <_ody_> Nah. self.instances runs for an instance of the provider, not an instance of a type. So it should only run once. 15:24:04 degorenko: not sure I fully understand the functional side of it, but on the puppet side self.instances will be called onec 15:24:34 in the prefetch to find out the type that exists or the one that should be created 15:24:45 _ody_, ah, ok, got it 15:25:02 then yes, looks like we don't need to cache it 15:25:08 because we have only one provider here 15:25:10 for now 15:25:21 exactly :) 15:25:21 degorenko: have you seen all chem's comment on the patch? 15:25:37 EmilienM, i've addressed it, no? 15:25:50 degorenko: https://review.openstack.org/#/c/273513/11/spec/unit/provider/cinder_type/openstack_spec.rb 15:25:57 ah, you are about type :D 15:26:01 typo* 15:26:15 yeah, ok, i will update it, sure 15:26:29 I think after that, we're ready to land it 15:26:35 will wait for chem's +1 though 15:26:39 nice, thanks everyone 15:27:01 #topic Open Discussion, Bug and Review triage (submit modules to triage here) 15:27:09 can I start about horizon? 15:27:14 IvanBerezovskiy: go ahead! 15:27:19 I want to provide an ability to run collectstatic&compress for horizon on ubuntu/debian packages: 15:27:22 #link https://review.openstack.org/#/c/280181/ 15:27:27 Now this exec resource is defined only in case of rpms. 15:27:31 But sometimes (e.g. usage of custom theme) we need to re-run collectstatic&compress again even for ubuntu/debian packages. 15:27:35 zigo blocks this change because as he says it can break Debian horizon package completely. 15:27:39 but my point is to do not trigger collectstatic&compress by default, just to provide an ability for this. 15:27:43 With this patch users will be able to trigger it from orchestration level if needed 15:27:47 so, I wanna know your opinion here 15:28:01 Well, it does indeed !!! 15:28:21 zigo, it will not :) 15:28:29 if $::os_package_type == 'rpm' and $compress_offline 15:28:38 it works only on rpm systems? 15:28:42 Do only compress, not collectstatic, and I'll aproove. 15:29:02 zigo: I don't run anything by default 15:29:03 We don't talk only about Debian packages here 15:29:04 for debian 15:29:08 degorenko: IT WILL !!! 15:29:14 zigo: NO 15:29:18 YES 15:29:21 because we have refrechonly property 15:29:21 hey kids 15:29:37 The static "folder" in Debian is a SYMLINK. 15:29:44 You can't write stuff in there AT ALL. 15:29:48 we don't touch anything 15:29:51 yep, the refreshonly helps here 15:30:01 we just move declaring exec stuff under if to main block 15:30:09 In Debian, no collecstatic should happen at all. 15:30:11 we will NOT run it by default 15:30:12 Zero. 15:30:14 Niet. 15:30:23 you know it fails on rdo 15:30:45 zigo, again, we don't talk about Debian packages itself. Packages can follow Debian schemes but be different in fact 15:31:09 Well, the patch is replacing os_package_type by operatingsystem. 15:31:11 That's wrong. 15:31:24 where? 15:31:28 Agree, we should use os_package_type here 15:31:47 zigo, please take a look on latest patchset 15:31:49 degorenko: Well, look at the patch yourself, it's easy to search... 15:32:08 Oh, ok, let me look again. 15:32:10 zigo: are you looking at latest patch set? 15:32:17 or just for old version? 15:32:20 Doing now. 15:32:54 What I've -1 is the latest patch at https://review.openstack.org/#/c/280181/ 15:33:04 We're talking about the same thing, right? 15:33:18 but here no any changes of os_package_type 15:33:53 zigo, yep, https://review.openstack.org/#/c/280181/4/manifests/init.pp 15:33:55 Hum... 15:34:09 It looks like I missread the patch. 15:34:18 Too many beers yesterday evening? :P 15:34:25 :) 15:34:30 Ah no... 15:34:35 You're removing the conditional, no ? 15:34:46 There used to be: 15:34:51 zigo, yes, bu he leaves refreshonly => true, 15:34:56 no, I am moving 'exec' resource out of condition 15:35:08 if $::os_package_type == 'rpm' { 15:35:15 before the collectstatic. 15:35:18 That's now removed. 15:35:21 I don't agree with this. 15:35:22 zigo: refreshonly means it only gets run when it's notified 15:35:27 it's not always run 15:35:35 that i think is your misunderstanding 15:35:43 ^ that's what i'm talking about :) thanks 15:36:03 Don't you want to do "refreshonly" in case of Debian then? 15:36:10 so it exists but won't be executed until the item on line 400 15:36:10 no 15:36:13 Like, how will it change theme in Debian? 15:36:18 of anyone else has patches or bugs, please send it here 15:36:27 there are no changes for debian at all 15:36:29 Is the compress called? 15:36:34 no 15:36:39 Well, it should ! :) 15:36:55 zigo: it will not, because it will not run 15:36:56 To what I've experienced, when changing a theme, I need to run compress in Debian. 15:37:13 That's another problem I guess 15:37:17 To re-run compress 15:37:19 Horizon guys said it wouldn't be necessary for Mitaka, but I'm not sure if the feature was implemented. 15:37:27 Right... 15:37:48 now we don't run collectstatic&compress from module for debian, I am keeping the same approach 15:38:11 I've voted +1 then. 15:38:20 \o/ nice 15:38:23 thanks 15:38:26 finally 15:38:27 But really, when switching theme, we shall re-run compress. 15:38:35 Thanks, looks like we understood each other 15:38:46 EmilienM: sorry for taking to much time, but finally we've found solution 15:38:50 cool -- do we have anything else for today? 15:38:54 s/to/too 15:38:56 IvanBerezovskiy: no problem, meetings are here for that 15:39:03 Well, *I* am sorry for my missunderstanding of the patch. 15:39:07 and zigo will pay beers in Austin 15:39:12 Thanks for your patience. 15:39:16 Will do. 15:39:29 Not sure I'll drink many myself, considering the effect it had on me today... :P 15:39:31 I'll let the meeting open one more minute if someone has anything else 15:40:15 Well, something to add: can someone add the offline compress stuff when changing theme ? :) 15:40:35 Or was it implemented in Horizon that we don't need it? 15:40:38 zigo: please file a bug in launchpad/puppet-horizon so it's in our radar - thanks 15:40:45 I have no idea 15:40:47 Will do. 15:40:53 thanks folks 15:40:57 thanks 15:41:05 have a nice week and take care. Also eat vegetables, it's good for you. 15:41:08 #endmeeting