Page MenuHomeVyOS Platform

Investigate vyos_config issue
Closed, ResolvedPublic

Description

Recent merge(s) may have introduced an issue to vyos_config, as my integration tests is failing in for 1.4.3 - 1.5.0 (inlcuding rolling Q2) and across main and feature branches

TASK [vyos_config : check multiple line config filter is working] **************
[ERROR]: Task failed: Action failed: b"set system login user esa authentication encrypted-password '!abc!'\r\n\r\r\n  \r\n  \r\n  Invalid encrypted password for esa.\r\n  Value validation failed\r\n  Set failed\r\n\r\n\r[edit]\r\r\nvyos@target15x# "
Origin: /home/user/work/lab/ansible/collections/ansible_collections/vyos/vyos/tests/output/.tmp/integration/vyos_config-2y24ahzn-ÅÑŚÌβŁÈ/tests/integration/targets/vyos_config/tests/cli/check_config.yaml:75:3

73       - result.filtered|length == 3
74
75 - name: check multiple line config filter is working
     ^ column 3

fatal: [target15x]: FAILED! => {"changed": false, "msg": "b\"set system login user esa authentication encrypted-password '!abc!'\\r\\n\\r\\r\\n  \\r\\n  \\r\\n  Invalid encrypted password for esa.\\r\\n  Value validation failed\\r\\n  Set failed\\r\\n\\r\\n\\r[edit]\\r\\r\\nvyos@target15x# \""}

Investigate

Details

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