=== bahamat_ is now known as bahamat === nikolay_ is now known as hjckr === nikolay_ is now known as hjckr === uco__ is now known as uco [13:47] Hello, any lxd setup I try to create on my host leads cloud-init to remain stuck on  status "running" with detail "DataSourceLXD". I'm using the lxd snap. How should I go about debugging this issue? [13:58] Hook25: cloud-init is made up of several boot services, so it is likely one of the services isn't starting for some reason. how are you launching the container? Does "systemctl --failed" or "systemctl | grep cloud" say anything interesting? If so you can drill down into each particular service. /run/cloud-init/status.json should tell you what has [13:58] started and stopped and when. If /var/log/cloud-init.log contains any warnings, errors, or tracebacks, that might also point to the issue [14:06] systemctl lists snap.lxd.activate.service as failed (no idea why or if it is relevant) as for cloud services the following are reported as dead: cloud-init.target cloud-final.service cloud-config.service while cloud-config.target is active and all the others are either exited or listening. The log file doesn't list anything particularly useful at [14:06] first glance (only debug messages, no errors/tracebacks) [14:07] as for the /run/cloud-init/status.json, it lists the datasource "DataSourceLXD" as finished, so maybe that is an issue, as the status says that it is currently running. stage is none [14:22] `systemd-analyze critical-chain`? if cloud-init is waiting for lxd to finish, that could be your problem. [14:23] Hi chat! [14:23] Faced a difficulty when trying to build a qcow image via packer with cloud-init ubuntu 22.04.03. [14:23] I have a task to use fstype=xfs for root partition and no way to do it in 20+ iterations. [14:23] This configuration(attached) worked for PXE, but does not work for qcow. [14:23]   storage: [14:23]     config: [14:23]     - ptable: gpt [14:23]       match: [14:23]         serial: "DELL*" [14:23]       wipe: superblock-recursive [14:23]       preserve: false [14:23]       grub_device: false [14:23]       type: disk [14:23]       id: target-disk [14:23]     - device: target-disk [14:23]       size: 1G [14:23]       wipe: superblock [14:23]       flag: boot [14:23]       id: format-1 [14:23]     - path: / [14:23]       device: format-1 [14:23]       type: mount [14:23]       id: mount-1 [14:23]     - path: /boot/efi [14:23]       device: format-0 [14:23]       type: mount [14:23]       id: mount-0 [14:23]     version: 2 [14:23] I get the error: [14:23] FAIL: autoinstall config did not create needed bootloader partition [14:23] I dug into the code and saw that the error occurs when no disk is specified with grub_device: true. (Although this works with PXE) [14:23] When I set grub_device: true to a disk and not a partition, I can see that the partitions are created correctly, but then when the script does chroot /target & grub-install it tries to install grub on both: Both disk & partition, and gives another error: [14:23] finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub:FAIL:installing grub to target devices [14:23] finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL:configuring target system bootloader [14:23] And I realize that if I use layout , there for Ubunta in the code subiquity is nailed ext4. [14:23] So the question is, is there any way to change the default setting for ubuntu to xfs for root dir in the iso image or some other storage config to make everything go without errors? [14:23] Satyr: please use a pastebin service for large pastes [14:24] root@jammy:~# systemd-analyze critical-chain [14:24] Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0). [14:24] Please try again later. [14:24] Hint: Use 'systemctl list-jobs' to see active jobs [14:24] list jobs says that 109 snapd.seeded.service start running while everything else is waiting, could this be the issue here? [14:25] Hook25: yes, that looks like your issue [14:26] Satyr: your question looks to be about subiquity, but this channel is for cloud-init. You may find one or two people here that might have an idea, but none of us are subiquity experts [14:27] falcojr tyvm [14:29] falcojr thx, I made an error [14:50] Satyr: try #ubuntu-server === cpaelzer_ is now known as cpaelzer [17:10] as we're only 1 week away from the scheduled release of 24.1 has a fix for #4783 been forgotten about? [20:11] minimal: thanks for bump on that issue. i agree we need it for 24.1 I've added the 'priority' label to it. And it already has the 24.1 label so it'll get in before 24.1 is cut. [21:20] blackboxsw: thanks. I see holmanb has recently tagged #4772 as "24.1" for me. I'd also like to get #4876 into 24.1 if possible, it's Alpine specific [21:21] yep agreed, just got the notification on that too. thanks for the re-open on that last week will try to clear it out today. LGTM. Just want to retest on alpine container [21:24] holman: your inifiniband PR also landed right (related to dhcpcd support on Azure) Anything else we are waiting on to get dhcpcd support into Ubuntu noble? [21:25] if nothing else maybe end of day today we make a cut to publish where things are at w.r.t. tip of main if jenkins test runs only have explainable errors (such as deb822 warning messages etc) [21:25] holman: that and your apport fixes that are in flight [22:23] I don't actually know why #4783 would be required for 24.1. It's purely a testing issue [22:26] falcojr: it "breaks" my cloud-init packaging for Alpine which runs tests as part of the packaging. I assume some other distro packaging could be similarly affected [22:27] for Alpine packaging is expected to run tests unless there is a "valid" reason not to do so [22:27] gotcha, that makes sense [22:29] currently I'm having to patch my local "24.1" package as Alpine has a newer version of py3-jsonschema is the "Edge" (i.e. what will be the next Alpine release) repo [22:30] if c-i 24.1 comes out without a fix for #4783 then I'll have to add a workaround patch to the published Alpine Edge cloud-init 24.1 package