samueldr changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/
blumenkranz has joined #nixops
<blumenkranz> Hello. I'm having trouble setting up a nixops libvirt instance. Basically, if I install anything newer than NixOS 19.09, I get the dreaded "cannot figure username" error, and if I install anything older than 19.09, postgres is unable to start due to something similar to https://github.com/NixOS/nixpkgs/issues/65556
<{^_^}> #65556 (by pasqui23, 35 weeks ago, closed): postgresql service fail to start
<blumenkranz> Any ideas on how to get this VM running?
blumenkranz has quit [Remote host closed the connection]
<gchristensen> johnny101: https://github.com/packethost/packet-python/pull/80 pulling out the public shame just a smidge :P
<{^_^}> packethost/packet-python#80 (by grahamc, 18 seconds ago, open): project ssh keys: work around 404 bug
<johnny101> gchristensen: Nice :) I like how this patch gets "hack" and "gnarly" adjectives applied to it. It's incentivized mmlb to push internally to get the API fixed now too! :).
<gchristensen> hopefully :)
<gchristensen> okay I don't like libvirt now
<gchristensen> it seemed super promising, but no longer
<lordcirth> gchristensen, why is that?
<gchristensen> I can't get it to work
<lordcirth> In what way? On x86_64?
<gchristensen> it runs out of space for some reason
<gchristensen> maybe I just don't grok it?
<lordcirth> Where does it want space?
<gchristensen> no idea
<gchristensen> libvirt.libvirtError: cannot write to stream: No space left on device
<lordcirth> /var/lib/libvirt is the default on Ubuntu
<gchristensen> yeah, which has loads of space
<lordcirth> It might be trying to write somewhere that NixOS won't let it
<gchristensen> any tips on debugging?
<lordcirth> Like, I had a problem with wpa_supplicant trying to touch a config file in the nix store
<lordcirth> strace?
<lordcirth> And look for the ENOSPC
<gchristensen> strace libvirt? yeah I suppose so
<gchristensen> though I am more likely to move on to the next plugin and let this for someone who actuallyuses / knows about libvirt :/
<johnny101> gchristensen: I had a similar error with amazon-image.nix, where my image was to big to write to the default image size, fixed by increasing amazonImage.sizeMB.
<johnny101> gchristensen: Does your libvirt use/implementation have a similar param you can adjust up?
<gchristensen> hmm not sure, I don't know
<gchristensen> I was just testing the plugin to see if it worked with python3 :P
blumenkranz has joined #nixops
<gchristensen> aminechikhaoui: you use nixops-datadog right?
<aminechikhaoui> yeah we're still on the last release of nixops at work and we use Datadog resources. Although OPS are working on moving to something else :/ so maybe not in the future
<gchristensen> okay
<gchristensen> it is important we don't break you :P
<aminechikhaoui> well we'll have to do some work to upgrade anyway :) I expect Datadog to be the easiest compared to say GCP backend
<aminechikhaoui> but if you're going to update it feel free :)
<gchristensen> gcb?
<gchristensen> gcp*
<gchristensen> we have one ? :P
<aminechikhaoui> Yeah still under my user :D
<gchristensen> oh cool
<aminechikhaoui> Nixops-gce
<aminechikhaoui> As it wasn't tested during plugin split
<gchristensen> ack
<aminechikhaoui> But a coworker did some tests and a PR recently
<gchristensen> nice
<gchristensen> so I think almost every plugin has a PR to go to poetry2nix and it was pretty easy
<gchristensen> aminechikhaoui: I think I'm going to merge #1256
<{^_^}> https://github.com/NixOS/nixpkgs/pull/1256 (by tomberek, 6 years ago, merged): Add hdevtools
<gchristensen> aminechikhaoui: I think I'm going to merge nixops#1256
<{^_^}> https://github.com/NixOS/nixops/pull/1256 (by adisbladis, 2 weeks ago, open): RFC: Use Poetry & Poetry2nix for environment and plugin management
<aminechikhaoui> gchristensen sounds good
<gchristensen> cool :)