[pve-devel] Cluster storage plugin assistant service

2025-05-28 Thread Andrei Perapiolkin via pve-devel
--- Begin Message --- Hi Proxmox Community, I am working on implementing custom storage plugin and after evaluating various edge cases related to volume live migration, I have decided to create a 'storage assistant service'. This service will be responsible for managing my storage plugin volume

Re: [pve-devel] Volume live migration concurrency

2025-05-28 Thread Andrei Perapiolkin via pve-devel
be a race condition between volume activation and QEMU attempting to operate on the expected block device path. Andrei On 5/28/25 03:06, Fabian Grünbichler wrote: Andrei Perapiolkin hat am 27.05.2025 18:08 CEST geschrieben: 3. In the context of live migration: Will Proxmox skip calling /

Re: [pve-devel] Volume live migration concurrency

2025-05-27 Thread Andrei Perapiolkin via pve-devel
te or store state information related to cleanup operations? Andrei On 5/27/25 03:02, Fabian Grünbichler wrote: Andrei Perapiolkin via pve-devel hat am 26.05.2025 16:31 CEST geschrieben: Hi Proxmox Community, I'm curious whether there are any standard or guidelines that govern the order in

[pve-devel] Volume live migration concurrency

2025-05-26 Thread Andrei Perapiolkin via pve-devel
--- Begin Message --- Hi Proxmox Community, I'm curious whether there are any standard or guidelines that govern the order in which the methods: /activate_volume, deactivate_volume, path/ are called during VM live migration. Assuming the storage plugin supports `live migration`: 1. Can/path/

Re: [pve-devel] checking output of storage plugin API - volume_rollback_is_possible(..., blockers)

2025-05-15 Thread Andrei Perapiolkin via pve-devel
/22d0f7f8c4606d470a988fc796b391f50cabd40f/OpenEJovianDSS/Common.pm#L472 Best regards, Andrei Perepiolkin On 5/15/25 05:16, Fabian Grünbichler wrote: Andrei Perapiolkin via pve-devel hat am 14.05.2025 14:44 CEST geschrieben: Hi, I'm trying to test specific aspects of the storage plugin API, and I'm no

[pve-devel] checking output of storage plugin API - volume_rollback_is_possible(..., blockers)

2025-05-14 Thread Andrei Perapiolkin via pve-devel
--- Begin Message --- Hi, I'm trying to test specific aspects of the storage plugin API, and I'm not sure how to verify whether my function volume_rollback_is_possible correctly sets up the blockers list. I've checked REST API documentation: https://pve.proxmox.com/pve-docs/api-viewer/index.ht

[pve-devel] testing pvesm storage plugin api

2022-07-14 Thread Andrei Perapiolkin via pve-devel
--- Begin Message --- Hi, Is there a guide on how to test code against specific api version? Im talking about API for storage plugin in pvesm. I need this info to test my custom plugin for new data-storage that I want to be compatible with proxmox. Thanks for your time, Andrei --- End M

[pve-devel] [pve-dev][storage] clone vs import/export

2021-09-15 Thread Andrei Perapiolkin
Hi Proxmox Dev's! I am developing plugin for the data storage system and want to avoid/minimize copying data on the proxmox side. And it looks like Im missing something in understanding or copy/clone features. So can you please help me? I was looking on cloning of virtual machines and volu

Re: [pve-devel] Adding new data storage

2020-12-17 Thread Andrei Perapiolkin
On 12/17/20 5:35 PM, Thomas Lamprecht wrote: Hi, On 17/12/2020 16:06, Andrei Perapiolkin wrote: I would like to add new data storage. This storage would resemble ZFS over iSCSI but will use different API to access storage. What do you mean here, what API will it use? If you want to include th

[pve-devel] Adding new data storage

2020-12-17 Thread Andrei Perapiolkin
Hi, I would like to add new data storage. This storage would resemble ZFS over iSCSI but will use different API to access storage. Should I create/provide anything besides pve-storage/PVE/Storage/.pm ? Is there any documentation I should familiarize myself with beside coding style? Be