!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
15 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@adam:robins.wtfadamcstephensdo y'all see timeouts waiting for import snapshot with your upload jobs?22:33:47
@hexa:lossy.network@hexa:lossy.networkadam asked if the room was broken ๐Ÿ˜„ so I joined22:33:50
@arianvp:matrix.orgArianI don't see the messages on my laptop. Only on my phone. So maybe?22:34:24
@arianvp:matrix.orgArianwaddup22:34:31
@arianvp:matrix.orgArianOh my laptop is just laggy.22:34:40
@arianvp:matrix.orgArian
In reply to @adam:robins.wtf
do y'all see timeouts waiting for import snapshot with your upload jobs?
It can happen very occasional. However the whole script is idempotent. Just rerun it and it should pick up where it left off
22:35:08
@arianvp:matrix.orgArianSometimes Amazon has a bad day22:35:15
@arianvp:matrix.orgArianI'm planning to move to coldsnap for snapshot uploads at some point. Which should make things more snappy22:35:29
@adam:robins.wtfadamcstephensi just noticed multiple failures today waiting on snapshot import. good to know it's fully idempotent22:37:10
@adam:robins.wtfadamcstephensmaybe i'll wrap upload-ami in a loop to try a few times :)22:37:36
@adam:robins.wtfadamcstephensthat or I open another PR to allow for extending the timeout 22:38:34
@adam:robins.wtfadamcstephenshow does the coldsnap path help?22:39:34
@arianvp:matrix.orgAriancoldsnap bypasses the vmimport service22:39:43
@arianvp:matrix.orgArianwhich god knows what itโ€™s written in22:39:47
@arianvp:matrix.orgArianit just uploads blocks directly to EBS22:39:53
@arianvp:matrix.orgArianimage uploads take like 5 seconds with coldsnap22:40:27
@adam:robins.wtfadamcstephensthat sounds better than the current path. the timeout it's hitting on import is 10 minutes22:40:52
@arianvp:matrix.orgArianwhat region are you in?t22:42:34
@adam:robins.wtfadamcstephensus-east-222:43:31
@arianvp:matrix.orgArianthat timeout is set by AWS. usually AWS timeouts are pretty aligned with the normal behaviour of services22:43:37
@arianvp:matrix.orgArianmight be AWS is having a bad time22:43:38
@adam:robins.wtfadamcstephensthe imports are completing, but only after the waiter times out :/22:50:10
20 Feb 2025
@hexa:lossy.network@hexa:lossy.network left the room.02:39:47
@adam:robins.wtfadamcstephensIt took me longer to upload due to my internet connection, but once the snapshot is imported registering it as an AMI is almost instant.13:51:42
@adam:robins.wtfadamcstephens This route also seems to be more space efficient in Amazon's reading of the size. A snapshot using the current import-snapshot shows as the full size of the disk image used during build, but a coldsnap uploaded image shows the actual disk usage of the image. 13:53:22
@adam:robins.wtfadamcstephens* It took me longer to upload due to my internet connection, but once the snapshot is uploaded, then registering it as an AMI is almost instant.13:54:27
@adam:robins.wtfadamcstephenshmm, but that snapshot doesn't seem to work for launching instances. likely i did something wrong :/15:01:49
@adam:robins.wtfadamcstephensI'm extending the timeout for our use, since a snapshot is still imported even if the waiter times out. But re-running upload-ami will initiate another import-snapshot, ignoring the already imported one15:25:30
22 Feb 2025
@arianvp:matrix.orgArianOh you need to coldsnap over a raw image11:01:35
@arianvp:matrix.orgArianYou're probably coldsnapping the sparse VHD lol11:01:49

Show newer messages


Back to Room ListRoom Version: 10