Page MenuHomeVyOS Platform

Unable to load config via HTTP
Closed, ResolvedPublicBUG

Description

Unable to load config via HTTP:

Check that the config exists by URL

vyos@r1# wget http://192.168.122.11:8000/my-config -O /tmp/c.txt
Connecting to 192.168.122.11:8000 (192.168.122.11:8000)
saving to '/tmp/c.txt'
c.txt                100% |******************************************************************************************************************************************************************|  3451  0:00:00 ETA
'/tmp/c.txt' saved
[edit]

Try to load config:

vyos@r1# load http://192.168.122.11:8000/my-config
Unable to download "http://192.168.122.11:8000/my-config": str, bytes or bytearray expected, not int
No such config file at 'http://192.168.122.11:8000/my-config'
[edit]
vyos@r1#

Load via API is also broken.

Details

Version
VyOS 1.4-rolling-202311220309
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Urgent! priority.
Viacheslav changed the task status from Open to Needs testing.Dec 9 2023, 11:20 PM
Viacheslav moved this task from Open to Finished on the VyOS 1.4 Sagitta board.