dustymabe changed the topic of #fedora-coreos to: Fedora CoreOS :: Find out more at https://getfedora.org/coreos/ :: Logs at https://libera.irclog.whitequark.org/fedora-coreos
vgoyal has quit [Quit: Leaving]
plarsen has quit [Quit: NullPointerException!]
daMaestro has quit [Quit: Leaving]
baude has quit [Ping timeout: 240 seconds]
<dustymabe> adamw: I think it's clear sailing over here
cyberpear has joined #fedora-coreos
bgilbert has quit [Ping timeout: 255 seconds]
jpn has joined #fedora-coreos
saschagrunert has joined #fedora-coreos
jpn has quit [Ping timeout: 252 seconds]
sentenza has quit [Ping timeout: 252 seconds]
paragan has joined #fedora-coreos
Betal has quit [Quit: WeeChat 3.8]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 240 seconds]
jcajka has joined #fedora-coreos
c4rt0 has joined #fedora-coreos
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 248 seconds]
baude has joined #fedora-coreos
<guesswhat[m]> Is there any tutorial/recommendation how to enable swap in FCOS? Would You say that zram for Podman on instance with 64G ram would be okish?
<guesswhat[m]> TLDR I am getting weird killed signals when bulding podman images sometimes, but oom_killer and kernel messages dont output anything useful
bgilbert has joined #fedora-coreos
<guesswhat[m]> *rootless containers, maybe its related to https://github.com/coreos/fedora-coreos-tracker/issues/840 and missing systemd-oomd-defaults package ?
ravanelli has quit [Remote host closed the connection]
mheon has joined #fedora-coreos
lorbus has joined #fedora-coreos
ravanelli has joined #fedora-coreos
jpn has joined #fedora-coreos
ravanelli has quit [Remote host closed the connection]
ravanelli has joined #fedora-coreos
jpn has quit [Ping timeout: 248 seconds]
jlebon has joined #fedora-coreos
<baude> can anyone recommend a good way with fcos to have it create a tap device early in boot? (via command-line, it is two commands)
<baude> for example, use ignition? or network stuffs, or
nalind has joined #fedora-coreos
<pwhalen> Hi Coreos folks, looking for your input on an issue we have with some media produced with osbuild in iot. Once created it uses the local repository from the media rather than the 'upstream' fedora-iot repository. Previously we dealt with that in the kickstart by running a few commands ( https://pagure.io/fedora-kickstarts/blob/main/f/fedora-iot.ks#_37-49 ). Can this be done with a config installed during installation (perhaps a startup script
<pwhalen> would be needed as well if we have to run those commands)?
<dustymabe> baude: I assume the reason you're asking is because there is no way to do it with NetworkManager. If that's the case then run a systemd unit via Ignition? https://docs.fedoraproject.org/en-US/fedora-coreos/tutorial-services/
<baude> dustymabe, actually, i think i found a way around that bit from yesterday ... it depends *how* the device is created
<dustymabe> baude: +1
<baude> dustymabe, can NM does this on boot ?
<baude> i assume i have to tell it to
<dustymabe> baude: I don't know :) - maybe it will create devices for you if you tell it to (i.e. it will create a bond for you), but maybe it doesn't have support for specifically what you are doing
<dustymabe> the NM team would know
<baude> i think i am not asking my question correctly ...
<dustymabe> pwhalen: a startup script should work
<dustymabe> pwhalen: I'm guessing osbuild isn't using kickstart?
<baude> ignoring the conversation from eysterday dustymabe, is there a way to create a network device on boot in fcos?
<dustymabe> guesswhat[m]: here is what we have for zram: https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-configure-swaponzram/
<dustymabe> baude: we support whatever networkmanager supports. we also support whatever the Linux kernel supports (i.e. if NetworkManager doesn't support something). we don't have any special mechanisms outside of those two pieces of technology
<dustymabe> if you need to run some commands to set up a network device (i.e. if NM doesn't support something) then you'd do it via a systemd unit
<guesswhat[m]> dustymabe: yes. thanks, i am aware of this, not if this https://github.com/coreos/fedora-coreos-tracker/issues/840#issuecomment-859094939 is actual, cuz systemd-oom service is disabled by default and seems that systemd-oomd-defaults package is enabling userspace oom, which might be useful when using rootless containers?
saschagrunert has quit [Remote host closed the connection]
<pwhalen> dustymabe: it doesnt, and it appears not as easy as deleting the old config and dropping in a new one, some ostree commands need to be run on the system. Do you happen to know at what point during the boot would be best to run the commands? ie, what needs to be started for it to work?
aobrien[m] has joined #fedora-coreos
<dustymabe> pwhalen: I don't know exactly but it should be fine as long as you run it before any updates are initiated
<dustymabe> pwhalen: you'd probably be fine to run it `Before=network-pre.target`
<dustymabe> along with a `Wants=network-pre.target`
<dustymabe> guesswhat[m]: right we still don't have systemd-oom enabled, are you asking for it to be enabled?
<pwhalen> dustymabe: ok, thanks kindly. Would you consider that a decent solution or would you experts recommend against that and prefer to see it fixed in osbuild?
<guesswhat[m]> dustymabe, no, sometimes my rootless podman buils are killed by Signal: killed and its nowhere reported who/what killed them, even in kernel messages, so trying to debug this, this would be probably OS related
<dustymabe> pwhalen: :) - often times in life you have to make lemonade out of lemons. I'd consider it a bug in osbuild probably? I guess I'd need to understand the details a little more to say for sure.
<pwhalen> dustymabe: indeed. Ok, thank you very much :)
<dustymabe> guesswhat[m]: yeah, I'd assume kernel something - maybe increase debug logging of systemd and the kernel
c4rt0 has quit [Quit: Leaving.]
<dustymabe> baude: I'm not sure I answered your question? Did it help?
<baude> dustymabe, go fish works
c4rt0 has joined #fedora-coreos
<walters> pwhalen: Running on boot is ugly, it should be done at build time. I imagine that would require osbuild work yes. FWIW at least with the new container-native flow it's really easy and built-in https://github.com/coreos/coreos-assembler/blob/25ff3976ff850caa6b2871f9084aac6cf6ca3bb7/src/create_disk.sh#L337
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 276 seconds]
MayuraAndrew[m] has joined #fedora-coreos
nb has quit [Quit: The Lounge - https://thelounge.chat]
nb has joined #fedora-coreos
<pwhalen> walters: thanks
jcajka has quit [Quit: Leaving]
<dustymabe> gursewak: since you are in the list of standby release executors - any chance you'd like to do the `next` release this week? https://github.com/coreos/fedora-coreos-streams/issues/689
jpn has joined #fedora-coreos
c4rt0 has left #fedora-coreos [#fedora-coreos]
<gursewak> dustymabe, sure, I can do it this week.
bgilbert has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 255 seconds]
jpn has joined #fedora-coreos
paragan has quit [Quit: Leaving]
ravanelli has quit [Remote host closed the connection]
<marmijo[m]> Could I please get a review on https://github.com/coreos/fedora-coreos-config/pull/2361? Thanks!
Betal has joined #fedora-coreos
<dustymabe> LGTM
<marmijo[m]> dustymabe: ty!
<strnull[m]> Hi all, question maybe some of you guys can point me on the right direction, how does one integrate or coordinate the fcos updates with kubernetes in an way that the upgrades to the cluster happen sequentially and the nodes are drained and cordon before the node restart and uncordon if the upgrade was successful, and if the update breaks something on the node the whole process stops… ?
ravanelli has joined #fedora-coreos
<strnull[m]> Does anybody has experience with for example kured ?
ravanelli has quit [Ping timeout: 250 seconds]
jpn has quit [Ping timeout: 265 seconds]
ravanelli has joined #fedora-coreos
dustymabe has quit [Quit: WeeChat 3.6]
dustymabe has joined #fedora-coreos
<dustymabe> jlebon: I don't think the bot likes your title change in https://github.com/openshift/os/pull/1249#issuecomment-1503916143
<jlebon> i think there's two bots, and one of them doesn't know how to parse out the JIRA bug, but the other does: https://github.com/openshift/os/pull/1249#issuecomment-1503619333
<jlebon> i think the latter one is the one we need to satisfy? at least it didn't remove any labels so i *think* we can just ignore the other bot's msg
<dustymabe> sigh.. drowning in process
<jlebon> :(
<guesswhat[m]> Any idea how to do this on FCOS semanage fcontext -a -e $HOME/.local/share/containers NEWSTORAGEPATH ? semanage is not installed by default, so thinking about using "some" alternative
<jlebon> guesswhat[m]: see https://github.com/coreos/ignition/issues/1294#issuecomment-989181944, though the presence of a specific user's homedir in the path makes this less pretty
Betal_ has joined #fedora-coreos
Betal has quit [Ping timeout: 246 seconds]
<guesswhat[m]> Thanks
baude has quit [Quit: Leaving]
sentenza has joined #fedora-coreos
admin1 has quit [Quit: The Lounge - https://thelounge.chat]
baude has joined #fedora-coreos
<guesswhat[m]> Any idea why SUB_GID_MAX and SUB_UID_MAX changed to 4294967295 in /etc/login.defs is not respected? I already set /etc/subgid,subuid to containers:100000:4295067294, but getting  newuidmap: subuid overflow detected
jpn has joined #fedora-coreos
admin1 has joined #fedora-coreos
admin1 has quit [Client Quit]
admin1 has joined #fedora-coreos
ravanelli has quit [Remote host closed the connection]
travisghansen has quit [Quit: The Lounge - https://thelounge.github.io]
travisghansen has joined #fedora-coreos
ravanelli has joined #fedora-coreos
gursewak has quit [Ping timeout: 246 seconds]
plarsen has joined #fedora-coreos
gursewak has joined #fedora-coreos
bgilbert has joined #fedora-coreos
jpn has quit [Ping timeout: 264 seconds]
nalind has quit [Quit: bye for now]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 248 seconds]
ravanelli has quit [Remote host closed the connection]
gursewak has quit [Ping timeout: 255 seconds]