!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
13 Aug 2023
@void68:matrix.orgvoid *

i just need something like


nixos-rebuild switch; 
sleep 5; 
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback;  fi;
23:07:27
@void68:matrix.orgvoidcolmena will ssh touch /tmp/done_switching; 23:17:20
@void68:matrix.orgvoid * colmena will ssh touch /tmp/done_switching; for instance in the test section. 23:18:26
@void68:matrix.orgvoidthis will save me from pretty much all the mistakes I make (too hot here 33 deg cel during the day, can't concentrate sometimes)23:19:25
@whentze:matrix.orgWanja Hentzeyep, it's quite low-tech23:53:04
@whentze:matrix.orgWanja Hentzecan be built out of an activation script and a "post-apply" script on colmena's end23:53:30
15 Aug 2023
@cafkafk:nixos.devChristina Sørensen changed their profile picture.14:57:57
@10leej:matrix.org@10leej:matrix.org left the room.19:34:24
16 Aug 2023
@jeff:ocjtech.usJeff
In reply to @winterqt:nixos.dev
issue is i can reproduce it consistently, and it only happens when using it via Colmena :/
I've been seeing the same thing with Colmena recently, trying to re-use the master socket just hangs. The only thing that fixes it is if the master socket gets closed, either explicity, though a timeout, or if the remote system reboots.
00:19:49
@jeff:ocjtech.usJeffOnly happens with Colmena, never have a problem with the ssh client.00:22:21
@jeff:ocjtech.usJeffI wonder if the recent update of openssh to 9.3p2 or 9.4p1 is part of the problem.01:35:20
@zhaofeng:zhaofeng.liZhaofeng LiQuickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/832905:14:50
@zhaofeng:zhaofeng.liZhaofeng LiI'll try to reproduce with nix-copy-closure on an older Nix version tomorrow. Should have looked earlier when I first encountered the problem myself 😐05:16:33
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name left the room.09:44:29
@lab-cat:ag-link.xyz@lab-cat:ag-link.xyz joined the room.10:02:58
@jeff:ocjtech.usJeff
In reply to @zhaofeng:zhaofeng.li
Quickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/8329
Looks like this is fixed in Nix 2.16 but that will take some time to roll out. A workaround would be a way to disable ControlMaster for Colmena/Nix connections but I don't know how you'd accomplish that.
14:47:49
17 Aug 2023
@void68:matrix.orgvoidso what to do in the meanwhile?13:16:36
@void68:matrix.orgvoidany ideas, in the master openssh is update but nix is still 2.1713:16:50
@void68:matrix.orgvoid
 nix_2_17 = common {                                                                                                                                                                                                                          
    version = "2.17.0";                                                                                                                                                                                                                        
    hash = "sha256-QMYAkdtU+g9HlZKtoJ+AI6TbWzzovKGnPZJHfZdclc8=";                                                                                                                                                                              
  };  
13:17:07
@void68:matrix.orgvoidmaybe I can manually add the balsoft patch to nix13:17:34
@void68:matrix.orgvoid * maybe I can manually apply the balsoft patch to nix13:22:28
@void68:matrix.orgvoid * any ideas, in the master openssh is updated but nix is still 2.1717:54:38
@jeff:ocjtech.usJeffif i get bored i'll probably change all my deployment.targetHost entries to add a unique prefix and the change my ssh config to add an entry to strip off the prefix and turn off the ControlMaster20:36:58
@jeff:ocjtech.usJeffa bit of a hack but i think that it should work20:37:10
18 Aug 2023
@sfkvso:matrix.org@sfkvso:matrix.org joined the room.13:19:54
@beect:matrix.org@beect:matrix.org left the room.13:55:48
@test-user:c.imperishable.namerendakuenthusiast⚡️ joined the room.20:06:14
@test-user:c.imperishable.namerendakuenthusiast⚡️is this matrix room deliberately not in the nix matrix space, or is my client messed up?20:07:15
@sumner:nevarro.space@sumner:nevarro.space
In reply to @test-user:c.imperishable.name
is this matrix room deliberately not in the nix matrix space, or is my client messed up?
are you in #community-rooms:nixos.org ?
20:35:08
@sumner:nevarro.space@sumner:nevarro.space
In reply to @test-user:c.imperishable.name
is this matrix room deliberately not in the nix matrix space, or is my client messed up?
* are you in the #community-rooms:nixos.org subspace ?
20:35:14

Show newer messages


Back to Room ListRoom Version: 6