From nobody Wed Jul 12 14:59:46 2023 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 4R1LW70GSBz4mmZG for ; Wed, 12 Jul 2023 14:59:47 +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 4R1LW66yscz3nKn; Wed, 12 Jul 2023 14:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689173987; 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=Sftqzs/mjlHpO7ciPo8+b8AKfk3MV4TgI+Ld7GruTUA=; b=sQbxkVy34cmZCB682y3l54aDLbyexVFLrZSqO4rd8yt/mt+FYT2RHNOV/qRYgkPzqreJpw 59vSwUqmhcU9lhQLZty9K+51u11EHDsO6fXQsVQcBM3TCai9Iiwxg9xJ48Xidvme4tF4ko UFwuctsv2DkklEdWiA2Q1JLrRXnApboNaB1gkeueuO/VP1Oxtd2iOUTkE/PEJNLSIo74kF rWbgDtI1WdXLnnhOOQpnNFYDpWYks/6El1xCjTjjkKgW2wxZ6pzVh0v0IyhuukxEs0FClv yYDVI89/qiMZtmZNCsCDRRbqv9f7vXqe/UP7/i5u2V1jtDOJHHcksk6YNZ0Ecw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689173987; 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=Sftqzs/mjlHpO7ciPo8+b8AKfk3MV4TgI+Ld7GruTUA=; b=Y157uW5AYQ/XdwJBxCow/mVybdemTnm3iYQehnKN+QFWBYx/fh+DMJJdNDudlCVED4ksLl l6l/PkJkrFFcmspNgo5YjSERPdgN1UxSQ6lQ1QfvjQcwQJYxjbZ0IvYSt24/IL/wfbyUg5 C3++wH1uVTr8xNLCFtQM7rSKb8MgQohjbvWculfFOQhTi42prJQXXm/VhUoKXdfiL8/yxH 9OfTJGDOIAe3gqiPDrYJl98KbW3xYqDYObPN5OpbQimATQr3QHqTCCi0Bx0ENoryCiqh0w SKFJ0hFYIM/oQ5Q4GmnXNQWNdW9FFeKiBDPImWRM+dtAdeaZZRn7w3dCd2muvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689173987; a=rsa-sha256; cv=none; b=v3LmdCnRzn61eoNGYCr9sYKIqpyDLjCFF+yIwg2L3L/9f6eK3GkuphrgeVcTzqdPAfHe3u 8cqe0JZwTldMfOLZLDvJ+R42Rr80b6TnXpyEWHKt/CDCmLNTyl/YzBXaAAcBkFzPa5eqjz 4d2WIYsaRONeCtVHfH6ZNT7CR1QuPPxTIXPyeebYXHVRAzQgkn+QZ8oEqdgnvjHsIL/aj4 KlP9zCxHiDaLx1kjkPUchbMsDwwWGPL7JkUxHMIVm7FezDmIhlw6L48y5qW1neulFg5Rm+ OeaN3WQ3s2xtwSTzkQik4n1ezixgvBTrkcd3MmH4P4JM/hUc4ylre6liOxlE9g== 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 4R1LW65x6wz1ChG; Wed, 12 Jul 2023 14:59:46 +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 36CExkrR076519; Wed, 12 Jul 2023 14:59:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36CExklo076518; Wed, 12 Jul 2023 14:59:46 GMT (envelope-from git) Date: Wed, 12 Jul 2023 14:59:46 GMT Message-Id: <202307121459.36CExklo076518@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: b5ca80c439 - main - Status/2023Q2/cloud-init.adoc 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: Sender: owner-dev-commits-doc-all@freebsd.org 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: b5ca80c439957a508a9abe5d1213bbb6a1081860 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=b5ca80c439957a508a9abe5d1213bbb6a1081860 commit b5ca80c439957a508a9abe5d1213bbb6a1081860 Author: Mina Galić AuthorDate: 2023-07-12 14:45:36 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-07-12 14:58:59 +0000 Status/2023Q2/cloud-init.adoc Approved by: dbaio (mentor, implicit) Pull Request: https://github.com/freebsd/freebsd-doc/pull/218 --- .../status/report-2023-04-2023-06/cloud-init.adoc | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/cloud-init.adoc b/website/content/en/status/report-2023-04-2023-06/cloud-init.adoc new file mode 100644 index 0000000000..d4a16af4e9 --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/cloud-init.adoc @@ -0,0 +1,35 @@ +=== 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/[] + +link:https://github.com/canonical/cloud-init/blob/main/WIP-ONGOING-REFACTORIZATION.rst[cloud-init ongoing refactorization] URL: link:https://github.com/canonical/cloud-init/blob/main/WIP-ONGOING-REFACTORIZATION.rst[] + +Contact: Mina Galić + +cloud-init is the standard way of provisioning servers in the cloud. +Unfortunately, cloud-init support for operating systems other than Linux has been rather poor, and the lack of cloud-init support on FreeBSD is a hindrance to cloud providers who want to offer FreeBSD as a Tier 1 platform. +To remedy the situation, this project aims to bring FreeBSD cloud-init support on par with Linux support. +The broader plan is to lift support across all BSDs. + +This quarter has been going quite slowly, but I have managed to deliver a new milestone: + +- Ephemeral Networking classes have been rewritten and made platform independent. +These are used by several cloud providers to initialize a temporary network before retrieving the actual configuration. + +- cloud-init has been successfully tested on Vultr. +I hope that with the next release I can convince Vultr to switch their FreeBSD images to cloud-init. + +In addition to that, I have expanded rsyslog support for BSD. +I've also added an rc script for cloud-init's ds-identify, which should make zero-configuration setups orders of magnitude faster: +ds-identify runs first and very quickly guesses the cloud provider the machine is running on. +cloud-init then uses only that guess, instead of iterating and failing through a full list of all possible cloud providers. +People building custom images can easily disable this (by removing ``/usr/local/etc/rc.d/dsidentify``), and providing a specific listing themselves, shave off a few more milliseconds from their boot. + +The next steps will be to keep hacking away at the network refactoring tasks, and to add LXD support for FreeBSD, so it can be included in CI tests. +The latter will include work on link:https://github.com/canonical/lxd/pull/11761[LXD], as well as work on the link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271793[FreeBSD virtio subsystem]. + +As always, I highly welcome early testers to checkout package:net/cloud-init-devel[], and report bugs. +Since the last report, cloud-init's bug tracker has moved from Launchpad to GitHub, so this might reduce some friction. + +Sponsor: The FreeBSD Foundation