[SOLVED] datacenter.cfg - Migration network format

alex591

Member
Apr 20, 2021
9
1
8
44
I was migrating several VMs at once yesterday, and found that I was getting 'Invalid PVE ticket' every minute or so in the web interface. Research suggests that it was probably due to the network being saturated and causing latency issues with Corosync. Everything certainly seems fine now that the migrations have completed.

I tried to create a datacenter.cfg to use a different migration network. It has a single line:
Code:
migration: type=secure, network=10.0.192.0/20

Trying a migration again, I then got:
Code:
parse error in '/etc/pve/datacenter.cfg' - 'migration': invalid format - format error
migration. network: property is not defined in schema and the schema does not allow additional properties
The migration then continued on the 'main' (Corosync) network.

Help, please!
 
There must not be a space between type=secure, and network=10.0.192.0/20.

Have you tried doing this in the GUI? Datacenter->Options->Migration Settings?
Your datacenter.cfg settings should appear in the GUI only if the syntax is correct (which means, among others, no spaces)
 
Last edited:

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!