Page MenuHomeVyOS Platform

Upgrade path errors 1.1.8 to 1.2.1-S2
Closed, ResolvedPublicBUG

Description

NOTE no secrets pasted in this ticket are used on any device with connectivity (Internet or otherwise). They're generated solely to be parsed by our QA harness.

When running an add system image <ISO> and rebooting the wlan configuration is not loaded into the configuration.

1.1.8 running config

wireless wlan0 {
    address 10.0.0.1/24
    channel 6
    description "Cust: 111-SFF Wireless DHCP43 "
    mode n
    security {
        wpa {
            mode wpa2
            passphrase archigonic-showerproof-flanconade
        }
    }
    ssid 111-SFFWirelessDHCP43-OPAQWifi
    type access-point
    hw-id 00:0e:8e:78:98:58
    physical-device phy0
}

The above configuration is non-existent in the running config when 1.2.1-S2 boots.

1.2.1-S2 /config/config.boot

wireless wlan0 {
    address "10.0.0.1/24"
    channel "6"
    description "Cust: 111-SFF Wireless DHCP43 "
    mode "n"
    security {
        wpa {
            mode "wpa2"
            passphrase "archigonic-showerproof-flanconade"
        }
    }
    ssid "111-SFFWirelessDHCP43-OPAQWifi"
    type "access-point"
    hw-id "00:0e:8e:78:98:58"
    physical-device "phy0"
}

When attempting to do

load /config/config.boot

I get the following errors:

snoc@111-SFFWirelessDHCP43-Ashburn-1# load /config/config.boot
Loading configuration from '/config/config.boot'...

Load complete.  Use 'commit' to make changes active.
[edit]
snoc@111-SFFWirelessDHCP43-Ashburn-1# commit
[ interfaces wireless wlan0 ]
system : missing regulatory domain country code

[[interfaces wireless wlan0]] failed
[[interfaces wireless wlan0 address]] failed

Commit failed
[edit]

Manually setting the regulatory domain after booting removes the error, but without doing so the upgrade path is incomplete.

Details

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

Event Timeline

syncer assigned this task to Unknown Object (User).Aug 31 2019, 12:06 AM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Unknown Object (User) added a comment.Mar 15 2020, 9:53 AM

PR for CRUX https://github.com/vyos/vyatta-wireless/pull/14
Tested on 1.2.5-epa1 own build ISO.

sudo cat /var/log/vyatta/vyatta-commit.log 
[ interfaces wireless wlan0 ]
Warning! system : missing regulatory domain country code

[ interfaces ethernet eth0 address dhcp ]
Starting DHCP client on eth0 ...
Unknown Object (User) changed the task status from Open to In progress.Mar 15 2020, 9:53 AM