[pve-devel] Regression in ifupdown2 with templates ?

Alexandre DERUMIER aderumier at odiso.com
Thu Jul 16 11:48:38 CEST 2020


I'll try to see if we can backport this patch, or bump to last master version, until a new release is done.



----- Mail original -----
De: "Daniel Berteaud" <daniel at firewall-services.com>
À: "Proxmox VE development discussion" <pve-devel at lists.proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 16 Juillet 2020 11:17:17
Objet: Re: [pve-devel] Regression in ifupdown2 with templates ?

----- Le 16 Juil 20, à 10:38, Alexandre DERUMIER aderumier at odiso.com a écrit : 

>>>error: main exception: a bytes-like object is required, not 'str' 
> 
> seem to be a bug here, maybe in template parsing. 
> 
> Maybe this commit is fixing it: 
> 
> https://github.com/CumulusNetworks/ifupdown2/commit/c44a7a363579d78c42b0cf17ff1b726dcde9296c 

That's it ! 
Installing python3-mako and applying this patch made everything working again. I guess it'll picked up on the next ifupdown2 release (or should this be backported in pve package ?) 

Anyway, many thanks Alexandre ! 

Regards, Daniel 


-- 
[ https://www.firewall-services.com/ ] 
Daniel Berteaud 
FIREWALL-SERVICES SAS, La sécurité des réseaux 
Société de Services en Logiciels Libres 
Tél : +33.5 56 64 15 32 
Matrix: @dani:fws.fr 
[ https://www.firewall-services.com/ | https://www.firewall-services.com ] 


_______________________________________________ 
pve-devel mailing list 
pve-devel at lists.proxmox.com 
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





More information about the pve-devel mailing list