12:33:35 #startmeeting rpm_packaging 12:33:36 Meeting started Wed Aug 14 12:33:35 2019 UTC and is due to finish in 60 minutes. The chair is toabctl. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:33:37 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 12:33:39 The meeting name has been set to 'rpm_packaging' 12:33:42 ping toabctl, dirk, apevec, jpena, jruzicka, number80, kaslcrof, cmurphy 12:33:51 #chair cmurphy jpena dirk toabctl 12:33:51 Current chairs: cmurphy dirk jpena toabctl 12:34:05 o/ 12:34:09 as usual, please add your agenda points to https://etherpad.openstack.org/p/openstack-rpm-packaging 12:34:45 o/ 12:36:19 ok. let's start 12:36:21 #topic network-l2gateway packaging 12:36:25 dirk, ^^ ? 12:39:02 https://review.opendev.org/#/c/668895/ last comment 12:39:22 I think since this is a service the package naming should follow openstack-neutron-l2gw with a python3-neutron-l2gw subpackage 12:39:30 but Jaime is of different opinion. any comments? 12:41:12 dirk, I would also prefer to have a openstack-neutron-l2gw package 12:41:46 the networking-generic-switch and networking-vsphere packages, are they named python-* or openstack-* ? 12:42:01 in the RDO side, the convention is python-networking-* 12:43:58 SingleRule('networking-vsphere', 'openstack-neutron-vsphere'), 12:44:27 ^^ from pymod2pkg for both (suse & rdo) 12:47:58 generic-switch has no rule, so it defaults to python-networking-* 12:48:11 yeah. I guess that would be the first thing to fix 12:48:29 but then still the question about a subpackage. and I would prefer one 12:48:43 jpena, so do the other rules need fixing for rdo then I guess? 12:48:51 toabctl: yes, I just realized 12:49:27 jpena, in rdo, do you have subpackages for the network packages? 12:49:35 eg. when an extra agent is there? 12:50:46 for networking-l2gw, yes, we do 12:51:04 the main package is python-networking-l2gw, then we have openstack-l2gw-agent for the agent itself 12:51:26 see https://github.com/rdo-packages/networking-l2gw-distgit/blob/rpm-master/python-networking-l2gw.spec#L95-L101, for example 12:54:20 hm. ok. dirk is suggesting a different naming if I understand him correctly 12:55:40 well, since its python 3, I would suggest to call it python3 12:55:45 I am not sure what should be the main package 12:55:57 for me the main package probably should be openstack-network* 12:56:00 but I'm open to suggestions 12:56:46 its just more consistent to like e.g. cinder nova etc 12:58:55 for vsphere we have openstack-neutron-vsphere currently 12:59:18 but we also have python-networking-generic-switch 13:01:29 I think having neutron in the package name would be good (given that this is all neutron related) 13:02:37 but given that RDO is having a subpackage like openstack-l2gw-agent, I wonder how we can handle this with pymod2pkg. I guess we need to hardcode the package names in a %if %else in the .spec file .... 13:05:36 jpena: so in RDO, do you still call the python 3.x version of the package python-networking? 13:05:53 to be honest I think the way RDO names it is useful input, but what would make sense for us? 13:05:56 dirk: no, the spec name is python-networking, but the package itself is python3-networking 13:06:06 so the main package name you mean? 13:06:11 or the subpackage? 13:06:53 main package is python-%{pypi_name} 13:06:58 see https://github.com/rdo-packages/networking-l2gw-distgit/blob/rpm-master/python-networking-l2gw.spec#L25 13:07:12 in the spec we have Name: python-networking-xxx, but there is no package with that name, then we have %package -n python3-networkinx-xxx 13:07:36 so there's no main package (at least, not in rpm format) 13:08:11 I see 13:08:20 but there is also a subpackage called openstack-something-agent ? 13:08:26 why not make that subpackage the main package? 13:09:28 in this case, there is that subpackage 13:09:47 we choose not to do so for consistency with the rest of the networking-* packages, which are all python-networking-x 13:11:32 okay, so it sounds like we have a way forward 13:11:52 spec.j2 will be called after pypi name, as usual. main package can be then either mapped by pymod2pkg 13:12:06 we'll add a subpackage agent and python3-* 13:12:10 makes sense? 13:12:21 how do we call the main package? 13:12:39 it would then be python-networking-l2gw-agent for fedora rendering of the spec file and openstack-something-l2gw-agent for suse 13:12:50 (something being neutron or networking, don't care atm) 13:13:06 ^^ that would be the subpackage name for the agent 13:13:46 ok for me 13:14:42 works for me, too 13:14:58 +1 13:16:53 I think we can comment then on the updated PR 13:17:00 dirk, does that work for you? 13:17:04 ready for the next topic? 13:17:05 sure 13:17:07 yes 13:17:13 sorry, was already talking to Jaime 13:17:22 even better :) 13:17:24 #topic Shanghai project update - does anybody want to do it? 13:17:56 I was asked by mail from Kendall about a project update 13:18:08 is somebody at the summit who could/want to give an update? 13:18:26 I'm not 13:18:52 btw. I missed already the question from kendall about PTG attendance :( . I'm sorry for that... 13:18:58 cmurphy, jpena ? are you going? 13:19:04 no, I won't be there 13:19:05 and want to give an update there? 13:19:17 i will probably be going 13:19:20 I guess cmurphy will go but might be busy with keystone... 13:19:24 not much has changed since the last update though 13:19:29 true 13:19:49 we'll add containers ;) 13:21:21 cmurphy, if you want to do the update/status presentation, just ping me. I would need to fill out a form for that 13:21:50 i don't particularly want to but i can if you guys think it would be worthwhile 13:22:29 I don't know. I have not attended any summit in the last 2 years. no idea how that it nowadays and if it makes sense 13:23:12 project updates do make sense 13:25:38 okay, i can do the update 13:26:37 cmurphy++++ 13:27:01 I suggest we brainstorm an hour on so on the content, and then reply back to kendall 13:27:08 if thats in the timeline that kendall expects 13:27:15 if we don't have worthwhile content, we scratch it 13:27:31 there are 40 slots - it's first come, first served 13:27:43 I do expect that we might have a couple of folks that contributed so far actually attend this time around 13:27:50 so it would be a shame to drop out of it 13:27:55 toabctl: yes, 40 slots is a lot 13:27:58 ah. true. good point! 13:28:36 we could always join requirements with rpm-pacakging in one slot, both are typically half a halfslot 13:28:37 and cmurphy must confirm that she attends the summit (by mailing to knelson by sunday, 29th september) 13:28:52 i already confirmed for the keystone slot 13:28:58 ok 13:29:53 ok. so let's do the brainstorming and then we decide 13:30:09 #topic https://review.opendev.org/671573 13:30:12 ^^ dirk? yours? 13:30:16 no, it's mine 13:30:20 just a quick question about it 13:30:21 oh. sorry 13:30:47 should we remove the -common subpackage? I'm fine with it, just want to make sure we all agree, since it was added very recently 13:30:59 yeah, I noticed this collission recently 13:31:09 I was always planning to switch it to python3 only, but tom was faster with singlespec 13:31:22 yes. it should be removed given that we switch to py3 only 13:31:54 and I'm fine with not adding the Provides/replaces given that we never released a py2/py3 version of the package. 13:31:56 how did you manage to workaround the zeroconf problem with the singlespec switch? 13:32:02 I was confused about how that passed testing 13:32:14 it kept failing for RDO 13:32:23 once I moved it to python3 only, it worked fine 13:32:33 yeah, should be the same for SUSE 13:32:37 there is no python2 version of zeroconf anymore 13:32:47 anyway, I'll update the review 13:32:58 dirk, it was passing: https://review.opendev.org/#/c/675366/ 13:33:26 maybe the py3only zeroconf switch was afterwards? 13:33:27 ah, your review didn't have buildrequires on zeroconf 13:33:34 very sneaky, so the package never worked :-) 13:33:44 the python3 did :) 13:33:58 no, its been that way for many weeks (at least until my review which was older iirc than yours) 13:35:00 Dirk Mueller proposed openstack/rpm-packaging master: ironic-lib: switch to python3 https://review.opendev.org/671573 13:35:06 anything else? 13:35:12 back to the question - I think we agreed on removing the common-package, right? 13:35:27 we are running out of time.. 13:35:39 #topic open floor 13:36:20 I have still a question about building containers based on the packages - for that we would not need systemd, logrotate, ... 13:36:31 toabctl: its gone 13:36:41 (the common package) 13:36:41 dirk, what is gone? 13:36:47 ah. thx 13:37:27 I wonder if we can move logrotate, user/group creation, systemd files to a subpackage and add it as Recommends: to the main package 13:37:38 then we could disable recommends when building containers. 13:37:51 why is installing just python3-$foo not enough for container builds? what is missing? 13:38:15 dirk the /usr/bin files that are in eg openstack-nova-api 13:38:37 config files (policy, rootwrap, ...) that are in eg. openstack-nova 13:38:55 those are not supposed to be insidet he container? 13:38:59 they come from the chart 13:39:09 not all I think 13:39:14 entry points is a problem. I agree. we maybe should have all entry points in a subpackage 13:39:28 maybe something liek openstack-nova-tools that we also install in container? 13:39:42 api-paste.ini 13:39:55 thats coming from the chart 13:39:55 what would be in openstack-nova-tools? 13:40:17 nova-manage nova status etc 13:40:21 the /usr/bin files are not in python3-nova . 13:40:35 nova-compute? also openstack-nova-tools ? 13:40:56 then the question would be, why we have all theses openstack-nova-$service subpackages... 13:41:25 only for systemd based deployments 13:41:28 openstack-nova-compute has also a polkit file, a modules-load.d file.... 13:41:29 e.g. OS containers and friends 13:42:41 so where would be /usr/bin/nova-compute ? 13:44:33 hmm 13:45:24 maybe we can change teh thing to call to python -m nova.cmd.compute instead? 13:45:29 and then don't care about the wrapper script? 13:46:26 hm. doesnt' sound very nice imo... 13:47:15 yeah, agree 13:47:20 I need to think a bit about it 13:47:39 wrap it up for today? looks like its only you and me talking ;) 13:47:53 oki :) 13:47:58 thanks for attending 13:47:59 #endmeeting