Page MenuHomeVyOS Platform

DHCP relay config version file is missing, which causes backwards migration to obviously un-loadable old syntax
Closed, ResolvedPublicBUG

Description

After rewiring the DHCP relay scripts, the version file was forgotten.

This is what happened to my config after that: since version file was missing, the migration script runner decided the current version is 0. Then it found dhcp-relay@1 in the config version string and invoked the 1 to 0 backwards migration scripts from the old days, which migrated the config to an old syntax the current system doesn't understand, breaking the config loading.

@c-po Please do not forget version files. ;)

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.2.0-rolling+20181019
Why the issue appeared?
Will be filled on close

Event Timeline

Sorry, I just overlooked it.

syncer moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.0-rc4) board.
syncer added a project: VyOS-1.2.0-GA.