aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMina Galić <freebsd@igalic.co>2024-04-13 10:14:15 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2024-04-13 10:17:06 +0000
commit5558b2744df1ee823f96082883c14773b13bea8d (patch)
treed338671c1b7ececf4a5cf933a91260b5b213698c
parentf39dd7136bc8aa8461fc082ab456ca96d062d100 (diff)
downloaddoc-5558b2744df1ee823f96082883c14773b13bea8d.tar.gz
doc-5558b2744df1ee823f96082883c14773b13bea8d.zip
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
-rw-r--r--website/content/en/status/report-2024-01-2024-03/cloud-init.adoc34
1 files changed, 34 insertions, 0 deletions
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