/srv/irclogs.ubuntu.com/2022/09/02/#cloud-init.txt

jbgbeantaxi: i think most people use a template engine for that, e.g. i set the cloud-config from terraform and use its yamlencode() function to build it from values coming from elsewhere01:21
ExeciNHi people. I'm using this as my preseed/config https://pastebin.mozilla.org/UFJ9FpD8/raw along with ubuntu server 22.04.1 installer. Then it goes up to a point where the TUI installer is shown and an error about cloud-init timing out after 10 mins is shown.10:35
ExeciNI tried looking around /var/log/cloud-init.* but I couldn't find out what the issue was.10:35
ExeciNdoes my preseed look ok (if you ignore the scrubbed parts)?10:37
ExeciNok I checked the kernel logs and the issue might be that cloud-init gets killed because the system runs out of memory.10:40
=== akspecs_ is now known as akspecs
blackboxswholman: does this make sense for your upstream 22.3.1 branch. That we typically close it as far as policy and let you push the annotated tag? https://github.com/canonical/cloud-init/pull/1714#pullrequestreview-109499126114:50
ubottuPull 1714 in canonical/cloud-init "Release 22.3.1" [Closed]14:50
blackboxswExeciN: yeah the system running out of memory would probably be the issue there. In the failed system you can run `cloud-init analyze show` `cloud-init analyze blame` and related systemd-analyze type commands from https://cloudinit.readthedocs.io/en/latest/topics/faq.html#failing-to-complete-on-systemd to better understand what might be blocking cloud-init. 14:55
holman@blackboxsw: No problem at all. Works for me.15:00
blackboxswcjp256: you are probably already testing as I saw a rebase run, but I wanted to confirm I think the only thing that needs to change on your PR 1672 is this https://github.com/canonical/cloud-init/pull/1672#discussion_r95911321616:58
ubottuPull 1672 in canonical/cloud-init "sources/azure: fix device driver matching for net config" [Open]16:58
blackboxswif agreeable on that point, we can merge that PR.16:59
cjp256i was also gonna switch to distro, I looked at it again and realized I can use the same interface via distro as you wanted17:00
cjp256do you know if the macs are provided in the same format for non-Linux OS (BSD)?17:01
cjp256i was taking a conservative approach because I wasn't sure for all cases17:02
blackboxswcjp256: meh .hrm not sure if BSD can rely on get_interfaces() call. Adding a comment about that on the PR17:44
blackboxswand even a FreeBSD-aware get_interfaces_by_mac_on_freebsd(blacklist_drivers=None)   doesn't actually honor blacklist_drivers param anyway https://github.com/canonical/cloud-init/blob/main/cloudinit/net/__init__.py#L938-L95117:55
=== asded1 is now known as asded
cjp256blackboxsw: yeah, and i figure the driver names used wouldn't be relevant anyways19:36
=== hexa- is now known as h
=== h is now known as hexa

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!