Re: [pve-devel] qemu-img convert crashes

2013-04-16 Thread Alexandre DERUMIER
=none' Segmentation fault maybe qemu-devel or ceph-devel can help us to debug that? - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com, "Dietmar Maurer" Envoyé: Mardi 16 Avril 2013 15:32:00

Re: [pve-devel] Feature HW Profiles

2013-04-16 Thread Alexandre DERUMIER
original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" , "Stefan Priebe - Profihost AG" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 16 Avril 2013 15:42:27 Objet: RE: [pve-devel] Feature HW Profiles > >>but it seems i can't create a template with

Re: [pve-devel] qemu-img convert crashes

2013-04-16 Thread Alexandre DERUMIER
isk-1:mon_host=10.255.0.100\:6789\;10.255.0.101\:6789\;10.255.0.102\:6789\;:auth_supported=none' 'rbd:vmstorssd1/vm-169-disk-1:mon_host=10.255.0.100\:6789\;10.255.0.101\:6789\;10.255.0.102\:6789\;:auth_supported=none'' - Mail original - De: "Alexandre DERUMIER"

Re: [pve-devel] qemu-img convert crashes

2013-04-16 Thread Alexandre DERUMIER
oh, I forgot, also -f ! -f raw -O raw (I have tested it's work fine for me, rbd to rbd) - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com, "Dietmar Maurer" Envoyé: Mardi 16 Avril 2

Re: [pve-devel] [PATCH] qemu-img convert crashes

2013-04-16 Thread Alexandre DERUMIER
yes, exactly ! Maybe something have changed in librbd. I'll rebase my patches and sent them to the mailing. - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com, "Dietmar Maurer" Envoyé:

Re: [pve-devel] Feature HW Profiles

2013-04-16 Thread Alexandre DERUMIER
es this week. - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com, "Stefan Priebe - Profihost AG" Envoyé: Mardi 16 Avril 2013 16:28:44 Objet: RE: [pve-devel] Feature HW Profiles > qm template > >

Re: [pve-devel] Add "sound card" to VM's from WebUI

2013-04-17 Thread Alexandre DERUMIER
I'm not sure about spice, I think we need a sound card. I'll do test this week. - Mail original - De: "Dietmar Maurer" À: "Andrew Thrift" , pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 05:49:33 Objet: Re: [pve-devel] Add "sound card" to VM's from WebUI > Is this feature

Re: [pve-devel] new https server

2013-04-17 Thread Alexandre DERUMIER
Thanks Dietmar, I'll test it this week. BTW, I finally get tls working with spice, I'll submit patches this week. Do you think it's possible to use this new http server as CONNECT proxy ? - Mail original - De: "Dietmar Maurer" À: pve-devel@pve.proxmox.com Envoyé: Mercredi 17 Avr

Re: [pve-devel] Process to submit patches

2013-04-17 Thread Alexandre DERUMIER
jumbo frame on cisco is 9216 and normal size is 1518 If you set 1500 or 9000 in your vm and you do vlan tagging, it's not a problem as we have some extra bytes. - Mail original - De: "Dietmar Maurer" À: "Andrew Thrift" , pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 07:1

Re: [pve-devel] new https server

2013-04-17 Thread Alexandre DERUMIER
t week, it's works better than last yeay, but they are some display bugs, and it's slower than spice-gtk. - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 08:37:51 Objet: RE: [pv

Re: [pve-devel] Add "sound card" to VM's from WebUI

2013-04-18 Thread Alexandre DERUMIER
seem to be possible also for win2003 http://support.dvsweb.com/app/answers/detail/a_id/263/~/enabling-audio-over-rdp-on-a-windows-server,-without-hardware-soundcard - Mail original - De: "Martin Maurer" À: "Andrew Thrift" , "Dietmar Maurer" , pve-devel@pve.proxmox.com Envoyé: Jeud

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
proxywrite unix 3 [ ] STREAM CONNECTED 1903918 488810/pveproxy wor unix 2 [ ] DGRAM1903802 488808/pveproxy - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com E

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
l original ----- De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 15:46:10 Objet: Re: [pve-devel] new https server pveproxy seem to fail to start with init script # /etc/init.d/pveproxy start Starting PVE API Proxy

Re: [pve-devel] download.proxmox.com down?

2013-04-18 Thread Alexandre DERUMIER
works fine here too - Mail original - De: "James A. Coyle" À: "Stefan Priebe - Profihost AG" Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 15:41:25 Objet: Re: [pve-devel] download.proxmox.com down? It seems up to me. James Coyle M:+44 (0) 7809 895 392 E: james.

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
pvedaemon is working fine started from command line. So, it's only seem to be a problem with init.d script - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 15:50:07 Objet: Re: [pv

Re: [pve-devel] download.proxmox.com down?

2013-04-18 Thread Alexandre DERUMIER
+0200 - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: "James A. Coyle" , pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Avril 2013 15:54:29 Objet: Re: [pve-devel] download.proxmox.com down? was 18 April, 2013

[pve-devel] qemu-server : reintroduce template:1 option

2013-04-18 Thread Alexandre Derumier
this allow to create template without disks and also template without base-xxx named disk. (can be usefull for iscsi devices for example) ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/3] add template config option

2013-04-18 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |6 ++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index e0309c3..e72b2c9 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -358,6 +358,12 @@ EODESC typetext => '[[o

[pve-devel] [PATCH 2/3] is_template : return 1 if template option == 1

2013-04-18 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index e72b2c9..7c20f55 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4476,24 +4476,7 @@ sub

[pve-devel] [PATCH 3/3] template_create : add template:1 option.

2013-04-18 Thread Alexandre Derumier
Also allow template create of non base-xxx renamable storage Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 7c20f55..1352e24 100644 --- a/PVE/QemuServer.pm

Re: [pve-devel] [PATCH 3/3] template_create : add template:1 option.

2013-04-18 Thread Alexandre DERUMIER
: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 07:13:59 Objet: RE: [pve-devel] [PATCH 3/3] template_create : add template:1 option. Hi Akexandre, I applied part1 and 2, but I do not really understand this one. > dif

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
aurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 06:18:46 Objet: RE: [pve-devel] new https server What is the output of # pveversion -v I have: # pveversion -v pve-manager: 3.0-9 (pve-manager/3.0/849b37a1) running kernel: 2.6.32-

Re: [pve-devel] [PATCH] rbd is format raw for qemu-img

2013-04-18 Thread Alexandre DERUMIER
I'll add it to my patches. (their are not yet in current proxmox git ;) - Mail original - De: "Stefan Priebe" À: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 08:35:49 Objet: [pve-devel] [PATCH] rbd is format raw for qemu-img Signed-off-by: Stefan Priebe --- PVE/Qem

Re: [pve-devel] new https server

2013-04-19 Thread Alexandre DERUMIER
failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 10. Compilation failed in require at /usr/bin/pvedaemon line 14. BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 14. - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pv

Re: [pve-devel] Add "sound card" to VM's from WebUI

2013-04-19 Thread Alexandre DERUMIER
Maybe this can help ? http://member.ds.my/knowledgebase/153/Enabling-Audio-over-RDP-on-a-Windows-Server-sans-hardware-soundcard.html - Mail original - De: "Martin Maurer" À: "Andrew Thrift" , "Alexandre DERUMIER" , pve-devel@pve.proxmox.com Envoyé: V

Re: [pve-devel] new https server

2013-04-19 Thread Alexandre DERUMIER
uot;Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 09:27:34 Objet: RE: [pve-devel] new https server # md5sum /usr/share/perl5/PVE/QemuServer.pm 7ee43527e5cd9004b0f9fbabf3934ec9 /usr/share/perl5/PVE/QemuServer.pm is

Re: [pve-devel] Cloned Template stays Template

2013-04-19 Thread Alexandre DERUMIER
I also need to rebase my patches to remove the template option. I'll resend them next week - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 12:17:57 Objet: Clone

Re: [pve-devel] [PATCH 3/3] template_create : add template:1 option.

2013-04-19 Thread Alexandre DERUMIER
Ok, no problem, I'll resubmit a patch - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 11:30:34 Objet: RE: [pve-devel] [PATCH 3/3] template_create : add template:1 option. >

Re: [pve-devel] new https server

2013-04-19 Thread Alexandre DERUMIER
>>oh, there is still some debugging code there: >> >>use lib '..'; >> >>I removed that now. Please can you update pve-manager and re-test? Yes, that's works fine now ! Thanks ! - Mail original - De: "Dietmar Maurer"

[pve-devel] qemu-server : template create : add template:1 option

2013-04-19 Thread Alexandre Derumier
this add template:1 to vm config when converting to template ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] template create : add template:1 option

2013-04-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 8e0a378..0ddbc29 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4474,9 +4474,11 @@ sub template_create

[pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-19 Thread Alexandre DERUMIER
Hi, just a report to say that new vnc 1.2 works fine for me now, with http://fqnd/... no more java error. Thanks :) ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-19 Thread Alexandre DERUMIER
ay that the applet have signed and unsigned code, with 2 buttons : block - unblock. I have click on unblock, but this just fail to works, the applet is not launching anymore :( - Mail original - De: "Dietmar Maurer" À: "Dietmar Maurer" , "Alexandre DE

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-19 Thread Alexandre DERUMIER
>>I have click on unblock, but this just fail to works, the applet is not >>launching anymore :( Oops, sorry, It's work fine after unblock, my vm was not started ;) Don't known why all the code is not signed - Mail original - De: "Alexandre DERUMIER&

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-19 Thread Alexandre DERUMIER
- Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Avril 2013 18:10:12 Objet: RE: [pve-devel] new vnc 1.2 works fine now with http://fqdn > Oops, sorry, It's work fine after unblock, my vm w

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-20 Thread Alexandre DERUMIER
If I understand, it seem that the problem is that we interact from extjs javascript (unsigned code) with vnc java console (signed code). Maybe adding "Trusted-Library: true " to VncViewer.jar manifest.mf could help ? - Mail original ----- De: "Alexandre DERUMIER"

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-20 Thread Alexandre DERUMIER
Works fine here too ! Thanks ! - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Samedi 20 Avril 2013 16:14:28 Objet: RE: [pve-devel] new vnc 1.2 works fine now with http://fqdn Hi Alexandre, th

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-21 Thread Alexandre DERUMIER
t0: e1000=96:73:D8:C9:2D:A1,bridge=vmbr0 ostype: l26 sockets: 1 " - Mail original - De: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Lundi 22 Avril 2013 07:13:19 Objet: RE: [pve-devel] [PATCH] template create : add templ

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-22 Thread Alexandre DERUMIER
e0', 'cores' => 1, 'ide0' => 'local:252/vm-252-disk-1.qcow2,size=1G', 'ostype' => 'l26', 'memory' => 512, 'sockets' => 1, 'snapshots' => {},

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-22 Thread Alexandre DERUMIER
I don't see the commit in proxmox git ? - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 22 Avril 2013 09:09:44 Objet: RE: [pve-devel] [PATCH] template create : add template:1 option So we ne

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-22 Thread Alexandre DERUMIER
. in Qemu.pm die "you can't convert a VM to template if VM is running\n" if check_running($vmid); should be PVE::QemuServer::check_running($vmid); - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-22 Thread Alexandre DERUMIER
It's ok now ! (tested with vm without disk, iscsi disks without rename, and disks with rename to base-xxx) - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 22 Avril 2013 10:53:21 Objet: Re: [pv

[pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-22 Thread Alexandre Derumier
also work with snapshot as source for qcow2,rbd,sheepdog. Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 54 + 1 file changed, 54 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4d2710a..c7b32c3 100644

[pve-devel] qemu-server : clone patches

2013-04-22 Thread Alexandre Derumier
changelog: - rebase on last git - remove template option after clone - fix rbd qemu-img format ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 3/5] add clone_disks sub

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 96 ++ 1 file changed, 96 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 53ba9cb..d92141c 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -134,6 +134,102

[pve-devel] [PATCH 5/5] add qm move (storage migration)

2013-04-22 Thread Alexandre Derumier
qm move--format [raw|qcow2|vmdk] Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 113 ++ qm |2 + 2 files changed, 115 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index bd65705..76779f2

[pve-devel] [PATCH 4/5] extend qm create to create clones

2013-04-22 Thread Alexandre Derumier
local:raw --virtio1 rbdstorage: --virtio2:nfsstorage:qcow2) others config params can be add --- qm create vmid --clonefrom vmidsrc [--snapname snap] [--clonemode clone] --memory 2048 --name newvmname Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 103

[pve-devel] [PATCH 2/5] add qemu_drive_mirror

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 67 + 1 file changed, 67 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index c7b32c3..13b5855 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4519,4

[pve-devel] pve-manager : clones patches

2013-04-22 Thread Alexandre Derumier
changelog : rebase on last git ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 3/6] add clone vm option in qemu vm right click menu

2013-04-22 Thread Alexandre Derumier
fixme: add a new icon Signed-off-by: Alexandre Derumier --- www/manager/qemu/CmdMenu.js | 12 1 file changed, 12 insertions(+) diff --git a/www/manager/qemu/CmdMenu.js b/www/manager/qemu/CmdMenu.js index c61d1c0..f80922b 100644 --- a/www/manager/qemu/CmdMenu.js +++ b/www/manager

[pve-devel] [PATCH 1/6] add clone panel form

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/Makefile |1 + www/manager/qemu/Clone.js | 268 + 2 files changed, 269 insertions(+) create mode 100644 www/manager/qemu/Clone.js diff --git a/www/manager/Makefile b/www/manager/Makefile

[pve-devel] [PATCH 2/6] add snapshot selector

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/Makefile |1 + www/manager/form/SnapshotSelector.js | 64 ++ 2 files changed, 65 insertions(+) create mode 100644 www/manager/form/SnapshotSelector.js diff --git a/www/manager/Makefile b/www

[pve-devel] [PATCH 6/6] add hdmove panel

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/Makefile |1 + www/manager/qemu/HDMove.js | 139 ++ www/manager/qemu/HardwareView.js | 40 ++- 3 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 www/manager

[pve-devel] [PATCH 5/6] qemu right click menu : add vm convert to template

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/qemu/CmdMenu.js | 20 1 file changed, 20 insertions(+) diff --git a/www/manager/qemu/CmdMenu.js b/www/manager/qemu/CmdMenu.js index f80922b..3dedc43 100644 --- a/www/manager/qemu/CmdMenu.js +++ b/www/manager/qemu

[pve-devel] [PATCH 4/6] add template right-click menu

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/Makefile |1 + www/manager/qemu/TemplateMenu.js | 81 ++ www/manager/tree/ResourceTree.js |6 ++- 3 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 www/manager/qemu

[pve-devel] pve-storage: clones patches

2013-04-22 Thread Alexandre Derumier
(this is only need for full clone with qemu-img from snapshots (rbd,sheepdog) changelog: rebase on last git ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/3] storage : sub path: add snapname argument

2013-04-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Storage.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 36d4cb3..c6d9d12 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -348,14 +348,14 @@ sub path_to_volume_id { } sub path

[pve-devel] [PATCH 2/3] sheepdog: sub path: add snapname argument

2013-04-22 Thread Alexandre Derumier
needed for qemu-img convert from src snapshot Signed-off-by: Alexandre Derumier --- PVE/Storage/SheepdogPlugin.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/SheepdogPlugin.pm b/PVE/Storage/SheepdogPlugin.pm index d14cf5b..1262186 100644 --- a/PVE

[pve-devel] [PATCH 3/3] rbd: sub path: add snapname argument

2013-04-22 Thread Alexandre Derumier
needed for qemu-img convert from src snapshot Signed-off-by: Alexandre Derumier --- PVE/Storage/RBDPlugin.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 3340195..81a7b98 100644 --- a/PVE/Storage/RBDPlugin.pm

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-22 Thread Alexandre DERUMIER
wn how format is detected. But I can do tests on my side if you want with differents storage to see if it's works fine without format option. (I think I was having problem with rbd some month ago (need to use rbd format), but now it's works fine with raw format) - Mail origin

Re: [pve-devel] [PATCH] Nodeselector: change default sort to name instead of mem

2013-04-23 Thread Alexandre DERUMIER
I can confirm that it's not sorting correctly for me toohere a default sorting migrateDe: "Stefan Priebe - Profihost AG" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 23 Avril 2013 16:10:29 Objet: Re: [pve-devel] [PATCH] Nodeselector: change default sort to name instead

Re: [pve-devel] [PATCH] Nodeselector: change default sort to name instead of mem

2013-04-23 Thread Alexandre DERUMIER
Oh,I think I understand, It's ordered by free amount of ram in GB, but it's displaying % my first 3 servers have 512GB servers, the others have 64GB or 32GB. - Mail original ----- De: "Alexandre DERUMIER" À: "Stefan Priebe - Profihost AG" Cc: pve-devel@pv

[pve-devel] migrate a proxmox server to new hardware ? (backup/restore)

2013-04-24 Thread Alexandre DERUMIER
Hi, I'm looking to upgrade one of my old proxmox server to new hardware. Is it possible to backup/restore config,ssh keys,... and restore them on new server ? Maybe a wiki exist for this ? If not, I'll try with a full rsync, I think it should work ___

Re: [pve-devel] migrate a proxmox server to new hardware ? (backup/restore)

2013-04-24 Thread Alexandre DERUMIER
What I don't known is /etc/pve ? I think I need to NOT rsync it, as pve-cluster will mount it and get the files from others nodes cluster. - Mail original - De: "Stefan Priebe - Profihost AG" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoy

Re: [pve-devel] migrate a proxmox server to new hardware ? (backup/restore)

2013-04-25 Thread Alexandre DERUMIER
>>The database is at /var/lib/pve-cluster/  Oh, I never notice that :) >>As Stefan mention, you need to rsync when all service are down. That way you >>also sync the database.  Yes, I think I'll be ok. Thanks for help ! - Mail original - De: "Die

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-26 Thread Alexandre DERUMIER
y. also , currently it's only display the raw output of progression % , but maybe can we improve the display (total bytes transferred , remaining bytes) - Mail original - De: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Vend

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-27 Thread Alexandre DERUMIER
I'll resend an improved version monday - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 26 Avril 2013 13:59:42 Objet: Re: [pve-devel] [PATCH 1/5] add qemu_img_convert >>Why do you s

[pve-devel] qemu-server : clones patches

2013-04-28 Thread Alexandre Derumier
changelog : qemu-img convert : - display transferred bytes, remaining bytes, total bytes - displays errors ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-28 Thread Alexandre Derumier
also work with snapshot as source for qcow2,rbd,sheepdog. Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 61 + 1 file changed, 61 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4d2710a..70ca3b1 100644

[pve-devel] [PATCH 2/5] add qemu_drive_mirror

2013-04-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 67 + 1 file changed, 67 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 70ca3b1..0104e13 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4526,4

[pve-devel] [PATCH 3/5] add clone_disks sub

2013-04-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 96 ++ 1 file changed, 96 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 53ba9cb..8d81f43 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -134,6 +134,102

[pve-devel] [PATCH 5/5] add qm move (storage migration)

2013-04-28 Thread Alexandre Derumier
qm move--format [raw|qcow2|vmdk] Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 113 ++ qm |2 + 2 files changed, 115 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 479d116..a6f5065

[pve-devel] [PATCH 4/5] extend qm create to create clones

2013-04-28 Thread Alexandre Derumier
local:raw --virtio1 rbdstorage: --virtio2:nfsstorage:qcow2) others config params can be add --- qm create vmid --clonefrom vmidsrc [--snapname snap] [--clonemode clone] --memory 2048 --name newvmname Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 103

[pve-devel] bug : balloon qom-set error on snapshot rollback

2013-04-29 Thread Alexandre DERUMIER
Hi, I have had an error on rollback of a snapshot with memory saved, seem to be related to balloon qom-set pooling interval VM 114 qmp command 'qom-set' failed - unable to connect to VM 114 socket - timeout after 31 retries I think I have see a bug report about this on the forum. Maybe an e

Re: [pve-devel] bug : balloon qom-set error on snapshot rollback

2013-04-29 Thread Alexandre DERUMIER
ot;guest-stats-polling-interval", value => 2); } --> if (!$statefile && (!defined($conf->{balloon}) || $conf->{balloon})) - Mail original - De: "Alexandre DERUMIER" À: pve-devel@pve.proxmox

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-29 Thread Alexandre DERUMIER
can add features step by step. When do you plan to release 3.0 ? I'll test your code today - Mail original - De: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Lundi 29 Avril 2013 11:03:50 Objet: RE: [pve-devel] [PATCH 1/5]

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-29 Thread Alexandre DERUMIER
- Mail original ----- De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 29 Avril 2013 12:59:03 Objet: Re: [pve-devel] [PATCH 1/5] add qemu_img_convert >>I think create_vm is already too complex to add more functionality. >

[pve-devel] qemu-server : don't send qmp balloon commands if vm is started with a state file

2013-04-29 Thread Alexandre Derumier
tested and works fine ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] don't send qmp balloon commands if vm is started with a state file

2013-04-29 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index f478892..1e2a97e 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3008,7 +3008,7 @@ sub vm_start

[pve-devel] qemu-server : copy_vm : 2 small fixes

2013-04-29 Thread Alexandre Derumier
2 small fixes ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/2] vm_copy : fix typo in description

2013-04-29 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 04106b8..8a15abc 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1779,7 +1779,7 @@ __PACKAGE__->register_met

[pve-devel] [PATCH 2/2] parse_drive : return correct format

2013-04-29 Thread Alexandre Derumier
Currently format is always empty, we need to parse file extension Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |4 1 file changed, 4 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 1e2a97e..3725807 100644 --- a/PVE/QemuServer.pm +++ b/PVE

[pve-devel] qemu-server : vm_copy : add optinal storage parameter

2013-04-29 Thread Alexandre Derumier
this is usefull for full copy on different target storage ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] copy_vm : add optional storage parameter

2013-04-29 Thread Alexandre Derumier
Optionnal target storage for full copy Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 8a15abc..0fe0045 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm

Re: [pve-devel] [PATCH 1/5] add qemu_img_convert

2013-04-29 Thread Alexandre DERUMIER
> I think it could be great to add a "name" parameter  >>yes, and a 'description'  Also, if name is not provided, maybe can we add a default name : " Copy of".$orignalname ? To avoid duplicate name ? - Mail original - De: "Dietmar Maure

Re: [pve-devel] [PATCH 2/2] parse_drive : return correct format

2013-04-29 Thread Alexandre DERUMIER
onvert offline or drive-mirror online) - Mail original - De: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Mardi 30 Avril 2013 06:58:39 Objet: RE: [pve-devel] [PATCH 2/2] parse_drive : return correct format applied. Btw, you

Re: [pve-devel] Copy from snapshot

2013-04-30 Thread Alexandre DERUMIER
ough, It'll be difficult to manage the parent-child relationship without base-xxx name. Note: it need some pve-storage plugin path() patches for qemu-img convert to have the path with snapname. - Mail original ----- De: "Dietmar Maurer" À: "Alexandre DERUMIER (ade

Re: [pve-devel] [PATCH 2/2] parse_drive : return correct format

2013-04-30 Thread Alexandre DERUMIER
your patches into smaller steps. I >>want to test >>and understand each single line of that code. Hope that is OK for you? >> >>I will re-create the clone_disk() later if needed. Yes, sure, no problem, better to do it step by step. - Mail original - De: "Dietm

[pve-devel] qemu-server : vm_copy : add optional format parameter

2013-04-30 Thread Alexandre Derumier
can be raw,qcow2,vmdk require --full parameter ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] vm_copy : add optional format parameter

2013-04-30 Thread Alexandre Derumier
can be qcow2,raw,vmdk Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index fc9b502..f1fc2b5 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1815,6

Re: [pve-devel] Copy from snapshot

2013-04-30 Thread Alexandre DERUMIER
, to detach the clone child from the parent) Maybe future storage backend will have snapshot but not cloning. (glusterfs ?) That's why I have added the has_feature check. - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.pro

Re: [pve-devel] copy_vm: new option -target

2013-04-30 Thread Alexandre DERUMIER
I think it's ok. Maybe can we improve this later by checking if the shared storage is available on the target node ? (I could be also usefull for live vm migration in the gui by example) - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER (aderum...@o

Re: [pve-devel] Copy from snapshot

2013-04-30 Thread Alexandre DERUMIER
I'll recheck that and send a patch tomorrow. (I'll be busy at work this afternoon) - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 30 Avril 2013 10:57:57 Objet: RE: Copy from snapshot >

[pve-devel] vm_copy : signal interrupt don't go in vdisk_free

2013-04-30 Thread Alexandre DERUMIER
I'm doing some tests with signal interrupt when doing a full clone, and it doesn't seem to go in if (my $err = $@) { unlink $conffile; sleep 1; # some storage like rbd need to wait before release volume - really? foreach

[pve-devel] pve-storage : add snapsname parameter to path

2013-05-01 Thread Alexandre Derumier
This is required for qemu-img convert, for rbd & sheepdog currently. (qemu-img convert qcow2 snap use another syntax not using path) ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/3] storage : sub path: add snapname argument

2013-05-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Storage.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 36d4cb3..c6d9d12 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -348,14 +348,14 @@ sub path_to_volume_id { } sub path

[pve-devel] [PATCH 3/3] rbd: sub path: add snapname argument

2013-05-01 Thread Alexandre Derumier
needed for qemu-img convert from src snapshot Signed-off-by: Alexandre Derumier --- PVE/Storage/RBDPlugin.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 3340195..81a7b98 100644 --- a/PVE/Storage/RBDPlugin.pm

[pve-devel] [PATCH 2/3] sheepdog: sub path: add snapname argument

2013-05-01 Thread Alexandre Derumier
needed for qemu-img convert from src snapshot Signed-off-by: Alexandre Derumier --- PVE/Storage/SheepdogPlugin.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/SheepdogPlugin.pm b/PVE/Storage/SheepdogPlugin.pm index d14cf5b..1262186 100644 --- a/PVE

[pve-devel] qemu-server : vm_copy : check has_feature copy for full clone

2013-05-01 Thread Alexandre Derumier
not all storage support full clone from snapshots, so we need to if it's available. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] check has_feature copy for full clone

2013-05-01 Thread Alexandre Derumier
works with or without snapname. Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 93458b0..9baa16e 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1923,6 +1923,8 @@ __PACKAGE__

  1   2   3   4   5   6   7   8   9   10   >