[pve-devel] [PATCH] correct storage content type

2015-08-24 Thread Wolfgang Link
--- www/manager/lxc/CreateWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager/lxc/CreateWizard.js b/www/manager/lxc/CreateWizard.js index 77df991..d037316 100644 --- a/www/manager/lxc/CreateWizard.js +++ b/www/manager/lxc/CreateWizard.js @@ -18,7 +18,7 @@

[pve-devel] [PATCH] fix bug #690: add container content type to RBD storage, at content selector on GUI

2015-08-24 Thread Wolfgang Link
--- www/manager/storage/RBDEdit.js | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/www/manager/storage/RBDEdit.js b/www/manager/storage/RBDEdit.js index 0170ba4..66d91bc 100644 --- a/www/manager/storage/RBDEdit.js +++ b/www/manager/storage/RBDEdit.js @@ -6,7

Re: [pve-devel] [PATCH 3/9] add find_loopdev sub

2015-08-24 Thread Wolfgang Bumiller
Somehow I missed this before, but this looks like a generic find key for value function. If getting the first element of grep { $hash-{$_} eq $key } keys %$hash is too much typing work, maybe a generic find in Tools might be called for? (The only difference to grep is that it's only looking

[pve-devel] [PATCH] vm_create : add support for mountpoints

2015-08-24 Thread Alexandre Derumier
rename alloc_roofs with create_disks, to handle multiple disks. $size param is removed, and must be provide like for qemuserver: example: pct create vmid template -rootfs local:5 -mp0 local:10 Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/API2/LXC.pm | 148

[pve-devel] [RFC pve-common] Add generic parse_host_and_port function

2015-08-24 Thread Wolfgang Bumiller
Added a generic function to split a host+port string to the host and port part supporting the two most common ipv6 notations beside domains and ipv4: with brackets for the address or a dot as port separator. --- This will be used a few times at least in pve-storage for iSCSI and will probably be

[pve-devel] [PATCH pve-container] detect ostype when restoring OpenVZ containers

2015-08-24 Thread Wolfgang Bumiller
Fixes #692 --- src/PVE/LXC/Create.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm index 9cb52e3..5414883 100644 --- a/src/PVE/LXC/Create.pm +++ b/src/PVE/LXC/Create.pm @@ -160,6 +160,8 @@ sub restore_and_configure { print Please

[pve-devel] pve-container: vm_create : add support for mountpoints

2015-08-24 Thread Alexandre Derumier
This allow to create mountpoint on ct create. Please review ! ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] Typo in create_rootfs() subroutine

2015-08-24 Thread Emmanuel Kasper
--- src/PVE/LXC/Create.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm index 9cb52e3..fa59fcb 100644 --- a/src/PVE/LXC/Create.pm +++ b/src/PVE/LXC/Create.pm @@ -184,7 +184,7 @@ sub create_rootfs { my $old_conf =

[pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Michael Rasmussen
Hi all, openvswitch-2.4.0 released. Notably: Support for multicast snooping (IGMPv1, IGMPv2 and IGMPv3) http://openvswitch.org/releases/NEWS-2.4.0 -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael at rasmussen dot cc

Re: [pve-devel] The network performance future for VMs

2015-08-24 Thread Cesar Peschiera
Hi Alexandre Many thanks for your prompt reply And please, if you can, let me to know the results of your tests - Original Message - From: Alexandre DERUMIER aderum...@odiso.com To: Cesar Peschiera br...@click.com.py Cc: pve-devel pve-devel@pve.proxmox.com Sent: Sunday, August 23,

[pve-devel] [PATCH 3/4] add get_vm_volumes sub

2015-08-24 Thread Alexandre Derumier
similar to qemu-server, return only volids with storeid Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/LXC.pm | 24 1 file changed, 24 insertions(+) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 1f14146..8a84284 100644 --- a/src/PVE/LXC.pm +++

[pve-devel] [PATCH 1/4] volid_path : test device and local directory

2015-08-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/LXC.pm | 46 -- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index d1a4ea6..7d1886d 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@

[pve-devel] [PATCH 2/4] update_lxc_config : remove foreach_mountpoint

2015-08-24 Thread Alexandre Derumier
- we only define rootfs. - also add support for /dev/.. and directory as rootfs Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/LXC.pm | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 7d1886d..1f14146

[pve-devel] [PATCH 4/4] remove tests for /dev/xxx and use get_vm_volumes

2015-08-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/LXC.pm| 13 ++--- src/lxc-pve-prestart-hook | 13 ++--- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 8a84284..5196fff 100644 --- a/src/PVE/LXC.pm

[pve-devel] pve-container : mountpoint : add support to pass directory path

2015-08-24 Thread Alexandre Derumier
This allow to pass a directory path to mountpoint. Can be use to share directories of a host nfs mount, as requested on the forum: http://forum.proxmox.com/threads/23370-NFS-Mount-in-LXC-v4-0-beta ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] subroutine for cloning vm's firewall config file

2015-08-24 Thread Alen Grizonic
--- src/PVE/Firewall.pm | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 5962a4f..c1f871d 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -2827,6 +2827,21 @@ sub remove_vmfw_conf { unlink $vmfw_conffile; }

[pve-devel] [PATCH 3/7] fix bug #691: implement zfs vzdump backup

2015-08-24 Thread Wolfgang Link
--- src/PVE/VZDump/LXC.pm | 48 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 32a85db..cd43f98 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -105,6 +105,13 @@

[pve-devel] [PATCH 5/7] clean up: make independent mountpoints for different VM

2015-08-24 Thread Wolfgang Link
--- src/PVE/VZDump/LXC.pm | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 359b5c0..d415444 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -13,6 +13,8 @@ use PVE::Tools;

[pve-devel] [PATCH 1/7] refactoring code to reuse it

2015-08-24 Thread Wolfgang Link
we can use this also, if we mount snapshots --- src/PVE/VZDump/LXC.pm | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 112bc84..24f81ef 100644 --- a/src/PVE/VZDump/LXC.pm +++

[pve-devel] [PATCH 2/7] improve saving config for vzdump

2015-08-24 Thread Wolfgang Link
this is necessary because we use snapshots and some (zfs) are read only. --- src/PVE/VZDump/LXC.pm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 24f81ef..32a85db 100644 --- a/src/PVE/VZDump/LXC.pm +++

[pve-devel] [PATCH 6/7] fix bug #691: vzdump backup fixed on zfs

2015-08-24 Thread Wolfgang Link
--- src/PVE/VZDump/LXC.pm | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index d415444..42c5e44 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -132,6 +132,10 @@ sub prepare { # fixme:

[pve-devel] [PATCH 4/7] remove mountpoint dir from vzdump backup

2015-08-24 Thread Wolfgang Link
--- src/PVE/VZDump/LXC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index cd43f98..359b5c0 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -307,6 +307,7 @@ sub cleanup { # We use -d to automatically free used loop

[pve-devel] [PATCH 7/7] prevent cleanup from unmount zfs subvols

2015-08-24 Thread Wolfgang Link
--- src/PVE/VZDump/LXC.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 42c5e44..03f056c 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -175,6 +175,7 @@ sub prepare { if ($scfg-{type} eq

[pve-devel] Implement backup for subvol and improve backup

2015-08-24 Thread Wolfgang Link
This Patch implement the subvol backup for snapshot and stoped mode. Also refactoring code for reuse. And change the way tar include the pct.conf as first file in tar archive. ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] complete optional packet list for pveversion

2015-08-24 Thread Wolfgang Link
--- PVE/API2/APT.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm index 1a46cf1..c6e2bda 100644 --- a/PVE/API2/APT.pm +++ b/PVE/API2/APT.pm @@ -537,7 +537,8 @@ __PACKAGE__-register_method({ # comment out old packages uses before

Re: [pve-devel] The network performance future for VMs

2015-08-24 Thread Cesar Peschiera
A tip: A graphical freeware for windows (32 and 64 Bits) easy to use (I don't have tested): LANBench Downloadable from here: http://www.zachsaw.com/?pg=lanbench_tcp_network_benchmark If is possible, when you do the new tests, also i would like to hear your opinion about of this software.

Re: [pve-devel] Guest IOPS Graphing - 3.4

2015-08-24 Thread James Watson
It was created for our Ceph Cluster and has been tested as accurate, I have also tested it as accurate on NFS. Regards, James Watson BTG On 24/08/15 17:29, Dietmar Maurer wrote: Based off Proxmox 3.4 and adds graphing for total disk IOPS on the Guest summary page. It does work with 4.0 but

Re: [pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Cesar Peschiera
Also for DPDK vHost A complete list of features here (all versions): http://openvswitch.org/releases/NEWS-2.4.0 Note: on PVE, i had problems with DRBD 8.4.5 working with the Linux Stack, while that in others NICs, OVS was enabled only for LAN communication, so i had that disable completely

Re: [pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Alexandre DERUMIER
Also for DPDK vHost Great :) About dpdk and windows, I have found informations here: http://www.ran-lifshitz.com/2015/06/17/open-vswitch-netdev-dpdk-with-vhost-user-support/ Seem that before vhost-user support (include in ovs 2.4), it was already possible to use dpdk, but that need to have

Re: [pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Dietmar Maurer
On August 25, 2015 at 1:27 AM Cesar Peschiera br...@click.com.py wrote: Also for DPDK vHost A complete list of features here (all versions): http://openvswitch.org/releases/NEWS-2.4.0 Note: on PVE, i had problems with DRBD 8.4.5 working with the Linux Stack, while that in others

[pve-devel] novnc update

2015-08-24 Thread Alexandre Derumier
Theses patches update novnc to last git version. They are some performance improvements and also a new fullscreen button has been added. Currently in proxmox, the fullscreen button don't work in embedded console. For the popup console, it should work, but because of current proxmox resize

Re: [pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Cesar Peschiera
I am not sure about of virtio-win drivers and the support to DPDK, why?: - In this link: https://fedorapeople.org/groups/virt/virtio-win/CHANGELOG I don't see any info about of DPDK. - In your Web link, i read this: A virtio-net back-end implementation providing a subset of virtio-net features

[pve-devel] novnc update

2015-08-24 Thread Alexandre Derumier
Theses patches update novnc to last git version. They are some performance improvements and also a new fullscreen button has been added. Currently in proxmox, the fullscreen button don't work in embedded console. For the popup console, it should work, but because of current proxmox resize

[pve-devel] [PATCH] pve-manager : NoVncIndex : add inflator.js fullscreen button

2015-08-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/NoVncIndex.pm | 4 1 file changed, 4 insertions(+) diff --git a/PVE/NoVncIndex.pm b/PVE/NoVncIndex.pm index 8079634..3dda9aa 100644 --- a/PVE/NoVncIndex.pm +++ b/PVE/NoVncIndex.pm @@ -88,6 +88,9 @@ INCLUDE_URI='/novnc/include/';

[pve-devel] [PATCH] novnc : bump to a369a80c2480af685b7bddacddae9cca3aea95f9 commit (20/08/2015)

2015-08-24 Thread Alexandre Derumier
They are performances improvements and fullscreen button support Signed-off-by: Alexandre Derumier aderum...@odiso.com --- debian/install| 4 +-- debian/patches/fix-base-css.patch | 2 +- debian/patches/pveui.patch| 69 ++ 4

Re: [pve-devel] openvswitch-2.4.0 released

2015-08-24 Thread Cesar Peschiera
So they do not support kernel 4.1?? Maybe not yet, but but it seems that there is a patch in progress... http://permalink.gmane.org/gmane.network.openvswitch.devel/51364 http://permalink.gmane.org/gmane.network.openvswitch.devel/51443 ___ pve-devel

Re: [pve-devel] [PATCH v11 cloudinit 9/9] cloudinit 'hotplug'

2015-08-24 Thread Alexandre DERUMIER
Hi, my $cloudinit_iso_size = 5; # in MB + eval { # delete old images if they exist + PVE::Storage::vdisk_free($storecfg, $storeid:$vmid/$name); + }; # ignore errors This does not work with rbd backends, removing the eval give me: # qm set 132 -ide0 ceph1:cloudinit update VM 132: -ide0

Re: [pve-devel] [RFC v2 cloudinit pve-manager 0/2] Updates

2015-08-24 Thread Alexandre DERUMIER
I have tested qemu-server and pve-manager, and they works great for me. just a little bug with old cloudinit drive delete,see my other mail. Seem to be ready to be merged in master :) - Mail original - De: Wolfgang Bumiller w.bumil...@proxmox.com À: aderumier aderum...@odiso.com Cc:

[pve-devel] making installer read /proc/cmdline for automated installs

2015-08-24 Thread pixelfairy
Id like for automated installation of proxmox to be easier, especially for testing purposes. but, also for repeatable automated deployment. do you already have plans for this? I know of the FAI method on the wiki, but i think theres an easier way. just make the installer read answers from