[pve-devel] [PATCH 2/2] Fix Socket

2014-11-16 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 9aea9ee..3dfe1b4 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2589,7 +2589,7 @@ sub

[pve-devel] [PATCH 1/2] Add check by starting a VM, if Host have engough Cores for VM.

2014-11-16 Thread Wolfgang Link
From: root r...@ella.proxmox.com Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/QemuServer.pm |6 ++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 02bf404..9aea9ee 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm

[pve-devel] [PATCH] Add Check: If host has enough real CPUs for starting VM, to prevent a Qemu CPU emualtion!

2014-11-17 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/QemuServer.pm |7 +++ 1 file changed, 7 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 02bf404..26c6c76 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2588,6 +2588,13 @@ sub

[pve-devel] [PATCH] Bug#579:

2014-11-17 Thread Wolfgang Link
add check if START Parameter is set in FILE: /etc/default/pve-manager If START=no NO VM will start if pve-manager start is called If START!=no or not present, VMs will use the boot_at_start Flag Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- bin/init.d/pve-manager |4 1 file

[pve-devel] [PATCH 2/2] now if the QMP command starts with guest-+ , it will bind dynamicly to the VMID.qga socket.

2014-11-25 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/QMPClient.pm | 54 + PVE/QemuServer.pm | 16 +--- 2 files changed, 39 insertions(+), 31 deletions(-) diff --git a/PVE/QMPClient.pm b/PVE/QMPClient.pm index 9674d00

[pve-devel] [PATCH 1/2] This are the condensed changes form http://pve.proxmox.com/pipermail/pve-devel/2013-March/006913.html is added to see the orgin work!

2014-11-25 Thread Wolfgang Link
From: Alexandre Derumier aderum...@odiso.com This patch series add code to send command to quest guest agent. The procotol is qmp, so I have reuse as much as possible the current qmpclient the only big difference is that we can't pass an id to a request, so we must send a guest-sync command

[pve-devel] [PATCH] Fix in PVE::QemuServer::snapshot_create

2014-12-03 Thread Wolfgang Link
remove the freezefs flag. If Qemu Guest Agent flag is set in config the vm filesystem will always be frozen. also remove param freezefs in PVE::API2 snapshot, because there is no use for it. Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/API2/Qemu.pm |7 +-- PVE

[pve-devel] [PATCH] Add qga freeze in vzdump in snapshot mode

2014-12-08 Thread Wolfgang Link
it will freeze the filesystem to provide consistents. Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/VZDump/QemuServer.pm | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index fd36c69

[pve-devel] [PATCH] Add qga freeze in vzdump in snapshot mode

2014-12-09 Thread Wolfgang Link
it will freeze the filesystem to provide consistents. Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/VZDump/QemuServer.pm | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index fd36c69

[pve-devel] [PATCH] implement the command get_link_status to qemu-kve paket. so you can call per QMP. this funktion is not implemented in monitor. this command return the state of the given nic to che

2014-12-11 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- debian/patches/add-qmp-get-link-status.patch | 98 ++ debian/patches/series|1 + 2 files changed, 99 insertions(+) create mode 100644 debian/patches/add-qmp-get-link-status.patch

[pve-devel] [PATCH] Add to config the nic flag link_down=[0|1] also enable nic link if the Flag is set in the config. we use to verify the result the qemu extension get_link_status from or pachtes.

2014-12-22 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/API2/Qemu.pm | 57 +++-- PVE/QemuServer.pm | 22 - 2 files changed, 76 insertions(+), 3 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index

[pve-devel] [PATCH] implement the disconnect nic button on the network edit pannel.

2014-12-22 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- www/manager/Parser.js |5 + www/manager/qemu/NetworkEdit.js |8 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/www/manager/Parser.js b/www/manager/Parser.js index 11fbe49..3494637 100644

Re: [pve-devel] backup lock

2014-12-22 Thread Wolfgang Link
Can you pleas post me your version of PVE. pveversion -v because I can't reproduce it at my machine, not on the gui and not at cli. how do you cancel the job manually? Regrades Wolfgang On December 23, 2014 at 6:36 AM lyt_yudi lyt_y...@icloud.com wrote: 在

[pve-devel] [PATCH] Change check for better understanding!

2014-12-29 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index cb84f42..9ef186e 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3724,7 +3724,7 @@ sub vm_stop

[pve-devel] [PATCH] Fix backup failure at shutdown.

2014-12-30 Thread Wolfgang Link
This fix include a new function of vzdump. Now you can call vzdump -stop and the backup will be aborted. Also if the pve-manager init script stop the process, vzdump -stop will called. Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/API2/VZDump.pm |4 PVE/VZDump.pm

[pve-devel] [PATCH] zfs: auto import after reboot

2015-02-03 Thread Wolfgang Link
this is necessary, because after a reboot all pools except rpool are gone Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPlugin.pm |5 + PVE/Storage/ZFSPoolPlugin.pm | 10 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/PVE/Storage

[pve-devel] [PATCH] pveproxy: enable TSLv1

2015-02-03 Thread Wolfgang Link
this is necessary for IE communication Signed-off-by: Wolfgang Link w.l...@proxmox.com --- bin/pveproxy |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/pveproxy b/bin/pveproxy index a9b6f1c..a254f08 100755 --- a/bin/pveproxy +++ b/bin/pveproxy @@ -107,8 +107,10

Re: [pve-devel] [PATCH] pveproxy: enable TSLv1

2015-02-03 Thread Wolfgang Link
No it don't, is only commanded by the doc to set this flag. Am 03.02.15 um 18:23 schrieb Dietmar Maurer: + sslv3 = 0, + verify = 1, Really? Why does a server side verification influence the client? ___ pve-devel mailing list

[pve-devel] Question to ZFSPlugin.pm

2015-01-21 Thread Wolfgang Link
I implemented the ZFSPlugin for local Zfs use. When I test my adaption of this Plug-in, I recognize that it is possible to erase a template witch has a linked clone. I mean the Zfs-volume will not destroyed but the config of the template. My problem is I can't validate, it on the orginal

Re: [pve-devel] [PATCH] memory form : hotplug improvements

2015-02-10 Thread Wolfgang Link
Yes, I am the new Proxmox *t*eam member. Am 10.02.15 um 17:14 schrieb Alexandre DERUMIER: Seem to be perfect here :) Thanks ! I'm going to work on cpu hotplug tommorow. BTW, is Wolfgang a new proxmox team member ? - Mail original - De: dietmar diet...@proxmox.com À: aderumier

[pve-devel] [PATCH] bug-fix: ZFSPoolPlugin

2015-02-12 Thread Wolfgang Link
improve Error handling. inform user only if there is really no device. if both checks are fail. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/PVE/Storage

[pve-devel] [PATCH] bug-fix for size output

2015-02-12 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 7dc7d3e..8584bac 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE

[pve-devel] [PATCH_V2] Storage: add method

2015-02-11 Thread Wolfgang Link
add method volume_rollback_is_possible and redactor Improve error handling If snapshot is not reversible catch it before vm will lock and shutdown. This is the case if zfs has an younger snapshot. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 15

[pve-devel] [PATCH_V2 1/2] QemuServer: check snapshot befor rollback

2015-02-11 Thread Wolfgang Link
this will check, if it is possibel to rollback a snapshot befor VM will shutdown and get locked. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm

[pve-devel] Check rollback is possible

2015-02-11 Thread Wolfgang Link
If a storage do not support rollback to all snapshots, it will be tested before the VM get locked and shutdown. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH_V2 2/2] QemuServer: remove useless var

2015-02-11 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm |1 - 1 file changed, 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 3fc742c..b457095 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -5621,7 +5621,6 @@ sub snapshot_rollback

[pve-devel] ZFS tool for asynchronous replica

2015-02-13 Thread Wolfgang Link
Know anybody a open source tool for asynchronous replica with zfs. I found this here, but it seem to be no more active. http://www.bolthole.com/solaris/zrep/ ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] Fix: disable root

2015-01-28 Thread Wolfgang Link
From: Wolfgang Link wolfg...@linksystems.org root can now be disabled in GUI. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/AccessControl.pm | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index db85d08

[pve-devel] [PATCH] Fix: disable root

2015-01-28 Thread Wolfgang Link
From: Wolfgang Link wolfg...@linksystems.org root can now be disabled in GUI. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/AccessControl.pm | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index db85d08

[pve-devel] [PATCH] zfs: fix wait by alloc_image

2015-01-28 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm |7 +++ 1 file changed, 7 insertions(+) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 10da7f7..ed10484 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage

[pve-devel] [PATCH] zfs: fixV2 wait by alloc_image

2015-01-28 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPlugin.pm |9 - PVE/Storage/ZFSPoolPlugin.pm |7 +++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 581ef6c..d8acce9 100644

[pve-devel] [PATCH 4/6] Gui storage: rename storage type

2015-01-26 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/Utils.js |4 ++-- www/manager/storage/ZFSPoolEdit.js |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/manager/Utils.js b/www/manager/Utils.js index 0b25b2b..8f46009 100644 --- a/www

[pve-devel] [PATCH 1/6] Gui storage: copy code as template

2015-01-26 Thread Wolfgang Link
copy from ZFSEdit.js to ZFSPoolEdit.js Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js | 173 1 file changed, 173 insertions(+) create mode 100644 www/manager/storage/ZFSPoolEdit.js diff --git a/www/manager/storage

[pve-devel] [PATCH 2/6] Gui storage: modify ZFSPoolEdit.js

2015-01-26 Thread Wolfgang Link
Change intput description to the needed. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js | 67 1 file changed, 6 insertions(+), 61 deletions(-) diff --git a/www/manager/storage/ZFSPoolEdit.js b/www/manager/storage

[pve-devel] [PATCH 6/6] Gui storage: change input method

2015-01-26 Thread Wolfgang Link
change input method in Add:ZFS Storage at ZFS Pool from string to combobox. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js | 37 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/www/manager/storage

[pve-devel] [PATCH 3/6] Gui storage: bind ZFSPoolEdit.js and set defaults

2015-01-26 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/Makefile |1 + www/manager/Utils.js |2 ++ www/manager/dc/StorageView.js | 14 +- www/manager/qemu/Clone.js |3 ++- www/manager/qemu/HDEdit.js|3 ++- www/manager/qemu/HDMove.js

[pve-devel] [PATCH 5/6] Gui storage: copy selector methode

2015-01-26 Thread Wolfgang Link
from LVMEdit.js to ZFSPoolEdit.js Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js | 43 1 file changed, 43 insertions(+) diff --git a/www/manager/storage/ZFSPoolEdit.js b/www/manager/storage/ZFSPoolEdit.js index

[pve-devel] [PATCH 4/9] zfs: move methode list_image

2015-01-23 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 39 +++ PVE/Storage/ZFSPlugin.pm| 39 --- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/PVE/Storage/ZFSDirPlugin.pm

[pve-devel] ZfsDirPlugin

2015-01-23 Thread Wolfgang Link
this is the refactoring of ZfsPlugin and implement ZFSDirPlugin In-Reply-To: ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 9/9] zfs: move and refactor code

2015-01-23 Thread Wolfgang Link
copy and modify create_base and refactor clone_image Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 43 +++ PVE/Storage/ZFSPlugin.pm| 13 + 2 files changed, 44 insertions(+), 12 deletions(-) diff

[pve-devel] [PATCH 3/9] zfs: copy free_image

2015-01-23 Thread Wolfgang Link
modify it for ZFSDirPlugin. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 11 +++ 1 file changed, 11 insertions(+) diff --git a/PVE/Storage/ZFSDirPlugin.pm b/PVE/Storage/ZFSDirPlugin.pm index da53525..e3c1a9d 100644 --- a/PVE/Storage/ZFSDirPlugin.pm

[pve-devel] [PATCH 1/9] zfs: move some code

2015-01-23 Thread Wolfgang Link
move the most part of alloc_image to ZFSDirPlugin Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 14 ++ PVE/Storage/ZFSPlugin.pm| 10 ++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/PVE/Storage/ZFSDirPlugin.pm b

[pve-devel] [PATCH 2/9] zfs: move code

2015-01-23 Thread Wolfgang Link
move parse_volume from ZFSPlugin to ZFSDirPlugin, to avoid duplication Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 10 ++ PVE/Storage/ZFSPlugin.pm| 10 -- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/PVE/Storage

[pve-devel] [PATCH 7/9] zfs: move code

2015-01-23 Thread Wolfgang Link
move activate_volume deactivate_volume from ZFSPlugin to ZFSDirPlugin Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm |9 + PVE/Storage/ZFSPlugin.pm| 10 -- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/PVE/Storage

[pve-devel] [PATCH 5/9] zfs: ZFSDirPlugin add methode path

2015-01-23 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm | 16 1 file changed, 16 insertions(+) diff --git a/PVE/Storage/ZFSDirPlugin.pm b/PVE/Storage/ZFSDirPlugin.pm index fb7a1a2..260e328 100644 --- a/PVE/Storage/ZFSDirPlugin.pm +++ b/PVE/Storage

[pve-devel] [PATCH 6/9] zfs: fix insert return at alloc_immage

2015-01-23 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSDirPlugin.pm |1 + 1 file changed, 1 insertion(+) diff --git a/PVE/Storage/ZFSDirPlugin.pm b/PVE/Storage/ZFSDirPlugin.pm index 260e328..1782c04 100644 --- a/PVE/Storage/ZFSDirPlugin.pm +++ b/PVE/Storage/ZFSDirPlugin.pm

Re: [pve-devel] why disk count less than 6?

2015-02-02 Thread Wolfgang Link
Hi, this is limited on 6 disk, because of the gui installer. but you can add more disk later by useing the CLI. Rereads On 02/02/2015 06:24 AM, lyt_yudi wrote: hi, PVE Developers why disk count less than 6 ? why can't select all disk to zfs_raid_setup ? …… sub get_zfs_raid_setup {

[pve-devel] [PATCH] ZfsPoolPlugin: fix add disks

2015-02-02 Thread Wolfgang Link
now it is possible add disk to an vm on rpool Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 10da7f7..629802e 100644

[pve-devel] [PATCH 6/6] Gui storage: change input method

2015-01-26 Thread Wolfgang Link
change input method in Add:ZFS Storage at ZFS Pool from string to combobox. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js | 37 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/www/manager/storage

[pve-devel] [PATCH] Fix: root can now be disabled in GUI.

2015-01-06 Thread Wolfgang Link
Signed-off-by: Wolfgang Link wolfg...@linksystems.org --- PVE/AccessControl.pm |7 --- 1 file changed, 7 deletions(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index db85d08..29dba39 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -356,8 +356,6 @@ sub

[pve-devel] [PATCH] bug 597: hotplug fix

2015-02-10 Thread Wolfgang Link
wrap params in dopple quotes, so spaces will accept. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm |4 1 file changed, 4 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 7045c14..9b4e137 100644 --- a/PVE/QemuServer.pm +++ b/PVE

[pve-devel] [PATCH] zfspoolplugin: fix volume_resize

2015-02-10 Thread Wolfgang Link
copy methode volume_resize form ZFSPlugin.pm to ZFSPoolPlugin.pm refactor volume_resize Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPlugin.pm |7 --- PVE/Storage/ZFSPoolPlugin.pm | 10 ++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git

[pve-devel] [PATCH] bug 597: hotplug fix

2015-02-10 Thread Wolfgang Link
wrap params in dopple quotes, so spaces will accept. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 556bbb7..59441e1 100644 --- a/PVE/QemuServer.pm +++ b/PVE

[pve-devel] [PATCH 2/2] QemuServer: remove useless var

2015-02-11 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm |1 - 1 file changed, 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 6df375e..45d522d 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -5621,7 +5621,6 @@ sub snapshot_rollback

[pve-devel] [PATCH 1/2] QemuServer: check snapshot befor rollback

2015-02-11 Thread Wolfgang Link
this will check, if it is possibel to rollback a snapshot befor VM will shutdown and get locked. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm

Re: [pve-devel] [PATCH] zfs: auto import after reboot

2015-02-09 Thread Wolfgang Link
On 02/09/2015 12:07 PM, Dietmar Maurer wrote: On 02/03/2015 12:59 PM, Wolfgang Link wrote: @@ -419,6 +419,14 @@ sub volume_snapshot_rollback { sub activate_storage { my ($class, $storeid, $scfg, $cache) = @_; + +my @param = ('-o', 'name', '-H'); + +my $text = zfs_request

[pve-devel] [PATCH] add vmname to vm remove msg

2015-02-12 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/openvz/Config.js |4 +++- www/manager/qemu/Config.js |4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/manager/openvz/Config.js b/www/manager/openvz/Config.js index 8589f22..17f40b5 100644

Re: [pve-devel] ZFS tool for asynchronous replica

2015-02-15 Thread Wolfgang Link
a software has no recent releases, does not mean it is not maintained, but that it requires no more changes to do it's dutty as expected.. ;) On Fri, Feb 13, 2015 at 10:12 AM, Wolfgang Link w.l...@proxmox.com mailto:w.l...@proxmox.com wrote: Know anybody a open source tool

[pve-devel] [PATCH 2/2] change var name to prevent side effects.

2015-02-16 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 5cbd1b2..b9b3bf0 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b

[pve-devel] [PATCH 1/2] Bug-fix alloc_image in ZFSPlugin.pm

2015-02-16 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPlugin.pm |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index f020985..e7acfb8 100644 --- a/PVE/Storage/ZFSPlugin.pm +++ b/PVE/Storage

[pve-devel] [PATCH] prohibit ZFSPool multi nodes assignment

2015-02-16 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/storage/ZFSPoolEdit.js |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www/manager/storage/ZFSPoolEdit.js b/www/manager/storage/ZFSPoolEdit.js index b0a17b2..f4baf75 100644 --- a/www/manager/storage

[pve-devel] [PATCH_V3] Bug Fix 602

2015-03-05 Thread Wolfgang Link
now zfs will wait 5 sec if error msg is dataset is busy Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm

[pve-devel] [PATCH] fix rpcinfo path

2015-03-03 Thread Wolfgang Link
change path in jessie of package rpcbind from /usr/bin/rpcinfo to /usr/sbin/rpcinfo Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/NFSPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/NFSPlugin.pm b/PVE/Storage/NFSPlugin.pm index 9ba68a7

[pve-devel] [PATVH_V2] Bug Fix 602

2015-03-03 Thread Wolfgang Link
now zfs will wait 5 sec if error msg is dataset is busy Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm

[pve-devel] [PATCH] Bug Fix 602

2015-02-26 Thread Wolfgang Link
now zfs will wait 5 sec if error msg is dataset is busy Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm

[pve-devel] [PATCH_V4] Bug Fix 602

2015-03-05 Thread Wolfgang Link
now zfs will wait 5 sec if error msg is dataset is busy Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index

[pve-devel] [PATCH_V5] Bug Fix #602: now zfs will wait 5 sec if error msg is dataset is busy

2015-03-06 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 5cbd1b2..30efe58 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm

[pve-devel] [PATCH_V6] Bug Fix #602: now zfs will wait 5 sec if error msg is dataset is busy

2015-03-06 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 5cbd1b2..30efe58 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm

[pve-devel] [PATCH_V6] Bug Fix #602: now zfs will wait 5 sec if error msg is dataset is busy

2015-03-06 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 5cbd1b2..d187e23 100644 --- a/PVE/Storage

[pve-devel] [PATCH] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 29 + 1 file changed, 29 insertions(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index e46bc77..6fe0953 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -490,6 +490,35 @@ sub storage_migrate

[pve-devel] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
This implements migration on zfsfs with ssh and zfs send and receive ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuMigrate.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index af04ea5..f6eb3f5 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -248,10 +248,10 @@ sub

[pve-devel] [PATCH] remove running from Storage and check it in QemuServer

2015-04-30 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 4 ++-- PVE/Storage/ISCSIDirectPlugin.pm | 2 +- PVE/Storage/LVMPlugin.pm

[pve-devel] Snapshot: move check running from Storage to QemuServer

2015-04-30 Thread Wolfgang Link
Hi all@list, I'm think we should check if we make snapshots not at the Storage. IMHO it should be done at the QemuServer. Is there any matter to kept it? ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] remove running from Storage and check it in QemuServer

2015-04-30 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

[pve-devel] [PATCH_V2] implement offline migration on zfs

2015-04-27 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 29 + 1 file changed, 29 insertions(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index e46bc77..4e15df8 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -490,6 +490,35 @@ sub storage_migrate

Re: [pve-devel] Following tests on PvE 4.0 Jessie

2015-05-04 Thread Wolfgang Link
Hi, no the procedure to create a cluster is the same and should work. the 2 one looks like a bug. I will have a lock on it. On 05/04/2015 10:04 AM, Moula BADJI wrote: hi, 1- I can not create the cluster. perhaps that the procedure has changed. root@pve-ceph4:/home/moula# pvecm status

Re: [pve-devel] Following tests on PvE 4.0 Jessie

2015-05-04 Thread Wolfgang Link
On 05/04/2015 02:53 PM, Eneko Lacunza wrote: Hi Moula, On 04/05/15 14:29, Moula BADJI wrote: Le 04/05/2015 10:40, Alexandre DERUMIER a écrit : root@pve-ceph6:/home/moula# pvecm add 192.168.100.40 root@192.168.100.40's password: root@192.168.100.40's password: root@192.168.100.40's password:

[pve-devel] [PATCH_V2] remove running from Storage and check it in QemuServer

2015-05-06 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff

[pve-devel] [PATCH_V2] remove running from Storage and check it in QemuServer

2015-05-06 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 4 ++-- PVE/Storage/ISCSIDirectPlugin.pm | 2 +- PVE/Storage/LVMPlugin.pm

[pve-devel] [PATCH] remove running from Storage and check it in QemuServer

2015-05-06 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 4 ++-- PVE/Storage/ISCSIDirectPlugin.pm | 2 +- PVE/Storage/LVMPlugin.pm

[pve-devel] [PATCH] remove running from Storage and check it in QemuServer

2015-05-06 Thread Wolfgang Link
It is better to check if a VM is running in QemuServer then in Storage. for the Storage there is no difference if it is running or not. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuServer.pm | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff

[pve-devel] [PATCH] Bug-fix 617: change command arrangement

2015-04-07 Thread Wolfgang Link
the ovs-vsctl del-port flush the tc settings. So we have to change the arrangement of setting up the network. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- pve-bridge |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pve-bridge b/pve-bridge index 1b9801d..a924a7f

[pve-devel] [PATCH] update link to proxmox subscription

2015-04-07 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- www/manager/Utils.js |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager/Utils.js b/www/manager/Utils.js index c293b06..228dda1 100644 --- a/www/manager/Utils.js +++ b/www/manager/Utils.js @@ -68,7 +68,7

[pve-devel] [PATCH] Bug-Fix: 618 correct typo

2015-04-08 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuMigrate.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index a49cdcc..af04ea5 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -247,7 +247,7 @@ sub sync_disks

[pve-devel] [PATCH] Extent man description for network settings

2015-06-22 Thread Wolfgang Link
From: w.l...@proxmox.com Wolfgang Link There was no source expect the sourcecode, where the user can see the possible options. Signed-off-by: w.l...@proxmox.com Wolfgang Link --- src/PVE/LXC.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/PVE/LXC.pm b/src/PVE

[pve-devel] [PATCH] Fix ZFSPoolPlugin path for subvol

2015-06-22 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage/ZFSPoolPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index cae598d..6b095f1 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage

[pve-devel] [PATCH] correct typo

2015-06-22 Thread Wolfgang Link
From: w.l...@proxmox.com Wolfgang Link Signed-off-by: w.l...@proxmox.com Wolfgang Link --- src/PVE/LXC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 068b46f..11788cd 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -228,7 +228,7

Re: [pve-devel] Proxmox VE 4.0 beta1 released!

2015-06-23 Thread Wolfgang Link
There are no official ceph packeges for jessie at the moment. but they will come soon. On 06/23/2015 12:00 PM, Kamil Trzciński wrote: The pve-test repository is broken: missing for example ceph-common. On Tue, Jun 23, 2015 at 8:39 AM, Martin Maurer mar...@proxmox.com mailto:mar...@proxmox.com

Re: [pve-devel] Proxmox VE 4.0 beta1 released!

2015-06-23 Thread Wolfgang Link
You can make a Backup (use gzip) and then copy the backup file in /var/lib/vz/template/cache/ Now you can create a new CT using the backup as template. On 06/23/2015 11:08 AM, Charlie wrote: Great work! How's migrations for current ovz-containers to lxc? plug-and-play i assume?

[pve-devel] [PATCH 1/4] code cleanup and man

2015-06-11 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- pve-zsync | 54 +- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/pve-zsync b/pve-zsync index 3c134ce..cd2a228 100644 --- a/pve-zsync +++ b/pve-zsync @@ -362,7 +362,7 @@ sub

[pve-devel] [PATCH 4/4] fix incremental sync

2015-06-11 Thread Wolfgang Link
wrong snapshot where be used. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- pve-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-zsync b/pve-zsync index b458826..2575527 100644 --- a/pve-zsync +++ b/pve-zsync @@ -797,7 +797,7 @@ sub send_image { $cmd .= -v

[pve-devel] pve-zsync

2015-06-11 Thread Wolfgang Link
This are some fixes for the pve-sync tool ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 2/4] Add dependencies

2015-06-11 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- control.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.in b/control.in index e56ab8b..12bd95e 100644 --- a/control.in +++ b/control.in @@ -3,7 +3,7 @@ Version: @@VERSION@@-@@PKGRELEASE@@ Section: perl Priority

[pve-devel] [PATCH 1/4] code cleanup and man

2015-06-12 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- pve-zsync | 54 +- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/pve-zsync b/pve-zsync index 3c134ce..cd2a228 100644 --- a/pve-zsync +++ b/pve-zsync @@ -362,7 +362,7 @@ sub

[pve-devel] [PATCH 2/4] fix incremental sync

2015-06-12 Thread Wolfgang Link
wrong snapshot where be used. Signed-off-by: Wolfgang Link w.l...@proxmox.com --- pve-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-zsync b/pve-zsync index cd2a228..0023aad 100644 --- a/pve-zsync +++ b/pve-zsync @@ -796,7 +796,7 @@ sub send_image { $cmd .= -v

[pve-devel] [PATCH 4/4] bump version 1.5-2

2015-06-12 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 905deda..5c31a28 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=3.4 VERSION=1.5 PACKAGE=pve-zsync -PKGREL=1 +PKGREL=2

Re: [pve-devel] [PVE-User] Proxmox VE ZFS replication manager released (pve-zsync)

2015-06-30 Thread Wolfgang Link
There where some issues in 0.6.4 but they are fixed in 0.6.4! https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.6.4 On 06/30/2015 02:08 PM, Angel Docampo wrote: Hi there! Is it based on zfs send-receive? I thought it was buggy on linux... perhaps it was on 0.6.3? Anyway, that's a great

[pve-devel] [PATCH] Fix Typo

2015-08-17 Thread Wolfgang Link
--- src/PVE/HA/CRM.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/HA/CRM.pm b/src/PVE/HA/CRM.pm index 9feda05..4196bba 100644 --- a/src/PVE/HA/CRM.pm +++ b/src/PVE/HA/CRM.pm @@ -16,7 +16,7 @@ use PVE::HA::Manager; my $valid_states = { wait_for_quorum =

[pve-devel] [PATCH] Bugfix 684: Fix Typo

2015-08-17 Thread Wolfgang Link
--- www/manager/ha/Fencing.js |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager/ha/Fencing.js b/www/manager/ha/Fencing.js index f6bd365..1238fbc 100644 --- a/www/manager/ha/Fencing.js +++ b/www/manager/ha/Fencing.js @@ -16,7 +16,7 @@

  1   2   3   4   5   6   7   8   9   >