/srv/irclogs.ubuntu.com/2023/09/27/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== shokohsc510812 is now known as shokohsc51081
=== SJrX- is now known as SJrX
ContinuitySRHey 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:52
ContinuitySRhttps://bugs.launchpad.net/cloud-archive/+bug/203753210:53
-ubottu:#ubuntu-server- Launchpad bug 2037532 in Ubuntu Cloud Archive "Openvswitch backport for OpenStack ZED" [Undecided, New]10:53
ContinuitySRfor reference10:53
effendyHi. 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:02
effendyThe 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
effendyBut 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:03
effendyHas anyone else come across something similar?11:04
minimalwhich version of cloud-init is this with?11:18
=== patrick__ is now known as patrick
fricklerfnordahl: ^^ the ovs bug mentioned above was mainly handled by you afaict? (2037532)12:31
effendy@minimal the cloud-init version is 23.2.1-0ubuntu0~22.04.112:51
minimaleffendy: and the version of cloud-init in the older Ubuntu where it worked before?13:07
minimalthe 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.213:08
effendy@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:10
effendyBut given that the version references ubuntu 22.04.1, I have a feeling this will be the same.13:11
effendySo autoinstall/subiquity might be the issue here.13:12
minimalI'm assuming that the schema error is coming from cloud-init13:12
effendyCouldn't they have changed something that affects cloud-init without actually changing cloud-init/its version?13:15
minimalno 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 strings13:24
minimals/have/having/13:24
=== patrick is now known as Guest1330
effendy@minimal well then, why does the check works without any issues even with the mounts directive applied?13:49
effendyOk, 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.13:50
dbungerteffendy: 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:19
effendy@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
effendyBut I will soon.14:39
dbungerteffendy: oh, ok.  I missed that part.  A retest with 22.04.1 is optional, I thought you were doing the other away around14:40
effendyI'll file the bug after seeing what's going on with 22.04.114:40
dbungertThanks14:40
effendy@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:53
effendyAnd yes, I can confirm I don't have this error on 22.04.114:54
effendyI've submitted the bug here: https://bugs.launchpad.net/subiquity/+bug/203755514: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
effendylaunchpad doesn't support any syntax formatting and stuff like that, right?14:54
effendy@minimal Maybe that interests you too given that the cloud-init version is indeed different on Ubuntu 22.04.115:02
minimaleffendy: 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 it15:06
dbungerteffendy: great bug report, thanks.  I can reproduce with your provided cloud-config.15:10
=== patrick__ is now known as patrick
effendy@minimal yes, you're right, it occurred to me only later (in the bug report) to mention it.18:11
effendy@dbungert Thanks. I hope this can be addressed :) In the meantime I guess I can bypass it.18:11
=== shokohsc5108129 is now known as shokohsc510812

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