Page MenuHomeVyOS Platform

Unable to add image
Closed, InvalidPublicBUG

Description

Hi, I use an image built from 1.4.0-epa1, and I'm trying to update to epa2.
The original install image was through an USB drive and that posed no problems, this time I want to upgrade from an URL.

When I run add system image I just get an error:

$ add system image https://s3.amazonaws.com/s3-us.vyos.io/rolling/current/vyos-1.4-rolling-202201120317-amd64.iso
The image cannot be fetched from: https://s3.amazonaws.com/s3-us.vyos.io/rolling/current/vyos-1.4-rolling-202201120317-amd64.iso can only concatenate str (not "NoneType") to str

This happens with any URL, I just used the rolling URL from your docs as an example.

Details

Difficulty level
Unknown (require assessment)
Version
1.4.0-epa1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

I can download the image and add it from path just fine, e.g this works fine:

curl -LO 'https://s3.amazonaws.com/s3-us.vyos.io/rolling/current/vyos-1.4-rolling-202201120317-amd64.iso'
add system image ./vyos-1.4-rolling-202201120317-amd64.iso

Never had this bug with 1.4.0-epa.

vyos@r1-right:~$ show ver
Version:          VyOS 1.4.0-epa1
Release train:    sagitta

Built by:         Sentrium S.L.
Built on:         Thu 22 Feb 2024 19:17 UTC
Build UUID:       97f0c92c-b99d-4bde-a67f-079ca030f2a1
Build commit ID:  bcac2eb1f9b49c

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

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    504a981d-6fb3-49ca-8a43-c28326992bd4

Copyright:        VyOS maintainers and contributors
vyos@r1-right:~$ 
vyos@r1-right:~$ 
vyos@r1-right:~$ add system image https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202403180024/vyos-1.5-rolling-202403180024-amd64.iso
Redirecting to https://objects.githubusercontent.com/github-production-release-asset-2e65be/674742659/5b58ed5f-bf26-4ca7-945c-fa67f5f31128?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240318%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240318T093538Z&X-Amz-Expires=300&X-Amz-Signature=65638a3b7098c0c3084c46a4c8807c8639c69511f736129b2e4afb96c20d2afd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=674742659&response-content-disposition=attachment%3B%20filename%3Dvyos-1.5-rolling-202403180024-amd64.iso&response-content-type=application%2Foctet-stream
The file is 445.000 MiB.
^C##########___________________________________________________________________________________________________________________________________________________]   7%
Download aborted by user.
Validating signature
Signature is not valid. Do you want to continue with installation? [y/N]
Viacheslav changed the task status from Open to Needs reporter action.Mar 18 2024, 9:38 AM
Viacheslav triaged this task as Normal priority.

Could you show show version?

Could you show show version?

Version:          VyOS None
Release train:    sagitta

Built by:         p3lim
Built on:         Sat 24 Feb 2024 09:42 UTC
Build UUID:       d1c8d479-d732-44f4-a02b-78c44c18f52d
Build commit ID:  bcac2eb1f9b49c

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:
Hardware model:
Hardware S/N:     Default string
Hardware UUID:    a0705280-31c8-11ee-a233-75e59c1e0a00

Copyright:        VyOS maintainers and contributors

Can you try the same link as in my example and provide the full output?

Can you try the same link as in my example and provide the full output?

It's the same output as previously:

$ add system image https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202403180024/vyos-1.5-rolling-202403180024-amd64.iso
The image cannot be fetched from: https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202403180024/vyos-1.5-rolling-202403180024-amd64.iso can only concatenate str (not "NoneType") to str

It looks like the local broken build.
At least it is not reproducible.
You can try to set it on some test VM to be sure if is it an issue with the node or the image itself.

It seems a broken local build; close the task.
Reopen if necessary.