From nobody Sat Apr 13 10:17:30 2024 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VGqB269B9z5H9vq for ; Sat, 13 Apr 2024 10:17:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VGqB25Ppyz4mQc; Sat, 13 Apr 2024 10:17:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713003450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pbm+gvL8rBxX8tzokI/b46UN49RxWgcBvoA6RQ3xPYg=; b=VgGF0LNYfQyqiG5RmwYwsRIfJE2GOldJCEte46S/NkT5aC8d0oMfcXAodPY0Hll3XdmYEN kOPinrSbJHB3fXNCiKViAPbSnoFkmlA6qMXyVtmTQVH0hECYSY+KR2uibTZybBQKijjut+ 3Ax16XeB0xLlJglTSLobwruXrBy5UGLVxcF2b7iCYK43275EVkrBXnJsher1T40EKGpecn WaHr6XdDA6cB7wTcdlCt2jY5TvhN8st2oWq7/Wq294li9s45YMPXsyVX73UPBB499uUZna OXvuHGtHoUj0weMeJrBckY4f1GvhjKcNavQAUlLZrS+N3+SuOcWGNoRMNd0cwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713003450; a=rsa-sha256; cv=none; b=Iet4yKxkKo2HEZqEqSNeN+qj71X5XRP/+eoHIP770/jATNUZ4CRZf4y/NWw1Cr+IWt8rb/ vejWrOlww+4yZZi1sDmhkchNhh4bYBPkuT6MTt5klraYdNIYOApUasOeQxSqk2wslpOmIw 9Fucz+R02ujRMl5H283XWB46LPBNRI/G69TXkLi9GtMbuyNNHPq5oZ06gUF9U4qi5m54AF JYuX27XYI+aaihNNAdkCOu8uh/IHRsUtchjHMQrWng4KiozUxvhh0BNsxOx7J3TfDBGI+L rKCmwnuJd65UiO3JiYdzxa5ISmKjmafIVkxQ9FaCX7zK6u0NrRNXBIrTr3LB+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713003450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pbm+gvL8rBxX8tzokI/b46UN49RxWgcBvoA6RQ3xPYg=; b=RVOfiptBA2WA9BLHOx90fJRkIApql5gM7dy4frB/9bni3TEuPQXlMmEhfqI8gZPEMKIYNY 5fsIF7MmJYDaHKr5CnalZHKRc7bhq47JBp05VvGjWQrqZOz36hv8pTLRSmEBrteEU8FrKb cxgta9cLU/+WWt4o/IXuednpBuHpj2Ke3jFy3zQNuJEj4SAvLUKLl6JqDksuA0oBUukQ+d 8Oz/ltDcW9P19431AhI5cma9xLj1jKAz/Oxb4Nw0OzJS6C1558tD/Tnvqrya2WAeV2/UL/ TJ9el+TgXPE4li14y2UcNKJ4QJ/iHPYO8nlmMuOrpkel4+ZH++Gm5r6ABMveyg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VGqB24zCnzT5P; Sat, 13 Apr 2024 10:17:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43DAHUD3006363; Sat, 13 Apr 2024 10:17:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43DAHUW0006360; Sat, 13 Apr 2024 10:17:30 GMT (envelope-from git) Date: Sat, 13 Apr 2024 10:17:30 GMT Message-Id: <202404131017.43DAHUW0006360@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: 5558b2744d - main - Status/2024Q1/cloud-init.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5558b2744df1ee823f96082883c14773b13bea8d Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=5558b2744df1ee823f96082883c14773b13bea8d commit 5558b2744df1ee823f96082883c14773b13bea8d Author: Mina Galić AuthorDate: 2024-04-13 10:14:15 +0000 Commit: Lorenzo Salvadore CommitDate: 2024-04-13 10:17:06 +0000 Status/2024Q1/cloud-init.adoc: Add report Reviewed by: status (Pau Amma ) 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ć + +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