Page MenuHomeVyOS Platform

HTTPS API unavailable after delete VRF
Resolved (N/A)PublicBUG

Description

To reproduce, use nonexists VRf for config API

set service https api keys id foo key 'foo'
set system ip arp table-size '32768'

Before VRF

vyos@r1# curl -k --location --request POST 'https://localhost/retrieve'   --form data='{"op": "showConfig", "path": ["system", "ip"]}'   --form key='foo'
{"success": true, "data": {"arp": {"table-size": "32768"}}, "error": null}

Add and delete vrf

set vrf name foo table 1010
set service https vrf foo
commit
del service https vrf foo
commit

Re-check

vyos@r1# curl -k --location --request POST 'https://localhost/retrieve'   --form data='{"op": "showConfig", "path": ["system", "ip"]}'   --form key='foo'
{"error": "service https api unavailable at this proxy address: set service https api-restrict virtual-host"

Details

Difficulty level
Unknown (require assessment)
Version
1.3.4
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

Not reproduced in 1.3.5

vyos@r1# set service https vrf foo
[edit]
vyos@r1# commit
[edit]
vyos@r1# del service https vrf foo
[edit]
vyos@r1# commit
[edit]
vyos@r1# curl -k --location --request POST 'https://localhost/retrieve'   --form data='{"op": "showConfig", "path": ["system", "ip"]}'   --form key='foo'
{"success": true, "data": {"arp": {"table-size": "32768"}}, "error": null}[edit]
vyos@r1# 
[edit]
vyos@r1# run show ver

Version:          VyOS 1.3.5
Release train:    equuleus