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
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 240 seconds]
ravanelli has quit [Remote host closed the connection]
Betal has joined #fedora-coreos
King_In1 has joined #fedora-coreos
King_In1 has quit [Client Quit]
King_InuYasha has quit [Ping timeout: 272 seconds]
arnulfo_7 has joined #fedora-coreos
arnulfo_7 has quit [Changing host]
arnulfo_7 has joined #fedora-coreos
baaash[m] has joined #fedora-coreos
<baaash[m]> hey team, I'm currently learning the ways of fedora, and cutting my teeth on coreos here... i'm having a bit of trouble getting my disks partitions setup right using butane config. I must me misinterpreting the docs somehow. Can someone provide a basic butane disks config for creating /boot /root and /data partitions on /dev/sda for me please so i can compare?
<baaash[m]> ah ok i've just found a little further down in the examples that a '0' value in the size_mib key means to use all available space... getting warmer...
<baaash[m]> ok i guess this isn't a very active channel for this kind of quick support stuff.. reading the spec it is.
<baaash[m]> aha.... looks like number doesn't mean what i assumed it to.
fifofonix has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gursewak has joined #fedora-coreos
paragan has joined #fedora-coreos
ksinny has joined #fedora-coreos
brtknr has quit [*.net *.split]
brtknr has joined #fedora-coreos
kieren has quit [*.net *.split]
michele has quit [*.net *.split]
jdieter has quit [*.net *.split]
pej has quit [*.net *.split]
jaimelm_ has quit [*.net *.split]
strigazi has quit [*.net *.split]
ikonia has quit [*.net *.split]
strigazi has joined #fedora-coreos
pej has joined #fedora-coreos
jdieter has joined #fedora-coreos
michele has joined #fedora-coreos
kieren has joined #fedora-coreos
ikonia has joined #fedora-coreos
jaimelm has joined #fedora-coreos
arnulfo_7 has quit [Read error: Connection reset by peer]
mnguyen_ has joined #fedora-coreos
mnguyen has quit [Ping timeout: 240 seconds]
gursewak has quit [Ping timeout: 255 seconds]
jcajka has joined #fedora-coreos
gursewak has joined #fedora-coreos
gbsalinetti has joined #fedora-coreos
<dngray[m]> does ignite support the ssh_host_xxxx keys for each VM?
<dngray[m]> i kind of don't want them to change when i reboot the VM
<dngray[m]> would be nice to be able to provision /etc/ssh/ssh_host_ed25519_key
<dngray[m]> seems to be the only thing missing from https://docs.fedoraproject.org/en-US/fedora-coreos/tutorial-containers/
<dngray[m]> okay so seems storage is the only way https://github.com/coreos/butane/issues/210#issuecomment-793412228
gursewak has quit [Ping timeout: 272 seconds]
jpn has joined #fedora-coreos
jcajka has quit [Ping timeout: 264 seconds]
jcajka has joined #fedora-coreos
Betal has quit [Quit: WeeChat 3.6]
<travier[m]> baaash[m]: What are you trying to do? The default setup will get you a working installation. You only need to provide a config for storage if you want to change that.
<travier[m]> dngray: The host keys do not change when you reboot a system, unless your systems are ephemeral
<dngray[m]> yeah i used the storage api, to load the same ones, because my fcos vm loads from a pxe server on boot (has no disk)
fifofonix has joined #fedora-coreos
jpn has quit [Ping timeout: 245 seconds]
ravanelli has joined #fedora-coreos
ravanelli has quit [Remote host closed the connection]
ravanelli has joined #fedora-coreos
ravanelli has quit [Remote host closed the connection]
gbsalinetti has quit [Quit: Client closed]
jpn has joined #fedora-coreos
ravanelli has joined #fedora-coreos
nalind has joined #fedora-coreos
crobinso has joined #fedora-coreos
jpn has quit [Ping timeout: 264 seconds]
vgoyal has joined #fedora-coreos
<dngray[m]> so using NFS to mount my shares from my host in my guest VM, which runs fcos
mnguyen has joined #fedora-coreos
mnguyen_ has quit [Ping timeout: 240 seconds]
<dngray[m]> wait should be possible, fcos is a KVM, so should be able to mount the NFS share in that VM and then start docker
<dustymabe> dngray[m]: just embed your host ssh keys in your Ignition config and they should get written out on boot
<dngray[m]> dustymabe: that's what i did with success
<dngray[m]> now i'm contemplating what problems i will have passing /var/lib/docker in from my host
<dngray[m]> the fcos vm is ephemeral, so no real storage
<dngray[m]> loads from iPXE on each boot
jpn has joined #fedora-coreos
<dustymabe> i'd think it would just work, but I haven't tried it
<dngray[m]> i think i might have issues because of SELinux though.
<dustymabe> maybe.. you might need to just label the file appropriately before you start the VM
<dustymabe> files*
<dustymabe> you can do a proof of concept with selinux in permissive mod efirst
<dngray[m]> suppose that would work, but does SELinux even work over NFS?
<dngray[m]> `mount -t nfs -o vers=4 192.168.2.253:/var/lib/docker /var/lib/docker`
<dngray[m]> hmm, when i mount t hat
<dngray[m]> i can't even ls in /var/lib/docker
<dngray[m]> its owned by root:root on the host
<dngray[m]> actually, that's a bad idea.
<dngray[m]> i should create a "new" docker share
<dngray[m]> because the host which ran that, actually had native ZFS support
<dngray[m]> now ill be running docker as file support, the intention is to migrate over to podman
<dustymabe> dngray[m]: let us know how it goes!
mheon has joined #fedora-coreos
<dngray[m]> is it my imagination or docker-compose is falling out of fashion
<dngray[m]> i guess because people have other ways of building
<dngray[m]> i'm aware of podman-compose, but i had some issues with it
<dngray[m]> `docker run -it --rm busybox` guess we'll see if it works
<dngray[m]> Filesystem Size Used Avail Use% Mounted on
<dngray[m]> 192.168.2.253:/var/lib/docker 38T 0 38T 0% /var/lib/docker
<dngray[m]> hmm no such luck
<dngray[m]> i disabled selinux first with `setenforce 0` so that's not the issue
<dngray[m]> oh, maybe cos it was owned as root:root the dir on the host
plarsen has joined #fedora-coreos
crobinso has quit [Ping timeout: 245 seconds]
ravanelli has quit [Remote host closed the connection]
mnguyen_ has joined #fedora-coreos
jlebon has joined #fedora-coreos
<dngray[m]> hmm, i think running my docker containers from NFS is going to be a massive pain in the ass
<dngray[m]> maybe i should just add a storage device lol
ravanelli has joined #fedora-coreos
ravanelli has quit [Read error: Connection reset by peer]
ravanelli has joined #fedora-coreos
<dngray[m]> dustymabe: heh i see you in https://github.com/coreos/fedora-coreos-tracker/issues/1131
<dngray[m]> seems i can only find issues with people trying to mount NFS shares inside docker/podman
<dngray[m]> not run the actual containers from a share
jlebon has quit [Quit: leaving]
jcajka has quit [Ping timeout: 264 seconds]
jlebon has joined #fedora-coreos
jcajka has joined #fedora-coreos
jcajka has quit [Remote host closed the connection]
gursewak has joined #fedora-coreos
jcajka has joined #fedora-coreos
jlebon has quit [Quit: leaving]
jlebon has joined #fedora-coreos
crobinso has joined #fedora-coreos
paragan has quit [Quit: Leaving]
<dustymabe> saqali: can we close your issues here? https://github.com/coreos/fedora-coreos-streams/issues
<saqali> yes I'll do that
jcajka has quit [Quit: Leaving]
gotmax has quit [Write error: Connection reset by peer]
gotmax has joined #fedora-coreos
Betal has joined #fedora-coreos
gotmax has quit [Remote host closed the connection]
gotmax has joined #fedora-coreos
gotmax has quit [Remote host closed the connection]
gotmax has joined #fedora-coreos
ksinny has quit [Remote host closed the connection]
ravanelli has quit [Remote host closed the connection]
ravanelli has joined #fedora-coreos
ravanelli has quit [Ping timeout: 240 seconds]
ravanelli has joined #fedora-coreos
<justJanne> hey, so, stupid question, but if I configure the file /etc/containerd/config.toml via butane/ignition (even if I keep the content and mode the same), fcos refuses to boot. Is that file managed by rpm-ostree or something?
<justJanne> And if so, how am I supposed to configure the CNI directory?
<walters> justJanne: It sounds like you're getting a fatal error in Ignition; you should try to figure out what that is...hmm, how do we not have a doc page for this? Basically you should see an error on the console
<justJanne> walters: I don't have access to the serial console if ignition fails. I've only got ssh access to the server (serial console access requires additional hardware, at a per-hour price point, so I'd like to avoid that)
<walters> ok yeah, https://github.com/coreos/ignition/issues/585 would help your case too
<walters> justJanne: at an offhand guess, do you need `overwrite: true` in your config?
<walters> one thing that can be helpful is to test your configs in VMs before applying them to bare metal
<walters> hmmm actually after https://github.com/coreos/ignition/pull/1285 we could make it convenient to test the filesystem section in a container too (or of course after https://github.com/coreos/enhancements/blob/main/os/coreos-layering.md actually ship them in containers)
<justJanne> walters: I'll try that, thanks! Sorry, I'm very lost in modern-day ignition configs
<justJanne> Still too used to the pre-ignition coreos
<justJanne> Back when fleetctl was new and cool
bgilbert has joined #fedora-coreos
<justJanne> walters: you’re super helpful, so I’ll ask one more question: what’s the easiest way to enable and start an installed, but disabled, systemd unit?
<justJanne> just add it to units, with enabled: true but without contents?
jpn has quit [Ping timeout: 240 seconds]
<walters> justJanne: Honestly I'm not sure, but I think that'd work...(ok at a quick glance at the source code, particularly `writeSystemdUnit` looks like it would indeed work
vgoyal has quit [Quit: Leaving]
<bgilbert> justJanne: yes, that's right
jpn has joined #fedora-coreos
nalind has quit [Quit: bye]
jpn has quit [Ping timeout: 252 seconds]
jpn has joined #fedora-coreos
crobinso has quit [Remote host closed the connection]
jpn has quit [Ping timeout: 245 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 268 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 252 seconds]
<baaash[m]> hey team so i'm adding the line: "coreos.inst.ignition_url=http:192.168.1.1:8000/config.ign" to the kernel command line options when installing a coreos vm and this address resolves to apache running in a container on my localhost. I'm using the podman0 bridge for the vm network, the same that the apache container is using. Installer won't acknowledge config exists, despite it resolving fine. it appears no networking devices are
<baaash[m]> brought up after the installer has completed. I'm obviously doing something incorrect here.. any ideas?
cyberpear has quit [Quit: Connection closed for inactivity]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 268 seconds]
plarsen has quit [Remote host closed the connection]
plarsen has joined #fedora-coreos
fifofonix has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daMaestro has joined #fedora-coreos
plarsen has quit [Remote host closed the connection]