Page MenuHomeVyOS Platform

Update from rc5 to EPA2 failed
Closed, ResolvedPublicBUG

Description

hi,

i tried to update my home system from rc5 to EPA2. It does not boot and ended in a screen like:

after booting back to rc5 my interfaces names are screwed up. eth1 was eth5 and eth2 was eth4.
here the part of my interface config:

set interfaces ethernet eth0 address '192.168.0.100/24'
set interfaces ethernet eth0 hw-id '00:20:25:e0:04:6d'
set interfaces ethernet eth0 ring-buffer rx '4096'
set interfaces ethernet eth0 ring-buffer tx '4096'
set interfaces ethernet eth0 vrf 'OOBM'
set interfaces ethernet eth1 duplex 'auto'
set interfaces ethernet eth1 firewall in
set interfaces ethernet eth1 firewall local
set interfaces ethernet eth1 firewall out
set interfaces ethernet eth1 hw-id '00:20:25:e0:04:6e'
set interfaces ethernet eth1 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 policy ipv6-route 'tun0-out'
set interfaces ethernet eth1 policy route 'pppoe-out'
set interfaces ethernet eth1 ring-buffer rx '4096'
set interfaces ethernet eth1 ring-buffer tx '4096'
set interfaces ethernet eth1 speed 'auto'
set interfaces ethernet eth1 vif 1 address '192.168.0.1/24'
set interfaces ethernet eth1 vif 1 address '2001:470:XXXX::1/64'
set interfaces ethernet eth1 vif 1 description 'MGNT'
set interfaces ethernet eth1 vif 1 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_1'
set interfaces ethernet eth1 vif 1 firewall in name 'IPv4_FWD_IN_VLAN_1'
set interfaces ethernet eth1 vif 1 firewall local ipv6-name 'IPv6_LOCAL_VLAN_1'
set interfaces ethernet eth1 vif 1 firewall local name 'IPv4_FWD_IN_VLAN_1'
set interfaces ethernet eth1 vif 1 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_1'
set interfaces ethernet eth1 vif 1 firewall out name 'IPv4_FWD_OUT_VLAN_1'
set interfaces ethernet eth1 vif 2 address '172.30.23.1/24'
set interfaces ethernet eth1 vif 2 address '2001:470:XXXX:2::1/64'
set interfaces ethernet eth1 vif 2 description 'Priv Net'
set interfaces ethernet eth1 vif 2 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_2'
set interfaces ethernet eth1 vif 2 firewall in name 'IPv4_FWD_IN_VLAN_2'
set interfaces ethernet eth1 vif 2 firewall local ipv6-name 'IPv6_LOCAL_VLAN_2'
set interfaces ethernet eth1 vif 2 firewall local name 'IPv4_FWD_IN_VLAN_2'
set interfaces ethernet eth1 vif 2 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_2'
set interfaces ethernet eth1 vif 2 firewall out name 'IPv4_FWD_OUT_VLAN_2'
set interfaces ethernet eth1 vif 2 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 vif 2 policy route 'pppoe-out'
set interfaces ethernet eth1 vif 3 address '172.30.22.1/24'
set interfaces ethernet eth1 vif 3 address '2001:470:XXXX:3::1/64'
set interfaces ethernet eth1 vif 3 description 'MEDIA WLAN'
set interfaces ethernet eth1 vif 3 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_3'
set interfaces ethernet eth1 vif 3 firewall in name 'IPv4_FWD_IN_VLAN_3'
set interfaces ethernet eth1 vif 3 firewall local ipv6-name 'IPv6_LOCAL_VLAN_3'
set interfaces ethernet eth1 vif 3 firewall local name 'IPv4_FWD_IN_VLAN_3'
set interfaces ethernet eth1 vif 3 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_3'
set interfaces ethernet eth1 vif 3 firewall out name 'IPv4_FWD_OUT_VLAN_3'
set interfaces ethernet eth1 vif 3 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 vif 3 policy route 'pppoe-out'
set interfaces ethernet eth1 vif 4 address '172.30.21.1/24'
set interfaces ethernet eth1 vif 4 address '2001:470:XXXX:4::1/64'
set interfaces ethernet eth1 vif 4 description 'Guests'
set interfaces ethernet eth1 vif 4 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_4'
set interfaces ethernet eth1 vif 4 firewall in name 'IPv4_FWD_IN_VLAN_4'
set interfaces ethernet eth1 vif 4 firewall local ipv6-name 'IPv6_LOCAL_VLAN_4'
set interfaces ethernet eth1 vif 4 firewall local name 'IPv4_FWD_IN_VLAN_4'
set interfaces ethernet eth1 vif 4 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_4'
set interfaces ethernet eth1 vif 4 firewall out name 'IPv4_FWD_OUT_VLAN_4'
set interfaces ethernet eth1 vif 4 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 vif 4 policy route 'pppoe-out'
set interfaces ethernet eth1 vif 5 address '172.30.20.1/24'
set interfaces ethernet eth1 vif 5 address '2001:470:XXXX:5::1/64'
set interfaces ethernet eth1 vif 5 description 'Install'
set interfaces ethernet eth1 vif 5 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_5'
set interfaces ethernet eth1 vif 5 firewall in name 'IPv4_FWD_IN_VLAN_5'
set interfaces ethernet eth1 vif 5 firewall local ipv6-name 'IPv6_LOCAL_VLAN_5'
set interfaces ethernet eth1 vif 5 firewall local name 'IPv4_FWD_IN_VLAN_5'
set interfaces ethernet eth1 vif 5 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_5'
set interfaces ethernet eth1 vif 5 firewall out name 'IPv4_FWD_OUT_VLAN_5'
set interfaces ethernet eth1 vif 5 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 vif 5 policy route 'pppoe-out'
set interfaces ethernet eth1 vif 6 address '172.30.19.1/24'
set interfaces ethernet eth1 vif 6 address '2001:470:XXXX:6::1/64'
set interfaces ethernet eth1 vif 6 description 'WLAN Priv'
set interfaces ethernet eth1 vif 6 firewall in ipv6-name 'IPv6_FWD_IN_VLAN_6'
set interfaces ethernet eth1 vif 6 firewall in name 'IPv4_FWD_IN_VLAN_6'
set interfaces ethernet eth1 vif 6 firewall local ipv6-name 'IPv6_LOCAL_VLAN_6'
set interfaces ethernet eth1 vif 6 firewall local name 'IPv4_FWD_IN_VLAN_6'
set interfaces ethernet eth1 vif 6 firewall out ipv6-name 'IPv6_FWD_OUT_VLAN_6'
set interfaces ethernet eth1 vif 6 firewall out name 'IPv4_FWD_OUT_VLAN_6'
set interfaces ethernet eth1 vif 6 ipv6 dup-addr-detect-transmits '1'
set interfaces ethernet eth1 vif 6 policy ipv6-route 'tun0-out'
set interfaces ethernet eth1 vif 6 policy route 'pppoe-out'
set interfaces ethernet eth2 description 'DSL'
set interfaces ethernet eth2 duplex 'auto'
set interfaces ethernet eth2 hw-id '00:20:25:e0:04:6f'
set interfaces ethernet eth2 ring-buffer rx '4096'
set interfaces ethernet eth2 ring-buffer tx '4096'
set interfaces ethernet eth2 speed 'auto'
set interfaces ethernet eth2 vif 7
set interfaces ethernet eth3 hw-id '00:20:25:e0:04:70'
set interfaces ethernet eth3 ring-buffer rx '4096'
set interfaces ethernet eth3 ring-buffer tx '4096'
set interfaces loopback lo
set interfaces pppoe pppoe0 authentication password 'XXXXXXXX'
set interfaces pppoe pppoe0 authentication user 'XXXXXX'
set interfaces pppoe pppoe0 default-route 'auto'
set interfaces pppoe pppoe0 firewall in name 'IPv4_FWD_IN_PPPOE_0'
set interfaces pppoe pppoe0 firewall local name 'IPv4_LOCAL_PPPOE_0'
set interfaces pppoe pppoe0 firewall out name 'IPv4_FWD_OUT_PPPOE_0'
set interfaces pppoe pppoe0 mtu '1492'
set interfaces pppoe pppoe0 source-interface 'eth2'
set interfaces tunnel tun0 address '2001:470:1f0a:XXXX::2/64'
set interfaces tunnel tun0 description 'tunnelbroker.net'
set interfaces tunnel tun0 encapsulation 'sit'
set interfaces tunnel tun0 firewall in ipv6-name 'IPv6_FWD_IN_TUN_0'
set interfaces tunnel tun0 firewall local ipv6-name 'IPv6_LOCAL_TUN_0'
set interfaces tunnel tun0 firewall out ipv6-name 'IPv6_FWD_OUT_TUN_0'
set interfaces tunnel tun0 local-ip '0.0.0.0'
set interfaces tunnel tun0 mtu '1280'
set interfaces tunnel tun0 multicast 'disable'
set interfaces tunnel tun0 parameters ip ttl '255'
set interfaces tunnel tun0 remote-ip '216.66.80.30'

Details

Difficulty level
Easy (less than an hour)
Version
1.3.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

What is the hardware used? It's weird that ethtool can not detect the NIC driver.

Please share RC5 output of show interfaces ethernet eth1 physical

c-po changed the task status from Open to In progress.Oct 23 2021, 5:32 PM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).

vyos@gw-1:~$ show interfaces ethernet eth1 physical
Settings for eth1:

Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g

:...skipping...
Settings for eth1:

Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
                       drv probe link
Link detected: yes

driver: igb
version: 5.6.0-k
firmware-version: 0. 6-1
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
~
vyos@gw-1:~$ show interfaces ethernet eth2 physical
Settings for eth2:

Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
                       drv probe link
Link detected: yes

driver: igb
version: 5.6.0-k
firmware-version: 0. 6-1
expansion-rom-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
vyos@gw-1:~$

vyos@gw-1:~$ show interfaces ethernet eth3 physical
Settings for eth3:

Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
                       drv probe link
Link detected: no

driver: igb
version: 5.6.0-k
firmware-version: 0. 6-1
expansion-rom-version:
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
vyos@gw-1:~$