!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

299 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena104 Servers

Load older messages


SenderMessageTime
19 Dec 2023
@the_observer:fairydust.space@the_observer:fairydust.space left the room.10:34:24
20 Dec 2023
@julian:nekover.se@julian:nekover.se changed their display name from June to June 📞 5863.23:31:29
21 Dec 2023
@julian:nekover.se@julian:nekover.se changed their display name from June 📞 5863 to June.14:13:55
22 Dec 2023
@sylvie:karp.lolSylvie (she) ⚡️ joined the room.06:58:40
23 Dec 2023
@julian:nekover.se@julian:nekover.se changed their display name from June to June 📞 5863.01:55:58
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:21:50
24 Dec 2023
@tammi:greyseal.euTammi (ey/em) changed their display name from Tammi (she/ey) to Tammi (ey/em).14:03:45
@tammi:greyseal.euTammi (ey/em) changed their profile picture.14:03:51
25 Dec 2023
@lab-cat:ag-link.xyz@lab-cat:ag-link.xyz changed their display name from lab-cat to lab-cat (DECT 3655).00:02:48
26 Dec 2023
@tommy:datenkollektiv.netTommy changed their display name from Tommy to Tommy (DECT 2903).18:06:26
@tommy:datenkollektiv.netTommy changed their display name from Tommy (DECT 2903) to Tommy (☎️ 2903).18:38:51
29 Dec 2023
@tammi:greyseal.euTammi (ey/em) changed their profile picture.09:39:14
30 Dec 2023
@cw:kernelpanic.cafeChinchilla WashingtonIs there a way to deploy via a jump box?03:34:09
@cw:kernelpanic.cafeChinchilla Washington (that is the -j flag in ssh 03:34:26
@cw:kernelpanic.cafeChinchilla Washington * (that is the -J flag in ssh 03:34:42
@cw:kernelpanic.cafeChinchilla Washington

I tried port forwarding, but for some reason I can't ssh to localhost. It's odd.

❯ ssh localhost:1122
ssh: Could not resolve hostname localhost:1122: Name or service not known

❯ ssh 127.0.0.1:1122
ssh: Could not resolve hostname 127.0.0.1:1122: Name or service not known
03:36:23
@cw:kernelpanic.cafeChinchilla Washington * (that is the -J flag in ssh) 03:36:43
@cw:kernelpanic.cafeChinchilla Washington okay $NIX_SSHOPTS works for nix-copy-closure but it seems colmena doesn't listen to it? 03:56:52
@philipp:woelfel.ca@philipp:woelfel.ca left the room.05:46:24
@happyalu:matrix.org@happyalu:matrix.org left the room.10:09:57
@ibizaman:matrix.orgibizaman chinchilla optional I would put all that in your ssh config file. This usually always works vs. environment variables. Can you post your exact ssh command?  15:52:20
@hexa:lossy.networkhexassh -p 1122 -J localhost16:12:25
@hexa:lossy.networkhexa * ssh -p 1122 localhost16:12:34
@cw:kernelpanic.cafeChinchilla Washington
In reply to @ibizaman:matrix.org
chinchilla optional I would put all that in your ssh config file. This usually always works vs. environment variables. Can you post your exact ssh command? 
Yes that was my workaround.
16:42:04
@cw:kernelpanic.cafeChinchilla Washington ssh -L "1122:[ipv6:add:ress:goes:here]:22" foobar.com was the port forwarding command 16:44:34
@ibizaman:matrix.orgibizaman TIL a few days ago, you can have your ssh config file anywhere and use the -F option to specify the config file. ssh -F <path/to/config> ....
I used that recently to simplify some gnarly ssh commands in a project I have https://github.com/ibizaman/selfhostblocks/blob/main/demo/nextcloud/ssh_config
18:05:40
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius.19:52:15
@tommy:datenkollektiv.netTommy changed their display name from Tommy (☎️ 2903) to Tommy.23:29:32
31 Dec 2023
@hexa:lossy.networkhexa
❯ colmena build -v --show-trace
[INFO ] Using configuration: /home/hexa/git/chaos/infra-nix/hive.nix
[INFO ] Enumerating nodes...
error:
       … while evaluating attribute 'archive.darmstadt.ccc.de'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:560:14:

          559|     value:
          560|     { inherit name value; };
             |              ^
          561|

       … while calling anonymous lambda

         at /run/user/1000/colmena-assets-LXWf6W/eval.nix:188:39:

          187|   toplevel =         lib.mapAttrs (_: v: v.config.system.build.toplevel) nodes;
          188|   deploymentConfig = lib.mapAttrs (_: v: v.config.deployment)            nodes;
             |                                       ^
          189|   deploymentConfigSelected = names: lib.filterAttrs (name: _: elem name names) deploymentConfig;

       … while calling 'g'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:701:19:

          700|           g =
          701|             name: value:
             |                   ^
          702|             if isAttrs value && cond value

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:704:20:

          703|               then recurse (path ++ [name]) value
          704|               else f (path ++ [name]) value;
             |                    ^
          705|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `_module.freeformType':

       … while calling anonymous lambda

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:19:

          537|     mergeModules' prefix modules
          538|       (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
             |                   ^
          539|

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:73:

          537|     mergeModules' prefix modules
          538|       (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
             |                                                                         ^
          539|

       … while calling 'pushDownProperties'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:874:24:

          873|   */
          874|   pushDownProperties = cfg:
             |                        ^
          875|     if cfg._type or "" == "merge" then

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/nixos/lib/eval-config.nix:50:8:

           49|     config = lib.mkMerge (
           50|       (optional (system != null) {
             |        ^
           51|         # Explicit `nixpkgs.system` or `nixpkgs.localSystem` should override

       … while calling 'optional'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/lists.nix:359:20:

          358|   */
          359|   optional = cond: elem: if cond then [elem] else [];
             |                    ^
          360|

       error: attribute 'system' missing

       at /run/user/1000/colmena-assets-LXWf6W/eval.nix:143:18:

          142|     };
          143|   in evalConfig {
             |                  ^
          144|     inherit (npkgs) system;
       Did you mean one of mystem, systemc, systemd, syntex or systemfd?
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace
01:36:54
@hexa:lossy.networkhexafailing eval for some reason01:37:02

Show newer messages


Back to Room ListRoom Version: 6