=== chris14_ is now known as chris14 === shokohsc510812 is now known as shokohsc51081 === SJrX- is now known as SJrX [10:52] Hey all, Im an OpenStack user, and have run into a bug which is fixed and has been backported to Yoga, and Antelope, but not to Zed. I have raised a bug in Launchpad for the cloud-archive project. Is there anything else I need to do, or anyone else I need to inform? [10:53] https://bugs.launchpad.net/cloud-archive/+bug/2037532 [10:53] -ubottu:#ubuntu-server- Launchpad bug 2037532 in Ubuntu Cloud Archive "Openvswitch backport for OpenStack ZED" [Undecided, New] [10:53] for reference [11:02] Hi. I'm getting this error "load_autoinstall_data cloud config scheme error autoinstall.user-data.mounts.0.1 none is not of type 'strings'" when I provision Ubuntu 22.04.3 with user-data that is part of autoinstall. [11:03] The error seems to be related to the "mounts" directive in "user-data" which is defined as "- [ swap, null ]". Removing this altogether gets rid of the error. [11:03] But this is perfectly correct syntax on cloud-init and it's worked before. Now all of a sudden subiquity/autoinstall says that this isn't right. This looks very much like a bug to me. [11:04] Has anyone else come across something similar? [11:18] which version of cloud-init is this with? === patrick__ is now known as patrick [12:31] fnordahl: ^^ the ovs bug mentioned above was mainly handled by you afaict? (2037532) [12:51] @minimal the cloud-init version is 23.2.1-0ubuntu0~22.04.1 [13:07] effendy: and the version of cloud-init in the older Ubuntu where it worked before? [13:08] the relevant part of the cloud-init schema hasn't changed between 22.2 and 23.3 as far as I can see, so I can only assume where it previously didn't complain was on a cloud-init version before 22.2 [13:10] @minimal let me check the version, I used the Ubuntu 22.04.1 iso image before. I'm guessing there is no time for subqiuity or whatever to update the cloud-init version beforehand, given that autoinstall triggers cloud-init, so I'm guessing everything happens in the initial atages during the installation. [13:11] But given that the version references ubuntu 22.04.1, I have a feeling this will be the same. [13:12] So autoinstall/subiquity might be the issue here. [13:12] I'm assuming that the schema error is coming from cloud-init [13:15] Couldn't they have changed something that affects cloud-init without actually changing cloud-init/its version? [13:24] no idea, I'm just referring to cloud-init itself have a schema file that it checks user-data against and that defines the "mounts:" values as arrays of strings [13:24] s/have/having/ === patrick is now known as Guest1330 [13:49] @minimal well then, why does the check works without any issues even with the mounts directive applied? [13:50] Ok, you actually said you didn't have any idea if subiquity is at fault, but given that cloud-init checks the user-data configuration and says it's ok (with that particular version), I'd tend not to blame cloud-init. [14:19] effendy: the logic for checking autoinstall.user-data is done by subiquity calling out to cloud-init. I see you mentioning 22.04.1 ISO, it might be worth a retest with 22.04.3. If that still fails would you file a bug against https://pad.lv/fb/subiquity with a sample cloud-config? The bug can be redirected later to cloud-init if we think that's appropriate. [14:39] @dbungert The iso I'm using is 22.04.3, not 22.04.1. I haven't had the time to test 22.04.1 again to see exactly if this is the difference. [14:39] But I will soon. [14:40] effendy: oh, ok. I missed that part. A retest with 22.04.1 is optional, I thought you were doing the other away around [14:40] I'll file the bug after seeing what's going on with 22.04.1 [14:40] Thanks [14:53] @dbungert I've just checked the cloud-init version for iso 22.04.1 and it's 22.2-0ubuntu1~22.04.3 (which I find weird, given that it's referencing "22.04.3"). In any case, it's different than the one on the iso image 22.04.3. [14:54] And yes, I can confirm I don't have this error on 22.04.1 [14:54] I've submitted the bug here: https://bugs.launchpad.net/subiquity/+bug/2037555 [14:54] -ubottu:#ubuntu-server- Launchpad bug 2037555 in subiquity "autoinstall cloud-init complains about mount directive - none is not of type string" [Undecided, New] [14:54] launchpad doesn't support any syntax formatting and stuff like that, right? [15:02] @minimal Maybe that interests you too given that the cloud-init version is indeed different on Ubuntu 22.04.1 [15:06] effendy: you didn't make it clear earlier that you had run "cloud-init schema" to verify that cloud-init itself was happy with the user-data, so I had been working off the assumption that cloud-init was NOT happy with the user-data presented to it [15:10] effendy: great bug report, thanks. I can reproduce with your provided cloud-config. === patrick__ is now known as patrick [18:11] @minimal yes, you're right, it occurred to me only later (in the bug report) to mention it. [18:11] @dbungert Thanks. I hope this can be addressed :) In the meantime I guess I can bypass it. === shokohsc5108129 is now known as shokohsc510812