Re: [pve-devel] Storage::Plugin::deactivate_volume not executed, when VM does shutdown

2016-12-10 Thread Dietmar Maurer
> It seems the storage plugin function "deactivate_volume" will be not executed, > when the VM stops by issuing a "poweroff" command. > Hint: It is executed, when you klick the Shutdown button from the GUI. That is by design ... > I have seen > pvedaemon[21622]: client closed connection > in

Re: [pve-devel] [PATCH v4] Add support for custom storage plugins

2016-12-10 Thread Dietmar Maurer
> OK, so no GUI for now :( > > Is there a possibility / concept to dynamically rewrite parts of the GUI which > may be reused here ? Currently not. But I guess an experienced extjs programmer can write such thing in a few days ... ___ pve-devel mailing

[pve-devel] Storage::Plugin::deactivate_volume not executed, when VM does shutdown

2016-12-10 Thread Jasmin J.
Hi! It seems the storage plugin function "deactivate_volume" will be not executed, when the VM stops by issuing a "poweroff" command. Hint: It is executed, when you klick the Shutdown button from the GUI. I have seen pvedaemon[21622]: client closed connection in the log, but no further storag

[pve-devel] activate_storage executed cyclically

2016-12-10 Thread Jasmin J.
Hi! I am just analysing the Storage class and plugins and discovered that activate_storage in Storage.pm and also activate_storage in the plugins is executed cyclically. The reason is, that "cache" is always a new hash and therefore "if $cache->{activated}->{$storeid};" in activate_storage(Sto

Re: [pve-devel] [PATCH v4] Add support for custom storage plugins

2016-12-10 Thread Jasmin J.
Hi! > Is there anything else I need activate to get it displayed in the Add dialog? I just found this in the README of the plugin: PVE currently doesn't offers interface to add custom plugins via GUI, so storage needs to be configured manually. OK, so no GUI for now :( Is there a possibilit

Re: [pve-devel] [PATCH v4] Add support for custom storage plugins

2016-12-10 Thread Jasmin J.
Hi! I started today playing with storage plugins. I installed this plugin on my machine to see how it works, but I couldn't see it in the Add dialog on the WEB interface. I restarted only "pveproxy", which should enough, I guess. I even tried to execute it directly from Storage.pm, without luc

Re: [pve-devel] training week : students features requests

2016-12-10 Thread Alexandre DERUMIER
>>Something like direct import from a Xen dump (xva) ? we have talked about importing disk (vmdk, qcow2, or other) to proxmox. It's easy with file as target, but for vm with rbd,lvm,zfs , it's difficult for users to create the vm, mount the volume, use qemu-img convert... for xva, ova, or othe