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
bgilbert has quit [Ping timeout: 272 seconds]
Turnikov has quit [Ping timeout: 260 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
cyberpear has quit [Quit: Connection closed for inactivity]
plarsen has quit [Remote host closed the connection]
paragan has joined #fedora-coreos
Betal has quit [Ping timeout: 265 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
poppajarv has quit [Quit: Ping timeout (120 seconds)]
poppajarv has joined #fedora-coreos
paragan has quit [Ping timeout: 260 seconds]
paragan has joined #fedora-coreos
gursewak has joined #fedora-coreos
gursewak_ has quit [Ping timeout: 248 seconds]
paragan has quit [Quit: Leaving]
c4rt0 has joined #fedora-coreos
jcajka has joined #fedora-coreos
darknao has quit [Ping timeout: 260 seconds]
paragan has joined #fedora-coreos
darknao has joined #fedora-coreos
<hartan[m]> Hello,
<hartan[m]> quick question on adding users to CoreOS via butane/ignition: How do I configure a user that can use sudo but still needs to enter their password to authenticate for sudo? Can ignition do this automatically or are there manual steps involved?
darknao has quit [Quit: WeeChat 3.6]
jpn has joined #fedora-coreos
darknao has joined #fedora-coreos
jpn has quit [Remote host closed the connection]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
ravanelli has joined #fedora-coreos
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 248 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 268 seconds]
jpn has joined #fedora-coreos
<walters> hartan: our default configuration has: ```## Allows people in group wheel to run all commands
<walters> %wheelALL=(ALL)ALL
<walters> ``` so if you add them to that group it will get what you want
<walters> * hartan: our default configuration has:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f39796ba1b5c40a4a8d5e81ab4517271f30a2372>)
<hartan[m]> Has anyone tried unlocking volumes with FIDO2 during boot before?
<hartan[m]> <hartan[m]> "Has anyone tried unlocking..." <- Problem solvec. For the record: `rpm-ostree initramfs --enable` does the trick.
ravanelli has quit [Ping timeout: 252 seconds]
ravanelli has joined #fedora-coreos
plarsen has joined #fedora-coreos
<stephanepoq> hartan[m]: have done that: https://deisi.github.io/posts/luks_mi_yubikey/ , but not fido
<stephanepoq> sudo apt install yubikey-luks
<stephanepoq> was the debian package
jpn has quit [Ping timeout: 260 seconds]
jcajka has quit [Quit: Leaving]
<hartan[m]> It doesn't require installing an additional package in CoreOS, I used systemd-cryptenroll to register the token. The problem is that (iiuc) all CoreOS systems, by default, boot a pre-generated initramfs which doesn't work with FIDO2 tokens. Regenerating the initramfs locally after adding entries to /etc/crypttab resolves this.
<dustymabe> walters: is it new that `rpm-ostree install` will prompt user Y/n ?
<dustymabe> cool - thanks
jpn has joined #fedora-coreos
palasso has joined #fedora-coreos
vgoyal has joined #fedora-coreos
paragan has quit [Quit: Leaving]
jpn has quit [Ping timeout: 260 seconds]
Betal has joined #fedora-coreos
bgilbert has joined #fedora-coreos
cmagina has joined #fedora-coreos
<marmijo[m]> dustymabe: jlebon: Colin Walters: I created two PRs to resolve https://github.com/coreos/fedora-coreos-tracker/issues/1369, could I get some reviews when you have some time?
poppajarv has quit [Quit: The Lounge - https://thelounge.chat]
daMaestro has joined #fedora-coreos
daMaestro|isBack has joined #fedora-coreos
daMaestro has quit [Ping timeout: 260 seconds]
daMaestro|isBack has quit [Ping timeout: 255 seconds]
daMaestro has joined #fedora-coreos
daMaestro has quit [Quit: Leaving]
poppajarv has joined #fedora-coreos
daMaestro has joined #fedora-coreos
<dustymabe> jlebon: walters: want to discuss non-async here for a few? https://github.com/coreos/coreos-assembler/pull/3307
<dustymabe> jlebon: IIUC in that last comment you are arguing for the instance type abstraction?
<jlebon> not exactly. i added an edit to my comment :)
<dustymabe> ahh OK
<dustymabe> though that leaves me a bit confused
<dustymabe> does Kola even know much about cloud instance types today?
<dustymabe> I think there's just a default and you can override that
<jlebon> it doesn't, but it could
<jlebon> i wonder if there's an AWS API where you give your requirements and it tells you the cheapest instance type that fits your needs
<jlebon> but barring that, we could hardcode a few based on memory
<dustymabe> I'm not aware of one
<daMaestro> https://aws.amazon.com/compute-optimizer/ is what i've used in the past on workloads post rough-math-sizing ;-)
<daMaestro> find your constraint and then determine the unit (1 vcpu, 1g ram, 1g storage, 1m net, etc, etc) you need to scale -- find the most cost effective way to get that unit scale cost optimized and you've found your instance type
<daMaestro> also, ask chatgpt, might be good for some entertainment ;-p
<walters> jlebon: what we really want is spot instances, for which there is tooling built on that
<dustymabe> walters: but why? simply because it's cheaper?
<walters> yep
<dustymabe> meh
<dustymabe> I illustrated in the ticket that our actual usage (cost) for tests is very minimal since we get charged by the second and the instances are up for short periods of time.
<dustymabe> I'd much rather spend our time chasing something else (like enabling aarch64 for azure and gcp) than trying to figure out how to use spot instances.
<walters> yeah
<dustymabe> if we're concerned about cost I'd also argue that we should pursue actually implementing our Garbage Collection initiative
<walters> also true
<dustymabe> since there is probably a bunch of storage we could prune as part of that
<dustymabe> +1
<dustymabe> regarding your proposal for an instance type abstraction in cosa.. I'm not fully opposed, I just would like to understand the value and weigh the maintenance cost of it.
<walters> but I wrote the PR since I used it for getting a small instance type in qemu conveniently, it's nearly risk free and has no user impact. GC is not that
<dustymabe> I know the code is easy to write, but is the abstraction helpful over time? i.e. having more than one way to do something can be unhelpful at times
<walters> I guess I don't really care enough to champion it that much, if you don't like it, feel free to close
<jlebon> i don't see it so much in terms of cost, but more just efficiently using resources
<dustymabe> jlebon: you mean spot instances? or what?
<jlebon> and also it'd be nice to know if our tests no longer fit in e.g. a nano or whatever baseline we land on
<jlebon> i mean using a smaller instance type by default
<dustymabe> jlebon: but now you're talking about cloud again?
<dustymabe> and not qemu tests?
<jlebon> yeah, cloud instances
<dustymabe> but that's not what this PR is really
<dustymabe> well - maybe I don't understand
<jlebon> i think you're right, but it sounds like the implication is that our default AWS instance type is overkill
<walters> or we could leave it open, but deferred. In terms of things I do want to get in, https://github.com/coreos/coreos-assembler/pull/3128 is still there
<dustymabe> IIUC this PR adds an instance type abstraction to cosa and the current implementation just makes it so you can specify an instance type for qemu instances (for tests or cosa run invocations)
<dustymabe> if we extend that to the cloud tests now we have to convert between the bespoke instance types names that we defined with the instance types available in the cloud and map them
<jlebon> right, that's where my minMemory suggestion comes in :)
<dustymabe> and all of it really boils back down into how much memory and CPU you really need (for the most part, I guess you could bundle it with disk size)
<dustymabe> for which we already have knobs for, right?
<jlebon> yup. they only work on QEMU currently. i'm arguing for making them work in other clouds, and then we could lower the baseline
<bgilbert> just looking at this
<bgilbert> I'm not strongly opposed, but I am concerned that the instance type names are pretty opaque
<walters> I just closed it
<bgilbert> also, I can imagine someone trying to change the name -> size mappings later, and not being clear what the actual dependencies are on them
<jlebon> dustymabe: to be clear, i agree it's not really super high priority
<jlebon> bgilbert: yeah, i'd rather stick with the explicit minMemory knob (and disk size, and... we don't have one for ncpus yet, but could)
<bgilbert> I used spot instances for some Buildbot-based CI years ago. there were some nice cost savings, but it sometimes added a few minutes of startup delay/weird flakes
<bgilbert> haven't tried it in 5+ years though
<dustymabe> walters: ha, sorry. I wasn't trying to kill it per-se, but was interested in the discussion about usefullness (i.e. maybe there was something I was missing)
<walters> It's not worth the 4 senior engineer bikeshedding time
<walters> So let's move on
<bgilbert> 🚲
<dustymabe> ok cool. maybe we can get around to seriously considering https://github.com/coreos/coreos-assembler/pull/3128 soon too
<dustymabe> thanks for the discussion walters jlebon bgilbert
* dustymabe has to head out - hope everyone has a great rest of your day/night!
<jlebon> see ya!
<dustymabe> jlebon: based on https://bugzilla.redhat.com/show_bug.cgi?id=2006063 I just noticed in the current running `testing-devel` build:
<dustymabe> [2023-01-05T22:12:10.082Z] Removed:
<dustymabe> [2023-01-05T22:12:10.082Z] cracklib-dicts-2.9.7-30.fc37.x86_64
<dustymabe> 🎉
<jlebon> dustymabe: cool! had seen it for rawhide this morning but not yet testing-devel
daMaestro has quit [Quit: Leaving]
c4rt0 has quit [Ping timeout: 246 seconds]
daMaestro has joined #fedora-coreos
bgilbert has quit [Ping timeout: 260 seconds]