Sender | Message | Time |
---|---|---|
19 Feb 2025 | ||
Looks like you need enable = config.roles ? etcd; since on the non-etcd hosts, config.roles will be an attrset that does not contain an etcd key, so you can't get the value of that key. Another option would be to ensure that roles always contains every possible role, but set to false for the roles this host doesn't have. | 20:18:22 | |
well I thought I did exactly that through its default value | 20:19:22 | |
| 20:20:05 | |
that's OK, I'll switch to a single role per box | 20:22:35 | |
perfect :) | 20:37:06 | |
Redacted or Malformed Event | 20:43:00 | |
* I'm trying to make nix run .#deploy args... run the colmena version as imported, can't find how to access the binary to put in a pkgs.writeShellScriptBin though | 20:43:20 | |
Ah; the assignment overrides the default value instead of being merged with it, you need types.submodule with each role having its own default to do that. | 20:48:17 | |
From the cheap seats: Why not use an array of enum type? The kubernetes pkgs does it and makes it clean to check Roles = [ “bastion” “etc” ]; for example | 20:50:11 | |
maybe I should ask for what I'm actually after: how can I run colmena unstable? | 20:56:44 | |
* maybe I should ask for what I'm actually after: how can I run colmena unstable, ideally through instructions in my flake? | 21:02:01 | |
* maybe I should ask for what I'm actually after: how can I run colmena unstable, ideally through instructions in my flake? (I was hoping to expose a wrapper à la nix run .#c ) | 21:02:23 | |
| 21:08:47 | |
*
fails with:
| 21:09:14 | |
20 Feb 2025 | ||
This looks like the correct approach to me, but it seems that the build is broken with the versions you have pinned. Maybe nix flake update ? | 13:44:38 | |
24 Feb 2025 | ||
22:37:07 | ||
25 Feb 2025 | ||
15:11:53 | ||
26 Feb 2025 | ||
Is it normal for node enumeration to take tens of seconds and evaluations to take ~3 mins for about 10 nodes? | 19:25:36 | |
* Is it normal for node enumeration to take tens of seconds and evaluations to take ~3 mins for about 10 nodes? running unstable from a few days ago | 19:26:06 | |
* how can I run colmena unstable, ideally through instructions in my flake? (I was hoping to expose a wrapper à la nix run .#c ) | 19:26:31 | |
* Is it normal for node enumeration to take tens of seconds for less than 30 nodes and for evaluations to take ~3 mins for about 10 nodes? running unstable from a few days ago | 19:26:57 | |
* Is it normal for node enumeration to take tens of seconds for less than 30 nodes and for evaluations to take ~3 mins for about 10 nodes? most builds+deploys are really fast in comparison. running unstable from a few days ago. | 19:27:18 | |
I've found that the heuristic for --node-eval-limit is too optimistic and so my machine swaps like crazy during evaluation if I forget to lower it. With a reasonable value, I see about 30s eval time for 10 nodes. | 19:40:17 | |
no swapping AFAICT (I do have 96GB of RAM) | 19:41:43 | |
well, then... if you only have 30 nodes, that's no problem (the heuristic limit will be 190) | 20:29:00 | |
27 Feb 2025 | ||
08:24:02 | ||
22:21:08 | ||
3 Mar 2025 | ||
16:03:11 | ||
4 Mar 2025 | ||
20:23:22 | ||
5 Mar 2025 | ||
23:02:45 |