Page MenuHomeVyOS Platform

'set system image default-boot' fails to find images that actually do exist in the system
Closed, ResolvedPublicBUG

Description

The task https://vyos.dev/T5917 restored the annotations, familiar from legacy behavior, in the select image list. This caused a regression in the selection itself when one tried to select an annotated image: quoting the report:

user@host:~$ show system image 
Name        Default boot    Running
----------  --------------  ---------
1.4         Yes
1.4.0-epa2                  Yes
user@host:~$ set system image default-boot 1.4.0-epa2 
The image "1.4.0-epa2" cannot be found

The fix in task T5917 ignored the simpler approach provided by the select_entry utility in accepting a formatting function; prefer that method.

Details

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

Event Timeline

jestabro triaged this task as High priority.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta (1.4.0-epa3) board.
dmbaturin renamed this task from Fix regression in 'set system image default-boot' to 'set system image default-boot' fails to find images that actually do exist in the system.May 11 2024, 5:27 PM
dmbaturin removed a project: VyOS 1.5 Circinus.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).