Page MenuHomeVyOS Platform

'diff' function malfunction
Resolved (N/A)Public

Description

Build 16.04.2019 (fresh installation vyos- 1.2.0- rolling+201904160337 )
Steps to reproduce:
1)set system name-server 192.0.2.20
2)set system name-server 192.0.2.21
3)run show system commit diff 2
Expected result 'Invalid revision 2'
Actual result 'Invalid revision 3'
4)run show system commit diff 1
Expected result 'Invalid revision 1'
Actulal result
'Invalid config file (syntax error) : error at line 1 , text [specified] '
'Invalid config file (syntax error) : error at line 1 , text [path] '
'Cannot parse specified config file(s)'
Note after 'commit save exit configure' correct output displayed for 'diff 1' , and incorrect for 'diff 2' and 'diff 3'

Details

Difficulty level
Unknown (require assessment)
Version
vyos- 1.2.0- rolling+201904160337
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

OlegGardash created this task.
OlegGardash created this object in space S1 VyOS Public.
Unknown Object (User) added a subscriber: Unknown Object (User).Aug 9 2019, 3:05 PM

I cannot reproduce this issue on VyOS 1.2.0-rolling+201908050337. @OlegGardash can you try on last rolling release?

dmbaturin removed a project: VyOS 1.3 Equuleus.
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
dmbaturin added projects: VyOS 1.3 Equuleus, test.