Re: [pve-devel] new https server

2013-04-18 Thread Dietmar Maurer
> We need to use websockets (for spice-html5), using websocky (python or C > implementation) > > https://github.com/kanaka/websockify We can easily implement websockets with the new HTTPServer, so I guess there is no need for an external server. > I have redone tests with spice-html5 last week,

[pve-devel] [PATCH] [V3] implement node netstat call to get current tap network counters

2013-04-18 Thread Stefan Priebe
Changes since V2: - swap in / out / transmit / receive again Changes since V1: - new return format (use an arrayref instead of a hash to be JS compatible) - swap in / out / transmit / receive Signed-off-by: Stefan Priebe --- API2/Nodes.pm | 48

Re: [pve-devel] [PATCH] implement node netstat call to get current tap network counters

2013-04-18 Thread Stefan Priebe
Am 18.04.2013 08:57, schrieb Dietmar Maurer: Is this a bug? The code in vmstatus seems to be wrong for netout and netin $d->{netout} += $netdev->{$dev}->{receive}; $d->{netin} += $netdev->{$dev}->{transmit}; netin is receive and netout is transmit... isn't it? Should be

Re: [pve-devel] cpu 100% when get vmstaus

2013-04-18 Thread Dietmar Maurer
I am finally able to reproduce this - will work on a fix now. > -Original Message- > From: lulin [mailto:f_e...@yeah.net] > Sent: Montag, 25. Februar 2013 08:48 > To: Dietmar Maurer > Cc: pve-devel@pve.proxmox.com > Subject: Re:RE: [pve-devel] cpu 100% when get vmstaus > > Hi > > Not eas

Re: [pve-devel] [PATCH] [V3] implement node netstat call to get current tap network counters

2013-04-18 Thread Dietmar Maurer
I am unable to apply that patch, I get error: API2/Nodes.pm: does not exist in index correct path is PVE/API2/Nodes.pm? > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Stefan Priebe > Sent: Donnerstag, 18. April 20

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

2013-04-18 Thread Martin Maurer
Hi, > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Andrew Thrift > Sent: Donnerstag, 18. April 2013 06:44 > To: Dietmar Maurer; pve-devel@pve.proxmox.com > Subject: Re: [pve-devel] Add "sound card" to VM's from WebU

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] [PATCH] [V3] implement node netstat call to get current tap network counters

2013-04-18 Thread Stefan Priebe - Profihost AG
*urg* sorry yes correct path is PVE/API2/Nodes.pm. Am 18.04.2013 11:17, schrieb Dietmar Maurer: > I am unable to apply that patch, I get > > error: API2/Nodes.pm: does not exist in index > > correct path is PVE/API2/Nodes.pm? > >> -Original Message- >> From: pve-devel-boun...@pve.proxmo

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

2013-04-18 Thread Stefan Priebe - Profihost AG
Hi, download.proxmox.com seems to be down. Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

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

2013-04-18 Thread James A. Coyle
It seems up to me. James Coyle M:+44 (0) 7809 895 392 E: james.co...@jamescoyle.net Skype: jac2703 Gtalk: jac2...@gmail.com www: www.jamescoyle.net - Original Message - From: "Stefan Priebe - Profihost AG" To: pve-devel@pve.proxmox.com Sent: Thursday, 18 April, 2013 9:04:00 AM Su

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
pveproxy seem to fail to start with init script # /etc/init.d/pveproxy start Starting PVE API Proxy Server: pveproxyGlobal symbol "@cmd" requires explicit package name at ../PVE/QemuServer.pm line 2038. Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14. BEGIN fai

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
I have same error with pvedaemon Maybe I have forgot something ? I have updated : qemu-server,pve-manager,pve-access-control # /etc/init.d/pvedaemon restart Restarting PVE Daemon: pvedaemonGlobal symbol "@cmd" requires explicit package name at ../PVE/QemuServer.pm line 2038. Compilation faile

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] download.proxmox.com down?

2013-04-18 Thread Stefan Priebe - Profihost AG
was 18 April, 2013 9:04:00 AM Am 18.04.2013 15:52, schrieb 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-dev

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: [pve-devel] new https server I

Re: [pve-devel] Count monthly traffic

2013-04-18 Thread Stefan Priebe - Profihost AG
Am 18.04.2013 um 06:32 schrieb Dietmar Maurer : >> Then let's go this way. It's much simpler than adding RRD. >> >> So the question is should this be a completely new call > > Yes, I think this should be a new call: > > GET /nodes//netstat > > [ > {vmid => 100, dev => net0, in => XXX, out =>

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

2013-04-18 Thread Alexandre DERUMIER
seem that proxmox mail server was busy too ;) Received: from mail-ph.de-nserver.de (mail-ph.de-nserver.de [85.158.179.214]) by pve.proxmox.com (Postfix) with ESMTP id 30DE0BC67D7 for ; Thu, 18 Apr 2013 15:30:47 +0200 (CEST) Received: (qmail 8887 invoked from network); 18 Apr 2013

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

2013-04-18 Thread Alessio Arceri
I can confirm was down half hour ago A.A. Il 18/04/2013 15:41, James A. Coyle ha scritto: It seems up to me. James Coyle M:+44 (0) 7809 895 392 E: james.co...@jamescoyle.net Skype: jac2703 Gtalk: jac2...@gmail.com www: www.jamescoyle.net -

[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 => '[[order=]\d+]

[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 templat

[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] Add "sound card" to VM's from WebUI

2013-04-18 Thread Andrew Thrift
I have not been able to get sound over RDP working on Windows Server 2008r2 without a KVM "hda" sound card. As soon as this is added it works perfectly. I'll check our VMWare farms which always "just work" with RDP sound and see what we have there. On 4/19/2013 12:15 AM, Alexandre DERUMI

Re: [pve-devel] new https server

2013-04-18 Thread Dietmar Maurer
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-20-pve pve-kernel-2.6.32-20-pve: 2.6.32-96 pve-kernel-2.6.32-19-pve: 2.6.32-94 lvm2: 2.02.95-pve3 clvm: 2.02.95-pve3 corosync-pve: 1.4.5-1 openais-pve: 1.1.4-3 libqb

Re: [pve-devel] [PATCH] [V3] implement node netstat call to get current tap network counters

2013-04-18 Thread Dietmar Maurer
Will you send a correct patch? > *urg* sorry yes correct path is PVE/API2/Nodes.pm. > > Am 18.04.2013 11:17, schrieb Dietmar Maurer: > > I am unable to apply that patch, I get > > > > error: API2/Nodes.pm: does not exist in index > > > > correct path is PVE/API2/Nodes.pm? ___

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

2013-04-18 Thread Dietmar Maurer
Hi Akexandre, I applied part1 and 2, but I do not really understand this one. > diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm > index 7c20f55..1352e24 100644 > --- a/PVE/QemuServer.pm > +++ b/PVE/QemuServer.pm > @@ -4448,17 +4448,8 @@ sub template_create { > return if $disk && $ds ne $

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

2013-04-18 Thread Alexandre DERUMIER
Because you tell me that a template can have non-based name disk. (now a template is just a vm with template:1 option) So we could have template for users with lvm storage or iscsi storage And theses templates could be use to do only "full clones". - Mail original - De: "Dietmar Maur

Re: [pve-devel] new https server

2013-04-18 Thread Alexandre DERUMIER
seem to be ok pve-manager: 3.0-9 (pve-manager/3.0/9b00aa2f) running kernel: 2.6.32-20-pve pve-kernel-2.6.32-20-pve: 2.6.32-96 lvm2: 2.02.95-pve3 clvm: 2.02.95-pve3 corosync-pve: 1.4.5-1 openais-pve: 1.1.4-3 libqb0: 0.11.1-2 redhat-cluster-pve: 3.2.0-2 resource-agents-pve: 3.9.2-4 fence-agents-pve:

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

2013-04-18 Thread Stefan Priebe
Signed-off-by: Stefan Priebe --- PVE/QemuServer.pm |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 03e5018..5347a5b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4542,7 +4542,10 @@ sub qemu_img_format { elsi

[pve-devel] [PATCH] use vm create permissions for templates

2013-04-18 Thread Stefan Priebe
Signed-off-by: Stefan Priebe --- PVE/API2/Qemu.pm |7 +++ 1 file changed, 7 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index b835575..b245257 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -2632,6 +2632,13 @@ __PACKAGE__->register_method({ protected =>

[pve-devel] [PATCH] implement node netstat call to get current tap network counters

2013-04-18 Thread Stefan Priebe
Changes since V2: - swap in / out / transmit / receive again Changes since V1: - new return format (use an arrayref instead of a hash to be JS compatible) - swap in / out / transmit / receive Signed-off-by: Stefan Priebe --- PVE/API2/Nodes.pm | 48 +

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] [PATCH] rbd is format raw for qemu-img

2013-04-18 Thread Stefan Priebe - Profihost AG
OK Am 19.04.2013 08:52, schrieb 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