[pve-devel] End of life for Debian Wheezy

2016-02-16 Thread Michael Rasmussen
Hi all, The official end of life for Debian Wheezy has been announced to April 26 from which date maintenance will be taken over by the LTS team. https://www.debian.org/News/2016/20160212 What does this mean for Proxmox 3.4? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys:

[pve-devel] [PATCH ha-manager 3/4] fix infinite started <=> migrate cycle

2016-02-16 Thread Thomas Lamprecht
If we get an 'EWRONG_NODE' error from the migration we have no sane way out. If we place it then in the started state we also get the 'EWRONG_NODE' error again and it even will place the service in the migration state again (when it's not restricted by a group) and thus result in an infinite

[pve-devel] [PATCH ha-manager 4/4] reduce frequency of useless error logging

2016-02-16 Thread Thomas Lamprecht
If a service is in the error state we got an not rather useful log message about every 5 seconds, this sums up rather quickly and is not quite helpful. This changes the behaviour so that we get an initial log message and then once per minute. Signed-off-by: Thomas Lamprecht

[pve-devel] [PATCH ha-manager 1/4] fix possible out of sync state on migrations

2016-02-16 Thread Thomas Lamprecht
Description of the problem, imagine the following: We get the CRM command to migrate 'vm:100' from A to B. Now the migration fails, now normally we would get placed in the started state on the source node A from the CRM when it processes our result. But if the CRM didn't processed our result

[pve-devel] [PATCH ha-manager 2/4] exec_resource_agent: process error state early

2016-02-16 Thread Thomas Lamprecht
We want to give the error state priority over EWRONG_NODE as a service may be in the error state because of EWRONG_NODE Change the error message a bit and add a possibility to not log the error message which will be used in a future patch to spam the log less. Signed-off-by: Thomas Lamprecht

[pve-devel] [PATCH kvm] Fix CVE-2016-2391: usb: ohci avoid multiple eof timers

2016-02-16 Thread Wolfgang Bumiller
--- ...6-2391-usb-ohci-avoid-multiple-eof-timers.patch | 40 ++ debian/patches/series | 1 + 2 files changed, 41 insertions(+) create mode 100644 debian/patches/extra/CVE-2016-2391-usb-ohci-avoid-multiple-eof-timers.patch diff --git

[pve-devel] [PATCH pve-manager 1/2] use 'refresh' event to reload the grid after filtering the store

2016-02-16 Thread Emmanuel Kasper
'datachanged' event was not reloading the store with ExtJS5, but 'refresh' does. According to the API description 'refresh' seems to be what we need: http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.data.AbstractStore-event-refresh also remove deprecated readme ( ExtJS6 do not have the

[pve-devel] [PATCH pve-manager 2/2] Add class documentation header

2016-02-16 Thread Emmanuel Kasper
--- www/manager6/panel/ConfigPanel.js | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/www/manager6/panel/ConfigPanel.js b/www/manager6/panel/ConfigPanel.js index bfa9211..94f8fbe 100644 --- a/www/manager6/panel/ConfigPanel.js +++ b/www/manager6/panel/ConfigPanel.js @@

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 15:50 schrieb Dmitry Petuhov: > 16.02.2016 13:20, Dietmar Maurer wrote: >>> Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it >>> with 500-1500MB/s. See below for an example. >> The backup process reads 64KB blocks, and it seems this slows down ceph. >> This

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Dmitry Petuhov
16.02.2016 13:20, Dietmar Maurer wrote: Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it with 500-1500MB/s. See below for an example. The backup process reads 64KB blocks, and it seems this slows down ceph. This is a known behavior, but I found no solution to speed it up.

[pve-devel] [PATCH ha-manager 1/2] fix some log formatting

2016-02-16 Thread Thomas Lamprecht
First remove trailing whitespace from log messages on state changes This needs to touch some regression test, but with no change in semantics. Second add a missing paranthese on the "fixup service location" message. This needs no regression test log.expect changes. Signed-off-by: Thomas

[pve-devel] [PATCH ha-manager 2/2] fix 'uninitialized value' on online node usage computation

2016-02-16 Thread Thomas Lamprecht
This fixes a bug introduced by commit 9da84a0 which set the wrong hash when a disabled service got a migrate/relocate command. We set "node => $target", while our state machine could handle that we got some "uninitialized value" warnings when migrating a disabled service to an inactive LRM.

[pve-devel] [PATCH manager] syslog: allow to dump journal from specific boot

2016-02-16 Thread Thomas Lamprecht
Helpful when persistent logging is on (use simple check for existence of /var/log/journal) as else we get an timeout from the syslog api call as journalctl by default read every thing. Signed-off-by: Thomas Lamprecht --- PVE/API2/Nodes.pm | 21 ++--- 1

[pve-devel] [PATCH common] allow to dump journal from specific boot

2016-02-16 Thread Thomas Lamprecht
Signed-off-by: Thomas Lamprecht --- src/PVE/Tools.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index 6303d20..f597b8d 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -1061,7 +1061,7 @@ sub

[pve-devel] Add boot_offset parameter to syslog API call

2016-02-16 Thread Thomas Lamprecht
If persistent logging is turned on this is needed as journalctl reads everything which after a few weeks is a lot. This isn't quite the best as for really long uptime we have still a lot of reading. But as it makes it already better it's enough for me for now.

[pve-devel] [PATCH lxcfs] Add quilt, libpam0g-dev to Build-Depends

2016-02-16 Thread Fabian Grünbichler
--- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 1bccd45..cdb2124 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: admin Priority: optional Maintainer: Proxmox Support Team

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 12:58 schrieb Stefan Priebe - Profihost AG: > Am 16.02.2016 um 11:55 schrieb Dietmar Maurer: >>> Is it enough to just change these: >> >> The whole backup algorithm is based on 64KB blocksize, so it >> is not trivial (or impossible?) to change that. >> >> Besides, I do not

[pve-devel] [stable-3 firewall] firewall ipversion comparison fix

2016-02-16 Thread Wolfgang Bumiller
From: Alen Grizonic Signed-off-by: Alen Grizonic --- src/PVE/Firewall.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 3057d21..83421cc 100644 --- a/src/PVE/Firewall.pm +++

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 11:55 schrieb Dietmar Maurer: >> Is it enough to just change these: > > The whole backup algorithm is based on 64KB blocksize, so it > is not trivial (or impossible?) to change that. > > Besides, I do not understand why reading 64KB is slow - ceph libraries > should have/use a

[pve-devel] [stable-3 firewall] Add ipv6 macros to the macro list

2016-02-16 Thread Wolfgang Bumiller
Additionally there's now a way to specify ipv6-only or ipv4-only macros. --- src/PVE/Firewall.pm | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index a39cf6d..3057d21 100644 --- a/src/PVE/Firewall.pm

Re: [pve-devel] [PULL container 0/5] alpine support

2016-02-16 Thread Dietmar Maurer
applied ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Michael Rasmussen
On Tue, 16 Feb 2016 11:55:07 +0100 (CET) Dietmar Maurer wrote: > > Besides, I do not understand why reading 64KB is slow - ceph libraries > should have/use a reasonable readahead cache to make it fast? > Due to the nature of the operation that reading is considered random

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Dietmar Maurer
> Is it enough to just change these: The whole backup algorithm is based on 64KB blocksize, so it is not trivial (or impossible?) to change that. Besides, I do not understand why reading 64KB is slow - ceph libraries should have/use a reasonable readahead cache to make it fast?

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 11:20 schrieb Dietmar Maurer: >> Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it >> with 500-1500MB/s. See below for an example. > > The backup process reads 64KB blocks, and it seems this slows down ceph. > This is a known behavior, but I found no

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 11:20 schrieb Dietmar Maurer: >> Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it >> with 500-1500MB/s. See below for an example. > > The backup process reads 64KB blocks, and it seems this slows down ceph. > This is a known behavior, but I found no

[pve-devel] [PATCH container] Add unused volume when mp is modified

2016-02-16 Thread Fabian Grünbichler
Add an unusedX entry for the old value when a mpY entry is updated. This is already done on mp deletion. --- src/PVE/LXC.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index a737fc0..84aba83 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1352,6

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Dietmar Maurer
> Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it > with 500-1500MB/s. See below for an example. The backup process reads 64KB blocks, and it seems this slows down ceph. This is a known behavior, but I found no solution to speed it up.

[pve-devel] [stable-3 firewall 3/4] ip6tables accepts both spellings of the word neighbor

2016-02-16 Thread Wolfgang Bumiller
--- src/PVE/Firewall.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 9806ab8..30b03c6 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -744,7 +744,9 @@ my $icmpv6_type_names = { 'echo-reply' => 1,

[pve-devel] [stable-3 firewall 1/4] ipv6 neighbor discovery and solicitation macros

2016-02-16 Thread Wolfgang Bumiller
--- src/PVE/Firewall.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 47a1aea..b227d70 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -137,6 +137,12 @@ my $pve_ipv6fw_macros = { 'Ping' => [ { action =>

[pve-devel] [stable-3 firewall 2/4] add DHCPv6 macro

2016-02-16 Thread Wolfgang Bumiller
--- src/PVE/Firewall.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index b227d70..9806ab8 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -143,6 +143,9 @@ my $pve_ipv6fw_macros = { { action => 'PARAM', proto => 'icmpv6',

[pve-devel] [stable-3 firewall 4/4] allow numeric icmp types

2016-02-16 Thread Wolfgang Bumiller
--- src/PVE/Firewall.pm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 30b03c6..a39cf6d 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -1675,11 +1675,13 @@ sub ruleset_generate_cmdstr { if

[pve-devel] [stable-3 firewall 0/4] Backporting some IPv6 related patches

2016-02-16 Thread Wolfgang Bumiller
Backport (cleanly cherry-picked) of patches for NDP and DHCPv6 macros, spelling and numeric icmpv6 types. Wolfgang Bumiller (4): ipv6 neighbor discovery and solicitation macros add DHCPv6 macro ip6tables accepts both spellings of the word neighbor allow numeric icmp types

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 11:02 schrieb Martin Waschbüsch: > >> Am 16.02.2016 um 10:32 schrieb Stefan Priebe - Profihost AG >> : >> >> Am 16.02.2016 um 09:57 schrieb Martin Waschbüsch: >>> Hi Stefan, >> This is PVE 3.4 running Qemu 2.4 >>> >>> To me this looks like the

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Martin Waschbüsch
Stefan, > The output after 15 minutes is: > INFO: starting new backup job: vzdump 132 --remove 0 --mode snapshot > --storage vmbackup --node 1234 > INFO: Starting Backup of VM 132 (qemu) > INFO: status = running > INFO: update VM 132: -lock backup > INFO: backup mode: snapshot > INFO: ionice

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Martin Waschbüsch
> Am 16.02.2016 um 10:32 schrieb Stefan Priebe - Profihost AG > : > > Am 16.02.2016 um 09:57 schrieb Martin Waschbüsch: >> Hi Stefan, > >>> This is PVE 3.4 running Qemu 2.4 >> >> To me this looks like the compression is the limiting factor? What speed do >> you get for

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 09:57 schrieb Martin Waschbüsch: > Hi Stefan, >> This is PVE 3.4 running Qemu 2.4 > > To me this looks like the compression is the limiting factor? What speed do > you get for this NFS mount when just copying an existing file? Which compression? There is only FS compression on

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Am 16.02.2016 um 09:54 schrieb Andreas Steinel: > Hi Stefan, > > That's really slow. Yes > I use a similar setup, but with ZFS and I backup 6 nodes in parallel to > the storage and saturate the 1 GBit network connection. Currently vzdump / qemu is only uses around 100kb/s of the 10Gbit/s

[pve-devel] [PATCH qemu-server] delete ram state files when restoring a backup

2016-02-16 Thread Dominik Csapak
currently we leave orphaned vmstate files when we restore a backup over a vm, which has snapshots with saved ram state. this patch deletes those files on a restore. Signed-off-by: Dominik Csapak --- PVE/QemuServer.pm | 12 1 file changed, 12 insertions(+)

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Martin Waschbüsch
Hi Stefan, > Am 16.02.2016 um 09:22 schrieb Stefan Priebe - Profihost AG > : > > Hi, > > is there any way to speed up PVE Backups? > > I'm trying to evaluate the optimal method doing backups but they took > very long. > > I'm trying to use vzdump on top of nfs on top

Re: [pve-devel] Speed up PVE Backup

2016-02-16 Thread Andreas Steinel
Hi Stefan, That's really slow. I use a similar setup, but with ZFS and I backup 6 nodes in parallel to the storage and saturate the 1 GBit network connection. I use LZOP on the Proxmox-side as best tradeoff between size and online-compression speed. On Tue, Feb 16, 2016 at 9:22 AM, Stefan

[pve-devel] Speed up PVE Backup

2016-02-16 Thread Stefan Priebe - Profihost AG
Hi, is there any way to speed up PVE Backups? I'm trying to evaluate the optimal method doing backups but they took very long. I'm trying to use vzdump on top of nfs on top of btrfs using zlib compression. The target FS it totally idle but the backup is running at a very low speed. The output