!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
6 Nov 2024
@arianvp:matrix.orgArianAlso import image takes *waaaay* longer than import-snapshot23:34:25
@arianvp:matrix.orgArianLike 25-30 minutes23:34:30
7 Nov 2024
@commiterate:matrix.orgcommiterateFeature request on the public Cfn roadmap: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2175 Will be chasing AWS internally for this one as well.00:16:05
@commiterate:matrix.orgcommiterate * Feature request on the public Cfn roadmap: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/2175 00:29:24
@colemickens:matrix.orgcolemickensPlease do let me know if there's any help I can lend to this PR, besides testing/reviewing: https://github.com/NixOS/nixpkgs/pull/34393915:46:40
@arianvp:matrix.orgArianJust seems to need a rebase and a re-review15:49:10
@arianvp:matrix.orgArianWe did go into breaking changes freeze for 24.11 though. So idk if I can still merge it :/15:49:31
@quyse:matrix.orgquyse joined the room.19:52:46
@quyse:matrix.orgquyse hi!
I'm using my custom NixOS AMI built with "${modulesPath}/../maintainers/scripts/ec2/amazon-image.nix" module. The EC2 serial console in the AWS web interface works (shows boot messages like it's a display), but "get system log" in the web interface, and the aws ec2 get-console-output command both always return empty output.
Is the system log thing even supposed to work? I am not very familiar with AWS, but I thought it works via the same mechanism as the EC2 serial console, and since the amazon-image.nix module enables serial console via kernel param (console=ttyS0), it should work too
20:04:28
@quyse:matrix.orgquyse * hi!
I'm using my custom NixOS AMI built with "${modulesPath}/../maintainers/scripts/ec2/amazon-image.nix" module. The EC2 serial console in the AWS web interface works (shows boot messages like it's a display), but "get system log" in the web interface, and the aws ec2 get-console-output command both always return empty output.
Is the system log thing even supposed to work? I am not very familiar with AWS, but I thought it works via the same mechanism as the EC2 serial console, and since the amazon-image.nix module enables serial console via kernel param (console=ttyS0), it should work too
20:04:40
@arianvp:matrix.orgArianThis is expected for Nitro instances you need to call get-console-output with --latest20:13:04
@arianvp:matrix.orgArianget-console-output without --latest is only available after instance termination 20:13:28
@arianvp:matrix.orgArianOr Connect -> EC2 Serial Console. Should work roo20:14:19
@arianvp:matrix.orgArian* Or Connect -> EC2 Serial Console. Should work too20:14:26
@arianvp:matrix.orgArian* get-console-output without --latest is only available after instance termination . Or around 15 minutes after the instance started20:14:45
@quyse:matrix.orgquyse
In reply to @arianvp:matrix.org
get-console-output without --latest is only available after instance termination . Or around 15 minutes after the instance started
oh, thank you very much! indeed it returns the output after termination. I wonder why the web interface doesn't warn about it
20:17:25
@arianvp:matrix.orgArianBut the --latest flag should work too20:18:18
@quyse:matrix.orgquyse
In reply to @arianvp:matrix.org
But the --latest flag should work too
yes, just tried it, it works! not immediately after instance launch, but quite quickly
20:20:56
@quyse:matrix.orgquyse interesting, after termination the output is again empty, with --latest or without 20:27:40
@quyse:matrix.orgquyseok, a few more munutes after the termination get-console-output starts returning the full output again. I guess it's just a bit of weirdness on AWS side20:32:47
8 Nov 2024
@tuxiqae:matrix.orgtuxiqae

Arian: Thanks for the help the other day
I was able to write the following thanks to your help!

https://github.com/tuxiqae/autovm

22:56:29
@tuxiqae:matrix.orgtuxiqae BTW, had to use 24.05 since AMI building in unstable seems to be broken due to hash mismatch in the getty package. Couldn't figure where the faulty hash is defined so I didn't fix it yet 22:58:29
@tuxiqae:matrix.orgtuxiqaeimage.png
Download image.png
22:58:33
9 Nov 2024
@colemickens:matrix.orgcolemickens

Smoke test
waiting for instance to be healthy.

hmmm

04:26:31
@arianvp:matrix.orgArianSometimes AWS just .... Doesn't work 08:47:34
@arianvp:matrix.orgArianI've had it before where instance just doesn't get into the healthy state and nothing was wrong 08:47:53
10 Nov 2024
@sbc64:matrix.org@sbc64:matrix.org left the room.20:02:20
11 Nov 2024
@commiterate:matrix.orgcommiterate

Draft PR for amazon-ec2-net-utils: https://github.com/NixOS/nixpkgs/pull/355111

Someone will need to update the NixOS systemd libs to allow setting the [Install] options in the systemd unit config.

02:34:15
@colemickens:matrix.orgcolemickensOh no, sorry, it was just a joke about smoking. :(17:31:37
@colemickens:matrix.orgcolemickensThough that does remind me, it maybe doesn't matter, but I am curious if you thought about using systemd-boot instead of grub on the EFI image.s17:32:19

Show newer messages


Back to Room ListRoom Version: 10