When VyOS is running in an HA deployment with DHCP server, the DHCP server config requires some settings to set the primary and secondary.
If you also enable config-sync, VyOS wants to sync those values which is a problem.
The HA settings in DHCP server config should be excluded from the config sync.