2023-06-12 07:21:49 hello 2023-06-12 07:23:24 hi 2023-06-12 14:20:31 ncopa: hiya! would you like your recent ssh-authorized-keys to be released in a new 3.0.1 before we update 3.18-stable? 2023-06-12 14:21:07 *recent ssh-authorized-keys MR to tiny-cloud 2023-06-12 14:21:49 would be nice, yes 2023-06-12 14:22:03 there are some ERROR messages that are printed to std err 2023-06-12 14:22:16 when key is missing in yaml 2023-06-12 14:22:19 we should fix those too 2023-06-12 14:24:53 maybe a +e/-e switch for the wrapper function around yx -- similar to what is done in imds tool? 2023-06-12 14:25:12 (and +E/-E) 2023-06-12 14:29:21 i think its enough with a 2>/dev/null 2023-06-12 14:29:39 we used to _imds 2>/dev/null 2023-06-12 14:29:49 but we can do it from yx 2023-06-12 14:30:10 i thought i had a rbanch with a fix for it 2023-06-12 14:30:14 but maybe i deleted it 2023-06-12 14:32:11 i think this is enough: https://tpaste.us/YYWP 2023-06-12 14:33:26 https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/95 2023-06-12 14:34:45 lgtm 2023-06-12 14:37:52 thanks! 2023-06-12 14:45:56 will see if i have a chance to roll a 3.0.1 and get it into 3.18-stable around lunchtime today (4ish hours from now) 2023-06-12 14:46:42 i can backport things to 3.18-stable if you get it into git master 2023-06-12 14:46:51 or just tag the 3.0.1 2023-06-12 14:49:09 3.0.1 tagged 2023-06-12 14:49:57 ok i can push release to master 2023-06-12 14:50:31 pushed to master 2023-06-13 16:49:47 good morning! hopefully aws cloud images are just around the corner for 3.18? :) 2023-06-13 17:00:02 we are still having issues with our arm machines 2023-06-13 17:00:06 network issues 2023-06-13 17:00:29 i have spent the day setting up new arm servers other location, but there is still some work left to do 2023-06-13 17:00:43 after that we can do alpine 3.18.1 release and aws images 2023-06-14 14:33:23 im tagging 3.18.1 ++ release now 2023-06-14 14:33:34 3.15.9, 3.16.6, 3.17.4, 3.18.1 2023-06-14 14:45:52 ncopa: did tiny-cloud-3.0.1 get into 3.18-stable? 2023-06-14 14:46:15 aws cloud images will be broken without it 2023-06-14 14:47:48 (looks) 👍 thanks ncopa 2023-06-14 14:49:58 yes, i included tiny-cloud-3.0.1 2023-06-14 14:50:00 oh... 2023-06-14 14:50:02 man 2023-06-14 14:50:15 i think i may have forgotten mkinitfs update 2023-06-14 14:50:28 🤦 2023-06-14 14:50:57 which means that 3.18.1 is broken 2023-06-14 15:10:30 tagged 3.18.2 2023-06-14 15:14:47 i need add tiny-cloud to my alpine-installer-testsuite to prevent this from happening again 2023-06-14 15:26:33 thanks ncopa - let me know when it's ready to start building cloud images 2023-06-14 15:28:08 the releases are done and uploaded 2023-06-14 15:33:10 build script needs releases.json updated to find the latest ones 2023-06-14 15:48:25 tomalok: releases.json was updated 2023-06-14 20:04:44 ikke: thanks - started the build and then got busy with DayJob™ 2023-06-15 03:42:33 3.18 cloud images are all building fine, but 3.{15,16,17} uefi images are having a strange issue with a /usr/sbin/grub-install: error: unknown filesystem.error 2023-06-15 16:46:09 tomalok: is the problem only with UEFI images or also with BIOS images on those releases? 2023-06-15 16:49:21 if you#re creating ext4 fs on Alpine Edge/3.18.x and then using those on earlier Alpine versions you'd hit a Grub issue with it not handling ext4 options that newer mkfs.ext4 sets. But that would occur with both BIOS and UEFI images. 2023-06-15 16:56:39 tomalok: ah...............you're using Syslinux, not Grub for BIOS images, so then you wouldn't see the above ext4 options/Grub issue as it doesn't affect Syslinux. 2023-06-15 20:02:31 minimal: yeah, only UEFI on images < 3.18 -- the builder itself is using 3.18, but then it's doing chrooty stuff for whatever version it's working on -- do you have a link to the missing/extra ext4 options and/or a workaround? 2023-06-15 20:04:45 tomalok: right, so it is likely that issue then 2023-06-15 20:05:40 the options used by default are defined in /etc/mke2fs.conf 2023-06-15 20:05:55 so you could disable the checksum seed option there 2023-06-15 20:06:10 or perhaps when you call mkfs.ext4 indicate the option is disabled 2023-06-16 18:37:40 tomalok@ a reference to the mke2fs issue that I wrote prior to 3.18.0 release: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.18.0#e2fsprogs_1.47.0 2023-06-16 18:46:37 👍 thanks minimal - got a workaround and cloud images are building 2023-06-16 18:47:07 tomalok: great 2023-06-16 18:47:16 let me know when they're ready (I'm sure you will do) 2023-06-16 18:47:16 tomalok: so what was your workaround? 2023-06-16 18:48:58 diabling metadata_csum_seedon the image volume -- i should probably double check to see what's up with orphan_filebefore releasing... 2023-06-16 18:49:14 s/diabling/disabling/ 2023-06-16 18:49:33 orphan_file will affect/prevent older versions of fsck from working 2023-06-16 18:49:52 so not just limited to a Grub issue 2023-06-16 18:50:35 yeah, fsck is kinda important. 2023-06-16 18:51:18 well older versions of fsck won't fsck with a filesystem containing an option (orphan_file) that it doesn't know anything about 2023-06-16 18:52:23 so, a rebuild it is. 2023-06-16 18:52:39 fortunately didn't publish yet 2023-06-16 18:53:08 so even when Syslinux is being used if you've created rootfs using 3.18 mke2fs which is setting orphan_file then I guess <= 3.17 would run happily until the first time a fsck is required and then refuse to work... 2023-06-16 18:54:39 yep 2023-06-16 18:58:13 wondering WWGD? lol 2023-06-16 18:58:32 or rather WWCD 2023-06-16 18:58:43 what-would-chatGPT-do? ;-) 2023-06-16 19:15:07 well, local image builds don't take that long with --parallel 8 ... the whole set is done ... what will take a while is uploading/iimporting... 2023-06-16 22:32:21 ikke (etc.) PR to update https://alpinelinux.org/cloud for the latest releases -- https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/merge_requests/64 2023-06-17 00:10:43 \o/ 3.18 aws images seem to boot fine for me. 2023-06-17 10:31:48 tomalok: merged and pushed to production 2023-06-21 03:08:04 hey. It looks like alpine 3.18 EC2 images do not attempt fetching userdata when launched a second time? 2023-06-21 03:08:33 I mean, I'm creating my own packer image based on 3.18, and it's all good; but when I'm launching that image, I don't see instance-level user-data applied on that VM start 2023-06-21 03:08:44 I've checked and curl http://169.254.169.254/latest/user-data works fine 2023-06-21 03:10:26 looks like tiny-cloud early does not overwrite whatever it had before 2023-06-21 03:11:30 ah https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/issues/46 this is already filled out 2023-06-21 03:12:17 so I guess as a workaround I can rm .bootstrap-complete when I'm creating my image 2023-06-21 03:13:09 and/or userdata file 2023-06-22 00:03:28 thresh: you can tiny-cloud --bootstrap incomplete to force the bootstrap to happen on the next boot -- but 46 notes it doesn't re-pull user-data if it's already there. so a workaround for the interim is to rm /var/lib/cloud/user-databefore the reboot 2023-06-22 00:04:15 (bootstrap must also be marked incomplete, too) 2023-06-22 18:26:51 I don't know if this is the best place to ask but I have a question about cloud-init. My config (NoCloud) provides a new name for an ethernet device. However things seem to happen out of order. /etc/init.d/networking fails to bring the interface up because it doesn't yet exist. However when I login to the box I am able to see the new name in /sys/class/net/ -- So if I run 2023-06-22 18:26:53 /etc/init.d/networking restart it then brings the interface up properly. Does anyone know where I would look to fix this? Perhaps I need to change the order things are depended upon? 2023-06-22 18:41:15 seems like there needs to be a dependency on devfs somewhere 2023-06-23 11:06:45 papertiger: Hi, I'm the cloud-init package maintainer. NoCloud should setup /etc/network/interface early in boot and then /etc/init.d/networking should bring it up. Have you looked at /var/log/cloud-init.log to see what is happening? Can you provide details of the network-config.yml you are using? (I assume you are using NoCloud with a "cidata" ISO) 2023-06-23 11:07:03 papertigers: ^^^ 2023-06-23 13:42:20 minimal: what seems to happen is the udev rules arent taking effect when /etc/init.d/networking is started 2023-06-23 13:43:30 Logging in and running /etc/init.d/networking restart brings up the interface properly by the time I login becuase the interface name has actually been mapped to the correct name 2023-06-23 13:44:06 papertigers: you need to provide some more info to diagnose this 2023-06-23 13:44:27 I'm pretty sure I have renamed interfaces in the past successfully 2023-06-23 13:49:04 minimal: I can get some logs 2023-06-23 13:49:26 also info on the cidata files you are using 2023-06-23 13:52:10 minimal: https://gist.github.com/papertigers/39d8a75e1421d33a902c520b9f7a9c4e 2023-06-23 13:52:34 I don't have time at the moment to collect everything. But here's networking starting before cloud-init-local 2023-06-23 13:53:08 and at that point the udev rules don't seem to have been applied yet 2023-06-23 13:57:13 papertigers: why are the hostname and networking init.d scripts running BEFORE cloud-init? 2023-06-23 14:01:35 I'd expect to see the cloud-init "init-local" output (in "boot" runlevel) BEFORE "Setting hostname" (in "boot" runlevel) and "Setting networking" (in "default" runlevel) 2023-06-23 15:04:23 minimal: ah that may be the piece I was looking for! 2023-06-23 15:04:40 Are there official docs for cloud-init on alpine anywhere? 2023-06-23 15:06:42 minimal: should cloud-config and cloud-final be in boot as well and not default? 2023-06-23 15:27:19 iirc cloud-init has a setup-cloud-init command that should set up all the init scripts in the right place? 2023-06-23 15:31:08 tomalok: it will set cloud-init's init scripts correctly, it won't touch other init scripts however 2023-06-23 15:31:49 papertigers: the cloud-init-doc package contains a README.Alpine file 2023-06-23 15:32:12 papertigers: did you run setup-cloud-init when you installed it in the image you created? 2023-06-23 15:32:48 nope, that's the missing piece I believe. I will recreate this image with the proper modifications and run that before turning it into an image 2023-06-23 15:34:03 papertiger: when you "apk add cloud-init" the output on the screen DOES SAY to run setup-cloud-init. Should I make it 24 point, red, and flashing? ;-) 2023-06-23 15:34:32 i.e. https://git.alpinelinux.org/aports/tree/community/cloud-init/cloud-init.post-install 2023-06-23 15:36:22 minimal: I chose the trial and error path I guess :( 2023-06-23 15:36:35 thanks for the help and sorry for blowing past the instructions