[pve-devel] [PATCH stable-4 qemu-server 3/3] live storage migration : fix check of target storage availability

2017-10-03 Thread Fabian Grünbichler
From: Alexandre Derumier if we define a different target storeid for remote node, and that storage is not available on source node Signed-off-by: Alexandre Derumier (cherry picked from commit d80ad67f9d3be88cb0775865ef3ef06b82907752) Signed-off-by: Fabian Grünbichler --- PVE/API2/Qemu.pm |

[pve-devel] [PATCH stable-4 qemu-server 0/3] cherry-pick live-migration with local disk fixes

2017-10-03 Thread Fabian Grünbichler
my two patches are for compat with Qemu 2.9, Alexandre's is a general bug fix Alexandre Derumier (1): live storage migration : fix check of target storage availability Fabian Grünbichler (2): fix #1338: migrate: stop nbd before resuming migrate: clarify comment PVE/API2/Qemu.pm | 7 +++

[pve-devel] [PATCH stable-4 qemu-server 2/3] migrate: clarify comment

2017-10-03 Thread Fabian Grünbichler
Signed-off-by: Fabian Grünbichler (cherry picked from commit 877e2ea746616237f4a8d7169d23193a73c5a142) --- PVE/QemuMigrate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index b513a67..d3f717f 100644 --- a/PVE/QemuMigrate.pm +++ b/PV

[pve-devel] [PATCH stable-4 qemu-server 1/3] fix #1338: migrate: stop nbd before resuming

2017-10-03 Thread Fabian Grünbichler
since Qemu 2.9, block device write access is limited to one writer unless shared_rw is set to true. there is an exception for live-migrating local disks via NBD as long as the VM is suspended. stop the NBD server before resuming the VM accordingly to unbreak local disk live-migration. Signed-off-

Re: [pve-devel] rfc : qemu fw_cfg as alternative to cloudinit

2017-10-03 Thread Thomas Lamprecht
Hi, On 10/04/2017 08:14 AM, Alexandre DERUMIER wrote: > Hi, > > I just discover a new qemu feature : qemu fw_cfg > > http://www.contrib.andrew.cmu.edu/~somlo/QEMU_fw_cfg/ > Here the up-to-date specification:

[pve-devel] rfc : qemu fw_cfg as alternative to cloudinit

2017-10-03 Thread Alexandre DERUMIER
Hi, I just discover a new qemu feature : qemu fw_cfg http://www.contrib.andrew.cmu.edu/~somlo/QEMU_fw_cfg/ It's allow to add a custom firmware, from a host file like "-fw_cfg name=opt/GuestInfo,file=/etc/pve/qemu-server/100.conf" , for example Then it's possible to read this file in guest

Re: [pve-devel] [PATCH guest-common] Send email when a replication job fails.

2017-10-03 Thread Wolfgang Bumiller
On Tue, Oct 03, 2017 at 09:55:06AM +0200, Wolfgang Link wrote: > A email notification will be send for each job when the job fails. > This message will continued as long the job is failing. > --- > PVE/Replication.pm | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/PVE

Re: [pve-devel] [PATCH guest-common] Send email when a replication job fails.

2017-10-03 Thread Philip Abernethy
On Tue, Oct 03, 2017 at 11:42:03AM +0200, Wolfgang Link wrote: > > Philip Abernethy hat am 3. Oktober 2017 um 10:20 > > geschrieben: > > > > > > On Tue, Oct 03, 2017 at 09:55:06AM +0200, Wolfgang Link wrote: > > > A email notification will be send for each job when the job fails. > > > This mes

Re: [pve-devel] [PATCH guest-common] Send email when a replication job fails.

2017-10-03 Thread Wolfgang Link
> Philip Abernethy hat am 3. Oktober 2017 um 10:20 > geschrieben: > > > On Tue, Oct 03, 2017 at 09:55:06AM +0200, Wolfgang Link wrote: > > A email notification will be send for each job when the job fails. > > This message will continued as long the job is failing. > > --- > > PVE/Replication.

[pve-devel] [PATCH storage] ceph: add default timeouts to commands

2017-10-03 Thread Wolfgang Bumiller
Because ceph commands will just keep trying forever. --- PVE/Storage/RBDPlugin.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index decfbf5..5880040 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm

Re: [pve-devel] [PATCH guest-common] Send email when a replication job fails.

2017-10-03 Thread Philip Abernethy
On Tue, Oct 03, 2017 at 09:55:06AM +0200, Wolfgang Link wrote: > A email notification will be send for each job when the job fails. > This message will continued as long the job is failing. > --- > PVE/Replication.pm | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/PVE

[pve-devel] [PATCH container] lxc@ service: fix dependencies

2017-10-03 Thread Fabian Grünbichler
containers should be started and stopped manually by PVE, not automatically by systemd. this fixes an issue with containers being stopped early during the shutdown process, and getting restarted by the HA manager. Signed-off-by: Fabian Grünbichler --- src/Makefile | 1 + src/pv

[pve-devel] [PATCH guest-common] Send email when a replication job fails.

2017-10-03 Thread Wolfgang Link
A email notification will be send for each job when the job fails. This message will continued as long the job is failing. --- PVE/Replication.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Replication.pm b/PVE/Replication.pm index e53928e..0075b45 100644 --- a/PVE/