!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

You have reached the beginning of time (for this room).


SenderMessageTime
12 Oct 2022
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @ronixx:matrix.org
why this is asking for password ? i have enabled password in vm only using ssh
oooh i sent wrong message i wanted to say im not using password login in my vm
03:47:09
@ronixx:matrix.orgroshan | byteio.in 🌷Only ssh im using then how can i check ?03:47:45
@ronixx:matrix.orgroshan | byteio.in 🌷 * Only ssh im using then how can i check then ?05:15:57
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.namehttps://www.tweag.io/blog/2022-10-11-stable-narhashes/ <- is there a way to do this with colmena?05:24:27
@whentze:matrix.orgWanja Hentze
In reply to @rendakuenthusiast:imperishable.name
https://www.tweag.io/blog/2022-10-11-stable-narhashes/ <- is there a way to do this with colmena?
Hey, yes there is, but we kind of bolted it on top :D
08:03:31
@whentze:matrix.orgWanja Hentze(I'm from bevuta, tweag built the thing in the blog with/for us)08:03:58
@whentze:matrix.orgWanja Hentze

Very roughly what you can do is:

  • colmena build --keep-result
  • for each node you just built, ask the real node what its system nar hash is
  • now compare those hashes to what you built
08:06:52
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.org left the room.08:06:56
@whentze:matrix.orgWanja Hentze if one were to build this into colmena (e.g. as a colmena plan subcommand - name cribbed shamelessly from terraform) it could probably perform better 08:08:09
@v:meowy.tech@v:meowy.tech
In reply to @whentze:matrix.org
if one were to build this into colmena (e.g. as a colmena plan subcommand - name cribbed shamelessly from terraform) it could probably perform better
It would also be cool if such a command could then be integrated with something like nix-diff to show what changes between derivations
08:10:24
@whentze:matrix.orgWanja Hentzeyep :) that's towards the end of the article08:10:40
@whentze:matrix.orgWanja Hentze we don't have that yet, but we have a somewhat decent substitute in colmena apply dry-activate; doesn't tell you the actual diff, but tells you what would get restarted etc. 08:11:30
@whentze:matrix.orgWanja Hentze plain nix-diff on entire system derivations tends to be to noisy, the information content is often not any better 08:16:21
@whentze:matrix.orgWanja Hentze * plain nix-diff on entire system derivations tends to be to noisy, the information content is often not any better than "yes change/no change" 08:16:29
@whentze:matrix.orgWanja Hentze * plain nix-diff on entire system derivations tends to be too noisy, the information content is often not any better than "yes change/no change" 08:31:38
13 Oct 2022
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @ronixx:matrix.org
oooh i sent wrong message i wanted to say im not using password login in my vm
Zhaofeng Li:
03:31:23
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @ronixx:matrix.org
Zhaofeng Li:
Then you need to set a password for root
04:18:31
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name
In reply to @whentze:matrix.org
if one were to build this into colmena (e.g. as a colmena plan subcommand - name cribbed shamelessly from terraform) it could probably perform better
yeah this would be very useful
04:38:03
14 Oct 2022
@ronixx:matrix.orgroshan | byteio.in 🌷image.png
Download image.png
02:14:31
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @ronixx:matrix.org
After deploying my services through colmena after 24-30 hours my server don't respond anything ( everything get stopped ) even i m unable to ssh to it but server is in running state
context
02:14:59
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @ronixx:matrix.org
sent an image.
able to connect shell via Oracle Cloud Shell but direct ssh is not working
02:20:28
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @ronixx:matrix.org
sent an image.
*

able to connect shell via Oracle Cloud Shell but direct ssh is not working

and websites are hosted on server also showing down but containers are running fine

02:21:36
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @ronixx:matrix.org

able to connect shell via Oracle Cloud Shell but direct ssh is not working

and websites are hosted on server also showing down but containers are running fine

You need to see what's going on via the serial console. Try looking at the network configs, firewall, and stuff.
02:35:31

Show newer messages


Back to Room ListRoom Version: 6