Page MenuHomePhabricator

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


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. ;)


Difficulty level
Easy (less than an hour)
VyOS 1.2.0-rolling+20181019
Why the issue appeared?
Will be filled on close
dmbaturin claimed this task.
c-po added a comment.Oct 24 2018, 3:30 PM

Sorry, I just overlooked it.

syncer added a project: VyOS-1.2.0-GA.
syncer closed this task as Resolved.