!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
18 Apr 2023
@pinpox:matrix.orgpinpox changed their display name from !bing to pinpox.06:03:30
@dantefromhell:matrix.orgdantefromhell

How can I troubleshooting connection issue during the Waiting for reboot phase when applying changes with colmena apply switch --verbose --reboot?

the machine in question (raspberry pi) has successfully rebooted - I can SSH into it.

08:10:10
@cw:kernelpanic.cafeChinchilla Wetreat changed their display name from Chinchilla Optimal to not-chinchilla-optimal.08:26:33
@yuka:yuka.dev@yuka:yuka.dev

Hi,

I'm running the following command

colmena build --nix-option builders "ssh-ng://... x86_64-linux - 16 16" --nix-option max-jobs 0 --nix-option builders-use-substitutes true

but everything is being built locally. what am I doing wrong?

10:29:56
@yuka:yuka.dev@yuka:yuka.dev (on 0.4.0-pre, 0.3.2 does not have --nix-option) 10:31:10
@raphi:tapesoftware.netraphi hm, colmena build --nix-option max-jobs 0 is enough to reproduce this for me - it should always fail, but it does start building stuff 11:03:45
@raphi:tapesoftware.netraphiimage.png
Download image.png
11:07:36
@raphi:tapesoftware.netraphithe option doesn't seem to get propagated to nix-store11:07:45
19 Apr 2023
@cw:kernelpanic.cafeChinchilla Wetreat changed their display name from not-chinchilla-optimal to chinchilla optional.00:18:41
@void68:matrix.orgvoidis there a way to invoke deployment.privilegeEscalationCommand in interactive mode?01:03:04
@void68:matrix.orgvoidmorph used ask-pass I guess but in colmena I can't seem to achieve with sudo in the docs.01:03:28
@void68:matrix.orgvoid * morph used ask-pass I guess but in colmena I can't seem to achieve with the sudo in the docs.01:03:32
@void68:matrix.orgvoid
[void@fermat:~/flakes]$ colmena build --on @x86                                                                                                                                                                                                
warning: Git tree '/home/void/flakes' is dirty                                                                                                                                                                                                 
[INFO ] Using flake: git+file:///home/void/flakes                                                                                                                                                                                              
[INFO ] Enumerating nodes...                                                                                                                                                                                                                   
[INFO ] Selected 7 out of 8 hosts.                                                                                                                                                                                                             
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
     ```
01:03:55
@void68:matrix.orgvoidalso in emasc shell without -v it is no fun.01:04:06
@void68:matrix.orgvoid *
$ colmena build --on @x86                                                                                                                                                                                                
warning: Git tree '/home/void/flakes' is dirty                                                                                                                                                                                                 
[INFO ] Using flake: git+file:///home/void/flakes                                                                                                                                                                                              
[INFO ] Enumerating nodes...                                                                                                                                                                                                                   
[INFO ] Selected 7 out of 8 hosts.                                                                                                                                                                                                             
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
     ```
01:04:16
@void68:matrix.orgvoidkinda scrolling ascii art ;P01:04:30
@void68:matrix.orgvoid *
$ colmena build --on @x86                                                                                                                                                                                                                              
[INFO ] Enumerating nodes...                                                                                                                                                                                                                   
[INFO ] Selected 7 out of 8 hosts.                                                                                                                                                                                                             
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s                                                                                                                                                                                                                                   
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕐 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕑 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
       🕒 0s 1 running                                                                                                                                                                                                                         
     ```
01:04:49
@void68:matrix.orgvoid * also in emacs shell without -v it is no fun.01:05:09
@void68:matrix.orgvoid
                                                                                                                                                                    
su: must be run from a terminal                                                                                                                                                                                                        
 Key upload failed: Child process exited with error code: 1       
01:15:01
@void68:matrix.orgvoidI get this one with ["su" "-"];01:15:15
@void68:matrix.orgvoid
                                                                                                                                                                                  
 | sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper                                                                                                 
 | sudo: a password is required                                                                                                                                                                                                           
 | Key upload failed: Child process exited with error code: 1                                                                                                                                                                             
      | Failed: Child process exited with error code: 1      
01:18:17
@void68:matrix.orgvoidthis one with sudo -H --01:18:22
@void68:matrix.orgvoid Zhaofeng Li: any ideas? ^^^ 09:05:46
22 Apr 2023
@n0emis:noemis.men0emis changed their display name from n0emis to ember.22:24:55
23 Apr 2023
@thornavery:matrix.orgthornAvery joined the room.06:22:11
@thornavery:matrix.orgthornAvery

Hello, im trying to import my configuration into colmena, and Im getting the following when running "colmena build", the same configuration builds when i lib.nixosSystem it and "nixos-rebuild build" it.

 error: You're trying to define a value of type `string'
       rather than an attribute set for the option
       `system'!

       This usually happens if `system' has option
       definitions inside that are not matched. Please check how to properly define
       this option by e.g. referring to `man 5 configuration.nix'!

the stack trace is showing its happening in my configurations deployments attrset, but I dont really know enough information to go debugging from there. Is this some meta option I havent set properly?

06:31:02
@thornavery:matrix.orgthornAvery(Please ignore I rubberducked myself out of it by sending this message, I had some stray configs in the wrong level)06:35:20
@blaggacao:matrix.orgDavid Arnold (blaggacao)

Hey! I know there have been ideas to generalize the activation package so that colmena can be a wrapper to any activation sequence (e.g. Home Manager, NixOS, Liminix).

I now have another candidate, for which I'd be glad to make colmena my go-to tool: Mikrotik Routers managed with Nix

17:15:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)Can a knowledgeable member point me to the current state of discussion / design thinking on this topic/generic feature?17:16:26
26 Apr 2023
@errisnotnil:matrix.orgYuddite G changed their display name from Yuddite Pilot to Yuddite Groyper.04:49:25

Show newer messages


Back to Room ListRoom Version: 6