Page MenuHomeVyOS Platform

Update from the 1.3.8 to the latest rolling does not work
In progress, HighPublicBUG

Description

The update from 1.3.8 to the latest rolling image does not work.
It downloads and installs the image, but we cannot see it in the boot:

vyos@wan:~$ show ver

Version:          VyOS 1.3.8
Release train:    equuleus

Built by:         Sentrium S.L.
Built on:         Thu 20 Jun 2024 17:39 UTC
Build UUID:       fe6a60b5-dbc6-44aa-acdc-6b2e83757304
Build commit ID:  ee9b7396b2d83d

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Ubuntu 24.04 PC (i440FX + PIIX, 1996)
Hardware S/N:     
Hardware UUID:    cfa3d59d-b03c-4e03-a267-187ae5e2d45e

Copyright:        VyOS maintainers and contributors
vyos@wan:~$ 


vyos@wan:~$ wget https://github.com/vyos/vyos-nightly-build/releases/download/1.5-rolling-202411070006/vyos-1.5-rolling-202411070006-generic-amd64.iso
Connecting to github.com (140.82.121.4:443)
Connecting to objects.githubusercontent.com (185.199.111.133:443)
vyos-1.5-rolling-202 100% |************************************************************************************************************************************|  493M  0:00:00 ETA
vyos@wan:~$ 
vyos@wan:~$ 
vyos@wan:~$ ls
vyos-1.5-rolling-202411070006-generic-amd64.iso
vyos@wan:~$ 
vyos@wan:~$ 
vyos@wan:~$ add system image vyos-1.5-rolling-202411070006-generic-amd64.iso
Checking SHA256 checksums of files on the ISO image... OK.
Done!
What would you like to name this image? [1.5-rolling-202411070006]: 
OK.  This image will be named: 1.5-rolling-202411070006
Installing "1.5-rolling-202411070006" image.
Copying new release files...
Would you like to save the current configuration 
directory and config file? (Yes/No) [Yes]: 
Copying current configuration...
Would you like to save the SSH host keys from your 
current configuration? (Yes/No) [Yes]: 
Copying SSH keys...
Running post-install script...
Done.
vyos@wan:~$ 
vyos@wan:~$ 
vyos@wan:~$ show system image 
The system currently has the following image(s) installed:

   1: 1.3.8 (default boot) (running image)

vyos@wan:~$

Details

Version
1.5-rolling-202411xxxx
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)
Forum thread
https://forum.vyos.io/t/updating-vyos-does-not-run-grub-update/

Event Timeline

Viacheslav set Forum thread to https://forum.vyos.io/t/updating-vyos-does-not-run-grub-update/.Mon, Nov 11, 1:29 PM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
jestabro changed the task status from Open to In progress.Wed, Nov 13, 6:31 PM
jestabro added a project: VyOS 1.5 Circinus.

This has a simple solution, and was an artifact of the much welcomed retirement of the packages vyatta-cfg-system and vyatta-op (T6527). One missing file is needed from the retired packages: since the legacy update tools look for a small number of scripts in the mounted image of the new image, a few need to be available for legacy compatibility. PR in preparation.

Clarification: this was in fact a consequence of the cleanup here:
https://github.com/vyos/vyos-build/commit/d50707bb295dbd4bc50e3d0301fc8be605448429
not the cleanup of deprecated packages, consequently, the solution is simpler: simply revert the above. As previously mentioned, although this is not used by new installs, the file is expected to exist in a new image, when doing a compatibility-mode update from a system with legacy image tools. If the legacy images are subsequently removed from the system, the new image tools will switch out of compatibility mode, at which point the file is no longer needed.