[pve-devel] [RFC qemu-server 2/2] create test environment for QemuMigrate.pm

2020-07-16 Thread Fabian Ebner
and the associated parts for 'qm start'. Each test will first populate the MigrationTest/run directory with the relevant configuration files and files keeping track of the state of everything necessary. Second, the mock-script for migration is executed, which in turn will execute the 'qm start' mo

[pve-devel] [PATCH qemu-server 1/2] migration: factor out starting remote tunnel

2020-07-16 Thread Fabian Ebner
so the '-S' check can be avoided with mocking. Signed-off-by: Fabian Ebner --- PVE/QemuMigrate.pm | 119 - 1 file changed, 64 insertions(+), 55 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index cd4a005..0d8dc82 100644 --- a/PVE/Q

Re: [pve-devel] Regression in ifupdown2 with templates ?

2020-07-16 Thread Alexandre DERUMIER
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" À: "Proxmox VE development discussion" Cc: "pve-devel" Envoyé: Jeudi 16 Juillet 2020 11:17:17 Objet: Re: [pve-devel] Regression in ifupd

Re: [pve-devel] Regression in ifupdown2 with templates ?

2020-07-16 Thread Daniel Berteaud
- Le 16 Juil 20, à 10:38, Alexandre DERUMIER aderum...@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

[pve-devel] [PATCH v2 pve-docs 2/3] ha-manager: fix typos and grammatical errors; improve wording

2020-07-16 Thread Dylan Whyte
This patch improves the English throughout the "High Availability" documentation. It mostly consists of small typo and grammar fixes, but also contains rewording of some sections for the sake of readability. Signed-off-by: Dylan Whyte --- ha-manager.adoc | 214 ---

Re: [pve-devel] Regression in ifupdown2 with templates ?

2020-07-16 Thread Alexandre DERUMIER
>>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 - Mail original - De: "Daniel Berteaud" À

Re: [pve-devel] Regression in ifupdown2 with templates ?

2020-07-16 Thread Daniel Berteaud
- Le 16 Juil 20, à 9:29, Alexandre DERUMIER aderum...@odiso.com a écrit : > Hi, > > ifupdown3 have migrated to python3, > > maybe try to install python3-mako package ? Didn't know it was switching to py3 :-) Indeed, installing python3-mako makes the previous error message go away. But the

Re: [pve-devel] Regression in ifupdown2 with templates ?

2020-07-16 Thread Alexandre DERUMIER
Hi, ifupdown3 have migrated to python3, maybe try to install python3-mako package ? - Mail original - De: "Daniel Berteaud" À: "pve-devel" Envoyé: Jeudi 16 Juillet 2020 08:04:42 Objet: [pve-devel] Regression in ifupdown2 with templates ? Hi there. I'm running a 5 nodes PVE6 cluster