Re: [pve-devel] RFC : pve-manager : screenshot of template-cloning feature

2012-12-20 Thread Dietmar Maurer
Don't know, But maybe ,is is exist some opensource icons library for this ? google is your friend ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] get config from an external VM

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi Dietmar, just some ideas / suggestions. First i'm really sorry that i got your owner = 0 wrong. I thought about a perl boolean 0/1 and tought you meant $owner != $vmid. That's why i was still working with vmids instead of 0. Nothing? My suggestion is that we do not delete shared disks

Re: [pve-devel] [PATCH] balloon : reset pooling if balloon driver doesn't return memory stats

2012-12-20 Thread Alexandre DERUMIER
I uploaded a fixed version - please test. Works perfectly ! (win2003 win2008R2) Thanks ! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 20 Décembre 2012 09:23:35 Objet: RE: [pve-devel]

[pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Stefan Priebe - Profihost AG
Hello list, i've massive migration problems since switching to qemu 1.3. Mostly the migration just hangs never finishes and suddenly the vm is just dead / not running anymore. Has anybody seen this too? Greets, Stefan ___ pve-devel mailing list

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Alexandre DERUMIER
Do you mean migration between qemu-kvm 1.2 - qemu 1.3 ? (because it's not supported) or migration between qemu 1.3 - qemu 1.3 ? also,I don't know if it's related, but in the changelog: http://wiki.qemu.org/ChangeLog/1.3 Live Migration, Save/Restore The stop and cont commands have new

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi Alexandre, Am 20.12.2012 09:50, schrieb Alexandre DERUMIER: Do you mean migration between qemu-kvm 1.2 - qemu 1.3 ? No. or migration between qemu 1.3 - qemu 1.3 ? Yes. It works fine with NEWLY started VMs but if the VMs are running more than 1-3 days. It stops working and the VMs just

Re: [pve-devel] get config from an external VM

2012-12-20 Thread Dietmar Maurer
First i'm really sorry that i got your owner = 0 wrong. I thought about a perl boolean 0/1 and tought you meant $owner != $vmid. That's why i was still working with vmids instead of 0. Nothing? My suggestion is that we do not delete shared disks automatically. If we don't care about

[pve-devel] live migration doesn't start with balloon enabled

2012-12-20 Thread Alexandre DERUMIER
Hi dietmar, with balloon, migration doesn't start, because of qmp command send at start: if (!defined($conf-{balloon}) || $conf-{balloon}) { vm_mon_cmd($vmid, balloon, value = $conf-{balloon}*1024*1024) if $conf-{balloon}; vm_mon_cmd($vmid, 'qom-set',

Re: [pve-devel] live migration doesn't start with balloon enabled

2012-12-20 Thread Alexandre DERUMIER
or maybe in sub check_running { die unable to find configuration file for VM $vmid - no such machine\n if !$nocheck ! -f $filename; do we really to check if $filename exist ? - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com

Re: [pve-devel] get config from an external VM

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi Dietmar, thanks a lot for your suggestions. Am 20.12.2012 10:42, schrieb Dietmar Maurer: If we don't care about all corner cases with shared images. Wouldn't it be easier to leave then the disk assigned to a VM instead of using 0? No, because if you delete the wrong VM you run into

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Alexandre DERUMIER
with last git, I think it's related to balloon driver enabled by default, and qmp command send (see my previous mail). can you try to replace (in QemuServer.pm) if (!defined($conf-{balloon}) || $conf-{balloon}) { vm_mon_cmd($vmid, balloon, value = $conf-{balloon}*1024*1024)

[pve-devel] [PATCH] usr vm_mon_cmd_nocheck for balloon qmp command at vm_start

2012-12-20 Thread Alexandre Derumier
fix live migration, as we don't have the vm config file Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 81a9351..9c64757 100644 ---

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi, at least migration works at all ;-) I'll wait until tomorrow and test again. I've restarted all VMs with latest pve-qemu-kvm. Thanks! Am 20.12.2012 11:57, schrieb Alexandre DERUMIER: with last git, I think it's related to balloon driver enabled by default, and qmp command send (see my

Re: [pve-devel] get config from an external VM

2012-12-20 Thread Dietmar Maurer
You can delete the volume on the storage view? Oh i didn't knew that. Right now at least for RBD storage the remove button is disabled. Is this defined by storage plugin? It is disabled because the volumes are owned by a VM, so the user should add/remove on the VM config page. You need to

Re: [pve-devel] [PATCH] usr vm_mon_cmd_nocheck for balloon qmp command at vm_start

2012-12-20 Thread Dietmar Maurer
thanks. I applied a slightly modified fix. -Original Message- From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier Sent: Donnerstag, 20. Dezember 2012 12:11 To: pve-devel@pve.proxmox.com Subject: [pve-devel] [PATCH] usr

Re: [pve-devel] [PATCH] auto balloning with mom algorithm implementation

2012-12-20 Thread Alexandre DERUMIER
Ok,thanks, I'll try that this afternoon ! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 20 Décembre 2012 14:02:38 Objet: RE: [pve-devel] [PATCH] auto balloning with mom algorithm

[pve-devel] qemu-server : allow manual ballooning if shares is not defined

2012-12-20 Thread Alexandre Derumier
Allow manual ballooning (qm set --balloon XXX), if shares is not defined or = 0. if balloon = 0, we set balloon to max_memory ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] allow manual ballooning if shares is not enabled

2012-12-20 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 09ab1e7..9bdbc0a 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -897,9 +897,15 @@

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Alexandre DERUMIER
i had it again. Do you have applied the fix from today about balloning ? https://git.proxmox.com/?p=qemu-server.git;a=commit;h=95381ce06cea266d40911a7129da6067a1640cbf I even canot connect anymore through console to this VM. mmm, seem that something break qmp on source vm... Is the source vm

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi, Am 20.12.2012 15:49, schrieb Alexandre DERUMIER: i had it again. Do you have applied the fix from today about balloning ? https://git.proxmox.com/?p=qemu-server.git;a=commit;h=95381ce06cea266d40911a7129da6067a1640cbf Yes. I even canot connect anymore through console to this VM. mmm,

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Alexandre DERUMIER
Just an idea (not sure it's the problem),can you try to commment $qmpclient-queue_cmd($vmid, $ballooncb, 'query-balloon'); in QemuServer.pm, line 2081. and restart pvedaemon pvestatd ? - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Alexandre DERUMIER

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Stefan Priebe - Profihost AG
Hi, Am 20.12.2012 15:57, schrieb Alexandre DERUMIER: Just an idea (not sure it's the problem),can you try to commment $qmpclient-queue_cmd($vmid, $ballooncb, 'query-balloon'); in QemuServer.pm, line 2081. and restart pvedaemon pvestatd ? This doesn't change anything. Right now the kvm

Re: [pve-devel] migration problems since qemu 1.3

2012-12-20 Thread Alexandre DERUMIER
Hi Stefan, any news ? I'm trying to reproduce your problem, but it's works fine for me, no crash... - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 20 Décembre 2012