12:59:58 #startmeeting rpm_packaging 12:59:59 Meeting started Thu Sep 15 12:59:58 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:00 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:00:02 The meeting name has been set to 'rpm_packaging' 13:00:03 ping dirk toabctl IgorYozhikov number80 jruzicka 13:00:08 awesome! 13:00:10 o/ 13:00:13 #chair IgorYozhikov number80 13:00:14 Current chairs: IgorYozhikov dirk number80 13:00:16 o/ 13:00:22 #topic roll call 13:00:27 o/ 13:00:42 #chair jruzicka 13:00:43 Current chairs: IgorYozhikov dirk jruzicka number80 13:00:49 please update / add agenda items to 13:00:56 #link https://etherpad.openstack.org/p/openstack-rpm-packaging 13:01:05 toabctl is on vacation this week 13:01:08 o/ 13:02:23 #chair jpena 13:02:23 Current chairs: IgorYozhikov dirk jpena jruzicka number80 13:06:09 #topic PTL for Ocata 13:06:18 reminder, this week is PTL self-nomination 13:06:34 I haven't checked, did anyone already send a nomination to the list? 13:06:42 we need to send one by sunday iirc 13:06:56 I can do it one more cycle but am also happy to pass it on 13:07:16 dirk, no, I didn't send anything yet 13:07:56 any questions? :) 13:08:38 if there is more than one self-nomation an election will be held amonst the core group 13:08:43 I will be sending a candidacy 13:09:15 dramatic! :) 13:09:16 * IgorYozhikov not sure about this cycle, but will think 13:09:28 #topic Barcelona Design Summit Fishbowl + Work Sessions 13:09:37 So preliminary allocation results are available 13:10:10 we have 1 fishbowl (40 min) and 2 work sessions (40 min each) allocated for RPM Packaging 13:10:32 I asked in the comments to co-share this with packaging-deb in case there is a need for space/time limitations 13:10:48 I am not 100% sure what happened to that comment, I need to clarify 13:11:01 #action dirk clarify whether work sessions are co-shared with packaging-deb 13:11:17 sounds good, dirk, could you post a link for events topics? 13:11:38 or it is not available now 13:11:40 We need to think about fish bowl discussion items and agenda 13:12:14 I thinking setting Ocata goals should be one of them, and 3rd party CI 13:12:15 IgorYozhikov: you mean the conference schedule? I think it isn't done yet (at least thats how I read the email= 13:12:26 we could start with an etherpad 13:12:32 dirk, thanx, got it 13:12:35 IgorYozhikov: will there be a MOS CI representative in Barcelona? 13:12:58 number80, not sure, will check who will be there 13:13:10 right after this meeting 13:13:40 I suggest the start the etherpad for ocata once we have clarification whether it is co-located with packaging-deb 13:14:36 ack 13:14:48 I added a small reminder section to the openstack-rpm-packaging etherpad for now 13:14:55 any questions? 13:15:05 for now, it's good 13:15:17 do we need a separate etherpad for this? 13:15:20 Yes, a reminder section would be useful for long-running topics 13:15:32 4 example https://etherpad.openstack.org/p/rpm-packaging-ocata 13:15:55 IgorYozhikov: well, creating an etherpad is "standard" for fishbowl sessions to capture the meeting agenda and meeting minutes (unconference style) 13:16:18 I think ocata-* is the common prefix, but I haven't checked (last time it was the airport code which is .. weird) 13:16:46 but I didn't want to create an ocata-rpm-packaging yet because it might be ocata-rpm-and-deb-packaging instead :) 13:16:59 o i c 13:17:16 yep 13:17:29 #topic Packaging of non-OpenStack hosted OpenStack dependencies (e.g. XStatic-*) 13:17:44 a crazy idea I had this morning while reviewing/updating the python-XStatic mess 13:17:56 do we want to move those and other things that are only-pypi also to rpm-packaging? 13:18:11 and here I have a question 13:19:41 about xstatics - keep embeded js,css,etc inside or, which is more complicated, to use all embed as external packages 13:19:57 as Requires: jsxxxxxx 13:20:26 I have such experience - eating a lot of time :( 13:20:58 and that is why i'm asking if we will decide to package xtatics 13:21:49 i'm not 100% sure I get the question, but we just package python-XStatic- as one package, all in one 13:22:01 (we==SUSE downstream) 13:22:16 I guess there is not a lot of distribution difference in there so I'd be happy to move it to rpm-packaging 13:22:28 dirk, yes, we do the same in MOS 13:22:33 I was just wondering whether we want to have those templates under openstack/ directory or under some new toplevel, e.g. pypi/ 13:22:58 we tried to separate them in the past and get back to aio package 13:23:29 dirk, yes, looks like pypi will be more suitable 13:24:02 also we can add another projects there not only xtatics in case of necessity 13:24:15 dirk: I'd say nope for packaging them in this project 13:24:45 most of them are autogenerated and are not moving fast 13:25:05 and they also bundle javascript ... 13:25:50 so we'd be responsible of security updates 13:26:14 yeah, shared burden :) 13:26:27 well, ok, not strong feeling either way, we can revisit that topic later.. 13:26:42 #agreed not package non-openstack hosted python deps for now in common rpm-packaging 13:27:00 #topic Support for additional sources (distro specific) 13:27:38 MOS CI now supports pactching (didn't test it yet :P). 13:28:05 great! 13:28:12 what can possibly go wrong ;) 13:28:15 It takes all SourceN and PatchN entries and makes them available from %{_sourcedir}. 13:28:20 I did not get to that, I'll look into that. 13:29:01 dirk, number80 and here I want to ask about systemd unit files 13:29:09 Now we can use this feature to create pacakges for services which contain many additional sources. 13:29:10 astsmtl: I'll adapt SUSE CI then. it shouldn't be difficult, just a tweak somewhere 13:29:17 Cool. 13:29:41 The second question is about distro specific files and how to handle them. 13:30:05 astsmtl: I'd say conditionals 13:30:07 previously there was concern that unit files will be suitable for SUSE and Fedora 13:30:19 we can adapt renderspec to hide the irrelevant one 13:31:11 or we can add a new template macro 13:31:20 The other option is separate directories and additional logic in CI to take sources from correct directory. 13:31:20 number80, may be a special context function instead of conditionals? 13:31:52 like SourceN: {SOMEVENDOR}/foo.service? 13:32:30 could work, yes 13:32:30 and rendespec will substitute SOMEVENDOR with suse || fedora 4 example 13:32:55 yeah, I think that was the original idea 13:33:01 we didn't implement it yet afaik though 13:33:21 I'm not 100% sure it fits into renderspec, as it currently doesn't copy around additional files 13:33:24 we can make spec-style (==vendor) available in renderspec 13:33:28 and we could just do it 13:33:39 Source: %{vendor}-openstack-foobar.service 13:33:53 and then have rpm expansion do its magic 13:34:10 Then all files will reside in spec directory. 13:34:27 it might fight into renderspec if we want to use jinja2 templating for the sources itself (e.g. a service.j2 that is rendered) 13:34:35 astsmtl: yes.. 13:35:33 I prefer separate directories. It requires one variable in context plus a little bit of logic on CI side, which is probably already implemented on our CI. 13:36:28 quick question, do you have specific guidelines on service files? 13:36:30 We do it like: if [ -f $source ] ; cp ... ; else curl ... ; fi 13:36:47 the only one I can think of in RDO is to enforce restart on-failure 13:36:54 number80, in mos we use mostly centos 13:37:30 We don't have any guidelines, restarts are welcome. 13:37:45 separate dirs for dist-specific files sound good to me 13:37:45 number80: nice idea, we're not using that yet 13:37:58 service files are sort of not our priority anyway since we use pacemaker resources 13:38:04 so anything that works is fine 13:38:35 dirk: yep, pacemaker override package service files 13:39:09 astsmtl: works for me as well 13:39:25 astsmtl: we would need to implement some lint checker that verifies that for all vendors the same set of files are available 13:39:42 hmm, or depending on spec.j2 conditionals. 13:39:47 Some may be exluded by conditional. 13:40:43 We can try the following approach: implement package with common sources first, if some debate arises - use distro specific. 13:42:19 works for me 13:42:26 time to move on? 13:42:29 dirk, you mentioned using renderspec as rendereverything. 13:42:45 astsmtl: yes? 13:43:01 This is also interesting approach, but I have no firm opinion. :) 13:43:29 Maybe some else has? 13:43:34 someone 13:43:36 more specifically? 13:43:49 render what else expect specfile? 13:44:05 Render services like specs. 13:44:11 From what? 13:44:19 From service templates. 13:44:23 Like having .service templates? 13:44:24 ah 13:44:34 Wrap all distro specific part in conditinals etc... 13:44:57 * jruzicka thinks 13:45:30 Trying with common files and making it possile to "fork" into distro specific dirs sounds better I guess 13:45:39 I think it's more complex, so we should start with what we discussed before. 13:45:52 Good! 13:45:54 templating might get complicated when the files diverge too much 13:46:03 I suggest the pramatic approach, start with common files only 13:46:10 when the need arises, we need to come up with a solution 13:46:11 agreed on 1st way? 13:46:11 yes and then extend 13:46:52 if yes - lets do files 1st 13:47:02 yup 13:47:07 #agreed Common sources first, distro specific if need arises. 13:47:15 cool 13:47:28 #topic Discuss mini 13:47:34 yes 13:47:38 #link https://wiki.openstack.org/wiki/Rpm-packaging/packages-bootstrapping 13:47:41 I'll be quick here 13:48:25 I just started and want to ask - am I right with why we need to do mini? 13:49:33 yes, we got problems with unpackaged/fresh test requirements in RDO 13:49:35 IgorYozhikov: I would summarize it as "cyclic build requires that need to be tied into pieces for bootstrap" 13:50:03 way to disable it without nuking sound good 13:50:15 Are there any cases of _runtime_ cyclic dependencies? 13:50:16 dirk, thank you, will add this and continue work on document 13:51:08 astsmtl, there shouldn't be a case of runtime cyclic dependencies (at least I haven't found any) 13:51:26 if there are no more questions here - we can move further 13:51:53 #topic package reviews 13:52:06 is there anything that you want to bring up? 13:52:31 it looks like we've been not bad at reducing the list of open reviews 13:52:36 thanks to everyone involved 13:53:03 https://review.openstack.org/#/c/339458/24/openstack/taskflow/taskflow.spec.j2 looks fine 13:53:27 number80: we have an issue with networkx.drawing there ^^ 13:54:42 jpena: question, is the experimental rdo/red hat gate state visible somewhere? 13:55:15 jpena: I think it's due that we're not building the network-graph package 13:55:17 dirk: we have http://209.132.178.209/repos/status_report.html, not a gate as such but just building the current repo 13:55:56 I need to sort out a couple details with number80 (dependency packages) before we can have a gate 13:56:02 ok 13:56:09 looking forward to that :) 13:56:16 is there some dns name pointing to that ip? 13:56:20 well, building this one on EL7 will be painful as it has a billions of bytes of deps :) 13:56:21 * dirk is not that good with numbers anymore 13:56:21 and I try to run the current code against every commit I review 13:56:40 dirk: no dns yet 13:56:45 dirk: sadly, no, it's hosted on some cloud 13:56:54 Building python-networkx-drawing on CentOS 7 was easy. 13:56:55 #link RDO build status http://209.132.178.209/repos/status_report.html 13:57:10 #topic open discussion 13:57:14 astsmtl: you're probably missing many runtime deps 13:57:23 T-2 min until we have to close this down here.. sorry 13:57:28 anything urgent? 13:58:02 (building it is easy but since it's python, some deps only appear when you try to run the code) 13:58:03 nope from my side :) 13:58:03 I just took last Fedora package, and moved drawing out of conditionals on with_gdal. 13:58:28 AFAIK, networkx.drawing is only used in a 2-line methods of taskflow that nobody use 13:59:11 #endmeeting