Re: [pve-devel] [PATCH v6 qemu-server 2/6] mtunnel: add API endpoints

2022-10-17 Thread DERUMIER, Alexandre
I think it's missing cleaning of vm on remote storage, if migration is aborted on phase1 or phase2. It safe to delete vm conf && disk on remotehost until the end of the phase2, when disk are switched. If job is aborted, It trigger "mtunnel exited unexpectedly" on remotehost, without any cleani

Re: [pve-devel] [PATCH v6 qemu-server 2/6] mtunnel: add API endpoints

2022-10-03 Thread Fabian Grünbichler
On September 30, 2022 1:52 pm, Stefan Hanreich wrote: > > > On 9/28/22 14:50, Fabian Grünbichler wrote: >> the following two endpoints are used for migration on the remote side >> >> POST /nodes/NODE/qemu/VMID/mtunnel >> >> which creates and locks an empty VM config, and spawns the main qmtunne

Re: [pve-devel] [PATCH v6 qemu-server 2/6] mtunnel: add API endpoints

2022-09-30 Thread Stefan Hanreich
On 9/28/22 14:50, Fabian Grünbichler wrote: the following two endpoints are used for migration on the remote side POST /nodes/NODE/qemu/VMID/mtunnel which creates and locks an empty VM config, and spawns the main qmtunnel worker which binds to a VM-specific UNIX socket. this worker handles J