Migrate error because backup resource unavailable

Boris B.

New Member
Apr 21, 2020
8
0
1
35
Hi!.

I Get a strange error while auto migrate:

task started by HA resource agent

2020-09-06 08:19:02 starting migration of VM 120 to node 'pve3' (10.0.0.111)

2020-09-06 08:19:04 ERROR: Failed to sync data - storage 'ct-backup-ssd' is not online

2020-09-06 08:19:04 aborting phase 1 - cleanup resources

2020-09-06 08:19:04 ERROR: migration aborted (duration 00:00:02): Failed to sync data - storage 'ct-backup-ssd' is not online

TASK ERROR: migration aborted

Where storage 'ct-backup-ssd' is a NFS storage where backups, created by scheduler, stored.

So, backup disk is not necessary to virtual machine work, but it prevent migrate for some reason. It have sad result: while backup server is down, machine can't migrate and down too. Is it a logic error. or i missed sense of this behavior?

Machine config:
root@pve2:~# qm config 120
boot: c
bootdisk: scsi1
cores: 4
ide2: none,media=cdrom
memory: 1024
name: freepbx-vm
net0: virtio=7E:8C:94:D6:A1:09,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
parent: autohourly200906120012
scsi1: cio_virt:vm-120-disk-1,cache=writeback,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=58824185-d809-441e-b627-469cd1ead662
sockets: 1
vmgenid: 5e7631dd-96a8-409d-8239-b174589b02df
cio_virt - on ceph storage, accessable from all servers in cluster
 
migration checks all storages for disks associated with that VM, not just the ones directly referenced in the config.
 
migration checks all storages for disks associated with that VM, not just the ones directly referenced in the config.
Thank you for reply.
Its create situation, where down backup server block migrations, and brake HA. it was unexpected.
 
Last edited:
and one more strange thing: virtual machine try to migrate over and over again, although max_restart in HA set to "1". Machine exist in HA group with priority on host PVE3, it infinity try to migrate from PVE2 to PVE3, so VM actually was down until that moment, when we set priority back to PVE2.
How i can prevent this behavior?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!