Date: Sat, 13 Apr 2024 10:17:30 GMT From: Lorenzo Salvadore <salvadore@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 5558b2744d - main - Status/2024Q1/cloud-init.adoc: Add report Message-ID: <202404131017.43DAHUW0006360@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=5558b2744df1ee823f96082883c14773b13bea8d commit 5558b2744df1ee823f96082883c14773b13bea8d Author: Mina Galić <freebsd@igalic.co> AuthorDate: 2024-04-13 10:14:15 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2024-04-13 10:17:06 +0000 Status/2024Q1/cloud-init.adoc: Add report Reviewed by: status (Pau Amma <pauamma@gundo.com>) Pull Request: https://github.com/freebsd/freebsd-doc/pull/369 --- .../status/report-2024-01-2024-03/cloud-init.adoc | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/website/content/en/status/report-2024-01-2024-03/cloud-init.adoc b/website/content/en/status/report-2024-01-2024-03/cloud-init.adoc new file mode 100644 index 0000000000..3a49bb4bff --- /dev/null +++ b/website/content/en/status/report-2024-01-2024-03/cloud-init.adoc @@ -0,0 +1,34 @@ +=== FreeBSD as a Tier 1 cloud-init Platform + +Links: + +link:https://cloud-init.io/[cloud-init Website] URL: link:https://cloud-init.io/[] + +link:https://cloudinit.readthedocs.io/en/latest/[cloud-init Documentation] URL: link:https://cloudinit.readthedocs.io/en/latest/[] + + +Contact: Mina Galić <freebsd@igalic.co> + +cloud-init is the standard way of provisioning servers in the cloud. +Over the past year and a half, thanks to this FreeBSD support has steadily improved. +This year, together with cloud-init developers and the FreeBSD Foundation, we decided to explicitly focus on making improvements in FreeBSD itself, that will aid the cloud-init team to test future changes to FreeBSD code-paths themselves. +To achieve this goal, I need to make FreeBSD run in LXD (and Incus), under the control of ``lxd-agent`` (or ``incus-agent``). + +Here are some improvements from the recent weeks: + +- I have written a small link:https://codeberg.org/meena/test-cloud-init[testing-framework] (in sh, and I'm slowly porting it to OpenTofu/Terraform), which installs the latest version of package:net/cloud-init-devel[] or package:net/cloud-init[] and runs a couple of standard cloud-init tests. +- To do this, I have created a link:https://pkg.igalic.co/[dedicated public repository] which contains the latest versions of package:net/cloud-init-devel[] and package:net/cloud-init[] for FreeBSD 13 and 14 on amd64 and aarch64. +- I have link:https://codeberg.org/meena/vsock-tests[ported Linux's vsock testing framework to FreeBSD] +- I created a driver skeleton for a link:https://codeberg.org/meena/freebsd-src/src/branch/vsock/sys/dev/virtio/socket[VirtIO Socket driver], based on the HyperV Socket driver. +- In doing so, I made numerous link:https://reviews.freebsd.org/D44517[improvements to HyperV sockets], some of which are accepted, others still need more work. +- I have tested and released the latest 24.1 series cloud-init, where the cloud-init team and I have finally fixed some longstanding bugs, such as link:https://github.com/canonical/cloud-init/pull/4820[moving ``/run/cloud-init``] to [.filename]#/var/run/cloud-init# on BSD, as well as fixing the link:https://github.com/canonical/cloud-init/pull/5061[``homedir`` argument] to ``user_groups`` to actually do something. +- This release also sees numerous fixes to the OpenBSD code-paths from the community and not just me. +- I have also started an official port for OpenBSD, but link:https://marc.info/?l=openbsd-ports&m=170508174230708&w=2[that work has stalled]. + +The work to come, in broad strokes: + +- Finish the FreeBSD VirtIO Socket driver. +- Fix Go's runtime to support VirtIO on FreeBSD. +- Port lxd-agent's dependencies to FreeBSD. +- Port lxd-agent to FreeBSD. + +That work will be interspersed with more improvments to cloud-init on BSDs, and more tests on different cloud providers. + +Sponsor: The FreeBSD Foundation
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404131017.43DAHUW0006360>