/srv/irclogs.ubuntu.com/2024/04/19/#cloud-init.txt

holmanmeena: gotcha, thanks for the heads up03:37
holmandidn't get to it today, and I won't have a chance to look at it until tomorrow, sorry08:25
holmanI've got desert and caves to explore :D08:26
holmanmeena: I got as far as checking that the growpart integration test still passes08:27
holmanBut didn't look at the unit tests yet08:28
holmans/tomorrow/Monday/08:28
holmanminimal: also haven't had a chance to get a review on your pr, but it's been on my mind08:29
meenaaye. i'll go dig thru kernel code then08:36
holmanhappy digging o/08:39
daniel_Hello! When i run "lxc launch ubuntu:jammy experiment" I can create a container with no problem. When I add --config=user..user-data="$(cat myfile.yaml)"  the cloud-init fails due to zpool issue. Looks like the zfsutils-linux package isn't available. If I install it, I cannot run "zpool status" as I "must execute as root", despite shelling into the container as root. Any ideas as to what's going on here?20:49
daniel_here's the warning msg:20:49
daniel_Unable to get zpool status of default: Unexpected error while running command.20:49
daniel_Command: ['zpool', 'status', 'default']20:49
daniel_Exit code: -20:49
daniel_Reason: [Errno 2] No such file or directory: b'zpool'20:49
daniel_--- and ---20:50
daniel_root@WgClient:~# sudo zpool status20:50
daniel_Permission denied the ZFS utilities must be run as root.20:50
falcojrdaniel_: anything in the user data that could possibly be related?20:51
daniel_@falcojr - no - If i only have the #cloud-config header, and the update/upgrade packages and reboot if required, it still occurs20:54
daniel_cloud-init version: /usr/bin/cloud-init 23.4.4-0ubuntu0~22.04.120:54
daniel_lxd version 5.21.1 LTS20:55
daniel_current yaml file for testing:20:55
daniel_#cloud-config20:55
daniel_package_update: true20:55
daniel_package_upgrade: true20:55
daniel_package_reboot_if_required: true20:55
falcojrnot sure...you may have more luck in the #lxd channel20:56
daniel_Fair enough - I am not quite sure where this issue actually lies, with lxd or cloud-init so I thought I'd start by asking here :) thanks for your time20:57

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