[00:19] wow there is sg. strange with cloud-init on RHEL7.8 It didn't start as previously [10:53] I could trigger cloud-init-local, but cloud-init.service didn't run [11:18] * andras-kovacs sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iAKNrOfaoBqRjPsUCkIAQSak > [11:19] I'm disabling cloud-init from my kickstart file, than enable it when I finish the VM build with packer from a cleanup script. So the first run should happen only when I make a new vm from the template. Now I'll give a try to disable cloud-init with a file or kernel parameter instead of messing with the systemd units from the kickstart. Because the service units are enabled but they don't start on the "second" boot [11:19] -> even there is no cloud-init logs, I ran cloud-init clean, etc. [11:20] Ofc if I find the source of the problem, I'll report it to RHEL [11:26] maybe cloud-init.target is not in the boot goals hmm. [12:00] That's the case! I can't see any cloud-init related service in the critical chain. [12:00] * systemd-analyze critical-chain I mean [12:08] "already disabled: no change needed [no /run/systemd/generator.early/multi-user.target.wants/cloud-init.target]" [12:16] cloud-config.service is now WantedBy=cloud-init.target [12:16] perviously it was WantedBy=multi-user.target [12:22] same story with cloud-init.service [13:04] So IMHO this is the same issue: https://bugs.launchpad.net/cloud-init/+bug/1771382 [13:04] or really similaer [13:04] Ubuntu bug 1771382 in cloud-init (openSUSE) "ds-identify: fails to recognize NoCloud datasource on boot cause it does not have /sbin in $PATH and thus does not find blkid" [Medium,Fix released] [13:09] it don't need to modify / override the unit files, only: mv /etc/systemd/system/cloud-init.target.wants/* /etc/systemd/system/multi-user.target.wants/ [13:09] And it works! [13:09] finally [14:11] The bug was filed already here: https://bugzilla.redhat.com/show_bug.cgi?id=1820540 [14:11] I added my notes and findings. [14:11] bugzilla.redhat.com bug 1820540 in cloud-init "cloud-init package broken post 7.8 upgrade" [Medium,New] [14:18] Maybe... it's not so obvious now cloud-init has many modules what get executed all the time a server boots up. === shibumi is now known as brain0 === brain0 is now known as shibumi === tds7 is now known as tds