13:00:08 #startmeeting rpm_packaging 13:00:09 Meeting started Thu Apr 21 13:00:08 2016 UTC and is due to finish in 60 minutes. The chair is dirk. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:00:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:00:13 The meeting name has been set to 'rpm_packaging' 13:00:33 all, please add your meeting topics to https://etherpad.openstack.org/p/openstack-rpm-packaging# 13:02:12 mordred: ping? 13:02:28 hi 13:02:51 I didn't do it 13:04:39 mordred: have some time to discuss the fishbowl session about the rpm&deb packaging? 13:04:56 absolutely 13:05:44 o/ 13:05:45 great 13:06:06 dirk: one of the main things I'd like to talk about is the conceptual difference between packages intended to be uploaded to distros and packages that openstack itself might publish 13:06:30 #topic Fishbowl session (Design summit track) 13:06:41 which is a touchy topic for some folks, so possibly a good one for when we can all see each others faces 13:07:01 mordred: yeah, a good topic 13:07:36 mordred: can you add it to the therpad for the session ? 13:07:40 mordred: https://etherpad.openstack.org/p/newton-cross-distro-packaging-discussion 13:07:43 #link https://etherpad.openstack.org/p/newton-cross-distro-packaging-discussion 13:07:48 and I _think_ (but I might be wrong) that it would be nice if rpms and debs that openstack publishes itself behave similarly, even if the ones we'd upload to the distros might need to be different 13:07:49 yup. on eit 13:08:20 mordred: I think I sent you a mail about that a few days ago .. would be good if we could somehow structure the fishbowl session topics before it happens 13:08:42 mordred: I have an opinion about that :-) 13:09:26 mordred: publishing binaries hasn't been a primary focus for the current openstack (rpm) packaging, but I agree it is the next step to take 13:09:39 right now we've been mostly busy with building up a relevant code base to make this somewhat useful 13:10:02 mordred: I agree with you that we need to have a "standard" binary repo published soemwhere on openstack.org for people to use 13:10:20 it is not so simple though if you look into the details 13:10:31 yah. I think people will find it useful - although we should also talk about what we are and aren't committing to for people 13:10:34 exactly 13:10:54 well, having it useful for people is the 2nd step 13:10:57 turns out last time we published packages in a repo called "do-not-use" people still used them in production and then filed bugs 13:11:11 I think where it would primarily help is adding test coverage for the various config management flavors 13:11:34 e.g. it would be a great step forward if changes to ansible,salt,chef,puppet and what not are gated automatically against the "common" openstack packages 13:11:40 in a functional/integration test 13:11:47 totally agree 13:12:03 mordred, dirk, agree here, and the question here is - packages for which distros are going to be published ? 13:12:09 I'd like to start the discussion around that on the design summit 13:12:30 mordred: who else do we need to pull into that ? I guess a few from the infra team? 13:12:54 IgorYozhikov: for me it would make sense to not only publish one set of packages but packages for each distro flavor 13:13:11 with the renderspec layer we have all the tooling to do that seamlessly 13:13:24 but I think I heard mordred say that he disagrees with that idea ;) 13:13:35 dirk, I'm about the same 13:13:36 there was quite often brought up the topic that there should be only one package 13:14:46 but we already realized that this doesn't work for the rpm world and that's why we have renderspec. just think i.e. about the epoch handling.... 13:14:46 package with a lot of if enif? 13:15:38 dirk: wait - which thing do I disagree with? 13:15:56 mordred: sorry, I wasn't serious 13:16:00 ah. phew 13:16:02 :) 13:16:17 mordred: the topic on whether there should be only one set of binary packages rather than the "distro flavored" versions of binary packages 13:16:46 I kinda think "both" :) 13:16:52 I read that out of the topic that you added to the design summit session 13:17:08 imho the goal should be that there is absolutely no difference between the packages that openstack publsihes and that downstream distros sue 13:17:24 wel.... so that's one of the things I think would be useful to talk about 13:17:29 which is why we're trying to get on a common packaging level (plus the abstraction to fulfill downstream packaging policies) 13:17:37 because downstream distros have policies on how packages should work 13:17:45 which are great, beause the primary output is a consistent distro 13:18:20 but for a thing like openstack, some of them, like he debian policy that services should run when you've installed the package - don't make sense ina 100 node deploy using config management 13:19:27 so if we can publish, as openstack packages that are friendly to and assume config management, and then figure out how to layer on the extra things that distros need for the distro uploads, _I_ think that would be neat. but other people might totally disagree and I might be wrong 13:20:24 mordred, if use debian frontend non-interactive - all cinf files will be installed as is 13:20:58 and could be adjusted by any of configuration management tool 13:21:25 s/cinf/conf/ 13:23:03 IgorYozhikov: yes indeed. 13:24:06 mordred: well, at least for the SUSE (downstream) packaging config management friendliness is a must 13:24:19 good 13:24:21 I'd agree that we should aim for the saim goal in the openstack common rpm packaging 13:24:30 s,saim,same, 13:24:56 its only getting difficult when we have to do something different in order to fulfill downstream policies 13:25:11 because right now the goal is to also have downstream-compatible spec files 13:25:12 yah- hopefully so that the only disto-differences as it relates to openstack itself in an install guide are "yum install nova-server" or "apt-get install nova-server" and the rest of the guide should pretty much be the exact same 13:25:25 dirk: yah. that's the hard part :) 13:25:41 mordred: well, thats why it s good that we have all the relevant people at the summit :-) 13:25:51 ++ 13:25:55 yey 13:26:12 anything else on that topic? does anyone want to add more stuff to the etherpad for the fishbowl? 13:26:20 dirk: do you happen to know the time of the session? I find the schedule very hard to use and want to make sure I don't miss it 13:26:23 I think we need to add some more text around the agenda items 13:26:31 mordred: thursday something 13:26:32 second 13:26:50 2016-04-28 - 11:50 13:27:11 dirk, I will try to add some text during this weekend 13:27:39 #link https://www.openstack.org/summit/austin-2016/summit-schedule/events/9181 13:28:00 woot! thanks! 13:28:13 and good. it's already on my calendar. I must have found it before 13:28:33 also, as i mentioned before - we already publish produces from J2 and vanilla code packages - here http://packages.fuel-infra.org/rpm-packaging/master/centos7/os/x86_64/ 13:28:42 repo is 4 CentOS7 13:28:58 mordred: well, hopefully it is. aren't you PTL'ing the deb packaging? :) 13:29:08 dirk: that's what they tell me :) 13:29:18 thats what they told me ;) 13:29:43 IgorYozhikov: thank you. I'll also try my best to make it sensible but I guess I'll only get to it somewhen next week 13:30:00 can we move on on this topic? 13:30:21 ok, anyway will meet there 13:30:48 #topic AIs review(IgorYozhikov) 13:31:34 AI 1 - https://wiki.openstack.org/wiki/Rpm-packaging/ContentStyle 13:33:17 IgorYozhikov: thanks. this is still with the 1 space between "BuildRequires:" and the value? 13:34:02 dirk, thanx, will fix it now 13:34:11 2 spaces & 2 \n 13:35:02 AI 2 - AI 2 - https://review.openstack.org/#/c/306556/ - but it is very strange that SUSE CI doesn't reacts on this PR 13:37:16 IgorYozhikov: looks like zuul is broken again 13:39:03 dirk, got it, will you merge this PR or will wait for mark from your zuul when it will get back on-line? 13:40:09 IgorYozhikov: I've just kicked it, it started now 13:40:17 cool 13:40:29 at some point I need to understand why this happens :( 13:40:38 after a while its just stuck and does nothing 13:40:39 o i c 13:41:03 next AI ? 13:41:20 AI dirk merge https://review.openstack.org/#/c/306556/ once gating checks pass 13:41:24 #AI dirk merge https://review.openstack.org/#/c/306556/ once gating checks pass 13:41:32 #action dirk merge https://review.openstack.org/#/c/306556/ once gating checks pass 13:41:37 * dirk never remembers the right command 13:41:53 :) 13:43:00 :) 13:43:32 We have a postponed topic from previous meeting 13:44:17 of course if we finished with AIs review. 13:45:50 dirk, could we raise it and discuss ( Using all DB backends within project template as runt-time dependencies)? 13:46:53 IgorYozhikov: sure 13:46:59 #topic Using all DB backends within project template as runt-time dependencies) 13:47:11 I think this was a discussion between toabctl and you, right? 13:47:43 ok, a week I raised this question. 13:48:10 toabctl, you should remember this case with oslo.db 13:49:36 and the question here: should we add all supported DB backends as run-time dependencies or create a sub-package to handle this situation 13:50:40 adding of all supported db backends increase amount of dependencies for a particular root project 13:52:10 ah. yes. so we could create a python-oslo.db-postgres package i.e. 13:52:23 which depends on python-oslo.db and also on python-psychopg2 13:52:27 same for mysql 13:52:32 otherwise if project support postgresql and mysql but mysql was chosen - as default db, our package will install all bindings even which never will be used 13:53:11 toabctl, yes like sub-package with proper bindings 13:53:13 but not adding any of the dependencies make the package useless imo. so I'm for subpackages or adding all useful deps 13:54:09 dirk: any opinion on that topic? or number80 ? 13:54:18 so 2 ways: 1 - easier, but heavier from perspective of amount of installed code 13:54:21 2 13:54:37 more flexible 13:54:44 toabctl: have every package depending on oslo.db 13:55:04 and oslo.db depends on all pure-python backends 13:55:31 pure python modules have little to no deps, so adding them is cheap 13:55:39 number80: yeah. also fine for me. I think that's what I suggested during the review iirc 13:56:24 *nods* 13:57:09 I'm fine with both approaches, just want that we all agree on something and I'll reflect it in wiki 13:57:16 well, even python-PyMySQL is an extra dep that isn't needed if you don't use mysql 13:57:38 is there something like Supplements: packageand(postgresql:python-oslo.db) in other distros? 13:59:23 dirk, r u about - http://www.rpm.org/wiki/PackagerDocs/Dependencies#Weakdependencies 13:59:44 dirk: Supplements is not supported by older rpm 14:00:16 number80: any rpm version you still care about? 14:00:19 number80: do we need to care about older rpm for newton packages? 14:00:26 we have that in SUSE for like 5+ years or so 14:00:59 number80: at the end of the day its just a small convenience improvement 14:01:14 so the plan would be a python-oslo.db-$dbflavor subpackage that is supplementing the related db 14:01:24 and that has the correct dependencies 14:01:38 if the supplements doesn#t work well then the distro has to install the package manually 14:03:03 looks like a plan, need to check how it is work 14:03:22 just never used supplements before 14:04:28 IgorYozhikov: short summary is "this package is recommended ot be installed if both package A and B are already installed" 14:04:42 in the case of %package foo\nSupplements: packageand(A:B) 14:05:08 dirk: doesn't fit well with the approach of people installing/setting up manually openstack 14:05:14 so you can say things like "I need the python-oslo-db.postgresql package if python-oslo.db is getting installed and postgresql is installed" 14:05:33 number80: hmm, how so? not sure I can follow 14:05:46 Oh, we're overtime, can we movet he discussion to rpm-packaging channel? 14:05:48 #endmeeting