Page MenuHomeVyOS Platform

Confusing error messages when trying to downgrade to pre-1.4 images
Open, LowPublic

Description

The upgrade script doesn't expect the architecture field to possibly be missing from new images and produces a message about architecture mismatch that doesn't make any sense because architectures do in fact match — the script just has no data to check it.

vyos@vyos:~$ show version 
Version:          VyOS 1.5-rolling-202501091555
Release train:    current
Release flavor:   generic

Built by:         [email protected]
Built on:         Thu 09 Jan 2025 15:55 UTC
Build UUID:       a13cc159-9629-4917-9ccb-211fd10bb1b9
Build commit ID:  aae746aa7b86ac

Architecture:     x86_64
...


vyos@vyos:~$ 
vyos@vyos:~$ add system image /tmp/vyos-1.3.8-amd64.iso
Validating image compatibility
Upgrading to a different image architecture will break your system.
Cleaning up
Unmounting target filesystems
Removing temporary files
Exiting from VyOS installation

An additional related issue is that the script never says explicitly that the check has failed — I believe it should.

Details

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