From nobody Mon Nov 18 15:24:44 2024 X-Original-To: freebsd-cloud@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 4XsWdd25pyz5dDhF for ; Mon, 18 Nov 2024 15:24:53 +0000 (UTC) (envelope-from claudiu@coderollers.com) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2128.outbound.protection.outlook.com [40.107.21.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsWdb4VDNz4jm9 for ; Mon, 18 Nov 2024 15:24:51 +0000 (UTC) (envelope-from claudiu@coderollers.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=coderollers.onmicrosoft.com header.s=selector2-coderollers-onmicrosoft-com header.b=Ggx2Kj7E; spf=pass (mx1.freebsd.org: domain of claudiu@coderollers.com designates 40.107.21.128 as permitted sender) smtp.mailfrom=claudiu@coderollers.com; dmarc=none; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mrpNeVb6YHHNQ30keEgh6OUNm0HI+n+OesbokTTT8CSxTcDSdKMQrqLW4iV5NjOoiHG9s5PVjU6s3KKF4OB18RaSUIPdKrmy9tWio+vs5Ey9zkc5RP5y+xU9FVppmX/B74PuLZO05oTk7sBKYv/3Fdp7kEWs6dXbITF4w9j229JLGt9X7Q9/2xfoRXxtUolDqTcvPgG0FGeUtspwRJLPQqii/4KeZOT4nNIKA+QX8dTG97EptjUH1XiHjEFWBwonBiRRo0Y8Owv6JPvjDRKbmrdlyu+QJxg8NY1SypjgJp1X5gE1fD4vtGY6p3KCBi1uh7PJmoJXwri54U5RGn+LXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0DQUoI6fp4beaE/al+yVQL5rN7MKVjEMm6EzmliihpE=; b=oPSC0XVrlwC+VxzfoDpXf/dNWuuyS50BoQEjeahPRK3greOdoY9XnZkK18mS+AMJuBmpof7yKE2fkp7m4egYupiq+YvJb1Il7JtQwMPUMtWO9SSqIIBgGBn+ZdFTBQRvvln36/Jzh0b1MUmLZ0DzqjIkgotPLIDYKJougOdKnsrBDvuFJgHt4Crq3PpYSujoSieEc12ayOyANC1IvARcsQMM5v5kF6ctGbiw+uiuB+pzVosVEScvIWs36Hft/4n2FtaNanIf8OIhN8sxPIhVlI1r8JRJ99BYUyuwduXw6NRWYNVBrWm8hzqquWRfIdaHqo6vpbqEII6gQgm/u33TDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=coderollers.com; dmarc=pass action=none header.from=coderollers.com; dkim=pass header.d=coderollers.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coderollers.onmicrosoft.com; s=selector2-coderollers-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0DQUoI6fp4beaE/al+yVQL5rN7MKVjEMm6EzmliihpE=; b=Ggx2Kj7Eipqs3/GUWhHm7RiMIcgqr4Spg4DUyAZTfmGhqcCx/lpO68t6lQO1KmudCHC0xk0Kv+yEnoPoIPK16lPITU6bR1eCL2mVTAL+db3WcKPgyfdjdE38PW5CbKoz2hygOWBivjH3REoEX1a+Ylqz5w9URga2kY2X+CJAWN0= Received: from DU0PR05MB9190.eurprd05.prod.outlook.com (2603:10a6:10:35d::5) by DB4PR05MB10487.eurprd05.prod.outlook.com (2603:10a6:10:3cd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.22; Mon, 18 Nov 2024 15:24:44 +0000 Received: from DU0PR05MB9190.eurprd05.prod.outlook.com ([fe80::a5c2:202:18ca:5a88]) by DU0PR05MB9190.eurprd05.prod.outlook.com ([fe80::a5c2:202:18ca:5a88%6]) with mapi id 15.20.8158.013; Mon, 18 Nov 2024 15:24:44 +0000 From: =?iso-8859-2?Q?Claudiu_Curc=E3?= To: "freebsd-cloud@freebsd.org" Subject: Azure image missing cloud-init with FreeBSD 14.1 Thread-Topic: Azure image missing cloud-init with FreeBSD 14.1 Thread-Index: Ads5zA2PyZ2wY+9TQPq/bS4Q5YpYpw== Date: Mon, 18 Nov 2024 15:24:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR05MB9190:EE_|DB4PR05MB10487:EE_ x-ms-office365-filtering-correlation-id: 91e939db-20d6-415a-ee29-08dd07e5218a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|8096899003|38070700018; x-microsoft-antispam-message-info: =?iso-8859-2?Q?ztC7KIm08wx54/2OWVXV2Z5p3HFxIxjenWUqRPTQM1hj8glVJJuCwexHdC?= =?iso-8859-2?Q?apEW84VCmG03nqHI4DkxaGzbD+v8ujw5Kprs4ZMM15w1/gyZ5VDZQ/2sBI?= =?iso-8859-2?Q?AdH1hZenH91MpoXkuI40IXfAcrKeWaA8cREYRspc/3IpfPlVUQDiUgBxXZ?= =?iso-8859-2?Q?so8jul3Avc2aFDh5pupq+c34na6Imm+UZcLbMq71hUjZle1FFDHDJ8XtIB?= =?iso-8859-2?Q?B34Sa+8bKsewHSxBpi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W?= =?iso-8859-2?Q?YPUa6iTwJBHi4nSSy5/4yDfOzkoyEPJAzmfZovAo1PkxhxMBz5DYAz5m51?= =?iso-8859-2?Q?useuMI5IedU3gyOOVPhL515muoaySuls9sP+8K7UmbEz5aJBG68Og+laYY?= =?iso-8859-2?Q?dfLD4hiTCIeJwtv0TDH8HtyoAASneInesApIjcZka0RM8FUPlke4Bpuaty?= =?iso-8859-2?Q?QDpDP0fVMyR/G2Oy6KmuJnmxNEvXry5q6JLoRkv067CNhqG8jW7LRofjpt?= =?iso-8859-2?Q?iOmMUvhpceoV7TgAO3yXAdsB2pNn/3HO4WxuaZj+OyJscpolC8rZA=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR05MB9190.eurprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(8096899003)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-2?Q?aUdCBezVZ4QfK5hrwRtw3X/qFlMjllwWL4uEePBQs3O77tYhmV81MhfD7p?= =?iso-8859-2?Q?3ePJdrQ9LWN2wgDbtYHBk9Mx2a+hnL74CGXIHcSNbLR/+h3eLAXTfj8E1z?= =?iso-8859-2?Q?5DOoDRxhpQ/J7GxW4pU9usi7GQ0v8MYQAWnBk9PHubR4xcaUiLxajfLY0x?= =?iso-8859-2?Q?IHS9RQEATbUElLE2DPxJ0EvE5mFqlFY/hzxaHSP7N8OvO16sIFdw8LSixR?= =?iso-8859-2?Q?41+kCy6Hk/FnJ1Tyg54/UYH9E3YGgnjXOZYsvrk1JhyGG6WJsUSMHVPxIf?= =?iso-8859-2?Q?PMcvub/ruhCkZRMScSF8psNmaKnR/XMNNuKYwexfZGf6vxTZ+rR2eSOCuX?= =?iso-8859-2?Q?u0YO00B6gU5sfMWocCavdkWGcrNafRIDgLUYuEJyMLDSY6etNxOJNoJWS3?= =?iso-8859-2?Q?bD08cT+3gU5Q63hclt/IYVtdkwgk8G9YeFKsOeG93++MH7V/w8/ueLJUrn?= =?iso-8859-2?Q?szahBWtw/S+paxwzrvl4n07DIfF9kL3GkngG33OMrmGqHy25FDKfq9aZ59?= =?iso-8859-2?Q?PLJuMxBP0jvwCspCoCsvVNRgc7eXiSUpom3p2A+Gxu3fcEJNK3bunzjLtq?= =?iso-8859-2?Q?1r8rCLfWY0rEvtg2KBV8C/h8E812WXWCdHdsL3s8CE2QwiDpmrhVRiZ3FD?= =?iso-8859-2?Q?ivZe0Cb4+DmG7om3MeIJKBLlRUFQTqH+ScwttLPaDg8BZLRqtneI6NU3T0?= =?iso-8859-2?Q?t7tvCv30fUH41B4k2+g/89witMc29ZhekrSDUGnjtUrg7/t7QUE+iGvXGP?= =?iso-8859-2?Q?0Rvxe58rckdgTL/WNLKjvAE0kRjDewJGc3srt9v5MyA+EoyT6miqSzh9AM?= =?iso-8859-2?Q?mjOOMeNGjRGYjmM979QY8H8QEEkhjbmdqt1dtUPx4qMAZTLMQZlfq/LzS7?= =?iso-8859-2?Q?Ltpm9iKjpGUpyX+aSxz3Qa4XK4pAyszbZzo616HVAXZjhhYJd+qmDa80GN?= =?iso-8859-2?Q?skesji3fgniylQmNKCPVX+xsNwM7dG1+NR81rX0mqOJPnEiS52vbRMtG/7?= =?iso-8859-2?Q?wNHpKmFb8Ip9S+slVUf0U/ayJ9epGK3ay05+vcMBzrfzuch7rn+D9SuP/A?= =?iso-8859-2?Q?ZxnWMGT2ADjDphidliv2FDF52CPf8LkQAe6rN/XlUrV0RLs/3tqndGYfp0?= =?iso-8859-2?Q?2/GTN1kookeTgDTCutLbwBSqdkud/AHyNQ2YX5VyTRHCrOFE06AYaZQR1w?= =?iso-8859-2?Q?9rh6DG311NtImNNjBclRbi5yrj8lFQZvjWPbwzVJNqhS53aOna3c/A7W90?= =?iso-8859-2?Q?c/ecluT3RQKP9E2s29maCodPcXPnQLLoDwngYRCa8bWcpriLeufZRXJws1?= =?iso-8859-2?Q?9yJNU3kD2FR0DnC/k60ZcNglNFHCJGyk0GNc4wtBV7ol0ab66NhrWmbogH?= =?iso-8859-2?Q?VSnh7rowu8s+b35PELGwHfz07wRCuXBTorUvlkszZInrjL93Aip4OLEZb9?= =?iso-8859-2?Q?88yt8VWXUKx0pKugoFhQy+Yv/+Y+1u1uUk1RqvbO6f9RceDY9ngSbJSL4b?= =?iso-8859-2?Q?l4OmwmIGYdUaYgVYOnmS2P8KzE6QM2S5Ubrw3YkkFwc29Qrtj033X5vtcq?= =?iso-8859-2?Q?qUWOpp+UsBg3pQKAeXj4XAjpcoKP3KL6fdRrLvyfQgZt1EolDgcbAgON1o?= =?iso-8859-2?Q?ab9Yfe08Yq4YOvsiHiXo8D292d099Vhy0s?= Content-Type: multipart/alternative; boundary="_000_DU0PR05MB91904C1D4F65BA0C92E0C73EA2272DU0PR05MB9190eurp_" List-Id: FreeBSD on cloud platforms (EC2, GCE, Azure, etc.) List-Archive: https://lists.freebsd.org/archives/freebsd-cloud List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-cloud@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: coderollers.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR05MB9190.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91e939db-20d6-415a-ee29-08dd07e5218a X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2024 15:24:44.8019 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a2f11ae1-29b7-4a41-8791-562af2abd8a7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZrKtOofeK8dhEdxfht2NAogmNh1qjdDKE96y2EJgVYIqeLK3vH44HaMfY/KWHIw1ZDhfaFeqJ/H2WBdeVd0V5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR05MB10487 X-Spamd-Result: default: False [-4.50 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[coderollers.onmicrosoft.com:s=selector2-coderollers-onmicrosoft-com]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.21.128:from]; DMARC_NA(0.00)[coderollers.com]; MLMMJ_DEST(0.00)[freebsd-cloud@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.107.21.128:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[coderollers.onmicrosoft.com:+] X-Rspamd-Queue-Id: 4XsWdb4VDNz4jm9 X-Spamd-Bar: ---- --_000_DU0PR05MB91904C1D4F65BA0C92E0C73EA2272DU0PR05MB9190eurp_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello team, For a new project we're considering using FreeBSD 14 on Azure VMs as our ap= plication runtime. So far, our testing has been positive, but we've hit a b= ump in the road today and I wanted to reach out and find out if it's really= an issue or are we the ones looking at this from the wrong angle. For context, our orchestration is fully automated, with Azure Devops pipeli= nes and Terraform. We use Terraform to create the VMs and VMSSes (together = with all the ancillary stuff) and make heavy use of cloud-init to bootstrap= the VMs with everything that's necessary to obtain the final application r= untime by passing the cloud-init custom data configuration from within Terr= aform. The problem is that during our testing, our custom data (i.e. cloud-= config.yaml) was ignored. After SSH-ing into the VM, we found errors in the= Azure WA Agent logs about not finding cloud-init. Upon closer inspection, = indeed, cloud-init is missing from the system. There is a package (py311-cl= oud-init) which can be installed, though, but that would mean we'd have to = bake our own image and then maintain one with each subsequent upstream rele= ase. Is there any reason why cloud-init is not included with the Azure base-imag= e? On the other hand, is cloud-init the proper way to bootstrap the VMs? I = know cloud-init is rather linux-oriented, so is there a more BSD-favoured w= ay of bootstrapping a VM on creation (except for Ansible, Chef or other thi= rd party solutions). Looking forward to your response. Claudiu --_000_DU0PR05MB91904C1D4F65BA0C92E0C73EA2272DU0PR05MB9190eurp_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

Hello team,

 

For a new project we’re considering using Free= BSD 14 on Azure VMs as our application runtime. So far, our testing has bee= n positive, but we’ve hit a bump in the road today and I wanted to re= ach out and find out if it’s really an issue or are we the ones looking at this from the wrong angle.

 

For context, our orchestration is fully automated, w= ith Azure Devops pipelines and Terraform. We use Terraform to create the VM= s and VMSSes (together with all the ancillary stuff) and make heavy use of = cloud-init to bootstrap the VMs with everything that’s necessary to obtain the final application runtime = by passing the cloud-init custom data configuration from within Terraform. = The problem is that during our testing, our custom data (i.e. cloud-config.= yaml) was ignored. After SSH-ing into the VM, we found errors in the Azure WA Agent logs about not finding cloud= -init. Upon closer inspection, indeed, cloud-init is missing from the syste= m. There is a package (py311-cloud-init) which can be installed, though, bu= t that would mean we’d have to bake our own image and then maintain one with each subsequent upstream release.=

 

Is there any reason why cloud-init is not included w= ith the Azure base-image? On the other hand, is cloud-init the proper way t= o bootstrap the VMs? I know cloud-init is rather linux-oriented, so is ther= e a more BSD-favoured way of bootstrapping a VM on creation (except for Ansible, Chef or other third party solutions)= .

 

Looking forward to your response.

Claudiu

 

 

--_000_DU0PR05MB91904C1D4F65BA0C92E0C73EA2272DU0PR05MB9190eurp_--