Page MenuHomePhabricator

Drop config compatibility with Vyatta Core older than 6.5
Open, NormalPublicENHANCEMENT

Description

As discussed in http://blog.vyos.net/vyos-1-dot-2-0-development-news-in-july , there's an idea to drop compatibility with Vyatta Core versions older than 6.5 that Kim and I discussed.

Right now, it is theoretically possible to load configs from Vyatta verions going back to XORP-based releases from 2007. If someone really wants to check if it works, I still have the images. ;)

The main concerns are:

  1. Vyatta Core older than 6.5 is now six years old, and is nearly impossible to find in the wild, therefore no one tested those script for ages and no one is ever going to
  2. Vyatta 6.5 itself is not perfectly compatible with older releases, for example the much missed "modify" firewalls always have to be manually converted to "policy route" rules, and automatic conversion is impossible because the latter only has partial functionality of the former
  3. If someone still has one such router, they can always upgrade through VyOS 1.x, whose images we were never planning to delete after 1.2.0 release
  4. Old scripts are a mess, using XorpConfigParser that is an even worse mess.
  5. Removing them will make it easier to switch to a better system of storing current versions and running migration scripts

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

dmbaturin renamed this task from Drop forward compatibility with Vyatta Core older than 6.5 to Drop config compatibility with Vyatta Core older than 6.5.Aug 27 2018, 8:36 PM
dmbaturin created this task.
dmbaturin created this object with visibility "Public (No Login Required)".
dmbaturin updated the task description. (Show Details)
c-po added a comment.Aug 27 2018, 8:40 PM

As stated on IRC I'm fine with the support removal as one can always upgrade through VyOS 1.1.x.

dmbaturin updated the task description. (Show Details)Aug 27 2018, 8:43 PM
syncer triaged this task as Normal priority.Sep 1 2018, 2:26 PM

Moving to 1.3.x, since there was no deprecation warning. Let's do it properly.

syncer renamed this task from Drop config compatibility with Vyatta Core older than 6.5 to .Oct 18 2018, 6:05 AM
syncer changed the subtype of this task from "Task" to "Enhancement".Oct 20 2018, 4:49 AM
pasik added a subscriber: pasik.Mar 12 2019, 6:12 PM

Related task: T1334

The version string in 6.5 is:

/* === vyatta-config-version: "cluster@1:config-management@1:conntrack-sync@1:conntrack@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@4:nat@4:qos@1:quagga@2:system@6:vrrp@1:wanloadbalance@3:webgui@1:webproxy@1:zone-policy@1" === */

There's only one script that needs to be moved from vyatta-config-migrate to vyos-1x or rewritten, it's: migrate/system/6-to-7
The rest is already in vyos-1x.

dmbaturin reassigned this task from dmbaturin to jestabro.Apr 20 2019, 11:37 AM
dmbaturin changed the edit policy from "Custom Policy" to "Subscribers".