Page MenuHomeVyOS Platform

WLB configuration not migrated from 1.5-rolling-202408210022
Closed, ResolvedPublicBUG

Description

Tried to update to 1.5-rolling-202502220006 from 1.5-rolling-202408210022 to test out the new Python WAN load balancing. It did not end well:

Console error message: vyos-config[1207]: Configuration error

No mention of any WAN load balancing config migrations in the migrate.log:

cat vyos-migrate.log
List of applied migration modules:
applying /opt/vyatta/etc/config-migrate/migrate/firewall/17-to-18
applying /opt/vyatta/etc/config-migrate/migrate/flow-accounting/1-to-2
applying /opt/vyatta/etc/config-migrate/migrate/https/6-to-7
applying /opt/vyatta/etc/config-migrate/migrate/monitoring/1-to-2
applying /opt/vyatta/etc/config-migrate/migrate/nhrp/0-to-1
applying /opt/vyatta/etc/config-migrate/migrate/qos/2-to-3
applying /opt/vyatta/etc/config-migrate/migrate/quagga/11-to-12
applying /opt/vyatta/etc/config-migrate/migrate/bgp/5-to-6
applying /opt/vyatta/etc/config-migrate/migrate/reverse-proxy/1-to-2
applying /opt/vyatta/etc/config-migrate/migrate/system/27-to-28
applying /opt/vyatta/etc/config-migrate/migrate/system/28-to-29

The running config didn't have any of my load balancing config:

show conf com | grep load-balancing
set load-balancing

Stripped config from 1.5-rolling-202408210022:

show conf com | strip-private | grep load-bal
set load-balancing wan disable-source-nat
set load-balancing wan enable-local-traffic
set load-balancing wan flush-connections
set load-balancing wan hook '/config/scripts/wan-failover'
set load-balancing wan interface-health eth3.50 failure-count '5'
set load-balancing wan interface-health eth3.50 nexthop 'dhcp'
set load-balancing wan interface-health eth3.50 success-count '5'
set load-balancing wan interface-health eth3.50 test 0 resp-time '2'
set load-balancing wan interface-health eth3.50 test 0 target 'xxx.xxx.1.1'
set load-balancing wan interface-health eth3.50 test 0 type 'ping'
set load-balancing wan interface-health pppoe0 failure-count '5'
set load-balancing wan interface-health pppoe0 nexthop 'dhcp'
set load-balancing wan interface-health pppoe0 success-count '5'
set load-balancing wan interface-health pppoe0 test 0 resp-time '1'
set load-balancing wan interface-health pppoe0 test 0 target 'xxx.xxx.1.1'
set load-balancing wan interface-health pppoe0 test 0 type 'ping'
set load-balancing wan rule 10 destination address 'xxx.xxx.0.0/8'
set load-balancing wan rule 10 exclude
set load-balancing wan rule 10 inbound-interface 'eth+'
set load-balancing wan rule 11 destination address 'xxx.xxx.10.0/24'
set load-balancing wan rule 11 exclude
set load-balancing wan rule 11 inbound-interface 'eth+'
set load-balancing wan rule 12 destination address 'xxx.xxx.0.0/12'
set load-balancing wan rule 12 exclude
set load-balancing wan rule 12 inbound-interface 'eth+'
set load-balancing wan rule 13 destination address 'xxx.xxx.0.0/8'
set load-balancing wan rule 13 exclude
set load-balancing wan rule 13 inbound-interface 'wg+'
set load-balancing wan rule 14 destination address 'xxx.xxx.0.0/16'
set load-balancing wan rule 14 exclude
set load-balancing wan rule 14 inbound-interface 'wg+'
set load-balancing wan rule 15 destination address 'xxx.xxx.0.0/12'
set load-balancing wan rule 15 exclude
set load-balancing wan rule 15 inbound-interface 'wg+'
set load-balancing wan rule 16 description 'PIA US'
set load-balancing wan rule 16 exclude
set load-balancing wan rule 16 inbound-interface 'eth3'
set load-balancing wan rule 16 source address 'xxx.xxx.0.76'
set load-balancing wan rule 17 description 'PIA UK'
set load-balancing wan rule 17 exclude
set load-balancing wan rule 17 inbound-interface 'eth3'
set load-balancing wan rule 17 source address 'xxx.xxx.0.77'
set load-balancing wan rule 18 destination address 'xxx.xxx.5.0/24'
set load-balancing wan rule 18 exclude
set load-balancing wan rule 18 inbound-interface 'eth+'
set load-balancing wan rule 19 destination address 'xxx.xxx.1.0/24'
set load-balancing wan rule 19 exclude
set load-balancing wan rule 19 inbound-interface 'eth+'
set load-balancing wan rule 20 destination address 'xxx.xxx.2.0/24'
set load-balancing wan rule 20 exclude
set load-balancing wan rule 20 inbound-interface 'eth+'
set load-balancing wan rule 21 destination address 'xxx.xxx.0.0/24'
set load-balancing wan rule 21 exclude
set load-balancing wan rule 21 inbound-interface 'eth+'
set load-balancing wan rule 22 destination address 'xxx.xxx.36.0/24'
set load-balancing wan rule 22 exclude
set load-balancing wan rule 22 inbound-interface 'eth+'
set load-balancing wan rule 23 destination address 'xxx.xxx.11.0/24'
set load-balancing wan rule 23 exclude
set load-balancing wan rule 23 inbound-interface 'eth+'
set load-balancing wan rule 24 description 'Bell TV'
set load-balancing wan rule 24 exclude
set load-balancing wan rule 24 inbound-interface 'eth3.36'
set load-balancing wan rule 50 failover
set load-balancing wan rule 50 inbound-interface 'eth3'
set load-balancing wan rule 50 interface eth3.50 weight '1'
set load-balancing wan rule 50 interface pppoe0 weight '10'
set load-balancing wan rule 50 protocol 'all'
set load-balancing wan rule 51 failover
set load-balancing wan rule 51 inbound-interface 'eth3.102'
set load-balancing wan rule 51 interface eth3.50 weight '1'
set load-balancing wan rule 51 interface pppoe0 weight '10'
set load-balancing wan rule 51 protocol 'all'
set load-balancing wan rule 52 failover
set load-balancing wan rule 52 inbound-interface 'eth3.103'
set load-balancing wan rule 52 interface eth3.50 weight '1'
set load-balancing wan rule 52 interface pppoe0 weight '10'
set load-balancing wan rule 52 protocol 'all'
set load-balancing wan rule 53 failover
set load-balancing wan rule 53 inbound-interface 'eth3.105'
set load-balancing wan rule 53 interface eth3.50 weight '1'
set load-balancing wan rule 53 interface pppoe0 weight '10'
set load-balancing wan rule 53 protocol 'all'
set load-balancing wan rule 54 failover
set load-balancing wan rule 54 inbound-interface 'eth3.110'
set load-balancing wan rule 54 interface eth3.50 weight '1'
set load-balancing wan rule 54 interface pppoe0 weight '10'
set load-balancing wan rule 54 protocol 'all'
set load-balancing wan rule 55 failover
set load-balancing wan rule 55 inbound-interface 'wg0'
set load-balancing wan rule 55 interface eth3.50 weight '1'
set load-balancing wan rule 55 interface pppoe0 weight '10'
set load-balancing wan rule 55 protocol 'all'
set load-balancing wan rule 56 failover
set load-balancing wan rule 56 inbound-interface 'lo'
set load-balancing wan rule 56 interface eth3.50 weight '1'
set load-balancing wan rule 56 interface pppoe0 weight '10'
set load-balancing wan rule 56 protocol 'all'

Details

Version
1.5-rolling-202502220006
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Normal priority.
Viacheslav subscribed.

At first glance, the problem could be with eth+ format

Viacheslav raised the priority of this task from Normal to High.Tue, Feb 25, 2:48 PM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

Can confim the configuration carried over with vyos-1.5-rolling-202503020018. I need to test things further but at first glance things look good.

sarthurdev moved this task from Backlog - Bug to Completed on the VyOS Rolling board.

Thanks for testing and confirming, @JeffWDH