Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Alexandre DERUMIER
>>But I am not sure what you talk about? What kind of pools/templates do you >>talk about exactly? I was talking about pool permissions http://pve.proxmox.com/wiki/User_Management#Pools vms are grouped by pool (1 pool by customer by example), but the template need to be available across differ

[pve-devel] [PATCH] template_create : check has_feature template

2013-02-15 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index ebd7a83..5827224 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4433,9 +4433,6 @@ sub template_create {

[pve-devel] qemu-server : template_create : check has_feature template

2013-02-15 Thread Alexandre Derumier
template_create : check has_feature template ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] has_feature : template

2013-02-15 Thread Alexandre Derumier
for plugin-rbd-sheepdog-nexenta + indentation fix Signed-off-by: Alexandre Derumier --- PVE/Storage/NexentaPlugin.pm |3 ++- PVE/Storage/Plugin.pm |7 --- PVE/Storage/RBDPlugin.pm |7 --- PVE/Storage/SheepdogPlugin.pm |1 + 4 files changed, 11 insertions(+)

[pve-devel] pve-storage : has_feature : template

2013-02-15 Thread Alexandre Derumier
pve-storage : has_feature : template ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Dietmar Maurer
> > One other thing that could be great, is to have some "public" > > templates, available across differents vm pools. > > Could be usefull to provide generic templates for differents customers. > > What do you think about this ? > > The plan was to simply use VMID 0 for those. But I am not sure

Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Dietmar Maurer
> One other thing that could be great, is to have some "public" templates, > available across differents vm pools. > Could be usefull to provide generic templates for differents customers. > What do you think about this ? The plan was to simply use VMID 0 for those. ___

Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Alexandre DERUMIER
>>Please can you assemble a patch for that?  Yes sure, I'll send it today. > lvm could be also use template but only copy for now. (maybe clone in the  > futur ?)  >>makes no sense if we can't clone? Or can we clone by creating a qcow2 image  >>on, but what size do we use?  >>dm-thin solves

Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Dietmar Maurer
> mmm, yes, maybe is better to hava a "base" feature. (maybe > has_feature('template') ?) Yes, I like has_feature('template') ;-) > I think we can add it to all storage can be template, except storage we can't > rename. (iscsi,isciredirect) Please can you assemble a patch for that? > lvm cou

Re: [pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Alexandre DERUMIER
mmm, yes, maybe is better to hava a "base" feature. (maybe has_feature('template') ?) I think we can add it to all storage can be template, except storage we can't rename. (iscsi,isciredirect) lvm could be also use template but only copy for now. (maybe clone in the futur ?) what do you think

Re: [pve-devel] PROXMOX 2.2 FREEBSD

2013-02-15 Thread Alessio Arceri
Tried but still to stuck here... Il 02/15/2013 01:32 PM, Martin Maurer ha scritto: See also http://pve.proxmox.com/wiki/FreeBSD_Guest_Notes ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] PROXMOX 2.2 FREEBSD

2013-02-15 Thread Martin Maurer
See also http://pve.proxmox.com/wiki/FreeBSD_Guest_Notes ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] network card MBit/s vs MB/s

2013-02-15 Thread Stefan Priebe - Profihost AG
Hello, right now the network limit is in MB/s shouldn't it be Mbit/s like all network stuff in the world? Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] PROXMOX 2.2 FREEBSD

2013-02-15 Thread Alessio Arceri
Fixed, was an grub error, now the server is up but still to stuck booting the freebsd machine. But if i disable kvm virtualization work Il 2013-02-15 11:51 Alessio Arceri ha scritto: Hi, i set up the pve test repository and full upgraded my system but the server does not responde after the updat

Re: [pve-devel] PROXMOX 2.2 FREEBSD

2013-02-15 Thread Alessio Arceri
Hi, i set up the pve test repository and full upgraded my system but the server does not responde after the update. I think is the kernel because i restarted the server in rescue mode with the debian kernel and the server booted up Il 2013-02-15 08:33 Alexandre DERUMIER ha scritto: Hi, Do

[pve-devel] new has_feature for 'create_base'

2013-02-15 Thread Dietmar Maurer
I first thought we can use the 'clone' check, but that results in: # qm template 200 volume 'local:200/vm-200-disk-1.raw' does not support template/clone So we need an new feature check like: has_feature('base') ? ___ pve-devel mailing list pve-devel@p

Re: [pve-devel] [PATCH] has_feature : fix key = snap

2013-02-15 Thread Dietmar Maurer
applied, thanks. > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier > Sent: Freitag, 15. Februar 2013 10:02 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] [PATCH] has_feature : fix key = snap

[pve-devel] pve-storage : has_feature : fix $key = 'snap'

2013-02-15 Thread Alexandre Derumier
has_feature : fix $key = 'snap' ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] has_feature : fix key = snap

2013-02-15 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Storage/ISCSIDirectPlugin.pm |2 +- PVE/Storage/ISCSIPlugin.pm |2 +- PVE/Storage/LVMPlugin.pm |2 +- PVE/Storage/NexentaPlugin.pm |2 +- PVE/Storage/Plugin.pm|2 +- PVE/Storage/RBDPlugin.pm |

Re: [pve-devel] volume_has_feature question

2013-02-15 Thread Alexandre DERUMIER
oh, sorry, you are right. I had made a mistake when I rework my code. It's indeed $key = 'snap' I'll send you patches - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER (aderum...@odiso.com)" Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 15 Février 2013 08:36:41 Obje