Page MenuHomeVyOS Platform

Commit validator bug.
Closed, WontfixPublicBUG

Description

Hi,

I found a big problem with commit validator, please look in this example:

if you add in fw with name xx this statment

set firewall group network-group FW-XXX network '81.120.124.8/31'

and next if you add

set firewall group network-group FW-XXX network '81.120.124.8/32'

next make command "commit"

vyos view an error

Error: member [81.120.124.8/32] already exists in [FW-XXX]

This is ok but this settings despite the error indication, is saved in the memory. Next if you issue the command

"save"

this settings is saved to the device configuration. After next restart the device is doesn't load full configuration because is find an error in configuration file and stopping parsing a next part of configuration file .

Best regards
Krzysztof

Details

Difficulty level
Hard (possibly days)
Version
1.1.7
Why the issue appeared?
Will be filled on close

Event Timeline

Hello,
please retest on 1.2 and submit results
Thanks

syncer triaged this task as Normal priority.Jun 3 2018, 8:19 AM
syncer claimed this task.

got no follow up