From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 36D496391B for ; Thu, 16 Jul 2020 11:49:11 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 31D67122B1 for ; Thu, 16 Jul 2020 11:48:41 +0200 (CEST) Received: from mailpro.odiso.net (mailpro.odiso.net [89.248.211.110]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 2F8831229A for ; Thu, 16 Jul 2020 11:48:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailpro.odiso.net (Postfix) with ESMTP id BC6C813B5F91; Thu, 16 Jul 2020 11:48:38 +0200 (CEST) Received: from mailpro.odiso.net ([127.0.0.1]) by localhost (mailpro.odiso.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Rriqs3nyT36M; Thu, 16 Jul 2020 11:48:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailpro.odiso.net (Postfix) with ESMTP id A28BD13B5F92; Thu, 16 Jul 2020 11:48:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mailpro.odiso.com Received: from mailpro.odiso.net ([127.0.0.1]) by localhost (mailpro.odiso.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5He9CcrMWJmB; Thu, 16 Jul 2020 11:48:38 +0200 (CEST) Received: from mailpro.odiso.net (mailpro.odiso.net [10.1.31.111]) by mailpro.odiso.net (Postfix) with ESMTP id 8D8AE13B5F91; Thu, 16 Jul 2020 11:48:38 +0200 (CEST) Date: Thu, 16 Jul 2020 11:48:38 +0200 (CEST) From: Alexandre DERUMIER To: Proxmox VE development discussion Cc: pve-devel Message-ID: <1603738780.320994.1594892918404.JavaMail.zimbra@odiso.com> In-Reply-To: <1359935286.41830.1594891037513.JavaMail.zimbra@fws.fr> References: <820036375.40230.1594879482824.JavaMail.zimbra@fws.fr> <1483212253.316617.1594884577550.JavaMail.zimbra@odiso.com> <1933994694.40972.1594887289529.JavaMail.zimbra@fws.fr> <481819632.318664.1594888699107.JavaMail.zimbra@odiso.com> <1359935286.41830.1594891037513.JavaMail.zimbra@fws.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3866 (ZimbraWebClient - GC83 (Linux)/8.8.12_GA_3844) Thread-Topic: Regression in ifupdown2 with templates ? Thread-Index: y1zPifgoAsMRQ2wzUpPChB4QySALrCLwFjrjsvcTVaGMrTTlcW5pEQXw7Y8E1SE= X-SPAM-LEVEL: Spam detection results: 0 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] Regression in ifupdown2 with templates ? X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 09:49:11 -0000 I'll try to see if we can backport this patch, or bump to last master versi= on, until a new release is done. ----- Mail original ----- De: "Daniel Berteaud" =C3=80: "Proxmox VE development discussion" Cc: "pve-devel" Envoy=C3=A9: Jeudi 16 Juillet 2020 11:17:17 Objet: Re: [pve-devel] Regression in ifupdown2 with templates ? ----- Le 16 Juil 20, =C3=A0 10:38, Alexandre DERUMIER aderumier@odiso.com a= =C3=A9crit :=20 >>>error: main exception: a bytes-like object is required, not 'str'=20 >=20 > seem to be a bug here, maybe in template parsing.=20 >=20 > Maybe this commit is fixing it:=20 >=20 > https://github.com/CumulusNetworks/ifupdown2/commit/c44a7a363579d78c42b0c= f17ff1b726dcde9296c=20 That's it !=20 Installing python3-mako and applying this patch made everything working aga= in. I guess it'll picked up on the next ifupdown2 release (or should this b= e backported in pve package ?)=20 Anyway, many thanks Alexandre !=20 Regards, Daniel=20 --=20 [ https://www.firewall-services.com/ ]=20 Daniel Berteaud=20 FIREWALL-SERVICES SAS, La s=C3=A9curit=C3=A9 des r=C3=A9seaux=20 Soci=C3=A9t=C3=A9 de Services en Logiciels Libres=20 T=C3=A9l : +33.5 56 64 15 32=20 Matrix: @dani:fws.fr=20 [ https://www.firewall-services.com/ | https://www.firewall-services.com ]= =20 _______________________________________________=20 pve-devel mailing list=20 pve-devel@lists.proxmox.com=20 https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel=20