gchristensen changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/ https://meet.jit.si/NixOpsReview
teto1 has quit [Ping timeout: 258 seconds]
fatjedi has joined #nixops
fatjedi has left #nixops [#nixops]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixops
meh` has quit [Ping timeout: 246 seconds]
cole-h has quit [Quit: Goodbye]
bhipple has quit [Remote host closed the connection]
teto1 has joined #nixops
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixops
teto has quit [Quit: WeeChat 2.8]
teto has joined #nixops
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixops
meh` has joined #nixops
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixops
ixxie has joined #nixops
johnny101m has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixops
<ixxie> DigitalKiwi: I'm back now :D
<ixxie> gchristensen: you around perchance?
<adisbladis> ixxie: I'm around and can help
<ixxie> great adisbladis!
<ixxie> I have a log of my efforts, but you can start from the bottom: https://gist.github.com/ixxie/36c3830e931bcf8e03f86f893f79bf99
<ixxie> the issue I am facing is similar to something DigitalKiwi mentioned the other day
<ixxie> and I am not sure how to go about debugging it
<adisbladis> ixxie: Could you run `nixops --pdb ...` and see what the value of config_type is ?
<ixxie> adisbladis: 'ResourceOptions'
<ixxie> adisbladis: type(config_type) == str
cole-h has joined #nixops
<adisbladis> Hm
<adisbladis> I remember seeing this before
<adisbladis> Together with Tewfik I think
<ixxie> adisbladis: I'm having trouble figuring out of the issue is with the plugin or something else
<ixxie> adisbladis: https://logs.nix.samueldr.com/nixops/2020-07-05 DigitalKiwi also ran into it
<adisbladis> ixxie: I'm finishing something. I will take a more in-depth look in a moment.
<DigitalKiwi> ixxie: !
<DigitalKiwi> ixxie: i been working on it
<ixxie> DigitalKiwi: oh?
<ixxie> DigitalKiwi: me too :D
<ixxie> DigitalKiwi: did you keep an eye on my branch?
<DigitalKiwi> mostly been stuck getting told things are not things they are :(
<ixxie> DigitalKiwi: I type hinted most of droplet.py
<DigitalKiwi> authToken, region, size, enableIpv6 i guess are Optional[str]
<ixxie> DigitalKiwi: yes, well it seems like everything needed to be optional, although I am not sure that is correct
<ixxie> DigitalKiwi: and here is actually a critical note about the new nested Options structure: https://gist.github.com/ixxie/36c3830e931bcf8e03f86f893f79bf99#property-type-error
<ixxie> it seems I face a similar problem you face, the issubclass thingy
<DigitalKiwi> i get really discouraged when i start seeing stacktraces that don't mention any of my code :|
<ixxie> yeah honestly the Python stack trace is kinda crappy
<ixxie> and I haven't so far figured out how to leverage mypy to help me debug
<ixxie> DigitalKiwi: hmm... maybe we should have a shared branch on your repo where we can merge our work?
<ixxie> DigitalKiwi: what are you doing anyway?
teto has quit [Quit: WeeChat 2.8]
<DigitalKiwi> right now i'm about to go level a pool...
<ixxie> adisbladis: I'm heading out now, I'll be on a ship
<ixxie> adisbladis: may have internet, may not, unsure yet
<ixxie> adisbladis: you can just reply in this channel and I will check the logs :D
<DigitalKiwi> this is going to be ixxie in a few hours https://www.youtube.com/watch?v=avaSdC0QOUM
ixxie has quit [Ping timeout: 264 seconds]
ixxie has joined #nixops
cole-h has quit [Quit: Goodbye]
<ixxie> yo
<ixxie> looks like the ship has decent wifi :D
<ixxie> your youtube video isn't working for some reason DigitalKiwi
<ixxie> adisbladis: did you have a chance to check this out?
tewfik has joined #nixops
meh` has quit [Ping timeout: 258 seconds]
ixxie_ has joined #nixops
ixxie has quit [Ping timeout: 260 seconds]
tewfik has quit [Ping timeout: 272 seconds]
ixxie_ has quit [Ping timeout: 258 seconds]
ixxie has joined #nixops
<DigitalKiwi> ixxie probably region locked. It's I'm on a Boat by The Lonely Island
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixops
ixxie has quit [Ping timeout: 256 seconds]
tewfik has joined #nixops
<tewfik> ixxie : I think that's because you have not defined the
<tewfik> *sshKeyPairs* resource
<tewfik> If you comment out "#resources.sshKeyPairs.ssh-key = {};", the evaluation is successful
tewfik has quit [Ping timeout: 258 seconds]
ixxie has joined #nixops
teto1 has quit [Ping timeout: 256 seconds]
<ixxie> anyone around?
<ixxie> tewfik's explanation seems implausable to me
<DigitalKiwi> i'm around
<DigitalKiwi> 15:52 ixxie: DigitalKiwi: hmm... maybe we should have a shared branch on your repo where we can merge our work?
<DigitalKiwi> yeah i was kind of thinking about making one
<DigitalKiwi> i think we did some of the same things :D
<DigitalKiwi> which makes me happy that i was on the same track >.>
<ixxie> hey DigitalKiwi :)
<robodojo> any plans to expand support from just "AWS, Hetzner, and GCE"? hard to justify picking a tool that has a limited/proprietary application
<robodojo> it'd be great if it could work for any infra
<gchristensen> what do you consider "any"?
<gchristensen> it can deploy to any server as long as you can already SSH in
<DigitalKiwi> there are plans to make it work with digital ocean
<ixxie> robodojo: its extensible, and there are other providers supported, although the question is how up to date and well maintained are these extensions
<robodojo> gchristensen that's great then. "Multi Cloud Support: Currently supports deployments to AWS, Hetzner, and GCE" on the repo gave a different impression
<robodojo> if it can work against sets of machines that have ssh access that's good enough. i can just make custom isos and use those to deploy machines then nixops to config
<robodojo> thanks
<DigitalKiwi> yeah the support for those cloud services is more that it can configure the additional things they support as well as provisionining etc.
<DigitalKiwi> like dns, volume management
<DigitalKiwi> floating ips...
<DigitalKiwi> ohhh graham we have questions
cole-h has joined #nixops
<ixxie> :P
<DigitalKiwi> should the targetEnv be droplet or digitalOcean (keeping in mind there are more than just droplets, also volumes, floating IPs, dns records)
<DigitalKiwi> i think originally it was digitalOcean
<DigitalKiwi> that's you gchristensen
<DigitalKiwi> ya know with how often i just call you graham if you don't have it ping you already you should :P
<ixxie> based on the AWS plugin and GCE plugin I tend to think these reflect assets within the cloud providers and should reflect the names of of the assets and not the cloud provider
<ixxie> but I think the part I am confused about is the namespacing of all these resources
<ixxie> when I asked Graham previously, I think he hinted at the need for a wider discussion about it than just us
<ixxie> adisbladis: are you around?
<DigitalKiwi> other targetEnvs i see are libvirtd, hetzner, ec2, gce, and virtualbox
<ixxie> gchristensen: I guess this back and forth with the time difference isn't working well; I suggest we try and make a meeting to sort this out quickly and efficiently.
<ixxie> gchristensen: I don't wanna harasss you for weeks :D
<DigitalKiwi> i do
teto1 has joined #nixops
teto1 has quit [Quit: WeeChat 2.8]
kalbasit has quit []
kalbasit has joined #nixops
<DigitalKiwi> 23:36:20 [kiwi@mvp-nixos nixops-digitalocean]$ nix-shell -I nixpkgs=channel:nixpkgs-unstable
<DigitalKiwi> error: value is null while a set was expected, at /nix/store/psfg2qlvdpnyb4w333l2j27aprqdq5zf-nixexprs.tar.xz/pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix:891:29
<DigitalKiwi> (use '--show-trace' to show detailed location information)
<DigitalKiwi> same with nixos-unstable
<DigitalKiwi> works with channel:nixos-20.03
kalbasit has quit [Client Quit]
<DigitalKiwi> and if i change the python ^3.8 in the pyproject.toml nixos-unstable works but then i get problems on nixos-20.03...
kalbasit has joined #nixops