Page MenuHomePhabricator

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
dmbaturin claimed this task.
c-po added a comment.Wed, Oct 24, 3:30 PM

Sorry, I just overlooked it.

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