]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuMigrate.pm
don't migrate replicated VM whose replication job is marked for removal
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 29 Oct 2020 13:31:32 +0000 (14:31 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 9 Nov 2020 09:08:22 +0000 (10:08 +0100)
commit19ff368213d04f61b686cdf93beed4dd6145063c
tree49c6add4f1870fc8bf62f6f7b9f7c8afdcedef0d
parentc2c96d7378629e6c6da3c84f279968f7bdc3b8d9
don't migrate replicated VM whose replication job is marked for removal

while it didn't actually fail, we probably want to avoid the behavior:

With remove_job=full:
    * run_replication called during migration causes the replicated volumes to
      be removed
    * migration continues by fully copying all volumes

With remove_job=local:
    * run_replication called during migration causes the job (and local
      replication snapshots) to be removed
    * migration continues by fully copying all volumes and renaming them to
      avoid collision with the still existing remote volumes

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QemuMigrate.pm