14:20:24 #startmeeting Fedora Base Design Working Group (2015-07-20) 14:20:24 Meeting started Mon Jul 20 14:20:24 2015 UTC. The chair is haraldh. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:20:24 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:20:30 #meetingname Fedora Base Design Working Group 14:20:30 The meeting name has been set to 'fedora_base_design_working_group' 14:20:44 #chair haraldh msekleta jreznik dgilmore vpavlin masta dwalsh lnykryn 14:20:44 Current chairs: dgilmore dwalsh haraldh jreznik lnykryn masta msekleta vpavlin 14:21:10 so, ping dgilmore dwalsh haraldh jreznik lnykryn masta msekleta vpavlin 14:21:17 Hi lnykryn 14:21:18 hi, harald 14:21:23 hi 14:22:17 hello all 14:22:26 ping dgilmore 14:22:40 dgilmore, you brought up some topics for F23 14:25:42 zhmm 14:26:38 oh well 14:28:33 that's not how it works :-/ 14:29:04 people agreed on a time and then they'll never show up 14:29:58 #topic "minimal install" 14:30:19 anyway, seems like we have to define the minimal install 14:31:36 so a group in comps? 14:31:42 does anyone have a link for current core or minimal? 14:32:47 https://git.fedorahosted.org/cgit/comps.git 14:33:10 https://git.fedorahosted.org/cgit/comps.git/tree/comps-f23.xml.in 14:33:44 ah, ok they are still on cgit 14:33:55 https://git.fedorahosted.org/cgit/comps.git/tree/comps-f23.xml.in#n6825 14:33:56 I thought they might have moved to pagure (https://pagure.io/comps) 14:34:27 haraldh: here 14:34:31 ah 14:34:34 finally 14:34:41 hi dgilmore :) 14:34:44 very welcome 14:35:00 masta: comps has not moved. I made a copy of it in pagure for some pungi testing 14:35:49 the core group in comps it the minimal instal 14:35:51 install 14:36:15 minimal-environment 14:36:15 <_name>Minimal Install 14:36:19 14:36:19 core 14:36:19 14:37:01 https://git.fedorahosted.org/cgit/comps.git/tree/comps-f23.xml.in#n639 14:37:27 So, what's the problem with the minimal install? 14:38:15 do we want to strip it? 14:38:21 make it more minimal? 14:39:05 dgilmore, ? ^ 14:39:26 haraldh: I think we just need tor eview it and see if there are changes we need to make 14:39:30 ok 14:39:48 either cleaning it up some, or adding some things 14:41:00 we need to make sure the arm minimal image is following the minimal install also 14:41:17 core could be used as is or it is just a base for other compses? 14:42:20 I don't think the "Smallest possible installation" needs NetworkManager 14:42:26 or openssh 14:42:29 or even network 14:42:42 and e2fsprogs 14:42:53 cronie, ncurses? 14:42:54 so, it's kind of a misleading title :) 14:43:23 http://paste.fedoraproject.org/246102/14374033/ 14:43:40 that's the core group 14:43:49 which is mandatory on a minimal install 14:45:03 do we need initscripts there anymore? 14:45:13 does it have to have to have network capability? 14:45:20 haraldh: yes 14:45:32 dgilmore: it would be an interesting experiment to kick them out 14:45:48 e2fsprogs 14:45:52 haraldh: at least for me the minimal install would give you a way to install other things 14:46:30 where is the kernel, btw? 14:46:35 only pulled in via deps? 14:46:39 haraldh: it is needed if you use ext 14:46:44 which is still most systems 14:47:06 shouldn't that be part of the installer? 14:47:24 know, which FS you installed and add the fsck tools? 14:47:26 haraldh: it is not there because the actual kernel you install depends on what the hardware supports 14:47:38 haraldh: likely yeah 14:47:43 ah, kernel-pae, etc.. 14:47:49 haraldh: yep 14:48:01 so, installer job 14:48:51 shouldn't ncurses be pulled in via deps also? 14:48:58 if needed? 14:49:09 haraldh: I would think so yeah 14:49:11 probably 14:49:38 the way we manage comps really does make checking some history difficult 14:49:55 openssh-server? 14:50:40 lnykryn: it is needed 14:51:08 if you do a minimal install you may well only have ssh access 14:51:24 and you need to ssh in to install and configure 14:51:38 ppc64-utils, I wonder if that could have an arch= ? 14:51:39 but you are likely using kickstart then 14:51:50 and can specify openssh in the kickstart 14:52:07 masta: the arch= does nothing and is not valid 14:52:40 dgilmore: oh bummer 14:53:41 so I guess that means uboot is on all installs, even x86_64 14:54:07 lots of installs have uboot-tools installed that do not really need them, because we needed it on arm 14:54:10 yep 14:55:22 lnykryn, I often install VMs with only @core and would find very annoying if openssh-server is not installed by default. I mean, people would add it to their kickstarts anyway, but then what is the point of removing it. 14:55:35 I guess we should probably start a thread on devel@ and swork out what changes should be made 14:55:52 msekleta: I am with you there 14:56:07 so, my suggestions: drop "e2fsutils" "ncurses" and "glibc" 14:56:18 but, yeah 14:56:25 a thread on devel@ 14:56:28 it is needed if you specify @core only then use ansible to deploy and configure for instance 14:56:38 haraldh: I can go with that 14:56:47 glibc will be pulled in via deps 14:57:02 but I am not sure we explicitly need to specify it 14:57:33 #action We'll start a thread on devel@ and work out what changes to comps core should be made 14:58:02 #topic define the docker base image 14:58:19 dgilmore, so this docker base image has to be even smaller? 14:58:49 haraldh: its in a confusing state, but afaik we are the owners of it 14:58:58 we should be making sure that its being tested 14:59:07 and suits it's purpose 14:59:20 ping vpavlin 14:59:26 again I do not know that it needs any change 14:59:27 haraldh, I think for docker base image we can drop couple more things 14:59:34 vpavlin is not here 14:59:34 but it does need to be looked at 15:00:12 I think we might need new comps group for base-image as core contains things which doesn't make sense in base image 15:00:21 https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-docker-base.ks?h=f23 15:00:35 it would be nice to see a full graph of all the deps the core group pulls in. I guess a quick @core install is the easy way. Would be interesting to see how weak-deps would help here 15:00:45 the kickstart specifies --nocore 15:00:54 so @core is not installed 15:01:04 it then lists a few things to actually install 15:01:07 dgilmore, yeah, I see that now 15:01:14 so, @core could include @mini-minimal :) 15:02:07 dgilmore, at any rate, should we have this packages set specified in comps, having to look in two places is confusing 15:02:11 I would like to define a real @minimal and @minimal-network 15:02:23 msekleta: yeah. 15:02:29 and let @core extend @minimal-network 15:02:42 haraldh: not a horrible idea 15:02:44 and @docker extend @minimal-network 15:02:55 probably 15:03:16 you meant @minimal 15:03:27 the yum.conf changes in the kickstart are probably wrong 15:03:32 so, docker does not need network? 15:03:51 haraldh: I think that is all managed by the docker daemon 15:03:52 haraldh, from I can see in ks file docker base image is more like your envisioned @minimal 15:03:57 not in the container 15:04:15 mk 15:04:17 * dgilmore honestly is not 100% sure on that though 15:05:23 https://docs.docker.com/articles/networking/ 15:05:45 ok, I'll prepare a docker rpm list 15:06:11 #fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740 15:06:11 I think we have abandoned that concept 15:06:37 hmm the bug is still open 15:07:16 lnykryn: afaik we have abandonded it 15:07:41 dgilmore, I don't think you need any network introspection utilities in container, for example with ip you can tell it to enter into container's network namespace, so you can introspect using the tool from host 15:08:11 msekleta: right 15:08:29 msekleta: I think its all set from outside the container also 15:09:18 why does the docker image need "dnf" ? 15:09:31 for updates :-/ 15:09:33 ? 15:09:35 what? 15:09:49 haraldh: so you can install things 15:10:03 make your own layers on top 15:10:06 I think there is a recommodation that you should run dnf update in your dockerfile 15:10:35 * haraldh scratches his head... 15:10:50 haraldh: and afaik all the tooling for making layered images etc relies on being able to use dnf/yum in the container to install things to make the layered image 15:10:52 why not make a new docker file then? 15:11:07 I mean all the dnf cache things will let the image grow 15:11:18 also the rpmdb is huge? 15:11:19 haraldh: afaik dockerfiles use the yum/dnf in the container to do thier thing 15:11:46 1st they complain about size, and the they have rpm inside the docker image :) 15:11:56 *then 15:12:34 and dnf bloats it further 15:12:41 I don't understand this docker thing 15:13:08 haraldh: I do not entirely understand it either 15:13:14 ah 15:13:22 rm -rf /var/cache/yum/* 15:13:24 :) 15:13:29 but people want it and we need to do as good as we can to deliver it 15:13:31 line 68 15:13:44 haraldh: yeah, it all needs updated for dnf 15:14:21 probably should turn off dnf auto updating the cache 15:14:32 they should remove the localized glibc messages also :) 15:15:40 ok, we need some docker experts here, preferably vpavlin 15:15:47 haraldh, recommendation is to run yum clean all after you installed needed packages when building some layered image 15:15:48 yeah, though afaik glibc is planning to split all the locales out 15:15:51 msekleta, lnykryn : you know where vpavlin is? 15:15:55 pto 15:15:59 ah, ok 15:16:10 haraldh: yeah, I think we need his input 15:16:13 dwalsh is also in base wg ;-) 15:16:29 haven't seen him in months here 15:16:45 but he seems to be present of fedora-devel 15:19:50 btw removing OOMScoreAdjust and masking those services should not be necessary with newer systemd 15:20:12 lnykryn: guess we should test that 15:20:40 dgilmore: I have tried that with 219 in rhel 15:21:19 lnykryn: okay 15:21:30 we shoudl try things first in Fedora 15:21:44 that is what is supposed to happen 15:24:32 so I guess here we need vpavlin and dwalsh to help us figure out what changes are needed 15:25:03 I think that I and msekleta can consult the minimal docker images in person with vpavlin and guys who are currently working on the rhel images, so we could unify that as much as possible 15:25:34 and then send a proposal to fedora-devel 15:25:35 ok, cool 15:25:43 lnykryn: sounds good 15:25:59 #topic minimal disk image for importing into libvirt 15:26:11 dgilmore, so, what is this one? 15:26:20 a preinstalled minimal disk image? 15:26:25 haraldh: yes 15:26:33 good idea 15:26:40 btrfs? xfs? 15:26:43 lvm? 15:26:44 though we missed the change deadline 15:26:59 how does it differ from cloud images? 15:27:14 good question 15:27:27 lnykryn: it would run initial-setup to do final config and not use cloud-init 15:29:27 but the package set would be more or less same right? 15:29:36 lnykryn: the same as we do for the minimal disk image on arm today 15:29:46 lnykryn: not really 15:30:07 https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-arm-minimal.ks?h=f23 15:30:25 https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-arm-base.ks?h=f23 15:30:49 https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-cloud-base.ks?h=f23 15:35:35 lnykryn: the packages may be much the same 15:36:06 dgilmore: yep so they should have some common base 15:36:11 but I would think that we would just do a minimal-install 15:36:24 as opposed to a cloud-server install 15:37:01 ok 15:37:10 we do not need to know the differences 15:37:51 anyway I think it is a useful deliverable 15:41:20 we have a minimal disk image for arm. 15:42:00 * dgilmore needs to run and run the fedora releng meeting 15:42:26 dgilmore, also I think having minimal disk image built nightly (from rawhide) would be a good idea 15:43:08 msekleta: that would require *a lot of* testing 15:43:30 *automated* ? 15:44:31 couple times I ended up in situation that I could not install rawhide VM using KS because anaconda bugs. If I have image built nightly I could grab latest and update it 15:44:34 msekleta: there would be automated nightly builds 15:44:52 msekleta: we are working to change rawhide to be a full compose that looks just like a release 15:46:35 would it be possible to produce images that could run both in libvirt and nspawn? 15:46:38 dgilmore, awesome, I'd be glad to have just an image, but having full release with all artifacts built is of course even better 15:46:55 lnykryn: doesnt the docker base image run in nspawn? 15:47:24 it should, but I haven't try that 15:47:44 msekleta: with a full release we can setup automated testing of everything and only push unbroken things 15:48:04 but for testing purposes it is nice to have a bigger image 15:48:16 lnykryn: having a container image that runs everywhere seems like a good goal 15:48:50 being able to support rocket, nspawn, whatever comes along next 15:48:56 as well as docker 15:50:15 dgilmore, docker base image is just tarball right, but we are talking about qcow2 image 15:50:58 msekleta: okay, I do not know enough about all they how work 15:55:15 so can we agree that this would be nice and now we can basically ship those arpm images just stripped from the arm stuff? 15:55:43 and maybe for next time reconsider the package set 15:55:53 dgilmore, fwiw seems like docker doesn't support images yet https://github.com/docker/docker/issues/1617 15:57:59 anything to add or can we move to the last topic? 15:58:11 #topic generic installer 15:58:41 what would that "generic installer" be? anaconda? shell script? 15:59:00 anaconda to install "@core" ? 15:59:07 dgilmore, ? 15:59:07 people want to be able to install fedora and not pick workstation/cloud/server 15:59:23 haraldh, your btrfs based installer :) 15:59:30 so basically anaconda with "fedora-release" 15:59:30 hehe 15:59:33 :) 15:59:40 haraldh: kinda yeah 16:00:01 but would offer xfce, lxde, mate, gnome, kde, etc 16:00:15 basically a chose your adventure option 16:00:26 so basically the pre-next anaconda 16:00:32 ? 16:00:44 haraldh: for lack of a better term yeah 16:01:09 it could be a DVD or could just be a tree available for network installs 16:01:11 and we would be responsible for test plans? 16:01:20 yes 16:01:22 and for the "product" 16:01:34 right 16:01:44 meh 16:02:05 so basically https://fedoraproject.org/wiki/Base#What_Base_is_NOT 16:02:10 sound more like a "Fedora Everything" WG :) 16:03:02 lnykryn, exactly :) 16:03:03 haraldh: it would also give us a self contained environment for building the minimal disk image and testing the things under our scope. like anaconda 16:03:20 dgilmore, what's your point on lnykryn's link? :) 16:03:31 haraldh: not seen his link 16:03:53 that was the definition of our working group in the beginning :) 16:05:00 haraldh: DVD option is just that an option 16:05:18 haraldh: we can focus it on just the minimal install use case 16:05:30 and that you can install other things is just a side effect 16:05:39 and need not be tested 16:07:57 don't we have something like that already? I would swear that I have seen some os-release with "generic" product 16:09:49 https://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/22/ 16:10:28 so, that would be in "Everything"//Images ? 16:10:54 IDK 16:14:45 what would be a use-case for such product? for different desktops I can use their spins 16:15:04 I am still missing the reason why we need it 16:16:05 we need it to install the minimal disk image 16:16:26 if it can be used for different use cases then it is not a huge deal 16:18:04 all right 16:18:57 do we have to produce an ISO/netinst for that then? 16:23:29 do we have to deal with it? from us it should just require to define a package set and that is the @core group 16:24:31 Isn't this mostly a job for relengs? 16:25:03 lnykryn: releng makes the things 16:25:10 yep 16:25:11 lnykryn: releng does not define or manage them 16:25:24 and we will just provide the @core 16:25:33 yes 16:25:36 that is the only input needed 16:26:13 Or am I missing something? 16:26:29 lnykryn: there needs to be testing setup 16:27:14 Can you elaborate on that? 16:27:14 imho, install tree should be enough. I guess road from comps group to install tree is not long, hopefully automated in some way :) 16:32:59 my proposal to close this: If we need this internally, then go ahead and build image from @core. Tests would be "it installs and boots". But I don't think that we should ship it and support officially. 16:33:31 as a fourth product 16:36:42 I agree with lnykryn's proposal 16:38:31 any other opinions? 16:38:35 hmm 16:38:51 * lnykryn wants to go home and pack for his vacation :) 16:39:01 sure, go on 16:39:44 I like the idea of having a general product where I can freely click together my installation... 16:40:00 but then again, all the "presets" are unset 16:40:06 which is fine, I guess 16:41:49 haraldh: would would be an example of such setup I don't think that anyone has a really generic setup, it is always something what is covered by spins 16:42:20 yeah, and in the spins you can also install other SW 16:42:43 but then again you can't "deselect" the spin's packages 16:42:46 right? 16:44:03 if that is not possible shouldn't we file a rfe for anaconda 16:44:40 you can do that in kickstarts 16:45:18 all right, let's continue this topic the next meeting 16:45:27 #endmeeting