Re: [pve-devel] savevm tests

2012-08-29 Thread Alexandre DERUMIER
for snapshots if storage support it. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 29 Août 2012 17:34:32 Objet: RE: [pve-devel] savevm tests * create_snapshot: (savevm?) Yes

Re: [pve-devel] savevm tests

2012-08-29 Thread Alexandre DERUMIER
not possible to save the vmstate memory. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 29 Août 2012 18:06:50 Objet: RE: [pve-devel] savevm tests Putting qcow2 (or better qcow3) on those

[pve-devel] Fwd: qemu-rbd : savevm monitor command don't save vmstate, is it normal ?

2012-08-29 Thread Alexandre DERUMIER
reponse for josh, rbd don't support save of the vmstate for now. - Mail transféré - De: Josh Durgin josh.dur...@inktank.com À: Alexandre DERUMIER aderum...@odiso.com Cc: ceph-de...@vger.kernel.org Envoyé: Mercredi 29 Août 2012 18:15:17 Objet: Re: qemu-rbd : savevm monitor command

Re: [pve-devel] live migration problems

2012-08-30 Thread Alexandre DERUMIER
I don't find any info about it.. :( Can we try with a tcp socket to see if we can do more than 1 connection ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Dietmar Maurer diet...@proxmox.com, Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé

Re: [pve-devel] savevm tests

2012-08-30 Thread Alexandre DERUMIER
freeze-fs via qemu-ga if available - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 30 Août 2012 16:37:26 Objet: RE: [pve-devel] savevm tests And you want to implement that API twice

Re: [pve-devel] ahci unmigratable

2012-08-31 Thread Alexandre DERUMIER
will not be stopped. I'll do some tests today to be sure. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 31 Août 2012 08:14:35 Objet: RE: [pve-devel] ahci unmigratable Seems they already have a working

Re: [pve-devel] savevm tests

2012-08-31 Thread Alexandre DERUMIER
I think it is the first drive able to create snapshots. Yes, but what's is the drives order ? pci slots order ? maybe this is the order of the info block monitor command result? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc

Re: [pve-devel] Fwd: [Qemu-devel] [PATCH] ahci: add migration support

2012-08-31 Thread Alexandre DERUMIER
original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 31 Août 2012 11:01:30 Objet: RE: [pve-devel] Fwd: [Qemu-devel] [PATCH] ahci: add migration support applied, please test -Original Message

Re: [pve-devel] create snapshots

2012-08-31 Thread Alexandre DERUMIER
. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER (aderum...@odiso.com) aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 31 Août 2012 12:56:25 Objet: RE: create snapshots I wonder it is would be safe to call an external script to create

[pve-devel] Fwd: [Qemu-devel] [PATCH] ahci: properly reset PxCMD on HBA reset

2012-08-31 Thread Alexandre DERUMIER
maybe this is the problem with win7 ? - Mail transféré - De: Jason Baron jba...@redhat.com À: Alexander Graf ag...@suse.de Cc: kw...@redhat.com, aligu...@us.ibm.com, m...@redhat.com, jan kiszka jan.kis...@siemens.com, qemu-de...@nongnu.org, arm...@redhat.com,

Re: [pve-devel] create snapshots

2012-09-03 Thread Alexandre DERUMIER
1.) snapshot_start * this is the first part of do_savevm() till vm_stop 2.) dump_vm_state (or maybe we do this is step 1) * write state to some fd qmp command timeout during the vm_state dump. Maybe this is same thing that at the end of a livemigration? I'm looking for a way for

[pve-devel] [PATCH] add qemu guest agent support

2012-09-03 Thread Alexandre Derumier
this add chardev and virtio-serial devices for communication with guest agent. vmconfig option : qga: 1 Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/PVE/QemuServer.pm b

Re: [pve-devel] [PATCH] add qemu guest agent client

2012-09-04 Thread Alexandre DERUMIER
\ -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -qmp tcp:localhost:,server So we just need to reuse qmp socket. Is it already implemented ? (wiki is old, qemu 0.16). I'll do some tests - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier

Re: [pve-devel] create snapshots

2012-09-04 Thread Alexandre DERUMIER
I'll read the code this afternoon, thanks ! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 4 Septembre 2012 14:22:12 Objet: RE: [pve-devel] create snapshots I just uploaded a patch - I

Re: [pve-devel] New iSCSI Multipath howto

2012-09-05 Thread Alexandre DERUMIER
I think it miss the path_checker value. I don't know the default value. path_checker : Possible values include readsector0 and tur, emc_clariion, hp_sw, and directio. I'm using directio with nexenta. Also, for blacklist, maybe can we add an exemple to blacklist local sda,sdb,... (If we want

[pve-devel] [PATCH 6/7] lvm: add volume_snapshot

2012-09-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/Storage/LVMPlugin.pm |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/PVE/Storage/LVMPlugin.pm b/PVE/Storage/LVMPlugin.pm index d49a2b9..f0dcb4d 100644 --- a/PVE/Storage/LVMPlugin.pm +++ b/PVE/Storage

[pve-devel] [PATCH 5/7] nexenta: add volume_snapshot

2012-09-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/Storage/NexentaPlugin.pm |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm index b1a3516..ef45a26 100644 --- a/PVE/Storage/NexentaPlugin.pm

[pve-devel] [PATCH 3/7] add qemu_snapshot_start

2012-09-06 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 6670936..60be25a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2766,6 +2766,16

[pve-devel] [PATCH 5/7] add qga_freezefs

2012-09-06 Thread Alexandre Derumier
empty for now, need to implement Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index bcd045e..6b344e0 100644 --- a/PVE/QemuServer.pm +++ b/PVE

[pve-devel] [PATCH 6/7] add qga_unfreezefs

2012-09-06 Thread Alexandre Derumier
empty for now, need to implement Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 6b344e0..a010864 100644 --- a/PVE/QemuServer.pm +++ b/PVE

[pve-devel] qemu 1.2 :default cache mode writeback

2012-09-06 Thread Alexandre DERUMIER
I just see that in the release note: block: default cache mode is now writeback Maybe do we need to warn proxmox users and update pve-manager ? (default was cache=none if not defined) ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] qemu 1.2 :default cache mode writeback

2012-09-06 Thread Alexandre DERUMIER
) { if (bdrv_parse_cache_flags(buf, bdrv_flags) != 0) { error_report(invalid cache option); -- 1.7.11.2 - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Jeudi 6 Septembre 2012 12:13:48 Objet: [pve-devel] qemu 1.2 :default cache mode writeback

Re: [pve-devel] qemu 1.2 - open issues

2012-09-07 Thread Alexandre DERUMIER
original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 7 Septembre 2012 09:20:33 Objet: Re: [pve-devel] qemu 1.2 - open issues Three new SCSI host bus adapter devices are available: am53c974 and dc390

[pve-devel] libiscsi 1.6.0

2012-09-07 Thread Alexandre DERUMIER
Can you bump libiscsi to 1.6.0 ? https://github.com/sahlberg/libiscsi/commit/61488fd38121460f46faac28f81ffcf5caec7b57 I really need Support 255 LUNs :-) ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] use scsi-hd by default for lsi controller

2012-09-07 Thread Alexandre Derumier
lsi can't boot on scsi-block for now. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 8ee0dac..5d827d3 100644 --- a/PVE/QemuServer.pm +++ b/PVE

Re: [pve-devel] FVD

2012-09-08 Thread Alexandre DERUMIER
lazycount option) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 7 Septembre 2012 18:07:50 Objet: RE: [pve-devel] FVD It was never in qemu upstream. qemu dev prefer to not maintain

[pve-devel] I'll be a bit busy the next 3 days

2012-09-10 Thread Alexandre DERUMIER
Hi, I'll be a bit busy the next 3 days, (building a netapp cluster :) So I'll don't have too much time to work on snapshots. (I'll follow the proxmox git and mailing) Alexandre ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] xbzrle : also desactivate xbzrle on target vm startup

2012-09-10 Thread Alexandre Derumier
just to be sure, also desactivate xbzrle on target at vm startup Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 7e7a286..f74569b 100644 --- a/PVE

Re: [pve-devel] API to get mac and vm id

2012-09-13 Thread Alexandre DERUMIER
know if dnsmasq can register dynamic records in a dns server - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: Dietmar Maurer diet...@proxmox.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 13 Septembre 2012 09:14:02

Re: [pve-devel] Snapshot Tests

2012-09-13 Thread Alexandre DERUMIER
I'll try to test it tommorrow or this weekend. (I'm bit busy now) - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: pve-devel@pve.proxmox.com Envoyé: Jeudi 13 Septembre 2012 13:22:40 Objet: [pve-devel] Snapshot Tests Hello list, i started to test the

Re: [pve-devel] Snapshot Tests

2012-09-13 Thread Alexandre DERUMIER
/NexentaPlugin.pm line 34 I'll check the code, I seem to miss some parameters in the json. - Mail original - De: Stefan Priebe s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 13 Septembre 2012 22:20:57 Objet: Re: [pve-devel] Snapshot

Re: [pve-devel] Snapshot Tests

2012-09-13 Thread Alexandre DERUMIER
handle writing of vmstate. nexenta and rbd can't do it for now. - Mail original - De: Stefan Priebe s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 13 Septembre 2012 22:20:57 Objet: Re: [pve-devel] Snapshot Tests OK

Re: [pve-devel] qcow2 bench and speed optimisations

2012-09-14 Thread Alexandre DERUMIER
xfs : ok http://en.wikipedia.org/wiki/XFS#Sparse_files ext4:ok ext3:ok ext2:ok http://superuser.com/questions/218395/about-file-size-and-disk-usage-in-ext3 zfs: ok so, seem to be working on all main filesystems - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre

[pve-devel] about nexentaplugin eval

2012-09-17 Thread Alexandre DERUMIER
Hi, I just see you remove - eval { nexenta_create_zvol($name, $size, $scfg); }; - sleep 1; - eval { nexenta_create_lu($name, $scfg); }; - sleep 1; - nexenta_add_lun_mapping_entry($name, $scfg); + nexenta_create_zvol($scfg, $name, $size); + nexenta_create_lu($scfg, $name); +

Re: [pve-devel] about nexentaplugin eval

2012-09-17 Thread Alexandre DERUMIER
twice (nexenta side). Last step don't have eval, so It's die if you try to create a disk twice. About sleep, Indeed, I dont' like this too,I will retest without them. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel

[pve-devel] sheepdog : block patch for savevm and loadvm

2012-09-18 Thread Alexandre DERUMIER
http://git.qemu.org/?p=qemu.git;a=commit;h=1f7a48de4467f31afc51169122453318efdb0f33 sheepdog: fix savevm and loadvm This patch sets data to be sent to Sheepdog correctly and fixes savevm and loadvm operations on a Sheepdog image. maybe can we add this patch to pve-qemu-kvm ?

Re: [pve-devel] nexenta rollback problems.

2012-09-18 Thread Alexandre DERUMIER
) (That's why I have asked you so some months ago to put the activate storage before the qemu command line build) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 18 Septembre 2012 18:30:50

Re: [pve-devel] corosync/pmxcfs crash (same node that previous problem)

2012-09-18 Thread Alexandre DERUMIER
nothing special switch side. (all my servers are on the same switchs). Maybe server overload ? or nic/driver bug... I'll try to find more infos, thanks for help. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel

Re: [pve-devel] nexenta rollback problems.

2012-09-19 Thread Alexandre DERUMIER
...@proxmox.com À: Dietmar Maurer diet...@proxmox.com, Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 06:48:23 Objet: RE: nexenta rollback problems. So I will give up now, and we simply use libiscsi for the nexenta plugin for now. Btw

Re: [pve-devel] rollback timeout

2012-09-19 Thread Alexandre DERUMIER
sorry, I dind't see that I have set 1 second timeout I'll check other storage plugins - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 08:56:49 Objet: RE: [pve-devel

[pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
I have simple test snap1 |- snap2 |- now now rollback to snap1 tree show snap1 |- snap2 |- now It should be snap1 |- snap2 | |- now ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
oops,forget what I say, the location is correct. (I'm too tired ;) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 11:43:29 Objet: [pve-devel] snapshot gui, wrong Now location after rollback I have simple

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
also had crash of the qcow2 file with one my test and vmstate. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 11:52:08 Objet: RE: [pve-devel] snapshot gui, wrong Now

[pve-devel] [PATCH] qcow2 : preallocate metadatas at file creation

2012-09-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/Storage/Plugin.pm |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 92a5978..4e6cac7 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -427,7

[pve-devel] some qcow2 and rbd snapshots tests

2012-09-19 Thread Alexandre DERUMIER
I have tested qcow2, seem to works fine now, snap/rollback with or without vmstate. rbd : snapshot works fine, with vmstate too. but rollback with vmstate , give timeout after rollback when vm is starting. Maybe loadvm doesn't work, I don't know if the vmstate is correctly save or not. rbd

Re: [pve-devel] nexenta rollback problems.

2012-09-19 Thread Alexandre DERUMIER
GUID* /dev/rdsk/... Please test it out if it works for your use. Best regards, Abhishek Nexenta Support Center http://nexenta.com/corp/support - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com

Re: [pve-devel] [PATCH] don't set timeout when loading vmstate

2012-09-20 Thread Alexandre DERUMIER
I didn't see it ;) so qcow2 and rbd seem to works fine. I have problems with current sheepdog git, so I can't test it. I'll rebuild my nexenta test box this afternoon. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel

[pve-devel] sheepdog snapshots report

2012-09-20 Thread Alexandre DERUMIER
Ok, I have tested snapshots/rollback with last sheepdog devel git, it's works very fine. I didn't see have problem. Just one thing: save vmstate take a huge time (around 5min for 1GB memory) ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] spice news

2012-09-21 Thread Alexandre DERUMIER
I see a new release of spice http://spice-space.org/download.html 0.12.0 - stable release SPICE - Server spice-0.12.0.tar.bz2 spice-protocol - headers defining protocols, spice-protocol-0.12.2.tar.bz2 and spice html5 seem to have a big update too http://cgit.freedesktop.org/spice/spice-html5/

[pve-devel] Fwd: [sheepdog] [ANNOUNCE] Sheepdog 0.5.0 released

2012-09-23 Thread Alexandre DERUMIER
I think that you will like - manual object recovery ;) - Mail original - De: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp À: sheep...@lists.wpkg.org, sheepdog-us...@lists.wpkg.org Envoyé: Vendredi 21 Septembre 2012 17:42:20 Objet: [sheepdog] [ANNOUNCE] Sheepdog 0.5.0 released

Re: [pve-devel] snapshot improvements

2012-09-24 Thread Alexandre DERUMIER
writeback cache patch, maybe it's for that case ? If yes, does it works with all devices (ide/scsi/virtio) ? (with any guest driver version) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé

Re: [pve-devel] snapshot improvements

2012-09-25 Thread Alexandre DERUMIER
corruption, running a fio write benchmark and take snapshot with vmstate, rollbacking, with fio benchmerk continue to write again, rollback,rollback. So it's seem stable. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Dietmar Maurer diet...@proxmox.com, Alexandre DERUMIER

Re: [pve-devel] snapshot improvements

2012-09-27 Thread Alexandre DERUMIER
I think I have already respond to that ;) 2 ways : - clone the snapshot and export image through iscsi and backup it - use zfs send through ssh (zfs send image1@snap1 /imagefile) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com

[pve-devel] qemu-server : pve-bridge : use mtu of the bridge for tap interface

2012-09-27 Thread Alexandre Derumier
see commit ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] pve-bridge : use mtu of the bridge for tap interface

2012-09-27 Thread Alexandre Derumier
-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |1 + pve-bridge|4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 157b4a9..aaf2e4a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3718,6 +3718,7 @@ my

Re: [pve-devel] [PATCH] pve-bridge : use mtu of the bridge for tap interface

2012-09-27 Thread Alexandre DERUMIER
sorry, this was for tests for other thing. I'll resubmit a clean patch tomorrow - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Septembre 2012 10:37:17 Objet: RE: [pve-devel] [PATCH] pve

Re: [pve-devel] snapshot improvements

2012-09-28 Thread Alexandre DERUMIER
. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com, Stefan Priebe s.pri...@profihost.ag Envoyé: Vendredi 28 Septembre 2012 06:40:10 Objet: RE: [pve-devel] snapshot improvements Subject: Re: [pve-devel

[pve-devel] [PATCH] pve-bridge : use mtu of the bridge for tap interface

2012-09-28 Thread Alexandre Derumier
-by: Alexandre Derumier aderum...@odiso.com --- pve-bridge |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pve-bridge b/pve-bridge index 2054705..f63be85 100755 --- a/pve-bridge +++ b/pve-bridge @@ -28,7 +28,9 @@ die unable to parse network config '$netid'\n if !$net; my $bridge

[pve-devel] [PATCH] bump librbd to 0.52

2012-09-28 Thread Alexandre Derumier
-testing/pool/main/c/ceph/librbd1_0.52-1~bpo60+1_amd64.deb http://ceph.com/debian-testing/pool/main/c/ceph/librados2_0.52-1~bpo60+1_amd64.deb to proxmox repos Signed-off-by: Alexandre Derumier aderum...@odiso.com --- debian/control |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[pve-devel] pve-qemu-kvm : bump librbd to 0.52

2012-09-28 Thread Alexandre Derumier
librbd 0.52 add some new features like image cloning. I have tested it succeffuly with 0.48 cluster and 0.52 cluster/ require to add http://ceph.com/debian-testing/pool/main/c/ceph/librados-dev_0.52-1~bpo60+1_amd64.deb

Re: [pve-devel] snapshot improvements

2012-09-28 Thread Alexandre DERUMIER
maybe do you have cloned it ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com, Stefan Priebe s.pri...@profihost.ag Envoyé: Vendredi 28 Septembre 2012 11:32:01 Objet: RE: [pve-devel] snapshot

Re: [pve-devel] pve-qemu-kvm : bump librbd to 0.52

2012-09-28 Thread Alexandre DERUMIER
ok, no problem. next stable should be 0.54. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 28 Septembre 2012 12:16:05 Objet: RE: [pve-devel] pve-qemu-kvm : bump librbd to 0.52 I

[pve-devel] [PATCH] use volume_snapshot with testfeature=1 to detect if storage support snapshot

2012-09-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 033bc9e..eb3a0b7 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3711,20

Re: [pve-devel] [PATCH] volume_snapshot : add testfeature option param

2012-09-30 Thread Alexandre DERUMIER
: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 1 Octobre 2012 06:32:44 Objet: RE: [pve-devel] [PATCH] volume_snapshot : add testfeature option param This hide knowledge inside a function. Instead. I would prefer to have

Re: [pve-devel] pve-spice 0.12 package + report

2012-10-02 Thread Alexandre DERUMIER
about sasl: http://spice-space.org/page/Features/SASL Testing Running QEMU/KVM standalone, with SASL enabled. Add the ',sasl' flag when launching QEMU with a Spice server. The choice of SASL mechanism is made in /etc/sasl2/qemu.conf. digest-md5 is a simple (but not very secure) username+

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-03 Thread Alexandre DERUMIER
://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798 - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 3 Octobre 2012 06:40:40 Objet: RE: [pve-devel] RFC: vm cloning implementation

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-03 Thread Alexandre DERUMIER
of the cloned vm . ( we can't rollback on the clone without a first snap) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 3 Octobre 2012 12:35:53 Objet: RE: [pve-devel] RFC: vm cloning

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-03 Thread Alexandre DERUMIER
Ah, I see (But it is unrelated to our snapshot implementation inside qemu-server). So cloning is a 2-step process in general: 1.) create template: create a read-only snapshot of all used VM disks 2.) clone template: make a writable copy of above templates Yes, I think this is perfect The

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-03 Thread Alexandre DERUMIER
So IMHO, 'copy' and 'clone' are different features? For me copy = full clone but maybe full clone = copy of the same storage type ? each hypersivor/solution have differents terms for them... - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-04 Thread Alexandre DERUMIER
(on the storage) is the template name ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 4 Octobre 2012 09:51:02 Objet: RE: [pve-devel] RFC: vm cloning implementation proposal one more

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-04 Thread Alexandre DERUMIER
...done. 2012-10-04 11:31:34.348645 7fb6abaad780 -1 librbd: removing snapshot from header failed: (16) Device or resource busy # rbd snap ls baseimage ID NAMESIZE 9 snap1 104857600 - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-04 Thread Alexandre DERUMIER
.(and they are some limits in number of registration for the same key) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 4 Octobre 2012 11:47:25 Objet: RE: [pve-devel] RFC: vm cloning

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-04 Thread Alexandre DERUMIER
know how it's works on the storage side (maybe they do implicit clone or snapshots, when converting from/to template) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 4 Octobre 2012 16:21:37

Re: [pve-devel] RFC: vm cloning implementation proposal

2012-10-04 Thread Alexandre DERUMIER
Not sure about it... I try to find an vsphere iso to see how it's work, I'm a bit overloaded too ;) I'll keep you in touch ! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 4 Octobre

[pve-devel] vmware workstation clone review

2012-10-07 Thread Alexandre DERUMIER
I have done tests with vmware workstation (vsphere coming this week), to see how cloning works, so: in the vmware world, a template is simply a vm with a template flag=on. So they are no special template repository location. When template flag is enabled, you can't start anymore the vm, only

[pve-devel] vmware vsphere + virtualbox cloning review

2012-10-15 Thread Alexandre DERUMIER
Hi,sorry to be late, I have spent last to test cloning feature of vmware sphere and virtualbox. vmware sphere - So, first, cloning in vmware sphere gui, in only FULL clone. The only way to do linked clone, is calling vmware sphere api. The only vmware products using linked clone in

Re: [pve-devel] vmware vsphere + virtualbox cloning review

2012-10-16 Thread Alexandre DERUMIER
: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mardi 16 Octobre 2012 06:16:46 Objet: RE: [pve-devel] vmware vsphere + virtualbox cloning review So, I wonder if cloning from vm snapshot, and register child clones in the snapshot

Re: [pve-devel] [PATCH] rbd: get volume size for volumes list

2012-10-17 Thread Alexandre DERUMIER
Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 17 Octobre 2012 06:39:29 Objet: RE: [pve-devel] [PATCH] rbd: get volume size for volumes list I do not understand this patch? What is the purpose? -Original Message- From

[pve-devel] qemu-img import/export tests

2012-10-23 Thread Alexandre DERUMIER
Hi, I have done some tests with qemu-img to copy (import/export), between differents storage. seem to works fine, we can't convert between all storage and file format: files : raw,qcow2,vmdk devices (lvm,iscsi devices) : -O host_device sheepdog,rbd: -O sheepdog , -O rbd some sample from

Re: [pve-devel] [PATCH] iscsi : qemu-img convert workaround

2012-10-25 Thread Alexandre DERUMIER
, block backedn lacks a .bdrv_create() function and failback to use .bdrv_open() Indeed, seem to be cleaner. I'll look for this. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 24

Re: [pve-devel] pvestatd keeps crashing with latest git

2012-10-25 Thread Alexandre DERUMIER
Seem to restart because it's use too much memory in pvestatd: my $mem = PVE::ProcFSTools::read_memory_usage(); if ($mem-{resident} (35*1024*1024)) { syslog ('info', restarting server after $cycle cycles to . reduce memory usage (free $mem-{resident}

[pve-devel] qemu-server : qm copy

2012-10-26 Thread Alexandre Derumier
This add qm copy vmid vmiddest This duplicate vmid config, regenerate mac address, and copy disks for new vm. default destination storeid is the same than source storeid. default format (if file) is the same than source format. destinations storage and file format can be override with qm copy

[pve-devel] [PATCH 1/4] qm copy implementation

2012-10-26 Thread Alexandre Derumier
vmid vmiddest -virtio0 local:qcow2 -virtio1 sheepdog: -virtio2 nfs:raw -virtio3 rbd: Current implement don't copy snapshots, and copy disks from you are here state Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 137

[pve-devel] [PATCH] add $preparecopy argument to alloc_image

2012-10-26 Thread Alexandre Derumier
qemu-img convert need that target volume doesn't exist, so we only return the target volume name. exception is lvm and nexenta device, we need to create the volume and return the volumename Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/Storage.pm |4

Re: [pve-devel] pvestatd memory detection is too low

2012-10-26 Thread Alexandre DERUMIER
I agree too, an option could be fine . (/etc/default/pvestatd ?) - Mail original - De: Michael Rasmussen m...@datanom.net À: Stefan Priebe - Profihost AG s.pri...@profihost.ag, pve-devel@pve.proxmox.com Envoyé: Vendredi 26 Octobre 2012 13:33:21 Objet: Re: [pve-devel] pvestatd

Re: [pve-devel] qemu-server : qm copy

2012-10-26 Thread Alexandre DERUMIER
...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 26 Octobre 2012 16:00:02 Objet: RE: [pve-devel] qemu-server : qm copy Current implement don't copy snapshots, and copy disks from you are here state But this only works if the VM is stopped

Re: [pve-devel] [PATCH 1/4] qm copy implementation

2012-10-26 Thread Alexandre DERUMIER
Is that copy/past from somewhere? I take vm_create as template (as disk create is similar) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 26 Octobre 2012 15:44:44 Objet: RE: [pve-devel

Re: [pve-devel] memory leak in PVE/QMPClient.pm

2012-10-29 Thread Alexandre DERUMIER
Do you want that I test only the leak fix in qemu-server.git, or also the pvestatd restart fix in pve-manager ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 29 Octobre 2012 12:38:20

Re: [pve-devel] memory leak in PVE/QMPClient.pm

2012-10-29 Thread Alexandre DERUMIER
I don't see the update pve-manager package in pvetest ... - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Stefan Priebe - Profihost AG s.pri...@profihost.ag Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 29 Octobre 2012 12:50:25 Objet: Re: [pve-devel] memory leak in

Re: [pve-devel] memory leak in PVE/QMPClient.pm

2012-10-29 Thread Alexandre DERUMIER
ok, seem stabilized now Mon Oct 29 14:14:42 CET 2012 root@kvm6:~# ps -aux|grep pvestatd root9820 1.1 0.0 183252 34292 ?S13:17 0:38 pvestatd Thanks ! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com

[pve-devel] pve-qemu-kvm : add qemu-img convert -C option (skip target volume creation)

2012-10-29 Thread Alexandre Derumier
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] add qemu-img convert -C option (skip target volume creation)

2012-10-29 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- .../qemu-img-convert-skipcreate-option.patch | 84 debian/patches/series |1 + 2 files changed, 85 insertions(+) create mode 100644 debian/patches/qemu-img-convert-skipcreate

[pve-devel] qemu-server : qm copy implementation V2

2012-10-29 Thread Alexandre Derumier
changelog V2: - always alloc image before copy (need qemu-img patch to skip bdrv create) - add -snapname option. (only qcow2 for now, as qemu-img convert -s snapname, work only with qcow2) - check if vm is running or not. (qemu-img convert with qcow2 snapshot work online) - cdrom : replace by

[pve-devel] [PATCH 2/4] add copy_disks sub

2012-10-29 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 75 ++ 1 file changed, 75 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 246a476..7a6337d 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm

[pve-devel] [PATCH 4/4] add qemu_img_format

2012-10-29 Thread Alexandre Derumier
return format for qemu-img from proxmox volume Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 18 ++ 1 file changed, 18 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 21cbee0..1c8d0e0 100644 --- a/PVE/QemuServer.pm +++ b

[pve-devel] [PATCH 1/4] qm copy implementation

2012-10-29 Thread Alexandre Derumier
vmid vmiddest -virtio0 local:qcow2 -virtio1 sheepdog: -virtio2 nfs:raw -virtio3 rbd: Current implement don't copy snapshots, and copy disks from you are here state Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 150

Re: [pve-devel] qemu-server : qm copy implementation V2

2012-10-30 Thread Alexandre DERUMIER
-devel/2012-09/msg05210.html - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mardi 30 Octobre 2012 07:57:29 Objet: RE: [pve-devel] qemu-server : qm copy implementation V2 Need to be implemented

Re: [pve-devel] RRD graphics in webfrontend broken

2012-10-30 Thread Alexandre DERUMIER
- wrong graphic shown (i've seen load graph in cpu or even network traffic graph in server load) I have already seen this bug too sometimes - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: pve-devel@pve.proxmox.com Envoyé: Mardi 30 Octobre 2012 16:50:57

Re: [pve-devel] RRD graphics in webfrontend broken

2012-10-30 Thread Alexandre DERUMIER
I think it's here : /usr/share/perl5/PVE/Cluster.pm sub create_rrd_graph { - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: pve-devel@pve.proxmox.com Envoyé: Mardi 30 Octobre 2012 16:50:57 Objet: [pve-devel] RRD graphics in webfrontend broken Hello,

Re: [pve-devel] snapshot timeout problems

2012-10-30 Thread Alexandre DERUMIER
mmm,maybe 30s timeout is not big enough ? (maybe this depend of write activity on the disk). Maybe can we set it to 120s ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 31 Octobre 2012 06:11:57 Objet: [pve-devel] snapshot

  1   2   3   4   5   6   7   8   9   10   >