/srv/irclogs.ubuntu.com/2022/05/19/#cloud-init.txt

blackboxswcommunity-notice: cloud-init 22.2-0ubuntu1~22.10.1 (Accepted) we can expect to see 22.2 in Ubuntu kinetic in the next day or two04:01
=== bigon_ is now known as bigon
RikeCan we help me start cloud init in vCloud (centOS7). I install pen-vm-tools, cloud-init and run terraform apply. guest_properties {"user-data" = base64encode(templatefile("cloud-config.yaml", { hostname = "test" }))}. What am I doing wrong?12:52
acibaRike: There should be more info about the error in the logs. Could you please inspect/share them? Run `cloud-init collect-logs` within the instance to do so.12:59
Eighth_Doctorfalcojr: do you know when we're going to have a new release?13:22
Eighth_DoctorI'd like to update the Fedora package and get the RHEL folks to sync from us with the new patches in place13:22
Eighth_Doctoroh damn13:23
Eighth_Doctorwe missed the cutoff for 22.213:23
falcojrEighth_Doctor: Yeah, we just released 22.2 :/13:24
* Eighth_Doctor groans13:24
Eighth_Doctoris there some kind of public release schedule?13:25
Eighth_Doctorbecause I'd really like to make sure we can land things on time13:25
falcojrEighth_Doctor: https://discourse.ubuntu.com/t/cloud-init-2022-release-schedule/2541313:25
falcojralso, if you subscribe to the cloud-init mailing list, we do send out an announcement a week or so before release13:25
Eighth_DoctorI guess I'll do that too13:26
Eighth_Doctorthat'll be useful13:26
Eighth_DoctorI'm working on some patches to add `/usr` path for cloud.cfg files13:26
Eighth_Doctorfalcojr: aside from the RHEL team making things a little difficult for using template generator for cloud.cfg, the lack of a place in /usr means that it's difficult to ship cloud-init config snippets as packages in a model where we can have /etc "reset"13:28
falcojrEighth_Doctor: so what would you want put in /usr vs /etc ?13:31
Eighth_Doctorthe stuff we ship in the package as `/usr/share/cloud-init/cloud/cloud.cfg` and have a directory `/usr/share/cloud-init/cloud/cloud.cfg.d` for packaged snippets13:31
Eighth_Doctorthen `/etc` hierarchy would be free for admins13:32
falcojrEighth_Doctor: gotcha, yeah, that makes sense13:33
Eighth_Doctorit's too troublesome to have a mixture of packaged and admin stuff in /etc13:33
Eighth_Doctorbad things keep happening when my users try to customize things13:33
Eighth_Doctornow that the RHEL team agreed to use the templates, this problem is easier for me to solve13:33
Eighth_Doctor(fwiw, this is why I didn't try changing the templates before)13:34
Eighth_Doctorfalcojr: uhh, it looks like the tests don't work anymore :(13:40
Eighth_Doctor"fixture 'mocker' not found" errors in Rawhide13:40
falcojrEighth_Doctor: we added a dependency on pytest-mock13:41
falcojrbuild/test time dependency13:41
Eighth_Doctoralready, adding and running again13:42
Eighth_Doctorfalcojr: updated to 22.2: https://src.fedoraproject.org/rpms/cloud-init/c/a32e90573fe22f4d133c40c664cc42eaf6e476c313:46
falcojrnice13:47
rylandWhat would the best way to get a newer cloud-init package into RHEL8? Build it myself? Or is there a repo for RHEL8 out there already? I just recently made the jump from RHEL7 und RHEL8, so I am not yet familiar with the new package repos, using AppStream etc14:06
RikeUploaded file: https://uploads.kiwiirc.com/files/aad0468803f0abe9239992038a38f721/image.png14:07
Rikeaciba14:07
RikeI noticed that when creating Enable guest customization, it is disabled. I'm tested on ubuntu, everything works there14:08
RikeHow to enable the "Enable Guest Configuration" option when create VM ?14:11
acibaRike: If you have access to that instance, could you please collect the logs, create bug report here: https://launchpad.net/cloud-init and attach the logs to the bug report? I think the info of your screenshot is not sufficient to determine what the problem is. thank you16:03
rylandDoes anyone know, if it is possible, to use both, the new VMware datasource and the VMware customization together, at the same time? Can I merge the data somehow?16:47
rylandAll my tests so far seem to indicate that its either one or the other16:47
holmanbryland: unfortunately looks like vmware customization is an underdocumented feature17:04
holmanbryland: no clue sorry17:07
rylandholmanb: If I go by https://cloudinit.readthedocs.io/en/latest/topics/datasources/ovf.html, it seems that the vm customization via VMware tools is part of that OVF Datasource. Also, when I use an older version of cloud-init, that does not yet have the new VMware datasource, it shows that is uses OVF. So I think I could be good if i configure17:07
ryland"disable_vmware_customization: false" and then i only need to merge what I get from the datasources VMware and OVF (in that order)17:07
rylandBut I am not 100% sure of course :D17:08
holmanbryland: also the cloud-init team builds rpms for rhel/centos family distros and uploads to copr here: https://copr.fedorainfracloud.org/coprs/g/cloud-init/el-testing/17:11
rylandholmanb: thanks! i just build it myself. it was rather easy, the cloud-init team did a great job there17:12
holmanbryland: that's good to hear :)17:12
holmanbof course, distro supplied versions will have distro-supplied patches / fixes / packaging changes / etc so it's your call what you think is best for you17:13
rylandyeah, its more important for me right now to get the new vmware datasource. the rhel8 package seems to be rather old, even the newest one17:15
holmanbryland: nice :)17:18
rylandMhhh. It looks like that cloud-init now ignores the vmware customization, even though it is enabled in the cloud-init config17:26
=== holmanb changed the topic of #cloud-init to: 22.2 Released! | Bugs: https://bugs.launchpad.net/cloud-init/+filebug | PRs: https://git.io/JeVed | release schedule: https://discourse.ubuntu.com/t/cloud-init-2022-release-schedule/25413
blackboxswgive a guy op and he just takes over :) thx holmanb for topic update17:57
holmanbheh :) no problem17:58
blackboxswinteresting bug https://bugs.launchpad.net/cloud-init/+bug/1974062. I find myself wanting a bit more dynamic meta-data handling anyway from NoCloud. Something like that is almost possible, but there are some issues with timing and when to source jinja template variables etc before "rendering" such meta-data templates18:27
ubottuLaunchpad bug 1974062 in cloud-init "NoCloud instance-id's never change" [Undecided, New]18:27
blackboxswI'm trying to come up with some semblance of suggestions. While I'd like this feature, I think there is a bit of work to get there. 3-4 PRs maybe18:27
blackboxswthat feature bug is already getting  heat :)19:13
blackboxswpulled the network v1 ipv4/ipv6 bug into selected for developmen https://bugs.launchpad.net/cloud-init/+bug/197372420:08
ubottuLaunchpad bug 1973724 in cloud-init "Systemd-networkd generated configuration is wrong when both ipv4 and ipv6 addresses are used" [Undecided, Triaged]20:08
blackboxswwe should better handle this for direct networkd rendering20:09
blackboxswfalcojr: upload to ubuntu/jammy -proposed for SRU of 22.2 queued. you can merge your jammy PR and push tags whenever. going through impish focal bionic now22:16
blackboxswimpish good and uploaded to proposed https://github.com/canonical/cloud-init/pull/1466 can be git pushed upstream from the cmdline22:21
ubottuPull 1466 in canonical/cloud-init "22.2: Ubuntu/impish" [Open]22:21

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