!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
12 Oct 2022
@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
@ronixx:matrix.orgroshan | byteio.in 🌷this is my config https://yaso.su/UDwGxzpq03:54:42
@ronixx:matrix.orgroshan | byteio.in 🌷i have open ports from Oracle Account for instance.03:55:10
@ronixx:matrix.orgroshan | byteio.in 🌷image.png
Download image.png
03:55:29
@ronixx:matrix.orgroshan | byteio.in 🌷Ports are also showing opened in Serial Console03:56:45
@zhaofeng:zhaofeng.liZhaofeng Li Remove boot.isContainer = true; (it's not a container) and include oci-common.nix from this PR 19:50:19
@zhaofeng:zhaofeng.liZhaofeng Li But still from the serial console, can you try whether networking is working? Check ip , do some pings/traceroutes/etc 19:51:16
15 Oct 2022
@otaviosalvador:matrix.orgOtavio Salvador joined the room.11:36:35
16 Oct 2022
@linus:schreibt.jetztLinux Hackerman

colmena is breaking with lazy-trees nix:

colmena apply --on sol boot
warning: unknown setting 'structured-drv-logs'
warning: Git tree '/home/linus/deploy' is dirty
[INFO ] Using flake: git+file:///home/linus/deploy
warning: unknown setting 'structured-drv-logs'
warning: Git tree '/home/linus/deploy' is dirty
warning: will not write lock file of flake 'path:/tmp/nix-shell.NZrVap/colmena-assets-A0gZ3E' because it has an unlocked input ('git+file:///home/linus/deploy')
[INFO ] Enumerating nodes...
warning: unknown setting 'structured-drv-logs'
error: cannot call 'getFlake' on unlocked flake reference 'path:/tmp/nix-shell.NZrVap/colmena-assets-A0gZ3E', at Β«stringΒ»:1:29 (use --impure to override)
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
12:39:27
@linus:schreibt.jetztLinux HackermanI think this is an intentional breaking change on the Nix side12:39:38
@linus:schreibt.jetztLinux Hackermanoh right, this is only a problem with dirty trees though12:41:17
@zhaofeng:zhaofeng.liZhaofeng Li

Right, need to take a look. There are some more breaking changes regarding path: flakes that I noticed:

$ nix flake metadata --json
warning: Git tree '/home/zhaofeng/Git/fleet' is dirty
error: lock file contains unlocked input '{"lastModified":1665862219,"narHash":"sha256-VPPLMapU8HtCjb54WDKsnjTjyB3YYXkgxEtzf5Xyqx0=","type":"git","url":"file:///home/zhaofeng/Git/Jovian-NixOS"}'
(use '--show-trace' to show detailed location information)
20:26:56
@zhaofeng:zhaofeng.liZhaofeng Li *

Right, need to take a look. There are some more breaking changes regarding path: flakes that I noticed with lazy-trees:

$ nix flake metadata --json
warning: Git tree '/home/zhaofeng/Git/fleet' is dirty
error: lock file contains unlocked input '{"lastModified":1665862219,"narHash":"sha256-VPPLMapU8HtCjb54WDKsnjTjyB3YYXkgxEtzf5Xyqx0=","type":"git","url":"file:///home/zhaofeng/Git/Jovian-NixOS"}'
(use '--show-trace' to show detailed location information)
20:27:12
@zhaofeng:zhaofeng.liZhaofeng Li *

Right, need to take a look. There are some more breaking changes regarding git+file:// flakes that I noticed with lazy-trees:

$ nix flake metadata --json
warning: Git tree '/home/zhaofeng/Git/fleet' is dirty
error: lock file contains unlocked input '{"lastModified":1665862219,"narHash":"sha256-VPPLMapU8HtCjb54WDKsnjTjyB3YYXkgxEtzf5Xyqx0=","type":"git","url":"file:///home/zhaofeng/Git/Jovian-NixOS"}'
(use '--show-trace' to show detailed location information)
20:28:12
18 Oct 2022
@shyim:matrix.orgShyim joined the room.09:01:40
@shyim:matrix.orgShyimHey, How would you handle secrets? πŸ€”09:01:57
@linus:schreibt.jetztLinux HackermanPersonally I have them checked into my deployment repo, encrypted with GPG, and use a little module to abstract over decrypting them09:02:55

Show newer messages


Back to Room ListRoom Version: 6