16:05:52 #startmeeting fedora_cloud_meeting 16:05:52 Meeting started Tue Jun 23 16:05:52 2020 UTC. 16:05:52 This meeting is logged and archived in a public location. 16:05:52 The chair is dustymabe. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:05:52 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:05:52 The meeting name has been set to 'fedora_cloud_meeting' 16:05:55 .hello2 16:05:57 jdoss: jdoss 'Joe Doss' 16:05:58 #topic roll call 16:05:59 .hello ngompa 16:06:00 King_InuYasha: ngompa 'Neal Gompa' 16:06:01 .hello2 16:06:03 dustymabe: dustymabe 'Dusty Mabe' 16:06:53 #chair michaelgugino jdoss King_InuYasha 16:06:53 Current chairs: King_InuYasha dustymabe jdoss michaelgugino 16:07:33 Do I need to say .hello2? 16:07:55 o/ 16:07:58 .hello2 16:07:59 cyberpear: cyberpear 'James Cassell' 16:07:59 ideally, it'd be nice to know who you are :) 16:08:13 #chair cyberpear 16:08:13 Current chairs: King_InuYasha cyberpear dustymabe jdoss michaelgugino 16:08:30 bigger turnout than typical! 16:08:41 .hello2 16:08:42 michaelgugino: michaelgugino 'Michael Gugino' 16:08:53 It's not hard to figure out who I am ;) 16:09:09 whoa, yahoo 16:09:09 :) 16:09:23 #topic action items from last meeting 16:09:55 I think our last meeting time was when zodbot was down and we don't have logs from it, but I don't think there was much to report 16:10:07 yeah 16:10:09 from the meeting before that I think michaelgugino was going to work on ticket 301 16:10:24 #topic regular releases: uploading to clouds 16:10:30 #link https://pagure.io/cloud-sig/issue/301 16:10:50 The last update there in the ticket is from the ad-hoc session we did. 16:11:10 michaelgugino have you had a chance to try out setting up a fedora messaging listener ? 16:11:53 yes, I did look into do this for a few hours recently. The code is straight forward, but I'm not sure how to write a proper config or do a basic hello world type of thing to iterate on. fedmesg.com or whatever it is, is being squatted, so relevant docs are not available. I tried to find the source repository for that site, but I was unable. 16:12:41 michaelgugino: it's even more confusing because there is an old implementation (fedmsg) and a new implementation (fedora messaging) 16:12:54 try starting with the docs here: https://fedora-messaging.readthedocs.io/en/latest/#user-guide 16:14:06 okay, I have not seen that one. 16:14:16 I would say a good starting point is for us to get a container with a small python listener that listens for when composes finish and then print out links to where the cloud artifacts are in the compose 16:14:46 this container is a POC and can run anywhere, since you can listen to fedora messages from any machine on the internet 16:14:50 so you can do it from your laptop 16:14:57 those docs look actually useful. For instance "Fedora’s message broker has a publicly accessible virtual host located at amqps://rabbitmq.fedoraproject.org/%2Fpublic_pubsub" I already feel miles ahead of where I was. 16:15:39 Yeah, I couldn't figure out where to listen, and write a configuration file. This I think will be more useful. I've been meaning to ask you for some more help, but by the time allowed, it was almost today, so I figured I'd ask about it here. 16:16:01 no worries 16:16:04 fedora-messaging package ships a config file 16:16:08 you can probably work from that 16:16:19 the end goal is to be able to do something like this with your POC: https://github.com/coreos/fedora-coreos-releng-automation/tree/master/coreos-koji-tagger#rough-notes-for-running-locally 16:16:31 except you won't need a keytab 16:17:10 so it should be something as simple as podman build && podman run - and then watch the logs to see messages get printed to the screen 16:17:27 yeah, I'm on the same page I think 16:17:32 +1 16:17:34 thanks michaelgugino 16:17:43 anything else for this topic? 16:17:58 nope 16:18:47 #topic swaponzram for fedora cloud base image 16:18:58 there was a mailing list post about this a while back 16:19:00 one sec 16:19:39 #link https://lists.fedoraproject.org/archives/list/cloud@lists.fedoraproject.org/message/QIO6LVG3MHVL4MRDPHS2RI6Z4MEL745M/ 16:19:43 On most cloud providers swap is not a thing. 16:19:57 jdoss: that has been my stance in the past 16:20:04 that's going to change 16:20:06 although I'm warming up to this idea 16:20:11 cloud providers want to do hibernation 16:20:25 and that means S4 suspend process needs to work 16:21:16 my understanding (now) of swaponzram is that it actually doesn't require any swap device (on hard drive) at all. I previously misunderstood it to work in conjunction with swap backed by hard drive 16:21:41 Right OK so but how does that work with swaponzram? 16:21:56 jdoss: who was that question for? 16:22:04 swaponzram just makes it so you have compressed ram 16:22:05 more towards King_InuYasha 16:22:17 it's not helpful at all towards S4 suspend 16:22:17 right - i don't think swaponzram helps with hibernation 16:22:33 we'd need swap partitions or swap files for that 16:23:04 https://lwn.net/Articles/821158/ 16:23:14 considering swaponzram doesn't need a separate swap partition and it seems there are some benefits to using it, I don't think I'm opposed to enabling it for the cloud base image 16:23:36 assuming the current CVE gets fixed 16:24:13 sure 16:24:17 I've got nothing against it 16:24:34 I'm trying to sort out in my head what swaponzram helps with. Usually you don't need to swap until ram is full. Seems like setting aside a part of ram to use when ram is full is very circular. 16:24:43 King_InuYasha: I figured as much so I was wondering why would care about Hibernation as a use case for swaponzram or Hibernation at all on Fedora Cloud. I will read that LWN later to see why people would care about Hibernation. 16:25:09 for my uses cases, I don't need swap. (Not saying we shouldn't consider it) 16:25:11 I put that as a response to the general swap on cloud concept 16:25:18 michaelgugino: right - but I think it helps prevent swap from getting full 16:25:18 Fair enough. 16:25:42 so typically you set up swap so you don't get a bunch of OOMs 16:26:05 definitely in favor of swaponzram for cloud 16:26:09 in the cloud maybe you need a beefier instance and you can just start to use that 16:26:21 but I think swaponzram actually gives us a nice balance 16:26:25 it takes basically zero memory until you need it 16:26:41 then if you do need it, it's there to save the day 16:26:46 I need to see an articulated usecase, I guess. 16:27:31 michaelgugino: i.e. a case where swaponzram helps you as opposed to 1) no swap 2) disk based swap ? 16:27:40 right 16:27:46 (MacOS has something similar, which I'd once found out by accident when trying to evaluate how it handled swap... I'd filled a bunch of memory programmatically, and it wasn't taking any memory! -- so had ot fill it w/ random data to actually make it fill) 16:28:15 swaponzram is much higher performance than disk-based swap 16:28:31 and doesn't eat up valuable disk space on cloud instances 16:28:52 I would say that memory is much more valuable than storage on cloud instances at this point. 16:29:03 yes 16:29:05 I agree michaelgugino 16:29:09 nor does it eat memory unless you're already running out, in which case, it compresses the memory for you so you have extra room for your workload 16:29:59 right, but currently we don't configure swap at all (by default) for Fedora Cloud base 16:30:22 so what I'm mostly comparing here is swaponzram, vs no swap 16:30:23 indeed. and, yes, memory is the most precious cloud resource. swaponzram helps you use it more efficiently 16:30:38 cloud-init can configure swap, right? If you're missing a parition/lvm to put swap on, you can create a swap file. 16:30:41 I haven't had a case where I have wanted any of my workloads to use swap. Elasticsearch for example wants you to disable swap because it can slow things down. swaponzram seems great for desktops. I can't think of any of my use cases in the cloud where I would want to ever use swap. 16:31:33 jdoss: typically I would have agreed with you 16:31:37 but... :) 16:31:45 Right, I feel like on the cloud, once you start swapping, you're delaying the inevitable in most cases. You've got a memory leak or otherwise your application is properly tuned to the size of your memory, etc. 16:31:56 *is not 16:32:02 except, you put linux in a bad place when you don't have swap at all 16:32:16 as cyberpear said earlier, you don't actually use zramonswap unless you get to a point where you're running out of memory already 16:32:27 swap on zram means that you're not _really_ swapping, and linux's process management works properly, since inactive processes can be compressed 16:33:05 I can't wait for the FCOS debate on this dustymabe ;) 16:33:11 blech 16:33:27 jdoss: it already started 16:33:28 King_InuYasha: for real. bleh. 16:33:53 of course, I have my can of worms I want to open, but... 16:33:56 which is where I actually realized how swaponzram works (not requiring any backing partition on disk at all) 16:34:59 the way I look at zramonswap now is that - it's pretty much like a safety harness. 16:35:01 We're talking about the cloud. Once you hit the need for swap, you have already failed. Adding some kind of compressible swap is only delaying the server falling over IMO. 16:35:02 as far as I can tell, there's no down side, unless you consider "OOM Killer not killing my processes as fast" as a downside. 16:35:28 If we do enable it, we need to make sure uses can disable it. 16:35:30 Read the "in defense of swap" article... it makes a very good argument 16:35:44 cyberpear: got a link handy? 16:35:46 #link https://chrisdown.name/2018/01/02/in-defence-of-swap.html 16:35:53 ty dustymabe 16:35:57 I've got production systems w/ 32G of ram, of which 16 is "available", but still have swapped out 1G 16:36:17 the rest of the RAM is disk cache, and the 1G was just inactive "anonymous pages" memory 16:37:08 Do we have the link to the Fedora change request for swaponzram? 16:37:17 #link https://fedoraproject.org/wiki/Changes/SwapOnZRAM#zram_Basic_function 16:37:31 I'd pair this with earlyoom to make it so our environments are more responsive, but ehh 16:37:55 That article is about disk-based swap. Nobody is saying disk-based swap is a bad idea. 16:38:20 michaelgugino: so you configure you cloud instances with disk based swap ? 16:38:38 dustymabe: I do ;) 16:39:03 I don't, no, but for certain workloads, it could make some sense. In a file-system read-heavy environment, you can cache more objects rather than paging to disk. 16:39:27 (even though you're paging to disk, they objects are still in memory, rather than having to be re-read and reconstructed) 16:39:39 King_InuYasha: Speaking of EarlyOOM, I have been using https://github.com/rfjakob/earlyoom on my Fedora workstation for a while now and it's been not terrible. 16:40:11 yeah I think the important thing is that we focus on what are sane defaults 16:40:24 Anyway, I'd like to see some cold hard facts/numbers before enabling this by default. Find a particular usecase where this actually helps. 16:40:30 my understanding in the past is that disk based swap was not something we wanted to configure by default because that has implications on the base disk image 16:41:01 dustymabe: can we come up with a way to enable after boot to test? 16:41:22 dustymabe: I'd rather do something with a swapfile 16:41:23 jdoss: I think so 16:41:57 it would be a cloud-init snippet to enable it 16:41:58 or at least a a guide on doing so and maybe we can sprinkle some swaponzram into some workloads and see how it looks? I feel it will just be very subjective to how people are using Fedora Cloud. 16:41:59 yeah, swap on disk by default is hard because of the partition auto-sizing magic, I'd think 16:42:13 swaponzram could help something like "I've got a perfectly-tuned application/RAM balance, then dnf-daemon fired up in the background and caused my app to get OOM'ed" as a contrived example 16:43:08 so we'll circle back on this in a few weeks - michaelgugino feel free to ping chris murhpy on the mailing list thread to ask for some specific examples 16:43:21 okay, I will do that. 16:43:34 you have a link to the email that I posted earlier? 16:44:08 I believe I am subscribed to that list 16:44:56 cool - I'll create a pagure ticket where we can track this dicsussion too 16:44:59 yes, I have the link and I'm subscribed. 16:45:07 #topic open floor 16:45:14 anyone with anything for open floor? 16:45:21 Most active Fedora Cloud meeting to date? 16:45:35 so... 16:46:03 https://www.youtube.com/watch?v=lKie-vgUGdI 16:46:25 so Chris Murphy and I have been working on this change proposal for desktops: https://fedoraproject.org/wiki/Changes/BtrfsByDefault 16:46:32 There are dozens of us... DOZENS! 16:46:40 essentially proposing to switch to Btrfs for desktop variants 16:47:11 it may be worth a consideration to look into doing this for cloud as well, based on the information we got from Facebook talking to us about btrfs a couple weeks ago 16:47:11 Didn't desktop go from Ext4 to Btrfs to xfs? 16:47:19 desktop never went to xfs 16:47:35 currently, the only variant using xfs is server edition 16:47:40 That's right. 16:48:03 this is essentially the breakdown of options we've considered from the Workstation case: https://docs.google.com/spreadsheets/d/11Gszb48eYGSK37vOsFvkxY_nvcm_T26UL313wg7Aes0/edit#gid=0 16:48:24 I think most of these actually would apply to us in the server case except for the sd-homed stuff 16:48:42 Fedora CoreOS uses XFS 16:49:09 I figured 16:49:48 But desktop did go from Ext4 to btrfs and then back to ext4 right? 16:49:52 nope 16:49:57 because of btrfs issue? 16:49:58 never actually switched to btrfs 16:50:11 i'm a bit hesitant on the btrfs from for cloud - not really any particular concern other than "let's see how it goes for workstation" 16:50:15 they went from ext3 -> ext4 -> ext4+LVM 16:50:19 or it was an option to install with btrfs. 16:50:31 I'm excited about btrfs, and it really helps container casse 16:50:33 *cases 16:50:38 it's been an option to install with btrfs since ~2012-ish, I think 16:50:55 I had an install with btfs a while back and I lost data but that was like early 2012ish yeah. 16:51:11 now that XFS has reflinks now, containers are better than before 16:51:14 yeah, I've been personally running btrfs on all my machines for the past five years 16:51:35 it's worked out wonderfully on ~100+ Fedora systems of mine 16:51:49 King_InuYasha: so you want to include Fedora Cloud on this change request? 16:51:51 (mostly VMs with ~5-ish physical ones) 16:52:06 I don't know, I figured I'd bring it up to everyone 16:52:29 (it was great they finally merged your btrfs anaconda PR!) 16:52:36 * King_InuYasha sighs 16:52:40 yeah, that took a while 16:52:44 :) 16:52:47 I wouldn't oppose including Cloud in the btrfs change 16:53:05 or if folks want to wait a cycle after Desktop, I wouldn't oppose that either 16:53:18 what I would prefer is to not change multiple times (since i've got limited time to spend on "cloud" stuff) 16:53:34 I think I'd prefer to wait and see what happens with workstation 16:53:36 I personally think it'd make a ton of sense, but I don't want to add Cloud without a variant "owner" to add to the list 16:53:38 I am neutral/positive on this change. I kinda side with dustymabe here too. 16:54:10 no worries 16:54:15 michaelgugino: any thoughts? 16:54:18 I just wanted to bring it up so we can start thinking about it 16:54:32 dustymabe: maybe make a ticket so we can track the idea? 16:54:42 King_InuYasha: sounds good to me - do you mind? 16:54:47 dustymabe: my thoughts are, I don't want to use btrfs on much of anything. Maybe it's stable now, IDK, but if it's not a file system that is supported on RHEL, I'm not running it. 16:54:54 King_InuYasha: what is the info you got from FB within regards to this? 16:55:22 * cyberpear missed part of the FB meeting 16:55:25 they talked to us in depth about how they've been using it, what the corner cases are, and what they're plans for the evolution for their use-cases are 16:55:32 King_InuYasha: was that meeting recorded ? 16:55:35 no 16:55:40 there's minutes 16:55:48 but if we wanted to have another session, I could organize one 16:55:53 to talk about cloud cases 16:56:25 if you want to hear some of the sound bites you can listen to linux unplugged 16:56:30 from that week 16:56:32 they talked about running it on "millions" of servers, stressing the crap out of it with their infrastructure, and how it stood up to everything 16:56:32 https://linuxunplugged.com/358 16:56:45 https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.org/thread/RE3ML4225NDIS7M7QQ43MJX6OVL36MID/ 16:57:10 As far as the cloud case, I want the primary storage to be xfs or ext4. I would store valuable data not on root volume anyway. 16:57:42 michaelgugino: the main value of btrfs in the cloud is the IO control stuff 16:57:48 michaelgugino: right - i started off hesitant about btrfs so I have my data partitions on my desktop on ext4 16:57:56 err IO isolation 16:58:04 but I think now I can start moving some stuff over 16:58:14 and the reflinks and snapshots and such for container and VM stuff 16:58:28 for the system partitions honestly all of that stuff is easy to automate bringing it up so it doesn't much matter 16:58:36 Side topic, systemd-homed is this on the horizon for Fedora? 16:58:58 #info dustymabe opened https://pagure.io/cloud-sig/issue/307 to talk about swaponzram 16:59:00 I don't know what the perceived benefits are, but if I did, I would opt-in to use them. I think always adding new stuff that I have to learn is annoying. I'm probably not the best proponent for running on the bleeding edge, for me, desktop system filestorage was solved 10 years ago 16:59:03 jdoss: we don't know yet 16:59:12 I think it's controversial, but some folks want "encrypted home dirs without password on boot" 16:59:46 #action King_InuYasha to create a ticket to discuss possible future feature of btrfs for cloud base 16:59:57 cool 16:59:57 * dustymabe notes we're out of time 17:00:01 any other items for today? 17:00:06 nothing from me 17:00:12 * jdoss waves 17:00:16 Thanks folks. 17:00:24 #endmeeting