public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Alexandre DERUMIER <aderumier@odiso.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Cc: pve-devel <pve-devel@pve.proxmox.com>
Subject: Re: [pve-devel] Regression in ifupdown2 with templates ?
Date: Thu, 16 Jul 2020 11:48:38 +0200 (CEST)	[thread overview]
Message-ID: <1603738780.320994.1594892918404.JavaMail.zimbra@odiso.com> (raw)
In-Reply-To: <1359935286.41830.1594891037513.JavaMail.zimbra@fws.fr>

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@firewall-services.com>
À: "Proxmox VE development discussion" <pve-devel@lists.proxmox.com>
Cc: "pve-devel" <pve-devel@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@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@lists.proxmox.com 
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




      reply	other threads:[~2020-07-16  9:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16  6:04 Daniel Berteaud
2020-07-16  7:29 ` Alexandre DERUMIER
2020-07-16  8:14   ` Daniel Berteaud
2020-07-16  8:38     ` Alexandre DERUMIER
2020-07-16  9:17       ` Daniel Berteaud
2020-07-16  9:48         ` Alexandre DERUMIER [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1603738780.320994.1594892918404.JavaMail.zimbra@odiso.com \
    --to=aderumier@odiso.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=pve-devel@pve.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal