Re: [pve-devel] qemu nat mode and rate limiting ?

2013-03-05 Thread Alexandre DERUMIER
? --- -- - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 5 Mars 2013 09:08:00 Objet: RE: [pve-devel] qemu nat mode and rate limiting ? Btw, someone wants to works on that (routed

Re: [pve-devel] qemu nat mode and rate limiting ?

2013-03-05 Thread Alexandre DERUMIER
.  Simply add/remove route at in qemu-migrate ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 5 Mars 2013 09:42:05 Objet: RE: [pve-devel] qemu nat mode and rate limiting ? Hostside

[pve-devel] qemu-server : nic : dynamic bridge/rate/vlan live update v2

2013-03-05 Thread Alexandre Derumier
Changelog: - Add vlan/bridge update - Check if the vm is running ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/4] pve-bridge : move rate limit code to PVE::Network:tap_rate_limit

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- pve-bridge |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pve-bridge b/pve-bridge index 8e50112..b8ef158 100755 --- a/pve-bridge +++ b/pve-bridge @@ -34,14 +34,7 @@ die bridge '$bridge' does not exist\n

[pve-devel] [PATCH 2/4] pve-bridge : move tap creation code in PVE::Network::tap_create

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- pve-bridge |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pve-bridge b/pve-bridge index b8ef158..0b0cdc5 100755 --- a/pve-bridge +++ b/pve-bridge @@ -25,14 +25,7 @@ die unable to get network config '$netid

[pve-devel] [PATCH 3/4] pve-bridge : move tap_plug code in PVE::Network::tap_plug

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- pve-bridge |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pve-bridge b/pve-bridge index 0b0cdc5..f4ea56e 100755 --- a/pve-bridge +++ b/pve-bridge @@ -29,10 +29,6 @@ PVE::Network::tap_create($iface, $net

[pve-devel] [PATCH 4/4] dynamic bridge rate/vlan change on nic update

2013-03-05 Thread Alexandre Derumier
if model change : we try to unplug like before if bridge/nat change : we try to unplug like before else if bridge, but rate/vlan/bridge change, we dynamicly change them without need hotplug Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 32

[pve-devel] pve-common : nic : dynamic bridge/rate/vlan live update V2

2013-03-05 Thread Alexandre Derumier
require by qemu-server patch. changelog: add tap_create, tap_plug, tap_unplug from pve-bridge code ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 1/6] Network : add tap_rate_limit

2013-03-05 Thread Alexandre Derumier
Moved from pve-bridge Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm |9 + 1 file changed, 9 insertions(+) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index c20951e..7d3707d 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -38,6

[pve-devel] [PATCH 4/6] network: add tap_create

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm | 12 1 file changed, 12 insertions(+) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index 4cc5fb8..aca6b29 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -52,6 +52,18 @@ sub

[pve-devel] [PATCH 3/6] setup_tc_rate_limit : delete class and filter before update

2013-03-05 Thread Alexandre Derumier
also return after remove if rate is not defined Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm |4 1 file changed, 4 insertions(+) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index 4efd30b..4cc5fb8 100644 --- a/data/PVE/Network.pm +++ b/data

[pve-devel] [PATCH 5/6] network : add tap_plug

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm | 10 ++ 1 file changed, 10 insertions(+) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index aca6b29..a7e55d7 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -64,6 +64,16 @@ sub

[pve-devel] [PATCH 6/6] network : add tap_unplug

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm |9 + 1 file changed, 9 insertions(+) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index a7e55d7..8f82686 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -74,6 +74,15 @@ sub

Re: [pve-devel] qemu nat mode and rate limiting ?

2013-03-05 Thread Alexandre DERUMIER
don't known if the guest will submit a new dhcp request after the migration. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 5 Mars 2013 10:25:47 Objet: RE: [pve-devel] qemu nat mode and rate

Re: [pve-devel] qemu nat mode and rate limiting ?

2013-03-05 Thread Alexandre DERUMIER
,10.254.254.2,10.254.254.253,255.255.255.0,10.254.254.255,8h \  --domain=lan.tjworld.net --pid-file=/var/run/vmnet_dnsmasq.pid --conf-file So it should be easy to setup a dnsmasq process for each tap interface, in pve-bridge script. - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet

Re: [pve-devel] [PATCH 3/6] setup_tc_rate_limit : delete class and filter before update

2013-03-05 Thread Alexandre DERUMIER
: [pve-devel] [PATCH 3/6] setup_tc_rate_limit : delete class and filter before update this is too complex + return if (!$rate || ($rate $rate == 0)); this is the same: return if !$rate; $rate can be 0 or undef Stefan Am 05.03.2013 12:20, schrieb Alexandre DERUMIER: This expression makes

[pve-devel] [PATCH] fix return !$rate

2013-03-05 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index 8f82686..fdf0133 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -16,7 +16,7 @@ sub

[pve-devel] pve-common : fix return !$rate

2013-03-05 Thread Alexandre Derumier
fix return !$rate ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] nic hot-unplug: delete netdev after device removal

2013-03-06 Thread Alexandre Derumier
message without breaking the network Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 970edb5..4e66cae 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm

[pve-devel] nic hot-unplug: delete netdev after device removal

2013-03-06 Thread Alexandre Derumier
Currently we delete netdev before acpi hot-unplug. if guest don't support hotplug, this break network. We need to remove netdev after the device had be correctly unplug.(we check that device has been correctly removed) So, If guest don't support hotplug, It's simply thrown a unplug error

[pve-devel] virtio disk hot-unplug: drive_del after device_del

2013-03-06 Thread Alexandre Derumier
we need to remove drive after device has correctly by remove. With this patch: Windows : if drive is locked/mounted, the hot-unplug fail and disk is accessible (100% safe) Linux: without hotplug module : the hot-unplug fail and disk is accessible (100% safe) Linux : with hotplug module : the

[pve-devel] [PATCH] virtio disk hot-unplug: drive_del after device_del

2013-03-06 Thread Alexandre Derumier
: the hot-unplug work, but no verification is done is the drive is mounted Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4e66cae..eba9aed 100644 --- a/PVE

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-07 Thread Alexandre DERUMIER
...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 7 Mars 2013 08:32:08 Objet: RE: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled Currently to disable snooping, 2 possibility: /etc/network/interfaces auto vmbr1

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-07 Thread Alexandre DERUMIER
multicast errors since the change. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 7 Mars 2013 09:54:48 Objet: RE: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-08 Thread Alexandre DERUMIER
Thanks ! I'll test it today - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 8 Mars 2013 11:46:18 Objet: RE: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-08 Thread Alexandre DERUMIER
not an easy update,i'm not sure it's possible to push it by default to next kernel. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 8 Mars 2013 16:58:03 Objet: RE: [pve-devel] corosync

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-08 Thread Alexandre DERUMIER
original - De: Michael Rasmussen m...@datanom.net À: pve-devel@pve.proxmox.com Envoyé: Vendredi 8 Mars 2013 17:31:24 Objet: Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled On Fri, 08 Mar 2013 17:20:53 +0100 (CET) Alexandre DERUMIER aderum...@odiso.com

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-08 Thread Alexandre DERUMIER
@alexandre: what switch model do you use? production: cisco 6500 WS-X6548 modules test : cisco 2960g Both have igmp snooping manually disabled. Note that my main problem was that, when shutting down a node of the cluster, after 2 min, all nodes linux bridges blocked the multicast

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-08 Thread Alexandre DERUMIER
) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 8 Mars 2013 18:39:40 Objet: RE: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled multicast also does

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-09 Thread Alexandre DERUMIER
Envoyé: Vendredi 8 Mars 2013 19:45:33 Objet: Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled On Fri, 08 Mar 2013 19:34:56 +0100 (CET) Alexandre DERUMIER aderum...@odiso.com wrote: So, how can do you multicast with linux without bridge ? Like simply

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-09 Thread Alexandre DERUMIER
and may cause potentential igmp snooping break. Also if you reboot the host which is the igmp quierier, a new election will occur. So disable igmp query on linux bridge should be disable by default. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-09 Thread Alexandre DERUMIER
Are you sure about that? How can we test that (looking at the sources it seems to be enabled)?  igmp querier in linux bridge is on disabled in newer kernel since the commit I have pointed, but it's enabled by default is current redhat kernel. With tcpdump on bridge you should see igmp queries

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-10 Thread Alexandre DERUMIER
Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, Michael Rasmussen m...@datanom.net Cc: pve-devel@pve.proxmox.com Envoyé: Dimanche 10 Mars 2013 11:18:29 Objet: RE: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled here another bug with igmp

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-10 Thread Alexandre DERUMIER
because of vmbr multicast_snooping enabled On Sun, 10 Mar 2013 10:41:53 +0100 (CET) Alexandre DERUMIER aderum...@odiso.com wrote: So, I don't known for HP switchs, but for Cisco switches it seem to break the election of igmp. Some thoughts: 1) You have an aggregation spanning over two

Re: [pve-devel] corosync, multicast problem because of vmbr multicast_snooping enabled

2013-03-11 Thread Alexandre DERUMIER
works before kernel 2.6.34 when igmp query on bridge was added. I'm currently building the kernel with patch, seem to apply without problem. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, Michael Rasmussen m...@datanom.net Cc: pve

Re: [pve-devel] Count monthly traffic

2013-03-11 Thread Alexandre DERUMIER
disk io stats could be also interesting. Currently we have rd_bytes/wr_bytes counters but not rd_operations/wr_operations counters. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Stefan Priebe s.pri...@profihost.ag, Alexandre DERUMIER aderum...@odiso.com Cc: pve

Re: [pve-devel] Count monthly traffic

2013-03-11 Thread Alexandre DERUMIER
If we need rrd for each network, I think we need MAX_NETS x netin MAX_NETS x netout so 32 netin 32 netout values. does null values take space in rrd ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel

Re: [pve-devel] Count monthly traffic

2013-03-11 Thread Alexandre DERUMIER
are skipped (status.c) and not writen to rrd, but only keep in memory, like running value for example) - Mail original - De: Stefan Priebe s.pri...@profihost.ag À: Dietmar Maurer diet...@proxmox.com Cc: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 11

[pve-devel] pve-kernel : disable igmp querier by default and reenable igmp snooping module

2013-03-11 Thread Alexandre Derumier
I have tested it succefully on my test and production cluster yesterday. igmp querier is now disable by default to avoid sending igmp query with 0.0.0.0 source address, which seem to create probem with cisco switches (don't know for other vendor). querier can be enable with echo 1

[pve-devel] [PATCH] bridge: disable igmp querier by default

2013-03-11 Thread Alexandre Derumier
and reenable multicast_snooping module Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 0001-bridge-disable-querier.patch | 54 0002-bridge-disable-querier.patch | 60 ++ 0003-bridge-disable-querier.patch | 125

Re: [pve-devel] features ideas for 3.0 roadmap

2013-03-12 Thread Alexandre DERUMIER
To: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Sent: Wednesday, 6 March, 2013 7:52:56 AM Subject: Re: [pve-devel] features ideas for 3.0 roadmap - finish vm/templates copy/clone - storage migration - storage migration + live migration for local disks - add hyperv

Re: [pve-devel] features ideas for 3.0 roadmap

2013-03-13 Thread Alexandre DERUMIER
. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, James Devine fxmul...@gmail.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 13 Mars 2013 07:34:52 Objet: RE: [pve-devel] features ideas for 3.0 roadmap - if host total cpu 80

[pve-devel] pve-manager : add start/stop/migrate all buttons to node

2013-03-13 Thread Alexandre Derumier
Hi, This add start/stop all buttons to node. I also add a new migrateall feature. This don't implement the HA maintenance mode, I don't known exactly how Martin want to manage that ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH 1/5] add stopall/startall vm buttons

2013-03-13 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- www/manager/node/Config.js | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/www/manager/node/Config.js b/www/manager/node/Config.js index 7a683a8..ea4c1ba 100644 --- a/www/manager

[pve-devel] [PATCH 4/5] add migrate_all form

2013-03-13 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- www/manager/Makefile |1 + www/manager/window/MigrateAll.js | 84 ++ 2 files changed, 85 insertions(+) create mode 100644 www/manager/window/MigrateAll.js diff --git a/www/manager

[pve-devel] [PATCH 2/5] api2: node : startall : add force option

2013-03-13 Thread Alexandre Derumier
force start if onboot = 0 Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Nodes.pm | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index 0dac6af..da1737a 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2

Re: [pve-devel] [PATCH] bridge: disable igmp querier by default

2013-03-13 Thread Alexandre DERUMIER
Martin is also testing here with that kernel, and reports strange behavior. For example it takes much longer to wait for quorum at boot time. I think this is because you need to wait for an igmp query before the multicast works. (my cisco send send around each minute by default). Does Martin

[pve-devel] [PATCH] enable querier by default

2013-03-14 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 0003-bridge-disable-querier.patch |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0003-bridge-disable-querier.patch b/0003-bridge-disable-querier.patch index 9615545..c0497ca 100644 --- a/0003-bridge-disable

[pve-devel] [PATCH] copy_bridge : copy multicast_snooping multicast_querier

2013-03-14 Thread Alexandre Derumier
If we create new vlan bridge, we want to copy multicast options if user have tunned them Signed-off-by: Alexandre Derumier aderum...@odiso.com --- data/PVE/Network.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index fdf0133

Re: [pve-devel] pve-kernel: enable querier by default

2013-03-14 Thread Alexandre DERUMIER
to disable querier. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 14 Mars 2013 12:12:39 Objet: RE: [pve-devel] pve-kernel: enable querier by default Thank. I applied a slightly different version

[pve-devel] problem with forum today ?

2013-03-14 Thread Alexandre DERUMIER
Hi, I'm seeing some strange things of the forum, 500 errors, and posts deleted. Any problems ? Alexandre D e rumier Ingénieur Systèmes et Réseaux Fixe : 03 20 68 88 85 Fax : 03 20 68 90 88 45 Bvd du Général Leclerc 59100 Roubaix 12 rue Marivaux 75002 Paris

Re: [pve-devel] problem with forum today ?

2013-03-15 Thread Alexandre DERUMIER
Cc: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 14 Mars 2013 17:44:29 Objet: Re: [pve-devel] problem with forum today ? I had issues to - if you switch the view to 'Linier mode' it seems to work and the missing posts re-materialise. James Coyle M:+44 (0

[pve-devel] [PATCH 2/7] qmpclient-qga : add qga option at object creation

2013-03-17 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QMPClient.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QMPClient.pm b/PVE/QMPClient.pm index 6782c37..e5d4356 100755 --- a/PVE/QMPClient.pm +++ b/PVE/QMPClient.pm @@ -19,7 +19,7 @@ use Data::Dumper

[pve-devel] add qemu guest agent command support

2013-03-17 Thread Alexandre Derumier
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 with an id before the real command command

[pve-devel] [PATCH 1/7] add vm_qga_command

2013-03-17 Thread Alexandre Derumier
and reuse vm_qmp_command qmp_socket with $qga param Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index eba9aed..8c4a1a1 100644

Re: [pve-devel] how to catch qmp events ?

2013-03-19 Thread Alexandre DERUMIER
, operation: write, action: stop }, timestamp: { seconds: 1265044230, microseconds: 450486 } } - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mardi 19 Mars 2013 17:28:06 Objet: RE

Re: [pve-devel] how to catch qmp events ?

2013-03-19 Thread Alexandre DERUMIER
to add this in qmpclient.pm - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 19 Mars 2013 18:01:23 Objet: Re: [pve-devel] how to catch qmp events ? documentation http://wiki.qemu.org/Features

Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Alexandre DERUMIER
be great to store last X events in central memory location) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 19 Mars 2013 18:13:36 Objet: RE: [pve-devel] how to catch qmp events ? mmm, doc

Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Alexandre DERUMIER
diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 20 Mars 2013 08:35:45 Objet: RE: [pve-devel] how to catch qmp events ? It could be great to store last X events in central memory location I think we should not depend on such async

Re: [pve-devel] pve-manager : add start/stop/migrate all buttons to node

2013-03-20 Thread Alexandre DERUMIER
Any comments about theses patches ? - Mail original - De: Alexandre Derumier aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 13 Mars 2013 14:27:56 Objet: [pve-devel] pve-manager : add start/stop/migrate all buttons to node Hi, This add start/stop all buttons

Re: [pve-devel] pve-manager : add start/stop/migrate all buttons to node

2013-03-20 Thread Alexandre DERUMIER
Ok, no problem, thanks :) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 20 Mars 2013 17:09:32 Objet: RE: [pve-devel] pve-manager : add start/stop/migrate all buttons to node Any

Re: [pve-devel] Support for hot add disk/nic

2013-03-21 Thread Alexandre DERUMIER
just add hotplug: 1 in your vm config file ;) - Mail original - De: Michael Rasmussen m...@datanom.net À: pve-devel@pve.proxmox.com Envoyé: Mercredi 20 Mars 2013 23:09:13 Objet: [pve-devel] Support for hot add disk/nic Hi all, Does proxmox support hot add of disk/nic from

Re: [pve-devel] rbd alloc_image problem

2013-03-25 Thread Alexandre DERUMIER
it's ok for me. But how can the user get floating number for size ? I think we always use multiple of 1024 in gui? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: pve-devel@pve.proxmox.com Envoyé: Lundi 25 Mars 2013 06:35:07 Objet: [pve-devel] rbd alloc_image problem

Re: [pve-devel] rbd alloc_image problem

2013-03-25 Thread Alexandre DERUMIER
original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 25 Mars 2013 08:20:11 Objet: RE: [pve-devel] rbd alloc_image problem But how can the user get floating number for size ? I think we always use

[pve-devel] are wheezy updates ready ?

2013-03-27 Thread Alexandre DERUMIER
Hi Dietmar, I would like know if wheezys updates are already working ? I would like to upgrade my test cluster next week. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] are wheezy updates ready ?

2013-03-28 Thread Alexandre DERUMIER
Thanks ! (Do you plan to add a wheezy pvetest repo soon ?) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 28 Mars 2013 07:09:49 Objet: RE: [pve-devel] are wheezy updates ready ? I would

[pve-devel] filtering guest ip address from host ?

2013-03-28 Thread Alexandre DERUMIER
Hi, I'm looking for a way to fix the ip address of a guest, to avoid ip spoofing in guest. Is it possible with iptables on host ? drop packets if guestip/tap mac address couple is wrong. ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] are wheezy updates ready ?

2013-03-30 Thread Alexandre DERUMIER
Thanks ! I'll begin tests of live migration between proxmox 2.3 and 3.0 next week. - Mail original - De: Martin Maurer mar...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 29 Mars 2013 13:08

[pve-devel] qemu-server : cloning + storage migration patches

2013-04-02 Thread Alexandre Derumier
Here my last patches for template/vm cloning + storage migration patches 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/5] add qemu_img_convert

2013-04-02 Thread Alexandre Derumier
also work with snapshot as source for qcow2,rbd,sheepdog. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 51 +++ 1 file changed, 51 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index fb672eb

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

2013-04-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 66 + 1 file changed, 66 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index b55a68e..99761a4 100644 --- a/PVE/QemuServer.pm +++ b/PVE

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

2013-04-02 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 aderum...@odiso.com --- PVE/API2

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

2013-04-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 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

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

2013-04-02 Thread Alexandre Derumier
fixme: add a new icon Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 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

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

2013-04-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 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

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

2013-04-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 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

[pve-devel] pve-manager : cloning migration patches

2013-04-02 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 2/6] add snapshot selector

2013-04-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- 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

Re: [pve-devel] qemu-server : cloning + storage migration patches

2013-04-02 Thread Alexandre DERUMIER
Feel free to adapt/change patches. I'm using them in production since 1 month without problem. (I think my qm create code should be cleaned) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mardi 2

[pve-devel] vnc viewer (kvm) not working after wheezy update

2013-04-05 Thread Alexandre DERUMIER
Hi, I have upgraded 2 nodes to wheezy, all seem to works fine, except vnc console (I'm only test kvm). I got a java error : ClassNotFoudnException : com.tigervnc.vncviewer.VncViewer. Also the refresh link, thrown a javascript exception in my firebug: TypeError: applet.sendRefreshRequest is

Re: [pve-devel] vnc viewer (kvm) not working after wheezy update

2013-04-06 Thread Alexandre DERUMIER
...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 5 Avril 2013 12:10:07 Objet: RE: [pve-devel] vnc viewer (kvm) not working after wheezy update Subject: [pve-devel] vnc viewer (kvm) not working after wheezy update Hi, I have upgraded

Re: [pve-devel] vnc viewer (kvm) not working after wheezy update

2013-04-06 Thread Alexandre DERUMIER
https://myhost:8007/ works fine. I have try to clear all cache I can (browser, java), I can't get it work with https://myhost.mydomain.com:8007/ I'll do more tests monday at work. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com

Re: [pve-devel] vnc viewer (kvm) not working after wheezy update

2013-04-08 Thread Alexandre DERUMIER
. - Mail original - De: Martin Maurer mar...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Samedi 6 Avril 2013 13:31:55 Objet: RE: [pve-devel] vnc viewer (kvm) not working after wheezy update -Original Message- From: pve-devel-boun

[pve-devel] some spice news

2013-04-08 Thread Alexandre DERUMIER
Hi, I have worked on a spice demo implementation for proxmox last week, I 'll try to send patches this week. How it's works: - compilation of pve-qemu-kvm with spice support. - I had used spice packages from debian sid, libspice-protocol-dev,libspice-server-dev,libspice-server1. (But I

Re: [pve-devel] some spice news

2013-04-08 Thread Alexandre DERUMIER
It's mandatory, but with this we only need to expose 1 port to outside world. Now that socket are working, I'll do tests with nc,socat to see what we can do. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com

Re: [pve-devel] some spice news

2013-04-08 Thread Alexandre DERUMIER
s/mandatory/optionnal sorry ;) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 9 Avril 2013 00:42:46 Objet: Re: [pve-devel] some spice news It's mandatory, but with this we only

Re: [pve-devel] some spice news

2013-04-09 Thread Alexandre DERUMIER
But we can implement a connect method ourselves?  I don't known, they are HTTP::Proxy, but I don't think it can handle connect tunnels. here another small proxy with connect support: https://banu.com/tinyproxy/ - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre

[pve-devel] [PATCH] add spice support

2013-04-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- debian/control|4 +- debian/patches/series |1 + debian/patches/spice-socket.patch | 107 + debian/rules |2 +- 4 files changed, 111

[pve-devel] qemu-server : add spice support

2013-04-10 Thread Alexandre Derumier
add a new vm config option to enable spice spice: 1 details are in commits ___ 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 spice support

2013-04-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 29 + 1 file changed, 29 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 214c3be..7ab521a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -332,6 +332,12

[pve-devel] [PATCH 3/3] api2 : add spice ticket

2013-04-10 Thread Alexandre Derumier
fixme : - ticket string maxlengh is 60 characters. encrypt it generate a too big string. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 52 qm |2 ++ 2 files changed, 54 insertions(+) diff

[pve-devel] [PATCH 2/3] api2 : add spiceproxy

2013-04-10 Thread Alexandre Derumier
-worker option. - I don't known how to close socat if connection is not established Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 82 ++ 1 file changed, 82 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2

[pve-devel] [PATCH 1/2] spice : add button

2013-04-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- www/manager/qemu/Config.js | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/www/manager/qemu/Config.js b/www/manager/qemu/Config.js index efa4de5..56fe289 100644 --- a/www/manager/qemu/Config.js

[pve-devel] [PATCH 2/2] rest : handle application/x-spice-configuration response format

2013-04-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/REST.pm | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/PVE/REST.pm b/PVE/REST.pm index bc478d1..3fb5ea6 100644 --- a/PVE/REST.pm +++ b/PVE/REST.pm @@ -127,6 +127,17 @@ sub format_response_data

Re: [pve-devel] some spice news

2013-04-10 Thread Alexandre DERUMIER
Well, I am just testing a perl only http server implementation using AnyEvent. That way we can open as many connections we want (keep-alive), and it is also possible/easier to implement a proxy on top of that. but I need a few more days to get that stable. Oh Great :) I have send spice

[pve-devel] pve-cluster pvestatd don't auto come back online after a multicast outage

2013-04-10 Thread Alexandre DERUMIER
Hi, I have noticed that when I having multicast problems (resolved now), I needed to restart manually pve-cluster and pvestatd. Maybe can we improve that ? (auto restart pve-cluster if cman is ok, auto restart pvestatd if pve-cluster is ok) ___

Re: [pve-devel] resize vmdk does not work

2013-04-11 Thread Alexandre DERUMIER
Maybe can we add an has_feature resize in storage plugins, and grey out the resize button if disk is vmdk. (and also iscsi devices I think) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Martin Maurer mar...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi

Re: [pve-devel] [PATCH] bridge: disable igmp querier by default

2013-04-15 Thread Alexandre DERUMIER
Hello, I never try with ipv6. Do you use proxmox kernel ? What is your network hardware switch model ? - Mail original - De: Linus Lüssing linus.luess...@web.de À: pve-devel@pve.proxmox.com Envoyé: Dimanche 14 Avril 2013 01:40:44 Objet: Re: [pve-devel] [PATCH] bridge: disable igmp

[pve-devel] pve-sheeepdog : init script: cman need to be started before sheedog.

2013-04-15 Thread Alexandre Derumier
cman need to be started before sheepdog, or sheepdog daemon don't start at boot ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] init script: cman need to be started before sheedog.

2013-04-15 Thread Alexandre Derumier
Or sheepdog daemon don't start Signed-off-by: Alexandre Derumier aderum...@odiso.com --- debian/pve-sheepdog.sheepdog.init.d |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/pve-sheepdog.sheepdog.init.d b/debian/pve-sheepdog.sheepdog.init.d index fa081a0

<    5   6   7   8   9   10   11   12   13   14   >