Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-21 Thread Alexandre DERUMIER
Hi, I got an error message "unable to create template, because VM contains snapshots" on all vms I want to convert. (they are no snapshots) sample vm config: " bootdisk: ide0 cores: 1 ide0: local:252/vm-252-disk-1.qcow2,size=1G ide2: none,media=cdrom memory: 512 name: test net0: e1000=96:73:D

Re: [pve-devel] Disk removed from config but not named unused

2013-04-21 Thread Dietmar Maurer
> > I am still not sure how to handle that correctly. > > > > I think we must add it as unused otherwise the disk is lost... it makes more > sense > to maybe prevent deleting of that unused one. I thought about introducing 'hidden' disks. But I guess it is easier to just add them as unused, and

Re: [pve-devel] Disk removed from config but not named unused

2013-04-21 Thread Stefan Priebe - Profihost AG
Am 22.04.2013 um 05:49 schrieb Dietmar Maurer : > Ah i got it. That VM / Disk had a parent snapshot... mhm but even than shouldn't it be listed as unused0? >>> >>> Yes, maybe that would be better. >> >> Should i send a patch? Could you point me to the direction? > > I am still no

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-21 Thread Dietmar Maurer
> Would it be better if you use java webstart? Is that considered safer? After reading more docs, I think webstart does not really offer any advantage for our use case. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin

Re: [pve-devel] [PATCH] template create : add template:1 option

2013-04-21 Thread Dietmar Maurer
Hi Alexandre, after the weekend, I decided to commit your first version. I also applied some cleanups. Please can you check it that works for you? > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier

Re: [pve-devel] how to get currently selected node in ExtJS?

2013-04-21 Thread Dietmar Maurer
> > All people i was talking to wanted the node they're currently selected > > to be preselected in the create wizard. They all created vms on the > > wrong nodes ;-) > > In Workspace.js, we call setContent() every time the user selects someting. > > Maybe you can use that to store the last selec

Re: [pve-devel] how to get currently selected node in ExtJS?

2013-04-21 Thread Dietmar Maurer
> > The question is why you need that? > > > > All people i was talking to wanted the node they're currently selected to be > preselected in the create wizard. They all created vms on the wrong nodes ;-) In Workspace.js, we call setContent() every time the user selects someting. Maybe you can us

Re: [pve-devel] how to get currently selected node in ExtJS?

2013-04-21 Thread Stefan Priebe - Profihost AG
Am 22.04.2013 um 06:10 schrieb Dietmar Maurer : >> How to get currently selected node in ExtJS? >> >> I tried stuff like: >> Ext.get('PVE.tree.ResourceTree') >> PVE.tree.ResourceTree.getSelection()[0] > > AFAIK there is no such functionality, because it was not needed so far. > > The question i

Re: [pve-devel] [PATCH] rbd -p parameter is only valid for the src (see man). Add the pool to the target as well.

2013-04-21 Thread Dietmar Maurer
applied, thanks! > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Stefan Priebe > Sent: Sonntag, 21. April 2013 20:05 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] [PATCH] rbd -p parameter is only valid for t

Re: [pve-devel] how to get currently selected node in ExtJS?

2013-04-21 Thread Dietmar Maurer
> How to get currently selected node in ExtJS? > > I tried stuff like: > Ext.get('PVE.tree.ResourceTree') > PVE.tree.ResourceTree.getSelection()[0] AFAIK there is no such functionality, because it was not needed so far. The question is why you need that?

Re: [pve-devel] Disk removed from config but not named unused

2013-04-21 Thread Dietmar Maurer
> >>> Ah i got it. That VM / Disk had a parent snapshot... > >> > >> mhm but even than shouldn't it be listed as unused0? > > > > Yes, maybe that would be better. > > Should i send a patch? Could you point me to the direction? I am still not sure how to handle that correctly. ___

[pve-devel] how to get currently selected node in ExtJS?

2013-04-21 Thread Stefan Priebe
How to get currently selected node in ExtJS? I tried stuff like: Ext.get('PVE.tree.ResourceTree') PVE.tree.ResourceTree.getSelection()[0] ... but nothing works... Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-b

Re: [pve-devel] Disk removed from config but not named unused

2013-04-21 Thread Stefan Priebe
Am 21.04.2013 09:21, schrieb Dietmar Maurer: Am 20.04.2013 16:15, schrieb Dietmar Maurer: Do you have a re-producible test case? Ah i got it. That VM / Disk had a parent snapshot... mhm but even than shouldn't it be listed as unused0? Yes, maybe that would be better. Should i send a pat

[pve-devel] [PATCH] rbd -p parameter is only valid for the src (see man). Add the pool to the target as well.

2013-04-21 Thread Stefan Priebe
Signed-off-by: Stefan Priebe --- PVE/Storage/RBDPlugin.pm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index e625999..4662585 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -17,6 +17,1

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-21 Thread Dietmar Maurer
Would it be better if you use java webstart? Is that considered safer? > > You miss the point. Once you accept a digitally signed applet from a > > specific source you have forever accepted any applet signed with this > > certificate regardless of the server sending it to you to run on your > > co

Re: [pve-devel] Disk removed from config but not named unused

2013-04-21 Thread Dietmar Maurer
> > Am 20.04.2013 16:15, schrieb Dietmar Maurer: > >> Do you have a re-producible test case? > > > > Ah i got it. That VM / Disk had a parent snapshot... > > mhm but even than shouldn't it be listed as unused0? Yes, maybe that would be better. ___ pve-

Re: [pve-devel] new vnc 1.2 works fine now with http://fqdn....

2013-04-21 Thread Dietmar Maurer
> You miss the point. Once you accept a digitally signed applet from a specific > source you have forever accepted any applet signed with this certificate > regardless of the server sending it to you to run on your computer with full > access. If the user also have answered yes to run this applet e